* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode (Default) */
    --bg-primary: #fdf6e3;
    --bg-secondary: #ffffff;
    --text-primary: #000000;
    --text-secondary: #333333;
    --border-color: #000000;
    --navbar-bg: rgba(253, 246, 227, 0.95);
    --card-bg-overlay: rgba(255, 255, 255, 0.5);
    
    /* Brand Colors */
    --yellow: #facc15;
    --fuchsia: #f0abfc;
    --cyan: #67e8f9;
    --lime: #bef264;
    --indigo: #a78bfa;
    --orange: #fb923c;

    /* Shadows */
    --shadow-sm: 3px 3px 0px 0px rgba(0, 0, 0, 1);
    --shadow-md: 6px 6px 0px 0px rgba(0, 0, 0, 1);
    --shadow-lg: 10px 10px 0px 0px rgba(0, 0, 0, 1);
    
    /* Overlays */
    --grain-opacity: 0.04;
    --jaali-opacity: 0.03;
    --mandala-opacity: 0.06;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --border-color: #ffffff;
    --navbar-bg: rgba(10, 10, 10, 0.95);
    --card-bg-overlay: rgba(0, 0, 0, 0.5);
    
    /* Same vibrant colors */
    --yellow: #fbbf24;
    --fuchsia: #e879f9;
    --cyan: #22d3ee;
    --lime: #a3e635;
    --indigo: #8b5cf6;
    --orange: #f97316;

    /* White shadows for dark mode */
    --shadow-sm: 3px 3px 0px 0px rgba(255, 255, 255, 1);
    --shadow-md: 6px 6px 0px 0px rgba(255, 255, 255, 1);
    --shadow-lg: 10px 10px 0px 0px rgba(255, 255, 255, 1);
    
    /* Inverted overlays */
    --grain-opacity: 0.06;
    --jaali-opacity: 0.05;
    --mandala-opacity: 0.08;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background-color: var(--text-primary);
    color: var(--yellow);
}

/* ===========================
   SCROLLBAR
   =========================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-left: 2px solid var(--border-color);
}

::-webkit-scrollbar-thumb {
    background: var(--text-primary);
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: #db2777;
}

/* ===========================
   TYPOGRAPHY
   =========================== */

.font-display {
    font-family: 'Archivo Black', sans-serif;
}

/* ===========================
   UTILITY CLASSES
   =========================== */

.brutalist-shadow {
    box-shadow: var(--shadow-md);
}

.brutalist-shadow-lg {
    box-shadow: var(--shadow-lg);
}

.brutalist-shadow-sm {
    box-shadow: var(--shadow-sm);
}

.btn-press:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1) !important;
}

.hidden {
    display: none;
}

/* ===========================
   OVERLAYS & BACKGROUNDS
   =========================== */

.grain-overlay {

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    opacity: var(--grain-opacity);
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.jaali-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: var(--jaali-opacity);
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20L10 30L0 20L10 10L20 20ZM30 10L40 20L30 30L20 20L30 10ZM10 30L20 40L30 30L20 20L10 30ZM10 10L20 0L30 10L20 20L10 10Z' fill='%23000000' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 40px 40px;
}

.bg-mandalas {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.mandala {
    position: absolute;
    opacity: 0.06;
    animation: spin-slow 60s linear infinite;
    transition: transform 0.3s ease-out;
}

.mandala-1 {
    top: -128px;
    left: -128px;
    width: 500px;
    height: 500px;
    color: #db2777;
}

.mandala-2 {
    top: 33.333%;
    right: -128px;
    width: 400px;
    height: 400px;
    color: #0891b2;
}

@media (min-width: 768px) {
    .mandala-1 {
        top: -256px;
        left: -256px;
        width: 800px;
        height: 800px;
    }

    .mandala-2 {
        right: -256px;
        width: 600px;
        height: 600px;
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   NAVBAR
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: var(--navbar-bg);
    backdrop-filter: blur(12px);
    border-bottom: 4px solid var(--border-color);
    padding: 12px 16px;
    transition: transform 0.3s ease;
}

.navbar.hide {
    transform: translateY(-100%);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-btn {
    width: 40px;
    height: 40px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.logo-btn:hover {
    transform: rotate(6deg);
}

.brand-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
    display: none;
}

.brand-text .version {
    transition: color 0.3s ease;
}

.brand-text:hover .version {
    color: #db2777;
}

@media (min-width: 768px) {
    .navbar {
        padding: 12px 32px;
    }

    .logo-btn {
        width: 48px;
        height: 48px;
        font-size: 1.875rem;
    }

    .brand-text {
        display: block;
        font-size: 1.5rem;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.time-badge {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border: 2px solid var(--border-color);
    border-radius: 9999px;
    background-color: var(--bg-primary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.time-badge:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .time-badge {
        display: flex;
    }
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.time-text {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
}

.menu-btn {
    padding: 8px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    z-index: 50;
}

.menu-btn:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.menu-btn svg {
    transition: transform 0.3s ease;
}

.menu-btn:hover svg {
    transform: rotate(90deg);
}

@media (min-width: 768px) {
    .menu-btn {
        padding: 12px;
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: #db2777;
    transition: width 0.1s ease-out;
    width: 0%;
}

/* ===========================
   FULLSCREEN MENU
   =========================== */

/* ===========================
   THEME TOGGLE
   =========================== */

.theme-toggle {
    padding: 8px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.theme-toggle:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px var(--border-color) !important;
}

.theme-toggle svg {
    transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
    transform: rotate(180deg);
}

@media (min-width: 768px) {
    .theme-toggle {
        padding: 12px;
    }
}


.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background-color: var(--yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.fullscreen-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.menu-link {
    font-family: 'Archivo Black', sans-serif;
    font-size: 3rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.menu-link:hover {
    color: var(--bg-primary);
    font-style: italic;
    transform: scale(1.1);
}

.menu-link span {
    position: relative;
    z-index: 10;
}

.menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 16px;
    background-color: var(--text-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    opacity: 0.2;
}

.menu-link:hover::after {
    transform: scaleX(1);
}

@media (min-width: 768px) {
    .menu-link {
        font-size: 4.5rem;
    }
}

.menu-footer {
    position: absolute;
    bottom: 40px;
    font-size: 0.875rem;
    opacity: 0.6;
    display: flex;
    gap: 16px;
}

/* ===========================
   MAIN CONTENT
   =========================== */

.main-content {
    position: relative;
    z-index: 10;
    padding: 128px 16px 48px;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .main-content {
        padding: 128px 32px 48px;
    }
}

/* ===========================
   FADE IN ANIMATION
   =========================== */

.fade-in-element {
    transition: all 0.7s ease-out;
    opacity: 0;
    transform: translateY(32px);
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .hero-section {
        margin-bottom: 128px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 24px;
    transform: rotate(-2deg);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    cursor: help;
    transition: all 0.3s ease;
    user-select: none;
}

.hero-badge:hover {
    transform: rotate(0deg);
    border-color: var(--bg-primary);
}

@media (min-width: 768px) {
    .hero-badge {
        font-size: 0.875rem;
    }
}

.badge-star {
    color: var(--yellow);
    fill: var(--yellow);
    animation: spin-slow 60s linear infinite;
}

.hero-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 3.75rem;
    line-height: 0.85;
    margin-bottom: 32px;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 8rem;
    }
}

.hero-gradient {
    background: linear-gradient(to right, #db2777, #ea580c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    cursor: default;
    padding-bottom: 8px;
    position: relative;
    transition: transform 0.1s ease-out;
}

.glitch-hover:hover {
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    color: #db2777;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .hero-bottom {
        flex-direction: row;
        align-items: center;
    }
}

.hero-description {
    font-size: 1.125rem;
    font-weight: 500;
    max-width: 512px;
    border-left: 4px solid black;
    padding-left: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.75;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.125rem;
    border: 4px solid var(--border-color);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transform: translateY(-4px);
}

.cta-btn svg {
    transition: transform 0.3s ease;
}

.cta-btn:hover svg {
    transform: translateX(8px);
}

@media (min-width: 768px) {
    .cta-btn {
        font-size: 1.25rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
    opacity: 0.4;
}

@media (min-width: 1024px) {
    .scroll-indicator {
        display: flex;
    }
}

.scroll-text {
    font-size: 0.75rem;
    transform: rotate(90deg);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* ===========================
   MARQUEE
   =========================== */

.marquee-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 16px 0;
    overflow: hidden;
    border-top: 4px solid var(--border-color);
    border-bottom: 4px solid var(--border-color);
    margin-bottom: 96px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 20;
}

@media (min-width: 768px) {
    .marquee-wrapper {
        transform: rotate(1deg);
    }

    .marquee-wrapper:hover {
        transform: rotate(0deg);
    }
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    margin: 0 16px;
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .marquee-item {
        font-size: 2.25rem;
    }
}

.marquee-star {
    color: var(--yellow);
    fill: var(--yellow);
    animation: spin-slow 60s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
}

/* ===========================
   FEATURES SECTION
   =========================== */

.features-section {
    scroll-margin-top: 112px;
}

.features-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    border-bottom: 4px solid var(--border-color);
    padding-bottom: 16px;
}

.section-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.25rem;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.75rem;
    }
}

.section-number {
    display: none;
    font-size: 0.875rem;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 4px 8px;
}

@media (min-width: 768px) {
    .section-number {
        display: block;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 128px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tilt Card */
.tilt-card {
    position: relative;
    overflow: hidden;
    border: 4px solid var(--border-color);
    padding: 24px;
    cursor: pointer;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s ease-out;
    transform-style: preserve-3d;
}

.tilt-card:hover {
    z-index: 10;
}

/* Card Patterns */
.card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.card-pattern.marketplace {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='rgba(0,0,0,0.1)'/%3E%3C/svg%3E");
}

.card-pattern.archive {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L20 20M20 0L0 20' stroke='rgba(0,0,0,0.05)' stroke-width='1'/%3E%3C/svg%3E");
}

.card-pattern.events {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='0' width='10' height='10' fill='none' stroke='rgba(0,0,0,0.05)' stroke-width='1'/%3E%3C/svg%3E");
}

.card-pattern.storytelling {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10H20' stroke='rgba(0,0,0,0.1)' stroke-width='1'/%3E%3C/svg%3E");
}

.card-pattern.learning {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0V20M0 10H20' stroke='rgba(0,0,0,0.1)' stroke-width='1'/%3E%3C/svg%3E");
}

.card-pattern.music {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='8' fill='none' stroke='rgba(0,0,0,0.1)'/%3E%3C/svg%3E");
}

/* Card Colors */
.bg-yellow {
    background-color: var(--yellow);
}

.bg-fuchsia {
    background-color: var(--fuchsia);
}

.bg-cyan {
    background-color: var(--cyan);
}

.bg-lime {
    background-color: var(--lime);
}

.bg-indigo {
    background-color: var(--indigo);
}

.bg-orange {
    background-color: var(--orange);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    position: relative;
    z-index: 10;
}

.card-icon {
    padding: 12px;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.card-tag {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 4px 12px;
    font-weight: 700;
    font-size: 0.75rem;
    border: 2px solid transparent;
    box-shadow: 2px 2px 0px 0px rgba(255, 255, 255, 0.5);
}

.card-body {
    position: relative;
    z-index: 10;
    pointer-events: none;
    margin-top: 32px;
}

.card-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.025em;
    word-break: break-word;
}

.card-description {
    font-size: 0.875rem;
    line-height: 1.25;
    opacity: 1;
    font-weight: 700;
    max-width: 90%;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    padding: 8px;
    display: inline-block;
}

.card-sheen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top right, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tilt-card:hover .card-sheen {
    opacity: 1;
}

.card-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 64px;
    height: 64px;
    background-color: var(--text-primary);
    transform: translate(64px, -64px) rotate(45deg);
    transition: transform 0.3s ease;
}

.tilt-card:hover .card-corner {
    transform: translate(32px, -32px) rotate(45deg);
}

.card-open-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tilt-card:hover .card-open-badge {
    opacity: 1;
}

.card-open-badge span {
    font-weight: 700;
    font-size: 0.75rem;
    background-color: var(--bg-primary);
    padding: 4px 8px;
    border: 1px solid black;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
}

/* ===========================
   IMPACT SECTION
   =========================== */

.impact-section {
    margin-bottom: 128px;
}

.impact-container {
    border: 4px solid var(--border-color);
    background-color: var(--bg-primary);
    padding: 24px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .impact-container {
        padding: 48px;
    }
}

.impact-badge {
    position: absolute;
    top: -24px;
    left: -8px;
    background-color: #ef4444;
    color: var(--bg-primary);
    padding: 8px 24px;
    font-weight: 700;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.25rem;
    border: 4px solid var(--border-color);
    transform: rotate(-2deg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.impact-badge:hover {
    transform: rotate(0deg);
}

@media (min-width: 768px) {
    .impact-badge {
        left: -24px;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: center;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 48px;
    }
}

.stat-item {
    position: relative;
    padding: 16px 0;
    border-bottom: 2px dashed #e5e7eb;
    transition: transform 0.3s ease;
    cursor: crosshair;
}

.stat-item:hover {
    transform: translateY(-8px);
}

@media (min-width: 768px) {
    .stat-item {
        border-bottom: none;
    }
}

.stat-number {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #db2777;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3.75rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    display: inline-block;
    padding: 4px 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 0.875rem;
    }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 32px;
    border-top: 4px solid var(--border-color);
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    margin-left: -16px;
    margin-right: -16px;
}

@media (min-width: 768px) {
    .footer {
        padding: 64px;
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

.footer-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Archivo Black', sans-serif;
    font-size: 20vw;
    opacity: var(--jaali-opacity);
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

.footer-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        align-items: flex-end;
    }
}

.footer-left {
    flex: 1;
}

.footer-logo {
    width: 80px;
    height: 80px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.25rem;
    border: 4px solid transparent;
    margin-bottom: 32px;
    transition: all 0.5s ease;
    box-shadow: 4px 4px 0px 0px rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.footer-logo:hover {
    border-color: var(--bg-primary);
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: rotate(180deg);
}

.footer-description {
    max-width: 384px;
    color: #9ca3af;
    margin-bottom: 32px;
    line-height: 1.75;
}

.heart-icon {
    display: inline;
    color: #ef4444;
    fill: #ef4444;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.newsletter {
    max-width: 320px;
}

.newsletter-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
}

.newsletter-form {
    display: flex;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 0;
    position: relative;
    transition: border-color 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: var(--yellow);
}

.newsletter-input {
    background: transparent;
    outline: none;
    width: 100%;
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    color: var(--bg-primary);
    border: none;
    text-transform: uppercase;
}

.newsletter-input::placeholder {
    color: #4b5563;
}

.newsletter-input:disabled {
    opacity: 0.5;
}

.newsletter-btn {
    color: var(--yellow);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 0;
    bottom: 8px;
    transition: color 0.3s ease;
}

.newsletter-btn:hover {
    color: var(--bg-primary);
}

.newsletter-btn:disabled {
    color: #6b7280;
    cursor: not-allowed;
}

.newsletter-btn.success {
    color: #10b981;
}

.footer-socials {
    display: flex;
    gap: 32px;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-socials {
        width: auto;
    }
}

.social-link {
    color: var(--bg-primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-8px);
}

.social-link.instagram:hover {
    color: #E1306C;
}

.social-link.twitter:hover {
    color: #9ca3af;
}

.social-link.discord:hover {
    color: #5865F2;
}

.social-link.gmail:hover {
    color: #EA4335;
}

.social-link svg {
    width: 40px;
    height: 40px;
}

@media (min-width: 768px) {
    .social-link svg {
        width: 48px;
        height: 48px;
    }
}

/* ===========================
   MODAL
   =========================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    max-width: 672px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--bg-primary);
    border: 4px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: scale(0.95) translateY(40px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 32px;
    border-bottom: 4px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: sticky;
    top: 0;
    z-index: 20;
}

.modal-title-section h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.25rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    line-height: 1;
}

@media (min-width: 768px) {
    .modal-title-section h2 {
        font-size: 3rem;
    }
}

.modal-tag {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 4px 12px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
    display: inline-block;
    transform: rotate(1deg);
}

.modal-close {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    padding: 8px;
    cursor: pointer;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translate(2px, 2px);
    box-shadow: none;
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: 32px;
    position: relative;
}

@media (min-width: 768px) {
    .modal-body {
        padding: 40px;
    }
}

.modal-description {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .modal-description {
        font-size: 1.25rem;
    }
}

.modal-description::first-letter {
    font-size: 3rem;
    font-weight: 700;
    float: left;
    margin-right: 12px;
    margin-top: -10px;
}

.modal-description .note {
    display: block;
    margin-top: 16px;
    font-size: 1rem;
    opacity: 0.7;
}

.modal-status {
    border: 2px dashed black;
    padding: 24px;
    margin-bottom: 32px;
    background-color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.modal-status-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(250, 204, 21, 0.2);
    transform: translateX(-100%);
    transition: all 0.5s ease;
}

.modal-status:hover .modal-status-bg {
    transform: translateX(0);
}

.modal-status-content {
    position: relative;
    z-index: 10;
}

.status-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-title svg {
    width: 20px;
    height: 20px;
    fill: black;
}

.status-description {
    font-size: 0.875rem;
    opacity: 0.7;
}

.modal-cta {
    width: 100%;
    padding: 16px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.25rem;
    border: 4px solid transparent;
    cursor: pointer;
    box-shadow: 6px 6px 0px 0px #fbbf24;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.modal-cta:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--text-primary);
    transform: translate(4px, 4px);
    box-shadow: none;
}

.modal-cta svg {
    width: 20px;
    height: 20px;
}