:root {
    --bg-dark: #151615;
    --primary-orange: #ED6D2B;
    --cream: #F9F3E1;
    --brown: #814220;
    --light-orange: #F3B086;

    --font-bold: 'Montserrat', sans-serif;
    --font-elegant: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--cream);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.highlight {
    color: var(--primary-orange);
}

.elegant {
    font-family: var(--font-elegant);
    font-style: italic;
    font-weight: 400;
    text-transform: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-title {
    font-family: var(--font-bold);
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

section {
    position: relative;
    overflow: hidden;
    /* Prevent scrollbars from sticking out emojis */
}

/* BACKGROUND EMOJIS */
.bg-emoji {
    position: absolute;
    width: 120px;
    /* Size for images */
    height: auto;
    opacity: 0.8;
    /* High visibility as requested */
    z-index: 0;
    pointer-events: none;
    user-select: none;
    animation: floatEmoji 6s ease-in-out infinite;
    /* Removed filter: grayscale */
}

/* Specific Emoji Positions (Desktop Default) */
.emoji-hero-1 {
    top: 10%;
    left: 5%;
}

.emoji-hero-2 {
    bottom: 20%;
    right: 10%;
}

.emoji-hero-3 {
    top: 30%;
    right: 20%;
}

.emoji-numbers-1 {
    top: 10%;
    right: 5%;
}

.emoji-numbers-2 {
    bottom: 10%;
    left: 5%;
}

.emoji-format-1 {
    top: 50%;
    left: 2%;
}

.emoji-format-2 {
    top: 10%;
    right: 10%;
}

.emoji-video-1 {
    bottom: 20%;
    left: 10%;
}

.emoji-video-2 {
    top: 20%;
    right: 5%;
}

.emoji-team-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .bg-emoji {
        width: 80px;
        opacity: 0.6;
    }

    /* Smaller and less intrusive on mobile */

    /* Mobile Safe Zones (Corners & Edges) */
    .emoji-hero-1 {
        top: 5%;
        left: 2%;
    }

    .emoji-hero-2 {
        bottom: 15%;
        right: 5%;
    }

    .emoji-hero-3 {
        top: 25%;
        right: 5%;
    }

    .emoji-numbers-1 {
        top: 5%;
        right: 2%;
    }

    .emoji-numbers-2 {
        bottom: 5%;
        left: 2%;
    }

    .emoji-format-1 {
        top: 90%;
        left: 5%;
    }

    /* Pushed to bottom */
    .emoji-format-2 {
        top: 5%;
        right: 5%;
    }

    .emoji-video-1 {
        bottom: 5%;
        left: 5%;
    }

    .emoji-video-2 {
        top: 5%;
        right: 5%;
    }
}

@keyframes floatEmoji {

    0%,
    100% {
        transform: translateY(0) rotate(-10deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: var(--primary-orange);
}

.hero-logo {
    max-width: 80%;
    width: 500px;
    /* Reduced from 600px */
    height: auto;
    margin-bottom: 1rem;
    /* Reduced margin */
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
}

.hero .subtitle {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--bg-dark);
    line-height: 1.2;
    /* Tighter line height */
    max-width: 500px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.subtitle-small {
    font-weight: 400;
    font-size: 0.85em;
    opacity: 0.9;
    display: block;
    /* Ensures it breaks cleanly */
    margin-top: 0.5rem;
    /* Space between lines */
}

/* HERO GENERATOR - CLICKABLE */
.hero-generator {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    max-width: 500px;
    width: 90%;
    margin: 0 auto 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    /* Interactive Properties */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    position: relative;
    overflow: hidden;
}

.hero-generator:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(237, 109, 43, 0.2);
    /* Orange Glow */
    border-color: rgba(237, 109, 43, 0.4);
}

.hero-generator:active {
    transform: scale(0.98);
}

.generator-label {
    color: #000;
    /* Black */
    font-family: var(--font-bold);
    /* Montserrat */
    font-weight: 900;
    /* Extra Bold */
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-generator h3 {
    font-family: var(--font-bold);
    /* Montserrat */
    color: var(--bg-dark);
    font-size: 1.3rem;
    text-transform: uppercase;
    height: auto;
    min-height: 80px;

    /* Layout: Center content */
    display: block;
    text-align: center;
    width: 100%;

    /* Vertical centering mechanism */
    display: flex;
    align-items: center;
    justify-content: center;

    line-height: 1.25;
    /* Slightly relaxed */
    font-weight: 200;
    /* Thin as requested */
    padding: 0 1rem;
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
    /* Larger attractive font */
}

#typewriter-text {
    color: var(--primary-orange);
    /* Initial state: Orange */
    transition: color 0.3s ease;
}

#typewriter-text.typing-active {
    color: var(--bg-dark);
    /* Active state: Dark */
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--primary-orange);
    /* FIXED: Orange for dark sections */
    color: var(--cream);
    /* Light text */
    text-decoration: none;
    font-family: var(--font-bold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    border: 2px solid var(--primary-orange);
    cursor: pointer;
    border-radius: 50px;
    /* RESTORED: Rounded buttons */
}

.cta-btn:hover {
    background-color: transparent;
    color: var(--primary-orange);
}

/* Specific highlight for Hero (Orange bg) */
.hero .cta-btn {
    background-color: var(--bg-dark);
    color: var(--primary-orange);
    border-color: var(--bg-dark);
    /* MATCH GENERATOR BOX WIDTH */
    width: 90%;
    max-width: 500px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    /* FORCE SINGLE LINE */
    text-align: center;
    padding: 1rem 1rem;
    /* Reduced padding for mobile fit */
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    /* Adaptive font size to prevent cutoff */
}

.hero .cta-btn:hover {
    background-color: transparent;
    color: var(--bg-dark);
}

.cta-btn.small {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
    color: var(--bg-dark);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* NUMBERS */
.numbers-section {
    background-color: var(--brown);
    padding: 4rem 0;
}

.numbers-section .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h2 {
    font-family: var(--font-bold);
    font-size: 4rem;
    color: var(--primary-orange);
    font-weight: 900;
}

.stat-item p {
    font-family: var(--font-bold);
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cream);
    margin-top: 0.5rem;
}

/* FORMAT CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
}

.icon-box {
    font-size: 3rem;
    color: var(--light-orange);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-family: var(--font-bold);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* VIDEO GALLERY */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.video-card {
    aspect-ratio: 9/16;
    background: transparent;
    /* Changed from #000 to see if iframe loads */
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Adding border for visibility */
}

/* MARQUEE */
.marquee {
    background: var(--primary-orange);
    color: var(--bg-dark);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-bold);
    font-size: 2rem;
    font-weight: 900;
    /* BLACK/BOLD */
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.mission-text {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 4rem auto 0;
    line-height: 1.8;
}

/* FAQ SECTION */
.faq-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--brown);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.faq-item:hover {
    background: var(--light-orange);
    color: var(--bg-dark);
}

.faq-question {
    padding: 1.5rem;
    font-family: var(--font-bold);
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    font-family: var(--font-body);
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    color: var(--cream);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
}

.faq-item.active {
    background: var(--primary-orange);
    color: var(--bg-dark);
}

/* TEAM */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Social Buttons Row */
.social-buttons-row {
    width: 100%;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    padding: 1rem 2rem;
    font-family: var(--font-bold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    border: 2px solid var(--cream);
    color: var(--cream);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--cream);
    color: var(--brown);
    transform: translateY(-5px);
}

#generate-btn {
    background-color: transparent;
    border: 1px solid rgba(21, 22, 21, 0.3);
    /* Very subtle border */
    color: var(--bg-dark);
    font-size: 0.8rem;
    /* Smaller */
    padding: 0.4rem 1rem;
    font-weight: 600;
    box-shadow: none;
    margin-bottom: 0.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

#generate-btn:hover {
    background-color: transparent;
    border-color: var(--bg-dark);
    opacity: 1;
    transform: translateY(-1px);
}

.social-btn i {
    font-size: 1.2rem;
}

/* Colors for specific socials on hover could be added if preferred */
.social-btn.insta:hover {
    color: #E1306C;
}

.social-btn.tiktok:hover {
    color: #000;
}

.social-btn.youtube:hover {
    color: #FF0000;
}

.team-card {
    text-align: center;
}

.avatar {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--cream);
    display: block;
}

/* Specific highlight for Hero (Orange bg) */
.hero .highlight {
    color: var(--cream);
    text-decoration: underline;
}

.team-card h3 {
    font-family: var(--font-bold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.role {
    font-family: var(--font-bold);
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-description {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 250px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Utility */
.text-center {
    text-align: center;
}

/* FOOTER */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.big-cta {
    font-family: var(--font-bold);
    font-size: 3rem;
    color: var(--primary-orange);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.socials {
    font-size: 2rem;
    display: flex;
    gap: 1.5rem;
}

.copyright {
    text-align: center;
    opacity: 0.5;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .stat-item h2 {
        font-size: 3rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .mission-text {
        line-height: 1.4;
        /* Reduced line height for mobile */
    }
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    /* Hidden by default */
    left: 0;
    width: 100%;
    background-color: rgba(21, 22, 21, 0.95);
    border-top: 2px solid var(--primary-orange);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1000;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Ensure content stays above emojis */
.container {
    position: relative;
    z-index: 1;
}