@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;700;800;900&display=swap');

:root {
  --bg-gradient: linear-gradient(135deg, #c4dbff 0%, #7ba6ff 100%);
  --nav-bg: rgba(255, 255, 255, 0.25);
  --nav-border: rgba(255, 255, 255, 0.4);
  --btn-yellow: #ffdf00;
  --btn-yellow-hover: #f0c800;
  --card-outer: #4ade80; /* Jasny, żywy zielony z ramki kart */
  --card-inner: #34d399; /* Wewnętrzne tło kart */
  --text-main: #ffffff;
  --text-dark: #333333;
  --title-purple: #c084fc;
  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Owalna Nawigacja w stylu grywalizacji */
.nav-wrapper {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    position: relative; /* Zmiana z sticky by nie nachodziło, ew. z-index */
    z-index: 9999;
    margin-bottom: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nav-border);
    border-radius: 100px;
    padding: 15px 40px;
    width: 100%;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 20px;
    color: #fff !important;
    text-decoration: none !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a.active, .nav-links a:hover, .nav-links a.btn-aktywuj {
    background: var(--btn-yellow);
    box-shadow: 0 4px 15px rgba(255, 223, 0, 0.4);
    transform: translateY(-2px);
    color: var(--text-dark) !important;
}

/* Typografia bazowa */
h1, h2, h3, h4 {
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.1; text-align: center; }
h2 { font-size: clamp(28px, 4vw, 46px); text-align: center; }

.title-cyan {
    color: #fff;
}

.text-gradient {
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Nowe klasy Kameleon i Cienie */
.text-white {
    color: #ffffff;
}

.kameleon-gradient, .kameleon-gradient div {
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6, #10b981);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s linear infinite;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.title-animated-shadow {
    position: relative;
    display: inline-block;
    animation: shadowMove 4s ease-in-out infinite alternate;
}

@keyframes shadowMove {
    0% {
        filter: drop-shadow(-15px 0px 10px rgba(16, 185, 129, 0.6));
    }
    50% {
        filter: drop-shadow(0px 0px 15px rgba(59, 130, 246, 0.8));
    }
    100% {
        filter: drop-shadow(15px 0px 10px rgba(139, 92, 246, 0.6));
    }
}

.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 60px;
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Zielone Karty Zespołu (Harry Potter) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--card-outer);
    border-radius: 24px;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.team-card-inner {
    background: var(--card-inner);
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.2);
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 3px solid rgba(255,255,255,0.3);
}

.team-card-info {
    flex-grow: 1;
}

.team-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--btn-yellow);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 5px;
}

.team-role {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

/* O NAS - Pamiętnik Budowy w stylu jasnym */
.history-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 80px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.timeline {
    position: relative;
    margin-top: 40px;
}

.timeline-item {
    margin-bottom: 40px;
    padding-left: 30px;
    border-left: 3px solid #fff;
    position: relative;
}

.timeline-item:last-child {
    border-left-color: transparent;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--btn-yellow);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.timeline-date {
    font-weight: 900;
    color: var(--btn-yellow);
    margin-bottom: 8px;
    font-size: 18px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.timeline-item strong {
    color: #fff;
    font-size: 16px;
}

.timeline-item p, .timeline-item {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 500;
}

/* Buttons globalne */
.btn-primary {
    background: var(--btn-yellow);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 223, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 223, 0, 0.6);
}

/* Modal do kart (Zostawiamy bazę pod GSAP Flip) */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 10000;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--card-outer);
    width: 90%;
    max-width: 900px;
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.2);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
}

.modal-video-container {
    width: 40%;
    background: #000;
}

.modal-video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text-container {
    width: 60%;
    padding: 40px;
    background: var(--card-inner);
    color: #fff;
}

.modal-quote {
    font-size: 20px;
    font-style: italic;
    color: var(--btn-yellow);
    margin-bottom: 20px;
    font-weight: 800;
}

/* O NAS - Team Grid (Harry Potter Cards) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.team-card video, .team-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7) grayscale(0.2);
    transition: filter 0.3s ease;
}

.team-card:hover video, .team-card:hover img {
    filter: brightness(1) grayscale(0);
}

.team-card-info {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    margin-top: auto;
    width: 100%;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
}

.team-role {
    color: var(--neon-mint);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* O NAS - Partners Grid (Zaufali nam) */
.partners-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.partners-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px;
    margin-top: 0;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.partners-grid::-webkit-scrollbar {
    display: none;
}

.partner-card {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card.no-text .partner-card-inner::after {
    display: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 2px solid var(--neon-mint);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover {
    background: var(--neon-mint);
    color: black;
}
.slider-btn-left {
    left: -25px;
}
.slider-btn-right {
    right: -25px;
}

@media (max-width: 1024px) {
    .partner-card {
        flex: 0 0 calc(50% - 10px);
    }
}
@media (max-width: 600px) {
    .partner-card {
        flex: 0 0 100%;
    }
}

/* Replaced old partner rules */

.partner-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.partner-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
}

.partner-card:hover img {
    transform: scale(1.05);
}

.partner-card-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.partner-card-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    z-index: 1;
}

.partner-card-info {
    position: relative;
    z-index: 2;
    padding: 40px 30px;
}

.partner-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.partner-desc-short {
    color: var(--neon-mint);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Modal / Pełny opis (Harry Potter Effect) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--neon-mint);
    border-radius: 24px;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    box-shadow: 0 0 50px rgba(0, 255, 157, 0.2);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--neon-mint);
}

.modal-video-container {
    flex: 1;
    min-width: 400px;
    background: #000;
    position: relative;
}

.modal-video-container video, .modal-video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text-container {
    flex: 1.5;
    padding: 40px;
}

.modal-quote {
    font-style: italic;
    color: var(--neon-mint);
    font-size: 1.2rem;
    border-left: 3px solid var(--neon-violet);
    padding-left: 15px;
    margin-bottom: 25px;
}

/* Aktualności - TVN24 Biznes Style */
.news-layout {
    display: grid;
    grid-template-columns: 60% 38%;
    gap: 2%;
}

.main-news .news-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.side-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 800px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Niestandardowy pasek przewijania dla side-news */
.side-news::-webkit-scrollbar {
    width: 6px;
}
.side-news::-webkit-scrollbar-track {
    background: var(--glass-bg); 
    border-radius: 4px;
}
.side-news::-webkit-scrollbar-thumb {
    background: var(--neon-violet); 
    border-radius: 4px;
}

.news-card-small {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-card-small h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Discord Reaction System */
.reaction-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.reaction-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid transparent;
    color: var(--text-main);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.reaction-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-mint);
}

.reaction-btn.active {
    background: var(--neon-mint);
    color: var(--bg-dark);
    border-color: var(--neon-mint);
}

/* Floating Widget */
.floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 300px;
    z-index: 1000;
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.floating-widget .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    color: var(--text-muted);
}

.floating-widget input {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: white;
}

.floating-widget input:focus {
    outline: none;
    border-color: var(--neon-mint);
}

.floating-widget button {
    width: 100%;
    padding: 10px;
    background: var(--neon-violet);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

/* Aktywuj Biznes - Smart Funnel */
.funnel-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--neon-mint);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: var(--font-main);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--neon-violet);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
}

.dot.active {
    background: var(--neon-mint);
    box-shadow: 0 0 10px var(--neon-mint);
}

.result-box {
    text-align: center;
    padding: 40px;
    border: 2px solid var(--neon-mint);
}

/* Responsywność */
@media (max-width: 992px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .news-layout { grid-template-columns: 1fr; }
    .modal-content { flex-direction: column; overflow-y: auto; max-height: 95vh; }
    .modal-video-container { min-width: 100%; height: 300px; }
}

@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; /* W prawdziwym projekcie tutaj hamburger menu */ }
}

/* --- Aktualności: Paski Reklamowe --- */
.top-ad-section {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nav-border);
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Graphic Ad Banner */
.graphic-ad-banner {
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.graphic-ad-track {
    display: flex;
    width: max-content;
    animation: scrollGraphics 35s linear infinite;
}

.ad-placeholder {
    width: 400px;
    height: 90px;
    margin: 0 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
}

@keyframes scrollGraphics {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* News Text Ticker */
.news-ticker {
    display: flex;
    align-items: center;
    height: 40px;
    background: var(--btn-yellow);
    color: var(--text-dark);
    font-weight: 800;
    overflow: hidden;
}

.ticker-label {
    background: var(--text-dark);
    color: var(--btn-yellow);
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    position: relative;
    text-transform: uppercase;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.ticker-content {
    display: flex;
    width: max-content;
    height: 100%;
    align-items: center;
    animation: scrollText 30s linear infinite;
}

.ticker-content span {
    white-space: nowrap;
    padding: 0 40px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.ticker-content span::before {
    content: "•";
    color: var(--text-dark);
    font-size: 20px;
    margin-right: 40px;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- EMOJI PICKER (Reakcje na Aktualności) --- */
.reaction-bar {
    flex-wrap: wrap;
}

.add-reaction-btn {
    background: transparent !important;
    border: 1px dashed rgba(255,255,255,0.5) !important;
    color: var(--neon-mint) !important;
}

.add-reaction-btn:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: var(--btn-yellow) !important;
    color: var(--btn-yellow) !important;
}

.emoji-picker-popup {
    position: absolute;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 15px;
    width: 320px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.emoji-picker-popup.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.emoji-picker-header {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

.emoji-grid::-webkit-scrollbar {
    width: 6px;
}
.emoji-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.emoji-item {
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    border-radius: 8px;
    padding: 5px;
}

.emoji-item:hover {
    transform: scale(1.3);
    background: rgba(255,255,255,0.1);
}



.region-item:hover { background: #f8fafc !important; }
.region-trigger:hover { background: rgba(255,255,255,0.35) !important; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- MOBILE RESPONSIVENESS FIXES --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.hamburger-btn span {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}
.hamburger-btn.open span:nth-child(1) { transform: rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: rotate(-45deg); }

.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}
.mobile-menu-container.active { right: 0; }
.mobile-menu-container a {
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-container a.btn-aktywuj {
    background: var(--btn-yellow);
    color: #000;
    margin: 15px 20px;
    border-radius: 8px;
    text-align: center;
}
.mobile-menu-container a:hover { color: var(--neon-mint); background: rgba(255,255,255,0.05); }

@media (max-width: 768px) {
    .hamburger-btn { display: flex; }
    .nav-links { display: none !important; }
    .ad-placeholder { width: 85vw !important; margin: 0 10px !important; }
    h1.title-animated-shadow, h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    .modal-content { max-height: 90vh; overflow-y: auto; padding-bottom: 20px; }
    .modal-text-container { padding: 15px; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2.2rem !important; }
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column !important;
        height: auto !important;
        max-height: 90vh !important;
        overflow-y: auto !important; 
        align-items: center;
        padding-top: 20px;
    }
    .modal-video-container {
        width: 120px !important;
        height: 120px !important;
        min-height: 120px !important;
        min-width: 120px !important;
        flex: none !important;
        border-radius: 50% !important;
        margin: 10px auto 0 auto !important;
        border: 3px solid var(--neon-mint);
        overflow: hidden;
        background: var(--bg-gradient) !important;
    }
    .modal-text-container {
        padding: 20px 15px !important;
        overflow-y: visible !important;
        flex: none !important;
        text-align: center;
        width: 100%;
    }
    .modal-close {
        background: rgba(0,0,0,0.6) !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        top: 10px !important;
        right: 10px !important;
        z-index: 9999 !important;
    }
}
