/* ================================================
   OSC-LEAKS - Liquid Glass Design
   Advanced CSS with liquid glass effects, fluid animations, and PC optimization
   ================================================ */

/* ================================================
   RESET & BASE STYLES
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #ff3366;
    --secondary-color: #6366f1;
    --accent-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Liquid Glass */
    --liquid-bg: rgba(255, 255, 255, 0.06);
    --liquid-border: rgba(255, 255, 255, 0.15);
    --liquid-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
    --liquid-dark: rgba(0, 0, 0, 0.4);
    --liquid-blur: blur(20px);
    --liquid-saturation: saturate(180%);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    
    /* Spacing */
    --container-width: 1400px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-2xl: 50px;
    
    /* Transitions */
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Liquid Effects */
    --liquid-flow: liquidFlow 8s ease-in-out infinite;
    --liquid-ripple: liquidRipple 2s ease-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(255, 51, 102, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #0f0f23 0%, #1a0b2e 25%, #16213e 50%, #0f0f23 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* ================================================
   LIQUID BACKGROUND EFFECTS
   ================================================ */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.liquid-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 51, 102, 0.06) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
    animation: var(--liquid-flow);
}

.liquid-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    animation: blobFloat 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.liquid-blob:nth-child(1) {
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.liquid-blob:nth-child(2) {
    bottom: -300px;
    right: -300px;
    animation-delay: -10s;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.liquid-blob:nth-child(3) {
    top: 50%;
    left: 70%;
    width: 400px;
    height: 400px;
    animation-delay: -5s;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
}

@keyframes liquidFlow {
    0%, 100% { 
        background-position: 0% 50%, 100% 50%, 50% 100%;
        filter: hue-rotate(0deg);
    }
    50% { 
        background-position: 100% 50%, 0% 50%, 50% 0%;
        filter: hue-rotate(10deg);
    }
}

@keyframes blobFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% { 
        transform: translate(100px, -50px) scale(1.1) rotate(90deg);
    }
    50% { 
        transform: translate(-50px, 100px) scale(0.9) rotate(180deg);
    }
    75% { 
        transform: translate(-100px, -100px) scale(1.05) rotate(270deg);
    }
}

@keyframes liquidRipple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.content-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

/* ================================================
   LIQUID NAVIGATION
   ================================================ */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.7);
    backdrop-filter: var(--liquid-blur) var(--liquid-saturation);
    -webkit-backdrop-filter: var(--liquid-blur) var(--liquid-saturation);
    border-bottom: 1px solid var(--liquid-border);
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.03) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.main-nav:hover::before {
    opacity: 1;
}

.main-nav.scrolled {
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(30px) saturate(200%);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.logo-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.3) 0%, transparent 70%);
    transition: all var(--transition-normal);
    transform: translate(-50%, -50%);
}

.logo-link:hover::before {
    width: 120px;
    height: 120px;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 20px rgba(255, 51, 102, 0.6));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(255, 51, 102, 0.6));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(255, 51, 102, 0.9));
        transform: scale(1.05);
    }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    position: relative;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

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

.nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 51, 102, 0.1);
}

.nav-link.active::after {
    width: 80%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
    transform-origin: center;
}

.mobile-menu-btn:hover span {
    background: var(--primary-color);
    transform: scale(1.1);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-top: 1px solid var(--liquid-border);
    border-bottom: 1px solid var(--liquid-border);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem 2rem;
    transition: all var(--transition-normal);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 102, 0.1), transparent);
    transition: left 0.6s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 51, 102, 0.05);
    padding-left: 2.5rem;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* ================================================
   LIQUID HERO SECTION
   ================================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-width);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Content */
.hero-content {
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 51, 102, 0.15);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid rgba(255, 51, 102, 0.4);
    border-radius: var(--radius-2xl);
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: badgeGlow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-badge:hover::before {
    left: 100%;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
    position: relative;
}

@keyframes badgeGlow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(255, 51, 102, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 50px rgba(255, 51, 102, 0.7);
        transform: scale(1.02);
    }
}

@keyframes pulseDot {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
        box-shadow: 0 0 10px var(--primary-color);
    }
    50% { 
        transform: scale(1.3); 
        opacity: 0.8; 
        box-shadow: 0 0 20px var(--primary-color);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    animation: slideUpLiquid 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(50px);
}

.title-word.accent {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-word.accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    animation: liquidExpand 0.8s ease-out 0.8s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

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

@keyframes liquidExpand {
    to {
        transform: scaleX(1);
    }
}

.title-line:nth-child(1) .title-word { animation-delay: 0.1s; }
.title-line:nth-child(2) .title-word:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) .title-word:nth-child(2) { animation-delay: 0.5s; }
.title-line:nth-child(3) .title-word { animation-delay: 0.7s; }

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
    position: relative;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--liquid-bg);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--liquid-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    flex: 1;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: var(--liquid-shadow), 0 20px 40px rgba(255, 51, 102, 0.3);
    animation: var(--liquid-ripple);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.125rem 2.25rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 15px 40px rgba(255, 51, 102, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 25px 60px rgba(255, 51, 102, 0.6);
    animation: var(--liquid-ripple);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 51, 102, 0.3);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: all var(--transition-normal);
}

.btn:hover .btn-icon {
    transform: translateX(5px) scale(1.1);
}

/* ================================================
   LIQUID CAROUSEL
   ================================================ */
.hero-image {
    position: relative;
    z-index: 10;
}

.carousel-container {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--liquid-bg);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--liquid-border);
    padding: 2rem;
    box-shadow: var(--liquid-shadow);
    animation: var(--liquid-flow);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.carousel-slide.active::before {
    opacity: 1;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active img {
    transform: scale(1.05);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--liquid-bg);
    backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--liquid-border);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1.25rem;
}

.carousel-btn:hover {
    background: rgba(255, 51, 102, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 0;
}

.indicator.active {
    width: 40px;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.6);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Floating Elements */
.floating-tags {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 20;
}

.tag {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: var(--liquid-blur);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    animation: float 3s ease-in-out infinite;
    transition: all var(--transition-normal);
}

.tag:hover {
    background: rgba(255, 51, 102, 0.3);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.tag:nth-child(2) { animation-delay: 0.5s; }
.tag:nth-child(3) { animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator span:first-child {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    border-radius: 2px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ================================================
   LIQUID COLLECTIONS SECTION
   ================================================ */
.collections-section {
    padding: 8rem 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.collection-card {
    background: var(--liquid-bg);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--liquid-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.collection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

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

.collection-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: var(--liquid-shadow), 0 30px 80px rgba(255, 51, 102, 0.4);
    animation: var(--liquid-ripple);
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.7));
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .card-image img {
    transform: scale(1.15);
}

.card-icon {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.card-icon svg {
    width: 80px;
    height: 80px;
    color: var(--secondary-color);
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.6));
    position: relative;
    z-index: 1;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
    line-height: 1.6;
}

/* Card Badges */
.card-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
    backdrop-filter: var(--liquid-blur);
    border: 1px solid;
    transition: all var(--transition-normal);
}

.card-badge.leaked {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
    border-color: rgba(16, 185, 129, 0.4);
}

.card-badge.updated {
    background: rgba(99, 102, 241, 0.2);
    color: var(--secondary-color);
    border-color: rgba(99, 102, 241, 0.4);
}

.card-badge.info {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-secondary);
    border-color: rgba(148, 163, 184, 0.4);
}

.card-badge.live {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    border-color: rgba(239, 68, 68, 0.4);
    animation: pulse-badge 2s infinite;
}

.collection-card:hover .card-badge {
    transform: scale(1.1);
}

@keyframes pulse-badge {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
    }
    50% { 
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
    }
}

/* ================================================
   LIQUID FOOTER
   ================================================ */
.main-footer {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border-top: 1px solid var(--liquid-border);
    padding: 5rem 2rem 3rem;
    margin-top: 6rem;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-heading {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    width: 100%;
}

/* Footer Tabs */
.footer-tabs {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--liquid-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 3rem;
    overflow: hidden;
    position: relative;
}

.footer-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.footer-tabs:hover::before {
    opacity: 1;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-normal);
    position: relative;
    white-space: nowrap;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-btn:hover:not(.active) {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

.tab-content {
    min-height: 200px;
    position: relative;
    z-index: 2;
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   LIQUID WEBRINGS
   ================================================ */
.webring-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--liquid-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.webring-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.webring-item:hover::before {
    opacity: 1;
}

.webring-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--liquid-shadow);
}

.webring-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.4;
    position: relative;
}

.webring-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all var(--transition-normal);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.webring-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.webring-link:hover::before {
    left: 100%;
}

.webring-link:hover {
    color: var(--primary-color);
    background: rgba(255, 51, 102, 0.1);
    transform: translateY(-1px);
}

.webring-separator {
    color: var(--text-muted);
    margin: 0 0.5rem;
    font-size: 0.85rem;
}

/* Webring Buttons */
.webring-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.webring-buttons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.webring-buttons:hover::before {
    opacity: 1;
}

.webring-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
    position: relative;
    z-index: 1;
}

.webring-buttons img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: all var(--transition-normal);
}

.webring-buttons a:hover img {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 51, 102, 0.3));
}

/* Buttons Grid */
.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 1rem;
    justify-items: center;
    padding: 1rem;
}

.buttons-grid a {
    display: block;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.buttons-grid a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.buttons-grid a:hover::before {
    left: 100%;
}

.buttons-grid a:hover {
    transform: scale(1.15) rotate(2deg);
}

.buttons-grid img {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all var(--transition-normal);
    width: 88px;
    height: 31px;
    object-fit: contain;
    display: block;
}

.buttons-grid a:hover img {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-card {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-tabs {
        padding: 1.5rem;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: left;
        border-radius: var(--radius-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .tab-btn.active {
        border-bottom: 3px solid var(--primary-color);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .carousel-nav {
        display: none;
    }
    
    .buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .buttons-grid img {
        width: 75px;
        height: 26px;
    }
    
    .webring-item {
        padding: 1rem;
    }
}

/* ================================================
   CUSTOM SCROLLBAR
   ================================================ */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: var(--liquid-blur);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    border: 3px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.5);
}

/* ================================================
   SELECTION & FOCUS
   ================================================ */
::selection {
    background: rgba(255, 51, 102, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

::-moz-selection {
    background: rgba(255, 51, 102, 0.3);
    color: white;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }

.text-liquid {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: var(--liquid-bg);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--liquid-border);
}

.liquid-hover:hover {
    animation: var(--liquid-ripple);
    transform: translateY(-2px);
}

/* ================================================
   ACCESSIBILITY
   ================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================================
   LOADING ANIMATIONS
   ================================================ */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-shimmer {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.loading-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

/* ================================================
   PERFORMANCE OPTIMIZATIONS
   ================================================ */
@media (prefers-reduced-motion: no-preference) {
    .hero-title,
    .collection-card,
    .stat-card,
    .webring-item {
        will-change: transform;
    }
}

/* ================================================
   DARK MODE SUPPORT
   ================================================ */
@media (prefers-color-scheme: dark) {
    :root {
        --liquid-bg: rgba(255, 255, 255, 0.05);
        --liquid-border: rgba(255, 255, 255, 0.12);
    }
}

/* ================================================
   PRINT STYLES
   ================================================ */
@media print {
    .main-nav,
    .mobile-menu-btn,
    .scroll-indicator,
    .footer-tabs,
    .webring-item {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}