@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* Color System - Matching Logo Design */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-gradient-hover: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #667eea 100%);
    --success-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --warning-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --error-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
    /* Logo-specific colors */
    --logo-primary: #667eea;
    --logo-secondary: #764ba2;
    --logo-accent: #b8b8d1;
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-light: rgba(255, 255, 255, 0.05);
    --glass-bg-medium: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-light: rgba(255, 255, 255, 0.1);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --text-muted: #8b8ba7;
    --text-accent: #4facfe;
    
    /* Background Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-quaternary: #10101a;
    --bg-quinary: #141229;
    
    /* Spacing System - Compact Scale (site looked best at ~70% zoom) */
    --space-xs: 0.45rem;   /* ~7px at 16px (smaller on desktop via html font-size) */
    --space-sm: 0.85rem;   /* ~14px */
    --space-md: 1.25rem;   /* ~20px */
    --space-lg: 1.75rem;   /* ~28px */
    --space-xl: 2.5rem;    /* ~40px */
    --space-2xl: 3.25rem;  /* ~52px */
    --space-3xl: 4rem;     /* ~64px */
    --space-4xl: 4.75rem;  /* ~76px */
    --space-5xl: 6rem;     /* ~96px */
    
    /* Typography Spacing - Consistent Margins */
    --text-margin-sm: var(--space-sm);     /* Small text margins */
    --text-margin-md: var(--space-md);     /* Medium text margins */
    --text-margin-lg: var(--space-lg);     /* Large text margins */
    --text-margin-xl: var(--space-xl);     /* Extra large text margins */
    
    /* Section Spacing - Consistent Padding */
    --section-padding-sm: var(--space-2xl) 0;   /* Small sections */
    --section-padding-md: var(--space-3xl) 0;   /* Medium sections */
    --section-padding-lg: var(--space-4xl) 0;   /* Large sections */
    --section-padding-xl: var(--space-5xl) 0;   /* Hero sections */
    
    /* Border Radius - Sharp edges like logo */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;
    --radius-2xl: 0px;
    --radius-full: 0px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);
    --shadow-glow-accent: 0 0 20px rgba(79, 172, 254, 0.3);
    
    /* Typography - Unified Scale */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    --font-size-7xl: 4.5rem;    /* 72px */
    
    /* Heading Scale - Consistent Hierarchy */
    --heading-h1: clamp(2.5rem, 6vw, 4rem);      /* Page titles */
    --heading-h2: clamp(2rem, 5vw, 3rem);        /* Section titles */
    --heading-h3: var(--font-size-2xl);           /* Card titles */
    --heading-h4: var(--font-size-xl);            /* Subsection titles */
    --heading-h5: var(--font-size-lg);            /* Small headings */
    --heading-h6: var(--font-size-base);          /* Micro headings */
    
    /* Text Scale - Consistent Body Text */
    --text-large: var(--font-size-xl);            /* Hero descriptions */
    --text-base: var(--font-size-base);           /* Body text */
    --text-small: var(--font-size-sm);            /* Meta text */
    --text-micro: var(--font-size-xs);            /* Labels, badges */
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;
    --line-height-loose: 1.8;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

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

html {
    scroll-behavior: smooth;
    /* Global scale down (desktop was too large unless browser zoom ~70%) */
    font-size: 90%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--line-height-relaxed);
    overflow-x: hidden;
    position: relative;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
}

/* Global Typography - Unified Heading System */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
    margin: 0;
}

h1 {
    font-size: var(--heading-h1);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--text-margin-lg);
}

h2 {
    font-size: var(--heading-h2);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--text-margin-md);
}

h3 {
    font-size: var(--heading-h3);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--text-margin-md);
}

h4 {
    font-size: var(--heading-h4);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--text-margin-sm);
}

h5 {
    font-size: var(--heading-h5);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--text-margin-sm);
}

h6 {
    font-size: var(--heading-h6);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--text-margin-sm);
}

/* Global Paragraph System */
p {
    font-size: var(--text-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--text-margin-md);
}

/* Text Size Variants */
.text-large {
    font-size: var(--text-large);
    line-height: var(--line-height-relaxed);
}

.text-small {
    font-size: var(--text-small);
    line-height: var(--line-height-normal);
}

.text-micro {
    font-size: var(--text-micro);
    line-height: var(--line-height-normal);
}

/* Loading Screen Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

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

.loader-logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.loader-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.loader-bar {
    width: 250px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: visible;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.loader-progress {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}


.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Hide main content during loading */
.main-content {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.main-content.loaded {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -100;
    animation: backgroundShift 20s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

* {
    box-sizing: inherit;
}

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

/* Global animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-xl);
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(30px);
    box-shadow: var(--shadow-md);
}

.logo img {
    height: 58px;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.7));
    transition: var(--transition-slow);
    border-radius: 0px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 6px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.logo img:hover {
    transform: scale(1.1) rotate(1deg);
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.9)) drop-shadow(0 0 15px rgba(118, 75, 162, 0.6));
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.4);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    position: relative;
    transition: var(--transition-slow);
    padding: var(--space-xs) var(--space-md);
    border-radius: 0px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    border-radius: 0px;
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -5;
    transform: scale(0.8);
    pointer-events: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-normal);
    transform: translateX(-50%);
    pointer-events: none;
}

.nav-links a:hover::before {
    opacity: 0.3;
    transform: scale(1);
}

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

.nav-links a:hover {
    color: #ffffff;
    transform: translateY(-3px);
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 10px rgba(118, 75, 162, 0.6);
}

.nav-links a.active {
    background: var(--primary-gradient);
    color: white;
    opacity: 1;
    transform: scale(1.05);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.nav-links a.active::before {
    opacity: 0.3;
    transform: scale(1);
}

.nav-links a:focus {
    outline: 2px solid var(--accent-gradient);
    outline-offset: 2px;
}

/* Section - Unified Spacing */
.section {
    padding: var(--section-padding-lg);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.section.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-slow);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(96px, 12vh, 120px) var(--space-lg) clamp(56px, 8vh, 80px);
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(240, 147, 251, 0.15) 0%, transparent 50%);
    animation: heroBackground 15s ease-in-out infinite;
    z-index: -5;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes heroBackground {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero {
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: var(--space-xl);
    text-align: center;
    animation: logoFadeIn 1s ease-out 0.5s both;
}

.hero-logo img {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(102, 126, 234, 0.6));
    transition: var(--transition-normal);
}

.hero-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(102, 126, 234, 0.7));
}

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

.hero-content h1 {
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--text-margin-xl);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleReveal 2s ease-out;
    text-shadow: 0 0 50px rgba(102, 126, 234, 0.7), 0 0 25px rgba(118, 75, 162, 0.5);
    letter-spacing: -2px;
    line-height: var(--line-height-tight);
    position: relative;
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.4));
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    animation: underlineExpand 1s ease-out 1.5s both;
    pointer-events: none;
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 80px; }
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.slider {
    height: 60px;
    overflow: visible;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.slide-text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-normal);
    color: var(--text-secondary);
    animation: slideUp 15s infinite;
    position: absolute;
    width: 100%;
    opacity: 0;
}

.slide-text:nth-child(1) { animation-delay: 0s; }
.slide-text:nth-child(2) { animation-delay: 5s; }
.slide-text:nth-child(3) { animation-delay: 10s; }

@keyframes slideUp {
    0%, 10% { opacity: 0; transform: translateY(30px); }
    15%, 25% { opacity: 1; transform: translateY(0); }
    30%, 100% { opacity: 0; transform: translateY(-30px); }
}

.hero-content .btn-hover {
    display: inline-block;
    padding: var(--space-lg) var(--space-3xl);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    background: var(--primary-gradient);
    border: 3px solid rgba(102, 126, 234, 0.5);
    border-radius: 0px;
    text-decoration: none;
    position: relative;
    overflow: visible;
    transition: var(--transition-bounce);
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: buttonPulse 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes buttonPulse {
    0%, 100% { 
        box-shadow: 
            0 15px 35px rgba(102, 126, 234, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% { 
        box-shadow: 
            0 20px 45px rgba(102, 126, 234, 0.6),
            0 8px 25px rgba(0, 0, 0, 0.3);
    }
}

/* Removed problematic white streak animation */

.hero-content .btn-hover:hover {
    transform: translateY(-8px) scale(1.08);
    background: var(--primary-gradient-hover);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 
        0 25px 50px rgba(102, 126, 234, 0.7),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: none;
}

.section-title {
    font-size: var(--heading-h2);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--text-margin-xl);
    text-transform: uppercase;
    text-align: center;
    position: relative;
	background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
	background-clip: text;
	background-size: 300% 300%;
    opacity: 0;
    transform: translateY(30px);
	animation: titleSlideIn 1s ease-out 0.3s forwards, titleGradient 4s ease-in-out infinite 1.5s;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
}

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

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

@keyframes underlineGlow {
	0%, 100% {
		opacity: 0.4;
		transform: translate(-50%, -50%) scaleX(0.8);
	}
	50% {
		opacity: 0.8;
		transform: translate(-50%, -50%) scaleX(1.1);
	}
}

@keyframes squareRotate {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    z-index: -5;
    opacity: 0.3;
    pointer-events: none;
	box-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
	animation: underlineGlow 3s ease-in-out infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
	border: 3px solid transparent;
	border-image: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(79, 172, 254, 0.2) 50%, rgba(240, 147, 251, 0.3) 100%) 1;
	border-radius: 8px;
	z-index: -4;
	opacity: 0.3;
	pointer-events: none;
	animation: squareRotate 8s linear infinite;
}

/* About Section */
.about-section {
    background: 
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%),
        radial-gradient(circle at 50% 30%, rgba(79, 172, 254, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 20%, rgba(79, 172, 254, 0.025) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.025) 0%, transparent 30%);
    pointer-events: none;
    z-index: -5;
    opacity: 0.5;
}


.about-logo {
    display: flex;
    position: relative;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.logo-triangle {
    position: absolute;
    width: 0;
    height: 0;
}

.logo-triangle.left {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid #f093fb;
    left: 0;
    top: 0;
    z-index: 2;
}

.logo-triangle.right {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid #4facfe;
    left: 10px;
    top: 0;
    z-index: 1;
}


.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    text-align: left;
}

.about-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 25px;
    max-width: 600px;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.stat {
    display: flex;
    align-items: baseline;
    gap: 15px;
    opacity: 0;
    transform: translateX(-30px);
    animation: statReveal 0.8s ease-out forwards;
}

.stat:nth-child(1) { animation-delay: 0.2s; }
.stat:nth-child(2) { animation-delay: 0.4s; }
.stat:nth-child(3) { animation-delay: 0.6s; }

@keyframes statReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat h4 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    min-width: 60px;
}

.stat p {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 400;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.glowing-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    border-radius: 0px;
    position: relative;
    animation: glowPulse 3s ease-in-out infinite;
    box-shadow: 
        0 0 50px rgba(102, 126, 234, 0.6),
        0 0 100px rgba(118, 75, 162, 0.4),
        inset 0 0 30px rgba(102, 126, 234, 0.3);
    border: 3px solid rgba(102, 126, 234, 0.5);
}

.glowing-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(102, 126, 234, 1);
    border-radius: 0px;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 50px rgba(79, 172, 254, 0.6),
            0 0 100px rgba(79, 172, 254, 0.4),
            inset 0 0 30px rgba(79, 172, 254, 0.3);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 
            0 0 70px rgba(79, 172, 254, 0.8),
            0 0 140px rgba(79, 172, 254, 0.6),
            inset 0 0 40px rgba(79, 172, 254, 0.5);
    }
}

/* News Section */
.news-section {
    background: 
        linear-gradient(135deg, #16141e 0%, #1a1826 50%, #0f0e1a 100%),
        radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(240, 147, 251, 0.08) 0%, transparent 50%);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.news-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 100%;
    margin: 0 auto;
}

.card {
    background: var(--glass-bg-light);
    backdrop-filter: blur(25px);
    border: 2px solid var(--glass-border-light);
    border-radius: 0px;
    padding: var(--space-2xl);
    text-align: left;
    transition: var(--transition-bounce);
    position: relative;
    overflow: visible;
    opacity: 0;
    transform: translateY(50px);
    animation: cardReveal 1s ease-out forwards;
    box-shadow: var(--shadow-md);
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }

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

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -5;
    pointer-events: none;
}

.card:hover::before {
    opacity: 0.1;
}

.card:hover {
    transform: translateY(-15px) rotateX(8deg) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0px;
    margin-bottom: var(--space-xl);
    transition: var(--transition-normal);
    filter: brightness(0.9) contrast(1.1) saturate(1.1);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.card:hover img {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.1) contrast(1.3) saturate(1.3);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    font-size: var(--heading-h3);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--text-margin-md);
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-normal);
    line-height: var(--line-height-tight);
}

.card:hover h3 {
    transform: translateX(8px) scale(1.02);
    text-shadow: 0 0 20px rgba(240, 147, 251, 0.3);
}

.card p {
    font-size: var(--text-base);
    line-height: var(--line-height-loose);
    margin-bottom: var(--text-margin-lg);
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.card:hover p {
    color: var(--text-primary);
}

.card .btn-hover {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    background: var(--accent-gradient);
    border: 2px solid rgba(79, 172, 254, 0.4);
    border-radius: 0px;
    text-decoration: none;
    position: relative;
    overflow: visible;
    transition: var(--transition-normal);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

/* Removed problematic white streak animation */

.card .btn-hover:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.5);
}

.card .btn-hover:focus,
.hero-content .btn-hover:focus {
    outline: 2px solid var(--accent-gradient);
    outline-offset: 2px;
}


/* Featured Section */
.featured-section {
    background: 
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%),
        radial-gradient(circle at 30% 40%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
    padding: var(--space-4xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.featured-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.featured-section .section-title {
    margin-bottom: var(--space-3xl);
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    width: 100%;
}

.featured-card {
    background: var(--glass-bg-light);
    backdrop-filter: blur(25px);
    border: 2px solid var(--glass-border-light);
    border-radius: 0px;
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.featured-card.large {
    grid-row: span 2;
}

.featured-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: var(--shadow-xl);
}

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

.featured-card.large .card-image {
    height: 100%;
    min-height: 500px;
}

.featured-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.featured-card:hover .card-image img {
    transform: scale(1.1);
}

.featured-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0.6;
}

.featured-card .card-content {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.featured-card .card-meta {
    display: flex;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.featured-card .card-category {
    background: var(--accent-gradient);
    padding: 4px 12px;
    border-radius: 0px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-card h3 {
    font-size: var(--heading-h3);
    font-weight: var(--font-weight-bold);
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: var(--line-height-tight);
}

.featured-card.large h3 {
    font-size: var(--heading-h2);
}

.featured-card p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    flex: 1;
}

.featured-card .btn-hover {
    margin-top: auto;
    align-self: flex-start;
}

/* Category Sections */
.category-section {
    padding: var(--space-4xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.category-section.category-games {
    background: 
        linear-gradient(135deg, #10101a 0%, #141229 50%, #0a0a0f 100%),
        radial-gradient(circle at 20% 80%, rgba(79, 172, 254, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
}

.category-section.category-tabletop {
    background: 
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%),
        radial-gradient(circle at 30% 40%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.category-header .section-title {
    margin-bottom: 0;
}

.category-link {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-normal);
}

.category-link:hover {
    transform: translateX(5px);
    color: var(--text-primary);
}

.category-description {
    max-width: 1400px;
    margin: 0 auto var(--space-3xl);
    text-align: center;
}

.category-description p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
    width: 100%;
}

.article-card {
    background: var(--glass-bg-light);
    backdrop-filter: blur(25px);
    border: 2px solid var(--glass-border-light);
    border-radius: 0px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: var(--shadow-xl);
}

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

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-card .article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 100%);
    opacity: 0.5;
}

.article-card .article-content {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.article-card .article-meta {
    display: flex;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.article-card .article-date {
    color: var(--text-muted);
}

.article-card .article-category {
    background: var(--accent-gradient);
    padding: 4px 12px;
    border-radius: 0px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: var(--font-size-xs);
}

.article-card h3 {
    font-size: var(--heading-h4);
    font-weight: var(--font-weight-bold);
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: var(--line-height-tight);
}

.article-card p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    flex: 1;
    font-size: var(--font-size-sm);
}

.article-link {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-normal);
    margin-top: auto;
}

.article-link:hover {
    transform: translateX(5px);
    color: var(--text-primary);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-4xl);
    color: var(--text-secondary);
}

.empty-state p {
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-lg);
}

/* Projects Section */
.projects-section {
    background: 
        linear-gradient(135deg, #10101a 0%, #141229 50%, #0a0a0f 100%),
        radial-gradient(circle at 20% 80%, rgba(79, 172, 254, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
    padding: var(--space-4xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.projects-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.projects-section .section-title {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.projects-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
    max-width: 100%;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: 
        linear-gradient(135deg, var(--bg-secondary) 0%, #0a0a0f 100%),
        radial-gradient(circle at 50% 0%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    padding: 100px var(--space-lg) var(--space-3xl);
    text-align: center;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -5;
    opacity: 0.5;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin: var(--space-xl) 0;
    opacity: 0;
    transform: translateY(30px);
    animation: footerReveal 0.8s ease-out forwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }

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

.footer-column h3, .footer-column h4 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
}

.footer-column p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    padding: 5px 0;
}

.footer-column a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-normal);
    pointer-events: none;
}

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

.footer-column a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

/* Footer link styles */
.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    padding: 5px 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-normal);
    pointer-events: none;
}

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

.footer-link:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-address {
    color: var(--text-secondary);
}

/* Author link styles */
.author-link {
    color: var(--text-primary);
    text-decoration: none;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-normal);
}

.author-link:hover {
    opacity: 0.8;
}

/* Text link styles */
.text-link {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

.text-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Breadcrumb link styles */
.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.breadcrumb-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Article title link styles */
.article-title-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.article-title-link:hover {
    color: var(--text-accent);
    text-decoration: underline;
}

/* Contact link styles */
.contact-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-accent);
}

.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 0px;
    background: var(--primary-gradient);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
    filter: blur(1px);
    border: 1px solid rgba(102, 126, 234, 0.4);
    z-index: -1;
    pointer-events: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Global Particles Container */
#global-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Small Floating Squares */
.small-floating-square {
    position: absolute;
    border-radius: 0px;
    background: var(--primary-gradient);
    opacity: 0.6;
    animation: float 12s ease-in-out infinite;
    filter: blur(0.5px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 1;
    pointer-events: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    width: 120px;
    height: 120px;
    animation-delay: 1s;
}

.floating-element:nth-child(5) {
    width: 90px;
    height: 90px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { 
        transform: rotate(0deg) scale(1); 
        opacity: 0.7;
    }
    25% { 
        transform: rotate(90deg) scale(1.1); 
        opacity: 0.8;
    }
    50% { 
        transform: rotate(180deg) scale(0.9); 
        opacity: 0.9;
    }
    75% { 
        transform: rotate(270deg) scale(1.05); 
        opacity: 0.75;
    }
}

/* Responsive Design for Portal Sections */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .featured-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .featured-card.large .card-image {
        min-height: 300px;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-card.large {
        grid-column: span 1;
    }
    
    .featured-card .card-image,
    .featured-card.large .card-image {
        height: 250px;
        min-height: 250px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card .article-image {
        height: 180px;
    }
    .header {
        padding: var(--space-sm) var(--space-md);
    }
    
    .nav-links {
        gap: var(--space-md);
    }
    
    .nav-links a {
        font-size: var(--font-size-xs);
        padding: var(--space-xs) var(--space-sm);
    }
    
    .hero {
        padding: 92px var(--space-lg) 56px;
    }
    
    .hero-logo img {
        max-width: 250px;
    }
    
    .hero-content h1 {
        font-size: var(--font-size-3xl);
    }
    
    .section {
        padding: var(--space-4xl) 0;
    }
    
    .news-cards, .projects-cards {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .card {
        margin-bottom: var(--space-lg);
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-element {
        opacity: 0.4;
    }
    
    .stats {
        gap: var(--space-xl);
    }
    
    .stat h4 {
        font-size: var(--font-size-4xl);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    
    .glowing-circle {
        width: 100px;
        height: 100px;
    }
    
    .hero-content .btn-hover {
        padding: var(--space-md) var(--space-2xl);
        font-size: var(--font-size-base);
    }
    
    .card {
        padding: var(--space-xl);
    }
    
    .featured-section,
    .category-section {
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .featured-card .card-content,
    .article-card .article-content {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-logo {
        margin-bottom: var(--space-lg);
    }
    
    .hero-logo img {
        max-width: 180px;
    }
    
    .hero-content h1 {
        font-size: var(--font-size-3xl);
    }
    
    .slide-text {
        font-size: var(--font-size-lg);
    }
    
    .card {
        padding: var(--space-lg);
    }
    
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .stat h4 {
        font-size: var(--font-size-3xl);
    }
    
    .about-text h3 {
        font-size: var(--font-size-3xl);
    }
    
    
    .about-logo {
        width: 30px;
        height: 30px;
    }
    
    .logo-triangle.left,
    .logo-triangle.right {
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 25px solid;
    }
    
    .logo-triangle.left {
        border-bottom-color: #f093fb;
    }
    
    .logo-triangle.right {
        border-bottom-color: #4facfe;
        left: 8px;
    }
    
    .glowing-circle {
        width: 80px;
        height: 80px;
    }
    
    .hero-content .btn-hover {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--font-size-sm);
    }
    
    .card {
        padding: var(--space-lg);
    }
    
    .nav-links {
        gap: var(--space-md);
    }
    
    .nav-links a {
        font-size: var(--font-size-xs);
        padding: var(--space-xs) var(--space-md);
    }
}

/* Mobile Navigation – ensure burger hidden on desktop and only visible on mobile */
.mobile-menu-toggle {
    display: none;
    position: relative;
    z-index: var(--z-modal);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-overlay {
    display: none;
}

/* Show mobile controls on small screens */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
    }
    .desktop-nav {
        display: none !important;
    }
    .mobile-nav-overlay.active {
        display: block !important;
    }

    /* Mobile menu overlay styles */
    .mobile-nav-overlay {
        position: fixed;
        left: 0;
        right: 0;
        margin: 0 var(--space-lg);
        top: 84px; /* tighter header on mobile */
        width: auto;
        height: auto;
        max-height: 70vh;
        background: rgba(15,17,26,.95);
        backdrop-filter: blur(18px) saturate(160%);
        border: none;
        border-radius: 12px;
        box-shadow: 0 14px 36px rgba(0,0,0,.35);
        z-index: var(--z-modal);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
        overflow-y: auto;
        color: var(--text-primary);
    }
    .mobile-nav-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .mobile-nav-content { display: flex; flex-direction: column; padding: var(--space-lg); }
    .mobile-nav-header { display: none; }
    .mobile-nav-close { display: none; }

    .mobile-nav-links { display: flex; flex-direction: column; gap: 6px; margin: 4px 0; }
    .mobile-nav-links a { display: block; width: 100%; padding: 12px 14px; color: var(--text-primary); text-decoration: none; border-radius: 8px; transition: background .2s ease, transform .15s ease; }
    .mobile-nav-links a:hover { background: rgba(255,255,255,.08); transform: translateX(4px); }
    .mobile-nav-links a.active { background: rgba(102,126,234,.18); }
    .nav-icon { font-size: 1.25rem; width: 28px; text-align: center; filter: drop-shadow(0 0 8px rgba(102,126,234,.5)); }

    .mobile-nav-footer { display: none; }

    /* Burger (4 lines forming letter G) */
    .hamburger { width: 28px; height: 28px; position: relative; }
    .hamburger-line { position: absolute; background: var(--text-primary); border-radius: 2px; transition: all var(--transition-normal); box-shadow: 0 0 10px rgba(102,126,234,.6); }
    .hamburger .line-top { top: 2px; left: 2px; right: 2px; height: 3px; }
    .hamburger .line-left { top: 2px; left: 2px; width: 3px; height: 24px; }
    .hamburger .line-bottom { bottom: 2px; left: 2px; right: 6px; height: 3px; }
    .hamburger .line-mid { top: 50%; right: 6px; width: 10px; height: 3px; transform: translateY(-50%); }
    .mobile-menu-toggle.active .line-top { top: 50%; left: 4px; right: 4px; transform: translateY(-50%) rotate(45deg); }
    .mobile-menu-toggle.active .line-bottom { bottom: auto; top: 50%; left: 4px; right: 4px; transform: translateY(-50%) rotate(-45deg); }
    .mobile-menu-toggle.active .line-left { opacity: 0; transform: scaleY(0); }
    .mobile-menu-toggle.active .line-mid { opacity: 0; transform: translateY(-50%) scaleX(0); }
}

/* Explicitly hide mobile controls on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    .mobile-nav-overlay {
        display: none !important;
    }
    .desktop-nav {
        display: flex !important;
    }
}

/* ---------------------------------------------
   Mobile overflow and burger containment fixes
   --------------------------------------------- */
html { overflow-x: hidden; box-sizing: border-box; }

/* Global scroll prevention - disable section scrolling on all devices */
.section, .hero, .page-hero,
.news-section, .projects-section, .articles-section,
.team-section, .values-section, .timeline-section, .stats-section,
.game-features-section, .newsletter-section, .company-story,
.about-section {
    overflow: hidden !important;
    -webkit-overflow-scrolling: auto !important;
    position: relative !important;
}

/* Ensure floating elements don't interfere with scrolling */
.floating-element, .small-floating-square {
    pointer-events: none !important;
    touch-action: none !important;
}

/* Ensure content appears above particles */
.section, .hero, .page-hero,
.news-section, .projects-section, .articles-section,
.team-section, .values-section, .timeline-section, .stats-section,
.game-features-section, .newsletter-section, .company-story,
.about-section {
    position: relative;
    z-index: 1;
}

/* Ensure all content elements appear above particles */
.section *:not(.floating-element):not(.small-floating-square),
.hero *:not(.floating-element):not(.small-floating-square),
.page-hero *:not(.floating-element):not(.small-floating-square) {
    position: relative;
    z-index: 2;
}

/* Ensure main content appears above global particles */
.main-content {
    position: relative;
    z-index: 2;
}

/* Specific content elements that must appear above particles */
.card, .btn-hover, .section-title, .hero-content, 
.about-content, .news-cards, .projects-cards,
.team-content, .values-content, .stats,
.game-features-content, .newsletter-content {
    position: relative;
    z-index: 3;
}

/* Text and interactive elements */
h1, h2, h3, h4, h5, h6, p, a, button, img {
    position: relative;
    z-index: 4;
}

@media (max-width: 768px) {
    /* Ensure burger animations don't expand layout */
    .mobile-menu-toggle { overflow: hidden; }

    /* Guard header and sections against horizontal scroll */
    .header { overflow-x: hidden; }
    .hero, .page-hero,
    .news-section, .projects-section, .articles-section,
    .team-section, .values-section, .timeline-section, .stats-section,
    .game-features-section, .newsletter-section, .company-story {
        overflow-x: hidden;
    }

    /* Additional mobile-specific touch controls */
    .section, .hero, .page-hero,
    .news-section, .projects-section, .articles-section,
    .team-section, .values-section, .timeline-section, .stats-section,
    .game-features-section, .newsletter-section, .company-story,
    .about-section {
        touch-action: pan-y !important;
    }

    /* Ensure only body/html can scroll */
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    html { font-size: 95%; } /* keep mobile readable */
    /* Slightly tighter spacing so the burger never sits outside */
    .header { padding: var(--space-sm) var(--space-sm); }
    .logo img { height: 50px; padding: 5px; border-width: 1px; }
    .mobile-menu-toggle { padding: 6px; }
    .hamburger { width: 24px; height: 24px; }
    .hamburger .line-left { height: 20px; }
    
    /* Adjust mobile menu position for smaller screens */
    .mobile-nav-overlay {
        top: 72px; /* header height on small screens */
    }

    /* Additional small screen touch controls */
    .section, .hero, .page-hero,
    .news-section, .projects-section, .articles-section,
    .team-section, .values-section, .timeline-section, .stats-section,
    .game-features-section, .newsletter-section, .company-story,
    .about-section {
        touch-action: pan-y !important;
    }
}

/* Home hero CTA buttons */
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:22px}