/**
 * iOS-Style Landing Page UI
 * Premium Glassmorphic design with advanced animations
 */

/* ============================================
   BACKGROUND EFFECTS (Shared with Auth)
   ============================================ */

/* ============================================
   GLOBAL SCROLL & OVERFLOW FIXES
   ============================================ */

/* 1. Prevent horizontal scroll globally */
@import url('scroll-progress.css');

/* 1. Prevent horizontal scroll globally */
html,
body {
    width: 100%;
    /* User requested explicit width */
    overflow-x: hidden;
    position: relative;
    /* User requested position relative */
    /* Improve scroll smoothness on mobile */
    -webkit-overflow-scrolling: touch;
}

/* 2. Secure main wrapper */
.landing-ios-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    /* Fix double scroll */
    min-height: auto;
    /* Let content dictate height */
    background: transparent;
    overflow-x: hidden;
}

/* 3. Fix overflow from Glows & Orbs */
.landing-background,
.hero-premium-ios {
    position: relative;
    overflow: hidden;
    /* Cuts off any element sticking out */
}

.torch-section {
    position: relative;
    overflow: visible;
    z-index: 10;
}

/* 4. Handle floating elements */
.landing-orb,
.hero-side-glow {
    pointer-events: none;
    /* Prevent interference with clicks */
    z-index: 0;
}

/* 5. Performance / Lag Fix (Hardware Acceleration) */
.mouse-cursor,
.torch-gfx,
.landing-orb {
    will-change: transform;
    transform: translateZ(0);
    /* Force GPU Rendering */
}

/* 6. Mobile Container Safety */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

/* 7. 3D Torch Fix */
.torch-wrapper {
    backface-visibility: hidden;
    perspective: 1000px;
}

.landing-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    /* Deep Blue/Black Theme */
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0f0518 100%);
    background-size: 200% 200%;
    animation: gradientPulse 15s ease infinite;
}

@keyframes gradientPulse {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.landing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--turquoise), transparent 70%);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(142, 68, 173, 0.4), transparent);
    /* Purple Glow */
    bottom: 10%;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(41, 128, 185, 0.4), transparent);
    /* Blue Glow */
    top: 40%;
    right: 20%;
    animation-delay: -10s;
}

/* ============================================
   MOBILE DOCK NAVIGATION
   ============================================ */
/* Mobile Dock styles removed to prevent conflicts */


@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -40px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

/* Mouse Follow Cursor Style */
.mouse-cursor {
    display: none;
    /* Only on desktop */
}

@media (min-width: 1024px) {
    .mouse-cursor {
        display: block;
        position: fixed;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(0, 217, 255, 0.15), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 100;
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease-out;
        filter: blur(30px);
    }
}

/* ============================================
   GLASSMORPHISM CORE
   ============================================ */

.glass-section {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 0;
}

.ios-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ios-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.1);
}

/* ============================================
   HERO SLIDER REFINEMENTS
   ============================================ */

/* ============================================
   HERO PREMIUM SECTION (REPLACES SLIDER)
   ============================================ */

.hero-premium-ios {
    position: relative;
    padding: 160px 0 100px;
    min-height: 90vh;
    /* Keep min-height for vertical alignment */
    display: flex;
    align-items: center;
    overflow: visible;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1200px !important;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Right Side: Content */
.hero-content-wrapper {
    text-align: right;
    padding-left: 20px;
}

/* Left Side: Visual */
.hero-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* New Glass Card Visual */
.hero-glass-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 30px;
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.5s ease;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-glass-card:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

@keyframes floatCard {

    0%,
    100% {
        transform: rotateY(-10deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(-10deg) rotateX(5deg) translateY(-15px);
    }
}

.hero-badge {
    display: inline-flex;
    margin-bottom: 30px;
    padding: 8px 18px;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 217, 255, 0.4),
            transparent);
    animation: swapLight 3s infinite linear;
}

@keyframes swapLight {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--turquoise);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-main-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
    direction: rtl;
    unicode-bidi: isolate;
    position: relative;
    z-index: 2;
}

/* Enhanced Side Glows */
.hero-side-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    z-index: 1;
    /* Behind text but in front of deep background */
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

.glow-left {
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    background: radial-gradient(circle, var(--purple-glow), transparent 70%);
    animation-delay: 0s;
}

.glow-right {
    top: 20%;
    right: -200px;
    transform: translateY(-50%);
    background: radial-gradient(circle, var(--turquoise), transparent 70%);
    animation-delay: -4s;
}

/* Mobile Fix: Remove left purple line & Force Overflow Clip */
@media (max-width: 768px) {

    /* Prevent any horizontal expansion from effects */
    .landing-ios-wrapper,
    .hero-premium-ios,
    .landing-content {
        overflow-x: clip;
    }

    /* Hide the left glow artifact on mobile */
    .hero-side-glow.glow-left {
        display: none !important;
    }

    /* Strict body overflow control */
    html,
    body {
        overflow-x: clip !important;
        overscroll-behavior-x: none;
        touch-action: pan-y;
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1);
    }

    100% {
        opacity: 0.6;
        transform: translateY(-50%) scale(1.1);
    }
}

/* SplitText Char Styling */
.hero-main-title.split-ready .char,
.hero-description.split-ready .char {
    display: inline-block;
}

.text-glow {
    color: var(--turquoise);
    text-shadow: 0 0 40px rgba(0, 217, 255, 0.6),
        0 0 80px rgba(0, 217, 255, 0.3),
        0 0 10px rgba(255, 255, 255, 0.8);
    position: relative;
    font-weight: 900;
}

.subtitle-gradient {
    background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.6em;
    display: block;
    margin-top: 15px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    /* Increased brightness */
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.7;
    direction: rtl;
    text-align: center;
    unicode-bidi: isolate;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Better readability against glow */
    position: relative;
    z-index: 2;
}

.hero-search-wrapper {
    max-width: 650px;
    margin: 0 auto 50px;
}

.premium-search-bar {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 8px 10px 8px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.premium-search-bar:focus-within {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--turquoise);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.15);
    transform: translateY(-2px);
}

.premium-search-bar .search-icon {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
}

.premium-search-bar input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    padding: 12px 0;
    outline: none;
    font-family: inherit;
}

.hero-action-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.btn-premium {
    background: var(--turquoise);
    color: #000;
    padding: 14px 35px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.3);
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 217, 255, 0.5);
    background: #fff;
}

.btn-premium-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 14px 35px;
    border-radius: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-premium-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

.hero-floating-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.stat-bubble {
    display: flex;
    flex-direction: column;
}

.stat-bubble .count {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.stat-bubble .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-label {
    background: rgba(157, 78, 221, 0.2) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(157, 78, 221, 0.3) !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

/* Navigation Buttons Refinement */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--turquoise);
    color: #000;
    border-color: var(--turquoise);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    right: 30px;
}

.next-btn {
    left: 30px;
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;
    border-radius: 10px;
    background: var(--turquoise);
}

/* ============================================
   CATEGORIES GRID
   ============================================ */

.category-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 18px !important;
    padding: 40px 20px !important;
    margin: 10px;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--turquoise) !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.category-card i {
    font-size: 2.5rem !important;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--turquoise), var(--purple-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   CREATORS SECTION
   ============================================ */

.creators-section {
    background: transparent !important;
}

.creator-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 24px !important;
}

/* ============================================
   JOURNEY (HOW IT WORKS)
   ============================================ */

.journey-section {
    padding: 120px 0;
}

.journey-marker {
    background: linear-gradient(135deg, var(--turquoise), var(--purple-glow)) !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
}

.journey-content {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
}

/* ============================================
   RESPONSIVE OPTIMIZATIONS
   ============================================ */

/* Mobile Hero Refinements */
@media (max-width: 900px) {
    .hero-premium-ios {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content-wrapper {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        order: 1;
        /* Content first */
    }

    .hero-visual-wrapper {
        display: none;
        /* Hide visual on mobile for cleaner look */
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        padding: 0 10px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-action-btns {
        flex-direction: column;
        padding: 0 20px;
    }

    .btn-premium,
    .btn-premium-outline {
        justify-content: center;
        width: 100%;
    }

    .hero-floating-stats {
        gap: 20px;
    }

    .stat-bubble .count {
        font-size: 1.4rem;
    }

    .premium-search-bar {
        margin: 0 auto 30px;
        padding: 5px 5px 5px 15px;
    }

    .premium-search-bar input {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .ios-card {
        padding: 20px;
    }

    .glass-section {
        padding: 60px 0;
    }

    .landing-orb {
        opacity: 0.1;
        filter: blur(50px);
        /* Prevent orbs from causing scroll */
        max-width: 50vw;
        overflow: hidden;
    }

    /* Fix hero side glows on mobile */
    .hero-side-glow {
        width: 300px;
        height: 300px;
        opacity: 0.3;
    }

    .glow-left {
        left: -100px;
    }

    .glow-right {
        right: -100px;
    }

    .particles-bg {
        display: none !important;
        /* Hide particles on mobile for performance */
    }

    /* Category Cards Optimization - Grid System */
    .categories-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
        padding: 0 10px !important;
    }

    .category-card {
        margin: 0 !important;
        width: 100% !important;
        aspect-ratio: 1/1 !important;
        /* Force square */
        min-height: auto !important;
        padding: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .category-card i {
        font-size: 2rem !important;
        margin-bottom: 8px !important;
    }

    .category-card h3 {
        font-size: 0.85rem !important;
    }

    /* Fix Hero Typography Clipping */
    .hero-main-title {
        font-size: 2rem !important;
        line-height: 1.4 !important;
        padding: 0 10px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        padding: 0 15px !important;
        max-width: 100% !important;
    }

    /* Scrollbar visibility restored */

    /* Mobile Slider Specific Fix */
    @media (max-width: 480px) {
        .slider-container {
            padding: 0 10px !important;
        }

        .slide-content {
            padding: 15px !important;
            margin: 0 !important;
            border-radius: 20px !important;
            backdrop-filter: blur(5px) !important;
            -webkit-backdrop-filter: blur(5px) !important;
        }

        .slide-info h2 {
            font-size: 1.3rem !important;
            margin-bottom: 10px !important;
        }

        .slide-info p {
            font-size: 0.85rem !important;
            margin-bottom: 15px !important;
        }

        .slide-media {
            height: 180px !important;
        }

        .creator-strip {
            margin-bottom: 10px !important;
        }

        .btn-glow {
            padding: 8px 15px !important;
            font-size: 0.85rem !important;
        }
    }

    /* Glass Fan-out Gallery Section */
    .glass-gallery-section {
        padding: 100px 0;
        position: relative;
        overflow: hidden;
    }

    .glass-gallery-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 400px;
        margin-top: 50px;
    }

    .glass-card-fan {
        position: relative;
        width: 200px;
        height: 280px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-radius: 20px;
        margin: 0 -60px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        transform: rotate(calc(var(--r) * 1deg));
        overflow: hidden;
        cursor: pointer;
        z-index: 1;
    }

    .glass-gallery-container:hover .glass-card-fan {
        transform: rotate(0deg) translateY(-20px);
        margin: 0 15px;
        z-index: 2;
    }

    .glass-card-fan img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.7;
        transition: 0.5s ease;
    }

    .glass-card-fan:hover img {
        opacity: 1;
        transform: scale(1.1);
    }



    .owner-edit-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        background: var(--turquoise);
        color: #000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        cursor: pointer;
        box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
        transition: all 0.3s ease;
    }

    .owner-edit-btn:hover {
        transform: scale(1.2) rotate(15deg);
        background: #fff;
    }

    @media (max-width: 768px) {
        .glass-gallery-container {
            flex-wrap: wrap;
            gap: 30px;
            padding-top: 50px;
        }

        .glass-card-fan {
            margin: 0 !important;
            transform: rotate(0deg) !important;
            width: 150px;
            height: 200px;
        }

        .glass-gallery-container:hover .glass-card-fan {
            transform: scale(1.05);
            margin: 0;
        }
    }

    /* 3D Creators Showcase Carousel */
    .creators-3d-section {
        padding: 100px 0;
        position: relative;
        overflow: hidden;
        background: radial-gradient(circle at center, rgba(0, 217, 255, 0.05) 0%, transparent 70%);
    }

    .creators-3d-wrapper {
        width: 100%;
        height: 400px;
        position: relative;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        perspective: 2000px;
    }

    .creators-3d-inner {
        --w: 120px;
        --h: 180px;
        --translateZ: 350px;
        --rotateX: -10deg;
        --perspective: 1000px;
        position: absolute;
        width: var(--w);
        height: var(--h);
        transform-style: preserve-3d;
        transform: perspective(var(--perspective)) rotateX(var(--rotateX));
        animation: rotating3D 30s linear infinite;
    }

    @keyframes rotating3D {
        from {
            transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(0);
        }

        to {
            transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(1turn);
        }
    }

    .creator-3d-card {
        position: absolute;
        inset: 0;
        border: 2px solid rgba(0, 217, 255, 0.3);
        border-radius: 16px;
        overflow: hidden;
        transform: rotateY(calc((360deg / var(--quantity)) * var(--index))) translateZ(var(--translateZ));
        background: rgba(30, 30, 50, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: all 0.5s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }

    .creator-3d-card:hover {
        border-color: var(--turquoise);
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
        transform: rotateY(calc((360deg / var(--quantity)) * var(--index))) translateZ(calc(var(--translateZ) + 20px));
    }

    .creator-3d-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
        filter: grayscale(20%);
        transition: filter 0.3s ease;
    }

    .creator-3d-card:hover .creator-3d-img {
        filter: grayscale(0%);
    }

    .creator-3d-info {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
        color: #fff;
        text-align: center;
    }

    .creator-3d-name {
        font-size: 0.8rem;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    @media (max-width: 768px) {
        .creators-3d-inner {
            --w: 90px;
            --h: 140px;
            --translateZ: 250px;
        }

        .creators-3d-section {
            padding: 60px 0;
        }

        .creators-3d-wrapper {
            height: 300px;
        }
    }

    /* 3D Interactive Torch - Removed per user request */


}

/* ============================================
   MOBILE FOOTER FIX
   ============================================ */
@media (max-width: 768px) {
    .landing-ios-wrapper {
        padding-bottom: 140px !important;
    }

    footer.footer {
        padding-bottom: 120px !important;
        position: relative;
        z-index: 5;
    }
}