/* Osom Casino - Futuristic Gaming Platform Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CLS Optimization - Prevent layout shift */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    --primary-color: #00f5ff;
    --secondary-color: #ff0080;
    --accent-color: #ffd700;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #e0e0e0;
    --text-secondary: #c0c0c0;
    --gradient-primary: linear-gradient(45deg, #00f5ff, #ff0080, #ffd700);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--gradient-dark);
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.01em;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Animated Header */
header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { 
        opacity: 0.5;
        transform: translateZ(0);
    }
    50% { 
        opacity: 1;
        transform: translateZ(0);
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
    animation: logoGlow 2s ease-in-out infinite alternate;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: center;
    flex-shrink: 0;
}

.logo::before {
    content: '';
    width: 40px;
    height: 40px;
    background-image: url('/public/images/favicon.ico');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    animation: logoIconGlow 2s ease-in-out infinite alternate;
}

@keyframes logoIconGlow {
    from { 
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
        transform: scale(1) translateZ(0);
    }
    to { 
        box-shadow: 0 0 30px rgba(255, 0, 128, 0.4);
        transform: scale(1.05) translateZ(0);
    }
}

@keyframes logoGlow {
    from { 
        filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.3));
        transform: translateZ(0);
    }
    to { 
        filter: drop-shadow(0 0 20px rgba(255, 0, 128, 0.3));
        transform: translateZ(0);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    position: relative;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.02em;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-menu a:hover::before {
    opacity: 0.2;
}

.nav-menu a:hover {
    color: var(--accent-color);
    transform: translateY(-2px) translateZ(0);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    will-change: transform, text-shadow;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    transform: translateZ(0);
    will-change: transform, opacity;
}

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

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

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

/* Futuristic Breadcrumb */
.breadcrumb {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.breadcrumb a::after {
    content: '>';
    margin: 0 1rem;
    color: var(--text-secondary);
}

.breadcrumb a:last-child::after {
    display: none;
}

.breadcrumb a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Futuristic Main Content */
main {
    background: transparent;
    margin: 0;
    position: relative;
    overflow: hidden;
}

/* Hero Section - Cyberpunk Style */
.hero {
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    color: var(--text-light);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
    min-width: 600px;
}

.hero-img {
    max-width: 100%;
    width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 245, 255, 0.2),
        0 0 60px rgba(255, 0, 128, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 245, 255, 0.3);
    /* Image optimization for better performance - ULTRA */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: auto;
    /* Performance optimization */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Responsive sizing */
    object-position: center;
    /* Prevent layout shift */
    min-height: 200px;
    max-height: 500px;
}

.hero-img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0, 245, 255, 0.3),
        0 0 80px rgba(255, 0, 128, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.hero-buttons-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.overlay-btn {
    position: absolute;
    pointer-events: auto;
}

.overlay-btn {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-shadow: none;
    min-width: 120px;
    text-align: center;
}

.overlay-btn:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.6);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 245, 255, 0.3);
    color: #1a1a1a;
}

.overlay-btn.btn-primary:hover {
    transform: translateY(-1px) scale(1.02) rotate(-15deg);
}

.overlay-btn.btn-primary {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
    top: 70%;
    left: 20%;
    transform: translateX(-50%) rotate(-15deg);
}

.overlay-btn.btn-primary:hover {
    background: rgba(0, 245, 255, 0.15);
    border-color: rgba(0, 245, 255, 0.6);
    color: #1a1a1a;
}

.overlay-btn.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.9), rgba(255, 215, 0, 0.9));
    border-color: rgba(255, 255, 255, 0.8);
    top: 67%;
    right: -20%;
    transform: translateX(50%) rotate(20deg);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.3);
}

.overlay-btn.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 1), rgba(255, 215, 0, 1));
    border-color: rgba(255, 255, 255, 1);
    color: #ffffff;
    transform: translateY(-1px) scale(1.02) translateX(50%) rotate(20deg);
    box-shadow: 0 8px 25px rgba(255, 0, 128, 0.5);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 245, 255, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 0, 128, 0.05) 50%, transparent 70%);
    animation: heroPattern 10s linear infinite;
}

@keyframes heroPattern {
    0% { transform: translateX(-100%) translateZ(0); }
    100% { transform: translateX(100%) translateZ(0); }
}

.hero h1 {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(0, 245, 255, 0.3);
    position: relative;
    z-index: 2;
    animation: titleGlow 3s ease-in-out infinite alternate;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-align: left;
    transform: translateZ(0);
    will-change: filter, transform;
}

@keyframes titleGlow {
    from { 
        filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.3));
        transform: translateZ(0);
    }
    to { 
        filter: drop-shadow(0 0 40px rgba(255, 0, 128, 0.3));
        transform: translateZ(0);
    }
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    line-height: 1.7;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* LCP Optimization for hero text - MAXIMUM OPTIMIZATION */
.lcp-optimize {
    visibility: visible !important;
    opacity: 1 !important;
    contain: layout style paint !important;
    font-display: swap !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
    /* CLS prevention: ensure stable layout */
    min-height: 1.7em !important; /* Prevent height changes */
    line-height: 1.7 !important; /* Consistent line height */
    margin: 0 !important; /* Remove default margins that could cause shifts */
    padding: 0 !important; /* Remove default padding that could cause shifts */
    /* LCP optimization: force immediate rendering - MAXIMUM */
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    /* Force hardware acceleration - MAXIMUM */
    transform: translateZ(0) !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    /* Prevent layout shifts */
    box-sizing: border-box !important;
    overflow: visible !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    /* Force immediate rendering */
    -webkit-transform: translateZ(0) !important;
    -moz-transform: translateZ(0) !important;
    -ms-transform: translateZ(0) !important;
    -o-transform: translateZ(0) !important;
}

/* Font loading states - CLS optimized */
.fonts-loaded .hero h1 {
    font-family: 'Orbitron', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    /* Ensure consistent sizing to prevent CLS */
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.fonts-failed .hero h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    /* Maintain same sizing to prevent CLS */
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.fonts-loaded .hero p,
.fonts-loaded .lcp-optimize {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    /* Ensure consistent sizing to prevent CLS */
    font-size: 1.3rem;
    line-height: 1.7;
    font-weight: 400;
}

.fonts-failed .hero p,
.fonts-failed .lcp-optimize {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    /* Maintain same sizing to prevent CLS */
    font-size: 1.3rem;
    line-height: 1.7;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.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.5s ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.4);
    color: var(--text-light);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
    z-index: -1;
}

.btn-secondary:hover::after {
    opacity: 0.1;
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.05) translateZ(0);
    box-shadow: 0 20px 40px rgba(255, 0, 128, 0.4);
    border-color: var(--accent-color);
}

/* Futuristic Content Sections */
.content {
    padding: 6rem 2rem;
    position: relative;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 128, 0.03) 0%, transparent 50%);
}

.section {
    margin-bottom: 6rem;
    position: relative;
    padding: 3rem;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(0, 245, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
    opacity: 0.8;
}

.section:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.1);
}

.section h2 {
    font-family: 'Orbitron', 'Inter', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
    animation: sectionTitleGlow 4s ease-in-out infinite alternate;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

@keyframes sectionTitleGlow {
    from { 
        filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.2));
        transform: translateZ(0);
    }
    to { 
        filter: drop-shadow(0 0 25px rgba(255, 0, 128, 0.2));
        transform: translateZ(0);
    }
}

.section h3 {
    font-family: 'Inter', sans-serif;
    color: var(--accent-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem 0;
    position: relative;
    padding-left: 1rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.section h3::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

/* Section Icons */
.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(255, 0, 128, 0.2));
    border-radius: 50%;
    border: 2px solid rgba(0, 245, 255, 0.4);
    transition: all 0.3s ease;
    vertical-align: middle;
    transform: translateZ(0);
    will-change: transform, border-color, box-shadow;
}

.section-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.section h2:hover .section-icon {
    transform: scale(1.1) rotate(5deg) translateZ(0);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
}

.section h2:hover .section-icon svg {
    color: var(--accent-color);
    transform: scale(1.1) translateZ(0);
    will-change: transform, color;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.5;
        transform: scale(1) translateZ(0);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1) translateZ(0);
    }
}

.section p {
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-light);
    text-align: left;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Advantages Section Layout */
.advantages-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin: 3rem 0;
}

.advantages-text {
    flex: 1;
}

.advantages-image {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    min-height: 600px;
    min-width: 500px;
    padding: 2rem;
    margin-left: -2rem;
}

.advantages-img {
    max-width: 90%;
    width: 500px;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 245, 255, 0.2),
        0 0 60px rgba(255, 0, 128, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 245, 255, 0.3);
    display: block;
    margin: 0;
    position: relative;
    left: -2rem;
    /* Image optimization for better performance */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.advantages-img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0, 245, 255, 0.3),
        0 0 80px rgba(255, 0, 128, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Futuristic Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
    perspective: 1000px;
}

.feature-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 245, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateZ(0);
    will-change: transform, box-shadow, border-color;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(255, 0, 128, 0.2));
    border-radius: 50%;
    border: 2px solid rgba(0, 245, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform, border-color, box-shadow;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%) translateZ(0);
    transition: transform 0.6s ease;
    will-change: transform;
}

.feature-icon:hover::before {
    transform: translateX(100%) translateZ(0);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent-primary);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0) translateZ(0);
    transition: transform 0.3s ease;
    will-change: transform;
}

.feature-card:hover::before {
    transform: scaleX(1) translateZ(0);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg) translateZ(0);
    box-shadow: 
        0 30px 60px rgba(0, 245, 255, 0.2),
        0 0 50px rgba(255, 0, 128, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg) translateZ(0);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.feature-card:hover .feature-icon svg {
    color: var(--accent-color);
    transform: scale(1.1) translateZ(0);
    will-change: transform, color;
}

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.feature-card p {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Futuristic FAQ Styles */
.faq-item {
    background: rgba(26, 26, 26, 0.8);
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 245, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
}

.faq-question {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-primary);
    color: var(--dark-bg);
    padding: 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.faq-question:hover::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover {
    background: linear-gradient(45deg, #ff0080, #00f5ff, #ffd700);
    transform: scale(1.02);
}

.faq-answer {
    font-family: 'Inter', sans-serif;
    padding: 2rem;
    display: none;
    background: rgba(10, 10, 10, 0.6);
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

/* Futuristic Footer */
footer {
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%);
    color: var(--text-light);
    padding: 4rem 0 2rem 0;
    text-align: center;
    position: relative;
    border-top: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    animation: borderGlow 3s ease-in-out infinite;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-links a:hover::before {
    opacity: 0.2;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

footer p {
    text-align: center;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Futuristic 404 Page Styles */
.error-page {
    text-align: center;
    padding: 8rem 2rem;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.error-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 0, 128, 0.05) 50%, transparent 70%);
    animation: errorPattern 8s linear infinite;
}

@keyframes errorPattern {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.error-code {
    font-size: 8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    animation: errorGlow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 50px rgba(0, 245, 255, 0.3);
}

@keyframes errorGlow {
    from { filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.3)); }
    to { filter: drop-shadow(0 0 40px rgba(255, 0, 128, 0.3)); }
}

.error-message {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* Medium screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar {
        max-width: 100%;
        padding: 0.8rem 2rem;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-img {
        max-width: 90%;
        width: 400px;
        height: 267px;
        /* Further optimization for mobile */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .overlay-btn.btn-primary {
        top: 65%;
        left: 40%;
        transform: translateX(-50%) rotate(-15deg);
    }

    .overlay-btn.btn-secondary {
        top: 62%;
        right: 15%;
        transform: translateX(50%) rotate(20deg);
    }
    
    .overlay-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .advantages-content {
        gap: 3rem;
    }
    
    .advantages-img {
        max-width: 90%;
    }
}

/* Small screens */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1.5rem;
        max-width: 100%;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        border-left: 2px solid var(--primary-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 80%;
        text-align: center;
        border-radius: 15px;
    }
    
    .logo {
        font-size: 2rem;
        gap: 0.8rem;
    }
    
    .logo::before {
        width: 32px;
        height: 32px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-img {
        max-width: 80%;
        width: 300px;
        height: 200px;
        /* Maximum optimization for small mobile screens */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
    }
    
    .hero-buttons-overlay {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        pointer-events: auto;
    }
    
    .overlay-btn {
        position: static;
        transform: none;
        width: 200px;
        text-align: center;
        top: auto;
        left: auto;
        right: auto;
    }
    
    .advantages-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .advantages-text {
        order: 1;
    }
    
    .advantages-image {
        order: 2;
    }
    
    .advantages-image {
        min-height: 400px;
        padding: 1rem;
    }
    
    .advantages-img {
        max-width: 80%;
        width: 400px;
        height: 480px;
        margin: 1rem auto 0;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 350px;
        padding: 1rem 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section {
        padding: 2rem;
        margin-bottom: 4rem;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .content {
        padding: 4rem 1rem;
    }
    
    .error-code {
        font-size: 5rem;
    }
    
    .error-message {
        font-size: 1.5rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .navbar {
        gap: 0.5rem;
        padding: 0.6rem 1rem;
    }
    
    .logo {
        font-size: 1.6rem;
        gap: 0.5rem;
    }
    
    .logo::before {
        width: 24px;
        height: 24px;
    }
    
    .nav-menu {
        gap: 0.3rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Futuristic Accessibility */
.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;
}

/* Futuristic Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

/* Futuristic Loading animation */
.loading {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 245, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: futuristicSpin 1s linear infinite;
    position: relative;
}

.loading::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid transparent;
    border-top: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: futuristicSpin 1.5s linear infinite reverse;
}

@keyframes futuristicSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Additional Futuristic Effects */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 245, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Glitch Effect for Special Elements */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

/* Neon Text Effect */
.neon-text {
    color: var(--primary-color);
    text-shadow: 
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 15px var(--primary-color),
        0 0 20px var(--primary-color);
    animation: neonFlicker 3s ease-in-out infinite alternate;
}

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

/* Holographic Effect */
.holographic {
    background: linear-gradient(45deg, 
        rgba(0, 245, 255, 0.1) 0%,
        rgba(255, 0, 128, 0.1) 25%,
        rgba(255, 215, 0, 0.1) 50%,
        rgba(255, 0, 128, 0.1) 75%,
        rgba(0, 245, 255, 0.1) 100%);
    background-size: 400% 400%;
    animation: holographicShift 4s ease-in-out infinite;
}

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

/* Particle Effect Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10%, 90% { opacity: 1; }
    50% { 
        transform: translateY(0) translateX(100px);
        opacity: 0.8;
    }
}

/* ULTRA IMAGE OPTIMIZATION - RESPONSIVE */
/* Mobile optimization - MAXIMUM PERFORMANCE */
@media (max-width: 768px) {
    .hero-img {
        max-width: 95%;
        width: 300px;
        height: 200px;
        /* Aggressive mobile optimization */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
        object-fit: cover;
        object-position: center;
        /* Reduce visual quality for smaller file size */
        filter: contrast(1.05) saturate(1.02);
        opacity: 0.98;
    }
    
    .advantages-img {
        max-width: 95%;
        width: 250px;
        height: 300px;
        /* Aggressive mobile optimization */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
        object-fit: cover;
        object-position: center;
        /* Reduce visual quality for smaller file size */
        filter: contrast(1.05) saturate(1.02);
        opacity: 0.98;
    }
}

/* Small mobile optimization - ULTRA AGGRESSIVE */
@media (max-width: 480px) {
    .hero-img {
        max-width: 100%;
        width: 250px;
        height: 167px;
        /* Maximum mobile optimization */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
        object-fit: cover;
        object-position: center;
        /* Aggressive visual compression */
        filter: contrast(1.1) saturate(1.05) brightness(1.02);
        opacity: 0.95;
    }
    
    .advantages-img {
        max-width: 100%;
        width: 200px;
        height: 240px;
        /* Maximum mobile optimization */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
        object-fit: cover;
        object-position: center;
        /* Aggressive visual compression */
        filter: contrast(1.1) saturate(1.05) brightness(1.02);
        opacity: 0.95;
    }
}

/* Image compression for better performance */
@media (max-width: 1024px) {
    .hero-img {
        /* Tablet optimization */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        object-fit: cover;
        object-position: center;
        filter: contrast(1.02) saturate(1.01);
    }
    
    .advantages-img {
        /* Tablet optimization */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        object-fit: cover;
        object-position: center;
        filter: contrast(1.02) saturate(1.01);
    }
}
