/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #FFD700;
    --primary-dark: #FFA500;
    --secondary: #FF6B6B;
    --accent: #4ECDC4;
    --dark: #1a1a2e;
    --darker: #0f0f1e;
    --light: #ffffff;
    --gray: #a0a0a0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-display: 'Bangers', cursive;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.5);

    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-img {
    height: 40px;
    transition: var(--transition);
}

.nav-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-hero {
    padding: 16px 48px;
    font-size: 1.1rem;
}

.btn-large {
    padding: 20px 60px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-bg-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 15, 30, 0.8) 0%, rgba(15, 15, 30, 0.6) 50%, rgba(15, 15, 30, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-md);
}

.hero-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-md);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-logo {
    width: 400px;
    max-width: 90vw;
    filter: drop-shadow(0 10px 40px rgba(255, 215, 0, 0.4));
    position: relative;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    animation: pulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    /* Increased padding to prevent any clipping */
    padding-bottom: 0.2em;
    padding-right: 0.1em;
    padding-top: 0.1em;
    padding-left: 0.1em;
    display: inline-block;
    /* Helps with padding affecting flow */
}

/* ... existing styles ... */

.about-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
    animation: float 4s ease-in-out infinite;
    /* Removed the massive scale boost */
    transform: scale(1);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: var(--spacing-lg);
    color: var(--gray);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.hero-image-container {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
    perspective: 1000px;
}

.hero-fat-mamas {
    max-width: 120%;
    max-height: 600px;
    /* Increased size */
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
    transform: scale(1.3);
    /* Make it pop */
    margin: 0 -10%;
    /* Allow it to spill out sideways if needed */
}



.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
    transform: rotate(-45deg);
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
}

/* About Section */
.about {
    background: var(--dark);
}

.about-content {
    position: relative;
    min-height: 600px;
    padding-left: 0;
}

.about-visual {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.about-text {
    position: relative;
    width: 50%;
    margin-left: 50%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    z-index: 10;
    padding: var(--spacing-md) 0;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition);
    text-align: left;
}

.about-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 4px 10px rgba(255, 215, 0, 0.3));
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.about-card p {
    color: var(--gray);
    line-height: 1.8;
}



/* Characters Section */
.characters {
    background: linear-gradient(rgba(15, 15, 30, 0.9), rgba(15, 15, 30, 0.8)), url('mamas-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.mama-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.mama-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xl);
    border-radius: 30px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    min-height: 500px;
    transition: var(--transition);
}

.mama-visual {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mama-img-large {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    animation: float 4s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mama-joke-box {
    text-align: center;
    max-width: 800px;
}

.mama-name {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
    font-family: var(--font-display);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.mama-joke-text {
    font-size: 1.8rem;
    color: var(--light);
    font-style: italic;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.mama-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.mama-nav:hover {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.mama-nav svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 768px) {
    .mama-carousel {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .mama-display {
        width: 100%;
        padding: var(--spacing-md);
        min-height: auto;
    }

    .mama-visual {
        height: 250px;
    }

    .mama-name {
        font-size: 1.8rem;
    }

    .mama-joke-text {
        font-size: 1.2rem;
    }

    /* Put navigation buttons at the bottom for mobile */
    .mama-carousel {
        position: relative;
        padding-bottom: 60px;
    }

    .mama-nav {
        position: absolute;
        bottom: 0;
        z-index: 10;
    }

    .prev-btn {
        left: 20%;
    }

    .next-btn {
        right: 20%;
    }
}

/* Tokenomics Section */
.tokenomics {
    background: var(--dark);
}

.tokenomics-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
}

.tokenomics-chart {
    display: flex;
    justify-content: center;
}

.pie-chart {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.5);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.pie-label {
    position: absolute;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    animation: rotate-reverse 20s linear infinite;
}

@keyframes rotate-reverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.tokenomics-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.token-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.token-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.token-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.token-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--light);
}

.contract-address {
    font-size: 1rem;
    font-family: monospace;
    word-break: break-all;
    color: var(--primary);
}

/* TV Section */
.tv-section {
    background: var(--dark);
    text-align: center;
}

.tv-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto var(--spacing-lg);
}

.video-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 75%;
    /* Approx 4:3 Aspect Ratio for TV Frame */
    height: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('tv-frame.png') no-repeat center center;
    background-size: contain;
    z-index: 10;
    pointer-events: none;
}

.video-wrapper iframe {
    position: absolute;
    /* Adjusted manually for the provided TV frame image */
    top: 32%;
    /* Pushed down further */
    left: 21%;
    /* Pushed right slightly more */
    width: 58%;
    /* Narrower to ensure it doesn't hit side bezels */
    height: 42%;
    /* Shorter to ensure it doesn't hit bottom bezel */
    border-radius: 0;
    z-index: 1;
}

.tv-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.tv-nav:hover {
    background: var(--primary);
    color: var(--dark);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.tv-nav svg {
    width: 30px;
    height: 30px;
}

.video-info {
    text-align: center;
}

.video-title {
    font-size: 1.5rem;
    color: var(--primary);
    font-family: var(--font-display);
    letter-spacing: 1px;
}

@media (max-width: 768px) {

    /* Mamas Section Mobile Background */
    .characters {
        background: linear-gradient(rgba(15, 15, 30, 0.8), rgba(15, 15, 30, 0.9)), url('mobile-mamas-bg.png');
        background-size: cover;
        background-position: top center;
        background-attachment: scroll;
        /* Fixed background often has issues on mobile */
    }

    /* TV Section Mobile Updates */
    .tv-container {
        gap: var(--spacing-sm);
        position: relative;
        /* Stack for mobile or just rely on flex shrinking? Let's force full width */
        flex-direction: column;
        padding-bottom: 60px;
        /* Space for arrows */
    }

    .video-wrapper {
        width: 100%;
        max-width: 100%;
        /* Ensure it fills device width */
    }

    .tv-nav {
        width: 50px;
        height: 50px;
        position: absolute;
        bottom: 0;
        z-index: 20;
    }

    .tv-nav svg {
        width: 24px;
        height: 24px;
    }

    #prevVideo {
        left: 20%;
    }

    #nextVideo {
        right: 20%;
    }
}

/* Join Section */
.join {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    padding: var(--spacing-xl) 0;
}

.join-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.join-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
}

.join-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 50px;
    color: var(--light);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.social-btn:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Footer */
.footer {
    background: var(--darker);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.3));
}

.footer-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--gray);
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: var(--gray);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: var(--spacing-md);
    }

    .characters-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .tokenomics-content {
        grid-template-columns: 1fr;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        padding-left: 0;
    }

    .about-visual {
        position: relative;
        width: 100%;
        height: 400px;
        /* Specific height for mobile */
        order: -1;
    }

    .about-text {
        width: 100%;
        margin-left: 0;
    }

    .about-image {
        height: 100%;
        width: 100%;
        transform: none;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        padding-left: 0;
    }

    .about-visual {
        position: relative;
        width: 100%;
        height: 400px;
        /* Specific height for mobile */
        order: -1;
    }

    .about-text {
        width: 100%;
        margin-left: 0;
    }

    .about-image {
        height: 100%;
        width: 100%;
        transform: none;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary);
    color: var(--dark);
}