/* Modern Web Design - Make A Wish Project */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #0066cc;
    --primary-dark: #004a99;
    --secondary: #e0f2fe;
    --secondary-light: #f0f9ff;
    --accent: #0ea5e9;
    --text-main: #0f172a;
    --text-muted: #475569;
    --brand-gradient: linear-gradient(135deg, #0066cc 0%, #0ea5e9 100%);
    --surface-glass: rgba(255, 255, 255, 0.7);
    --surface-glass-dark: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.section {
    padding: 6rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(2, 124, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 124, 212, 0.5);
}

.glass-panel {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, #e0f2fe 0%, transparent 40%),
        radial-gradient(circle at bottom left, #f0f9ff 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats / Pillars */
.pillars {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* About Grid */
.about-grid-section {
    background: #fff;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 2rem;
}

.bento-item {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.bento-item:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-lg);
}

.bento-item.lg {
    grid-column: span 8;
}

.bento-item.md {
    grid-column: span 6;
}

.bento-item.sm {
    grid-column: span 4;
}

.bento-content {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
}

.bento-item:hover .bento-bg {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.bento-text-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2rem;
    z-index: 2;
    color: white;
}

/* Impact & Benefits Section Styles */
.glow-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--accent);
    filter: blur(200px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.impact-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.impact-image {
    position: relative;
    height: 400px;
}

.impact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.impact-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.sdg-list {
    display: grid;
    gap: 1.5rem;
}

.sdg-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.sdg-item:hover {
    transform: translateX(10px);
    border-left: 4px solid var(--primary);
}

.sdg-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--secondary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Tax Benefits Cards */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Why Support */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.check-list li::before {
    content: '\f00c';
    /* FontAwesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
}

.simple-list li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.simple-list li:last-child {
    border-bottom: none;
}

/* Donate Section */
.donate-cta {
    background: var(--brand-gradient);
    border-radius: 30px;
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.donate-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.donate-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.bank-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bank-row:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    width: 100%;
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    /* Specific columns for alignment */
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col a {
    display: block;
    margin-bottom: 0.8rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col a:hover {
        padding-left: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        transform: none;
        max-height: 400px;
    }

    .hero-image:hover {
        transform: none;
    }

    .bento-item.lg,
    .bento-item.md,
    .bento-item.sm {
        grid-column: span 12;
    }

    .impact-grid,
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Default hidden on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--primary);
        cursor: pointer;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .bento-content {
        padding: 1.5rem;
    }

    .pillar-card {
        padding: 1.5rem;
    }
}

/* Specific Mobile Adjustment for Donation/Bank Section */
@media (max-width: 650px) {
    .bank-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        text-align: left;
    }

    .bank-row span:first-child {
        font-size: 0.85rem;
        opacity: 0.8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .bank-row span:last-child {
        font-size: 1.05rem;
        font-weight: 600;
    }

    .donate-cta {
        padding: 3rem 1.5rem;
    }

    .donate-cta h2 {
        font-size: 1.75rem;
    }
}

/* Animations & Polish */

/* 1. Floating Animation (for icons/images) */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.pillar-icon,
.social-icon {
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    animation: float 3s ease-in-out infinite;
    color: var(--accent);
}

/* 2. Gradient Text Animation */
.text-gradient {
    background: linear-gradient(135deg, #0066cc 0%, #0ea5e9 25%, #00d2ff 50%, #0ea5e9 75%, #0066cc 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* 3. Button Shine Effect */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::after {
    left: 100%;
    transition: 0.5s ease-in-out;
}

/* Scroll Animations (Water Flow) */
.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition: opacity 0.8s ease-out,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s ease-out;
    will-change: opacity, transform, filter;
}

/* JS active state */
.fade-in.js-active {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(4px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Enhanced Staggering for cascade effect */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.pillars-grid .pillar-card:nth-child(1) {
    transition-delay: 0.1s;
}

.pillars-grid .pillar-card:nth-child(2) {
    transition-delay: 0.25s;
}

.pillars-grid .pillar-card:nth-child(3) {
    transition-delay: 0.4s;
}

.pillars-grid .pillar-card:nth-child(4) {
    transition-delay: 0.55s;
}

.bento-grid .bento-item:nth-child(1) {
    transition-delay: 0.1s;
}

.bento-grid .bento-item:nth-child(2) {
    transition-delay: 0.3s;
}

.bento-grid .bento-item:nth-child(3) {
    transition-delay: 0.5s;
}

.benefits-grid .benefit-card:nth-child(1) {
    transition-delay: 0.1s;
}

.benefits-grid .benefit-card:nth-child(2) {
    transition-delay: 0.3s;
}

.benefits-grid .benefit-card:nth-child(3) {
    transition-delay: 0.5s;
}

/* 5. Smooth Scroll Behavior (Managed by Lenis JS) */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* 6. Hero Entrance */
.hero-text h1 {
    opacity: 0;
    animation: slideUpFade 1s ease-out forwards 0.2s;
}

.hero-text p {
    opacity: 0;
    animation: slideUpFade 1s ease-out forwards 0.4s;
}

.hero-text .btn {
    opacity: 0;
    animation: slideUpFade 1s ease-out forwards 0.6s;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sparkbee Link Hover Effect */
.sparkbee-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.sparkbee-link:hover {
    color: #00ffff;
    /* Aqua Blue */
    border-color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6), 0 0 20px rgba(0, 255, 255, 0.4);
    opacity: 1;
}

/* --- Reels Showcase Section --- */
.reels-section {
    position: relative;
    padding: 2rem 0;
}

.reels-slider {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0.5rem 2rem 0.5rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    /* Ensure it handles touch cleanly */
    -webkit-overflow-scrolling: touch;

    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* IE 10+ */
}

.reels-slider::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.reels-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.reel-card {
    flex: 0 0 auto;
    width: 200px;
    height: 355px;
    /* 9:16 aspect ratio approx */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    scroll-snap-align: center;
    box-shadow: var(--shadow-sm);
    border: 3px solid white;
}

.reel-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.reel-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.reel-card:hover .reel-thumb {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.reel-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.play-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.reel-card:hover .play-icon {
    transform: scale(1.2);
    background: white;
    color: var(--primary);
}

/* Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1rem;
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Adjust for different content types */
.modal-content.social-mode {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9/16;
    background: black;
}

.modal-content.image-mode {
    background: transparent;
    box-shadow: none;
    border-radius: 10px;
    width: auto;
    height: auto;
}

.modal-content.image-mode img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.video-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--accent);
}

iframe.reel-frame {
    width: 100%;
    height: 100%;
    border: none;
}