/* Font Face */
@font-face {
    font-family: 'PINNACLE';
    src: url('../assets/fonts/fonts/Web/Pinnacle-Light.woff2') format('woff2'),
         url('../assets/fonts/fonts/Web/Pinnacle-Light.woff') format('woff'),
         url('../assets/fonts/fonts/OTF/Pinnacle-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Lenis Smooth Scroll Styles */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

html {
    scroll-behavior: auto; /* Отключаем стандартный smooth scroll в пользу Lenis */
    background-color: #0a0a0a;
    overflow-x: visible; /* Увеличиваем область видимости GIF элементов */
}

body {
    font-family: 'Roboto', sans-serif;
    background: transparent; /* Allow animated background to show through */
    color: #ffffff;
    overflow-x: visible; /* Увеличиваем область видимости GIF элементов */
    line-height: 1.6;
    position: relative;
}

/* Advanced Cyberpunk Background - DISABLED for EXAMP effects */
.cyberpunk-background {
    display: none; /* Отключено для показа EXAMP фона */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at top, #1a0033 0%, #0a0a0a 50%),
        radial-gradient(ellipse at bottom, #330066 0%, #000000 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a0033 25%, #330066 50%, #1a0033 75%, #0a0a0a 100%);
    overflow: hidden;
}

/* Layer 1: Cyber Grid - DISABLED for EXAMP effects */
.cyber-grid {
    display: none; /* Отключено для показа EXAMP фона */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(138, 43, 226, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.3) 1px, transparent 1px),
        linear-gradient(rgba(75, 0, 130, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(75, 0, 130, 0.2) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    animation: gridMove 20s linear infinite, gridPulse 4s ease-in-out infinite alternate;
}

/* Layer 2: Circuit Patterns - DISABLED for EXAMP effects */
.circuit-patterns {
    display: none; /* Отключено для показа EXAMP фона */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(138, 43, 226, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 40% 60%, rgba(147, 0, 211, 0.3) 1px, transparent 1px);
    background-size: 150px 150px, 200px 200px, 80px 80px;
    animation: circuitFlow 15s linear infinite;
}

.circuit-patterns::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(138, 43, 226, 0.6) 49%, rgba(138, 43, 226, 0.6) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(75, 0, 130, 0.4) 49%, rgba(75, 0, 130, 0.4) 51%, transparent 52%);
    background-size: 300px 300px, 250px 250px;
    animation: circuitPulse 8s ease-in-out infinite;
}

/* Layer 3: Holographic Elements */
.holographic-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.holographic-elements::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 10%;
    width: 200px;
    height: 300px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(138, 43, 226, 0.1) 25%, 
        rgba(75, 0, 130, 0.2) 50%, 
        rgba(147, 0, 211, 0.1) 75%, 
        transparent 100%);
    clip-path: polygon(0% 0%, 100% 20%, 80% 100%, 20% 80%);
    animation: hologramFlicker 6s ease-in-out infinite, hologramRotate 20s linear infinite;
    filter: blur(1px);
}

.holographic-elements::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 250px;
    height: 200px;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(147, 0, 211, 0.15) 30%, 
        rgba(138, 43, 226, 0.2) 60%, 
        transparent 100%);
    clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 80%);
    animation: hologramFlicker 8s ease-in-out infinite reverse, hologramFloat 12s ease-in-out infinite;
    filter: blur(2px);
}

/* Layer 4: Data Streams */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(138, 43, 226, 0.8) 1%, transparent 2%),
        linear-gradient(180deg, transparent 0%, rgba(75, 0, 130, 0.6) 1%, transparent 2%),
        linear-gradient(45deg, transparent 0%, rgba(147, 0, 211, 0.4) 1%, transparent 2%);
    background-size: 300px 100%, 100% 400px, 200px 200px;
    animation: dataFlow 10s linear infinite;
}

/* Layer 5: Neon Particles */
.neon-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 10% 20%, rgba(138, 43, 226, 1), transparent),
        radial-gradient(2px 2px at 30% 70%, rgba(75, 0, 130, 1), transparent),
        radial-gradient(1px 1px at 60% 30%, rgba(147, 0, 211, 1), transparent),
        radial-gradient(1px 1px at 80% 80%, rgba(138, 43, 226, 0.8), transparent),
        radial-gradient(3px 3px at 90% 10%, rgba(75, 0, 130, 0.6), transparent);
    background-size: 400px 400px, 350px 350px, 300px 300px, 250px 250px, 200px 200px;
    animation: particleSwarm 25s linear infinite;
}

/* Layer 6: Glitch Effects */
.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(138, 43, 226, 0.8) 99%, transparent 100%),
        linear-gradient(180deg, transparent 98%, rgba(75, 0, 130, 0.6) 99%, transparent 100%);
    background-size: 100px 100%, 100% 150px;
    animation: glitchScan 3s steps(10) infinite;
    opacity: 0.7;
}

.glitch-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(138, 43, 226, 0.1);
    animation: glitchFlash 0.3s steps(2) infinite;
}

/* Layer 7: Energy Pulses */
.energy-pulses {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
}

.energy-pulses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(138, 43, 226, 0.6);
    border-radius: 50%;
    animation: energyPulse 4s ease-out infinite;
}

.energy-pulses::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    border: 1px solid rgba(147, 0, 211, 0.8);
    border-radius: 50%;
    animation: energyPulse 4s ease-out infinite 2s;
}

/* Layer 8: Enhanced Floating Code */
.floating-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: rgba(138, 43, 226, 0.4);
    overflow: hidden;
}

.floating-code::before {
    content: 'function initTournament() { const players = await fetchPlayers(); const matches = generateBracket(players); return { status: "ACTIVE", tournament_id: generateUUID(), prize_pool: 5000000, game: "DOTA2" }; } class CyberSportManager { constructor() { this.tournaments = []; this.players = new Map(); } async createTournament(config) { const tournament = new Tournament(config); await tournament.initialize(); this.tournaments.push(tournament); return tournament.id; } } const DIZBAND_API = { endpoint: "https://api.dizband.media", version: "v2.1", auth: process.env.API_KEY };';
    position: absolute;
    top: 5%;
    left: -200%;
    white-space: nowrap;
    animation: codeScroll 35s linear infinite;
    font-size: 10px;
}

.floating-code::after {
    content: 'SELECT * FROM tournaments WHERE status = "ACTIVE" AND prize_pool > 1000000; UPDATE players SET rank = "PRO" WHERE wins > 100; INSERT INTO matches (tournament_id, player1, player2, scheduled_time) VALUES (?, ?, ?, NOW()); CREATE TABLE esports_events ( id INT PRIMARY KEY, name VARCHAR(255), game ENUM("CS2", "DOTA2", "VALORANT"), prize_pool DECIMAL(10,2), status ENUM("UPCOMING", "LIVE", "COMPLETED") ); GRANT ALL PRIVILEGES ON dizcorp_db.* TO "tournament_admin"@"localhost";';
    position: absolute;
    bottom: 15%;
    right: -200%;
    white-space: nowrap;
    color: rgba(75, 0, 130, 0.5);
    animation: codeScroll 40s linear infinite reverse;
    font-size: 9px;
}

/* Layer 9: Geometric Shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.geometric-shapes::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 20%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(138, 43, 226, 0.2) 50%, 
        transparent 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: shapeRotate 15s linear infinite, shapePulse 5s ease-in-out infinite alternate;
}

.geometric-shapes::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 25%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(147, 0, 211, 0.3) 50%, 
        transparent 100%);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: shapeRotate 18s linear infinite reverse, shapePulse 6s ease-in-out infinite;
}

/* Layer 10: Scan Lines */
.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 50%, 
        rgba(138, 43, 226, 0.1) 50%, 
        rgba(138, 43, 226, 0.1) 51%, 
        transparent 51%
    );
    background-size: 100% 4px;
    animation: scanMove 2s linear infinite;
    pointer-events: none;
}

/* Layer 11: Static Code Elements */
.static-code-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Courier New', monospace;
    pointer-events: none;
    overflow: hidden;
}

.static-code-elements::before {
    content: '#!/bin/bash\n# Dizcorp Tournament System\necho "Initializing tournament..."\nfor player in "${players[@]}"; do\n  validate_player "$player"\n  register_player "$player"\ndone\n\n// Tournament API\nconst express = require("express");\nconst app = express();\n\napp.post("/api/tournament", async (req, res) => {\n  const { name, game, prize } = req.body;\n  const tournament = await createTournament({\n    name, game, prize_pool: prize\n  });\n  res.json({ success: true, id: tournament.id });\n});';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 8px;
    color: rgba(138, 43, 226, 0.2);
    white-space: pre-line;
    line-height: 1.2;
    animation: staticCodeGlow 8s ease-in-out infinite alternate;
}

.static-code-elements::after {
    content: 'import { Tournament, Player, Match } from "./esports";\n\ninterface TournamentConfig {\n  name: string;\n  game: "CS2" | "DOTA2" | "VALORANT";\n  maxPlayers: number;\n  prizePool: number;\n}\n\nclass DizcorpManager {\n  private tournaments: Map<string, Tournament>;\n  \n  constructor() {\n    this.tournaments = new Map();\n  }\n  \n  async createTournament(config: TournamentConfig) {\n    const tournament = new Tournament(config);\n    await tournament.validate();\n    this.tournaments.set(tournament.id, tournament);\n    return tournament;\n  }\n}';
    position: absolute;
    bottom: 15%;
    right: 5%;
    font-size: 7px;
    color: rgba(75, 0, 130, 0.25);
    white-space: pre-line;
    line-height: 1.3;
    animation: staticCodeGlow 10s ease-in-out infinite alternate reverse;
}

/* Layer 12: Terminal Commands */
.terminal-commands {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Courier New', monospace;
    pointer-events: none;
    overflow: hidden;
}

.terminal-commands::before {
    content: '$ sudo systemctl start dizcorp-tournament\n$ docker-compose up -d tournament-api\n$ kubectl apply -f tournament-deployment.yaml\n$ npm run build:production\n$ pm2 start ecosystem.config.js\n$ tail -f /var/log/tournament.log\n[INFO] Tournament system initialized\n[INFO] Database connection established\n[INFO] Redis cache connected\n[INFO] WebSocket server started on port 3001\n$ curl -X POST https://api.dizcorp.media/tournaments\n$ ssh tournament@prod-server-01\n$ htop | grep tournament\n$ netstat -tulpn | grep :3000';
    position: absolute;
    top: 25%;
    left: 2%;
    font-size: 7px;
    color: rgba(0, 255, 0, 0.15);
    white-space: pre-line;
    line-height: 1.4;
    animation: terminalBlink 12s ease-in-out infinite;
}

.terminal-commands::after {
    content: 'root@dizcorp-server:~# ps aux | grep tournament\nroot      1234  0.5  2.1 456789 87654 ?  Sl 10:30  0:15 node tournament-api\nroot      5678  0.2  1.8 234567 65432 ?  S  10:31  0:08 python3 match-scheduler.py\nroot      9012  0.1  0.9 123456 32109 ?  S  10:32  0:03 redis-server\n\nroot@dizcorp-server:~# systemctl status tournament\n● tournament.service - Dizcorp Tournament System\n   Loaded: loaded (/etc/systemd/system/tournament.service)\n   Active: active (running) since Mon 2025-09-29 10:30:15 UTC\n   Main PID: 1234 (node)\n   Memory: 87.6M\n   CGroup: /system.slice/tournament.service\n           └─1234 node tournament-api';
    position: absolute;
    bottom: 25%;
    right: 2%;
    font-size: 6px;
    color: rgba(0, 255, 0, 0.12);
    white-space: pre-line;
    line-height: 1.5;
    animation: terminalBlink 15s ease-in-out infinite reverse;
}

/* Layer 13: System Messages */
.system-messages {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Courier New', monospace;
    pointer-events: none;
    overflow: hidden;
}

.system-messages::before {
    content: '[2025-09-29 10:30:15] SYSTEM: Tournament API initialized\n[2025-09-29 10:30:16] DATABASE: Connection pool established (32 connections)\n[2025-09-29 10:30:17] CACHE: Redis cluster connected (3 nodes)\n[2025-09-29 10:30:18] WEBSOCKET: Server listening on port 3001\n[2025-09-29 10:30:19] SCHEDULER: Match scheduler started\n[2025-09-29 10:30:20] SECURITY: SSL certificates validated\n[2025-09-29 10:30:21] MONITORING: Prometheus metrics enabled\n[2025-09-29 10:30:22] READY: Dizcorp Tournament System online';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6px;
    color: rgba(255, 255, 0, 0.1);
    white-space: pre-line;
    line-height: 1.6;
    text-align: center;
    animation: systemPulse 18s ease-in-out infinite;
}

.system-messages::after {
    content: 'DIZBAND NEURAL NETWORK STATUS:\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓\n\nPLAYER ANALYSIS: ████████████████ 100%\nMATCH PREDICTION: ████████████████ 100%\nTOURNAMENT OPTIMIZATION: ████████████████ 100%\nANTI-CHEAT DETECTION: ████████████████ 100%\n\nSTATUS: ALL SYSTEMS OPERATIONAL\nUPTIME: 99.99%\nACTIVE TOURNAMENTS: 47\nONLINE PLAYERS: 12,847';
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5px;
    color: rgba(0, 255, 255, 0.08);
    white-space: pre-line;
    line-height: 1.8;
    text-align: center;
    animation: systemPulse 20s ease-in-out infinite reverse;
}

/* Cyberpunk Animations */
@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

@keyframes gridPulse {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

@keyframes circuitFlow {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 150px 150px, 200px 200px, 80px 80px;
    }
}

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

@keyframes hologramFlicker {
    0%, 100% {
        opacity: 0.3;
        filter: blur(1px) hue-rotate(0deg);
    }
    25% {
        opacity: 0.7;
        filter: blur(2px) hue-rotate(90deg);
    }
    50% {
        opacity: 0.5;
        filter: blur(1.5px) hue-rotate(180deg);
    }
    75% {
        opacity: 0.8;
        filter: blur(0.5px) hue-rotate(270deg);
    }
}

@keyframes hologramRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1.1);
    }
}

@keyframes hologramFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes dataFlow {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 300px 0%, 0% 400px, 200px 200px;
    }
}

@keyframes particleSwarm {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 400px 400px, -350px 350px, 300px -300px, -250px -250px, 200px 200px;
    }
}

@keyframes glitchScan {
    0% {
        background-position: 0% 0%, 0% 0%;
        transform: translateX(0);
    }
    10% {
        transform: translateX(-2px);
    }
    20% {
        transform: translateX(2px);
    }
    30% {
        transform: translateX(-1px);
    }
    40% {
        transform: translateX(1px);
    }
    50% {
        background-position: 50px 0%, 0% 75px;
        transform: translateX(0);
    }
    100% {
        background-position: 100px 0%, 0% 150px;
        transform: translateX(0);
    }
}

@keyframes glitchFlash {
    0%, 90% {
        opacity: 0;
    }
    95% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
    }
}

@keyframes energyPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(2);
        opacity: 0.4;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes codeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100vw);
    }
}

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

@keyframes shapePulse {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }
    100% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes scanMove {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}

@keyframes staticCodeGlow {
    0% {
        opacity: 0.1;
        text-shadow: 0 0 5px rgba(138, 43, 226, 0.3);
    }
    50% {
        opacity: 0.3;
        text-shadow: 0 0 10px rgba(138, 43, 226, 0.5), 0 0 20px rgba(138, 43, 226, 0.3);
    }
    100% {
        opacity: 0.2;
        text-shadow: 0 0 8px rgba(138, 43, 226, 0.4);
    }
}

@keyframes terminalBlink {
    0%, 90% {
        opacity: 0.1;
        text-shadow: 0 0 3px rgba(0, 255, 0, 0.2);
    }
    95% {
        opacity: 0.25;
        text-shadow: 0 0 8px rgba(0, 255, 0, 0.4), 0 0 15px rgba(0, 255, 0, 0.2);
    }
    100% {
        opacity: 0.15;
        text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
    }
}

@keyframes systemPulse {
    0% {
        opacity: 0.05;
        text-shadow: 0 0 2px rgba(255, 255, 0, 0.1);
        transform: translateX(-50%) scale(0.98);
    }
    50% {
        opacity: 0.15;
        text-shadow: 0 0 6px rgba(255, 255, 0, 0.3), 0 0 12px rgba(255, 255, 0, 0.1);
        transform: translateX(-50%) scale(1.02);
    }
    100% {
        opacity: 0.08;
        text-shadow: 0 0 4px rgba(255, 255, 0, 0.2);
        transform: translateX(-50%) scale(1);
    }
}













html.loading,
body.loading {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
}

html.loading::-webkit-scrollbar,
body.loading::-webkit-scrollbar {
    display: none !important;
}

html.loading {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
    /* backdrop-filter: blur(3px); - ОТКЛЮЧЕНО для показа EXAMP фона */
    /* background: rgba(0, 0, 0, 0.15); - ОТКЛЮЧЕНО для показа EXAMP фона */
}

.main-content.loaded {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    transition: transform 0.3s ease;
    display: none; /* Скрываем навигацию */
}

.header.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.nav-logo .logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.1);
}

.nav-logo .logo-text {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img { max-height: 96px; margin-left: 40px; transition: transform 0.25s ease; will-change: transform; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #00ffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.6);
}

.nav-link:hover {
    transform: scale(1.15);
    text-shadow: 
        0 0 15px rgba(0, 255, 255, 1),
        0 0 25px rgba(0, 255, 255, 0.8),
        0 0 35px rgba(0, 255, 255, 0.6);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.nav-link:hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.nav-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #00ffff;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero background removed - using unified background */



/* Old hero-content styles - overridden below */

/* Octopus Logo Center */
/* NEW HERO CONTENT CONTAINER */
.new-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
}

.octopus-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.octopus-logo {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.octopus-image {
    width: 250px;
    height: 250px;
    object-fit: contain;
    filter: none;
    z-index: 2;
}

.company-name {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(45deg, #adaede, #8a7bc8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-top: 20px;
    letter-spacing: 8px;
    text-shadow: 0 0 10px rgba(173, 174, 222, 0.5);
}

@keyframes companyGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.8));
    }
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.octopus-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(173, 174, 222, 0.2) 0%, rgba(173, 174, 222, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

.animated-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.animated-ring::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ada2de 0%, rgba(173, 162, 222, 0.8) 30%, rgba(173, 162, 222, 0.4) 60%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px #ada2de, 0 0 40px #ada2de, 0 0 60px #ada2de;
    animation: lightOrbit 4s linear infinite;
    z-index: 1;
}

/* Video Windows - Semicircle Layout */
.video-windows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 10001;
    pointer-events: none;
}

.video-window {
    position: absolute;
    width: 361px;
    height: 244px;
    border-radius: 15px;
    overflow: hidden;
    pointer-events: auto;
    background: transparent;
    animation: gentleFloat 8s ease-in-out infinite;
}

/* Semicircle positioning for 6 windows around octopus */
.video-window.window-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.video-window.window-2 {
    top: 45%;
    left: 8%;
    animation-delay: 1.3s;
}

.video-window.window-3 {
    top: 75%;
    left: 18%;
    animation-delay: 2.6s;
}

.video-window.window-4 {
    top: 15%;
    right: 15%;
    animation-delay: 4s;
}

.video-window.window-5 {
    top: 45%;
    right: 8%;
    animation-delay: 5.3s;
}

.video-window.window-6 {
    top: 75%;
    right: 18%;
    animation-delay: 6.6s;
}

.window-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    z-index: 1;
    background: #000;
    position: absolute;
    top: 0;
    left: 0;
}

.window-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 2;
    border-radius: 15px;
}

/* Hero Logo */
.hero-logo-container {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    width: 300px;
    height: auto;
    filter: none;
    animation: heroLogoFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: none;
}

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

.hero-cta {
    position: relative;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease 0.8s forwards;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.hero-cta-text {
    position: relative;
    z-index: 2;
    color: #000000;
    transition: all 0.3s ease;
}

.hero-cta-text:first-child {
    display: block;
}

.hero-cta-text:last-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(100%);
    opacity: 0;
}

.hero-cta:hover .hero-cta-text:first-child {
    transform: translateY(-100%);
    opacity: 0;
}

.hero-cta:hover .hero-cta-text:last-child {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 1;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About Section */
.about {
    background: transparent; /* Allow animated background to show through */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-description p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #cccccc;
}

.about-services-preview {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tournaments-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #adaede 100%);
    color: #1a1a2e;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 40px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #adaede;
    box-shadow: 0 8px 25px rgba(173, 162, 222, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
    background-clip: padding-box;
}

.tournaments-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4a9eff 0%, #0066cc 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tournaments-button::after {
    content: '▶';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #1a1a2e;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tournaments-button:hover {
    background: linear-gradient(135deg, #adaede 0%, #8a7bc8 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(173, 162, 222, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-color: #adaede;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.tournaments-button:hover::before {
    opacity: 0.1;
}

.tournaments-button:hover::after {
    color: #ffffff;
}

.tournaments-button:hover::after {
    right: 10px;
    color: #ffffff;
}

.tournaments-button-image {
    display: inline-block;
    transition: transform 0.3s ease;
}

.tournaments-button-image img {
    width: 200px;
    height: auto;
    border-radius: 15px;
    filter: brightness(0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3);
    -webkit-mask: radial-gradient(ellipse at center, black 60%, transparent 100%);
    mask: radial-gradient(ellipse at center, black 60%, transparent 100%);
}

.tournaments-button-image:hover {
    transform: translateY(-2px);
}

.about-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
}

.about-image {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    cursor: pointer;
}

.about-image-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
}

.about-image-inner {
    --glare-x: 50%;
    --glare-y: 50%;
    --glare-opacity: 0;
}

.about-image-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--glare-x, 50%) var(--glare-y, 50%),
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.1) 40%,
        transparent 70%
    );
    opacity: var(--glare-opacity, 0);
    transition: opacity 0.1s ease;
    pointer-events: none;
    border-radius: 10px;
    z-index: 2;
    mix-blend-mode: overlay;
}

.about-image:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.about-image:nth-child(2) { grid-column: 3; grid-row: 1; }
.about-image:nth-child(3) { grid-column: 1; grid-row: 2; }
.about-image:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }
.about-image:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }
.about-image:nth-child(6) { grid-column: 3; grid-row: 3; align-self: end; }

.tournament-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
    border-radius: 0 0 10px 10px;
}

.about-image:hover .image-overlay {
    transform: translateY(0);
}

.about-image:hover .tournament-photo {
    transform: scale(1.02);
}

.about-image:hover .about-image-inner::after {
    opacity: 1;
}

.image-title {
    color: #00ffff;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00ffff20, #ff00ff20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.placeholder-image-empty {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00ffff10, #ff00ff10);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.placeholder-image:hover {
    background: linear-gradient(135deg, #00ffff40, #ff00ff40);
    transform: scale(1.05);
}

/* Services Section */
.services {
    background: transparent; /* Allow animated background to show through */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.service-content {
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #00ffff;
    text-transform: uppercase;
}

.service-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-image {
    height: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.service-btn {
    width: 100%;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-btn span {
    position: relative;
    z-index: 2;
    color: #000000;
    transition: all 0.3s ease;
}

.service-btn span:first-child {
    display: block;
}

.service-btn span:last-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(100%);
    opacity: 0;
}

.service-btn:hover span:first-child {
    transform: translateY(-100%);
    opacity: 0;
}

.service-btn:hover span:last-child {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 1;
}

/* Tournaments Section */
.tournaments {
    background: transparent; /* Allow animated background to show through */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0;
    width: 100%;
}

.tournaments-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.tournaments-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 40px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide the default cursor within the tournaments carousel so that a custom cursor can be drawn via JavaScript */
    cursor: none;
    user-select: none;
    width: 100%;
}

/* Disable the default grab/grabbing cursors for the tournaments carousel.  The custom cursor will handle this visual feedback */
.tournaments-carousel:active {
    cursor: none;
}

.tournaments-carousel::-webkit-scrollbar {
    height: 8px;
}

.tournaments-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.tournaments-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border-radius: 4px;
}

.tournaments-carousel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00cccc, #cc00cc);
}




.tournament-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex: 0 0 900px;
    min-width: 900px;
    /* Hide the default pointer on tournament cards so the custom cursor is visible */
    cursor: none;
    pointer-events: auto;
    position: relative;
}

/* Prevent images inside tournament cards from capturing mouse events or being dragged or selected. Without this, browsers may interpret
   a drag on the image as an attempt to drag the image itself, interfering with the carousel’s drag-to-scroll functionality. */
.tournament-card img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}


.tournament-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.tournament-image {
    height: 560px;
    position: relative;
}

.tournament-tags {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 0, 0, 0.7);
    color: #00ffff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.tournament-title {
    font-family: 'Orbitron', monospace;
    font-size: 36px;
    font-weight: 700;
    margin: 40px 40px 20px;
    color: #ffffff;
    text-transform: uppercase;
}

.tournament-description {
    color: #cccccc;
    padding: 0 40px 40px;
    line-height: 1.6;
    font-size: 18px;
}

/* Achievements Section */
.achievements {
    background: transparent; /* Allow animated background to show through */
}

.achievements-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.achievement-stat {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.achievement-stat:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: #adaede;
    margin-bottom: 10px;
}

.stat-label {
    color: #cccccc;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievements-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight {
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    text-align: center;
}

.highlight h3 {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

/* Clients Section */
.clients {
    background: transparent; /* Allow animated background to show through */
}

.clients-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.client {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client:hover {
    color: #00ffff;
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-5px);
}



/* Footer */
/* WLT Design Style Footer */
.footer {
    background: #0a0a0a;
    padding: 80px 0 40px;
    margin-top: 100px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Contact Card - WLT Style with Dizband Colors */
.contact-card {
    background: linear-gradient(135deg, #1a0033 0%, #330066 50%, #6600cc 100%);
    border-radius: 24px;
    padding: 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 0, 204, 0.3);
    box-shadow: 0 20px 40px rgba(102, 0, 204, 0.2);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.9) 0%, rgba(51, 0, 102, 0.8) 50%, rgba(102, 0, 204, 0.7) 100%);
    z-index: 1;
}

.contact-card h2,
.contact-card h3 {
    position: relative;
    z-index: 2;
    margin: 0;
}

.contact-card h2 {
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #ffffff;
}

.contact-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

/* Logo Card - WLT Style with Dizband Logo */
.logo-card {
    background: linear-gradient(135deg, #6600cc, #8833dd);
    border-radius: 24px;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(102, 0, 204, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(136, 51, 221, 0.4);
}

.logo-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.logo-card {
    animation: float 6s ease-in-out infinite;
}

/* Form Section - WLT Style */
.footer-right {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(102, 0, 204, 0.2);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-contact-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.footer-contact-email {
    margin: 0;
}

.footer-contact-email a {
    font-size: 32px;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-contact-email a:hover {
    color: #ff8c5a;
}

.footer-contact-video {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ff6b35, #ff8c5a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-contact-form {
    position: relative;
}

.form-success-message {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    background: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.form-success-message.show {
    opacity: 1;
    visibility: visible;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group label {
    font-size: 12px;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #444444;
    padding: 12px 0;
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #6600cc;
    box-shadow: 0 2px 8px rgba(102, 0, 204, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit-btn {
    background: linear-gradient(135deg, #6600cc, #8833dd);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 0, 204, 0.4);
    background: linear-gradient(135deg, #7722dd, #9944ee);
}

/* Social Links - WLT Style */
.footer-social {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.social-card {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6600cc, #8833dd);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

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

.social-card:hover {
    border-color: #6600cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 0, 204, 0.3);
}

.social-card a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.social-card:hover a {
    color: #ffffff;
}

.social-card svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* Mobile responsiveness for social cards */
@media (max-width: 768px) {
    .footer-social {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 400px;
    }
    
    .social-card {
        height: 50px;
        border-radius: 12px;
    }
    
    .social-card svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .footer-social {
        grid-template-columns: 1fr;
        gap: 8px;
        max-width: 280px;
    }
    
    .social-card {
        border-radius: 12px;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(102, 0, 204, 0.2);
    margin-top: 60px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

/* Success Message Styles */
.form-success-message {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.form-success-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.social-card svg {
    width: 20px;
    height: 20px;
    transition: all 0.4s ease;
}

/* Tournament Modal Styles */
.tournament-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tournament-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.tournament-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #00ffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ff00ff;
}

.modal-title {
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    color: #00ffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-description {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 1px;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    color: #000000;
}

.modal-btn.primary:hover {
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.modal-btn.secondary {
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
}

.modal-btn.secondary:hover {
    background: #00ffff;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .nav-contacts {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    

    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-image:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .about-image:nth-child(2) { grid-column: 1; grid-row: 2; }
    .about-image:nth-child(3) { grid-column: 2; grid-row: 2; }
    .about-image:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
    .about-image:nth-child(5) { grid-column: 1 / 3; grid-row: 4; }
    .about-image:nth-child(6) { grid-column: 2; grid-row: 4; align-self: end; }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tournaments-carousel {
        grid-template-columns: 1fr;
    }
    
    .tournament-card {
        min-width: 300px;
        flex: 0 0 300px;
    }
    
    .tournament-image {
        height: 400px;
    }
    
    .tournament-title {
        font-size: 28px;
        margin: 30px 30px 15px;
    }
    
    .tournament-description {
        font-size: 16px;
        padding: 0 30px 30px;
    }
    
    .tag {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .achievements-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    

    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .logo-card {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .logo-container {
        width: 80px;
        height: 80px;
    }
    
    .footer-logo {
        width: 50px;
        height: 50px;
    }
    
    .contact-card h2 {
        font-size: 24px;
    }
    
    .contact-card h3 {
        font-size: 16px;
    }

    .footer-contact-title {
        font-size: 32px;
    }

    .footer-contact-email a {
        font-size: 24px;
    }

    .footer-contact-video {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .clients-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Мобильное меню */
    .nav-menu.active {
        display: flex !important;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid rgba(0, 255, 255, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 255, 255, 0.1);
        text-align: center;
        font-size: 16px;
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Анимация кнопки мобильного меню */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    

    
    .section-title {
        font-size: 1.5rem;
    }
    
    .achievements-stats {
        grid-template-columns: 1fr;
    }
    
    .clients-list {
        grid-template-columns: 1fr;
    }
    
    .tournament-card {
        min-width: 280px;
        flex: 0 0 280px;
    }
    
    .tournament-image {
        height: 300px;
    }
    
    .tournament-title {
        font-size: 20px;
        margin: 20px 20px 10px;
    }
    
    .tournament-description {
        font-size: 14px;
        padding: 0 20px 20px;
    }
    

    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
}

/* Performance optimizations */
.logo-img:hover { transform: scale(1.05); }

/* Lazy loading styles */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reduce-motion * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimize heavy animations */
.energy-wave,
.pulsing-orb,
.floating-particle {
    will-change: transform, opacity;
    transform: translateZ(0); /* Force hardware acceleration */
}

/* Optimize images for better loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Critical resource hints */
.preload-hint {
    display: none;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden !important;
}

.loading-screen::-webkit-scrollbar {
    display: none !important;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    position: relative;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.loading-logo {
    width: 200px;
    height: auto;
    position: relative;
    z-index: 3;
    filter: none;
    /* Ensure video plays smoothly */
    object-fit: contain;
    border-radius: 0;
}





.loading-progress {
    position: fixed;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: visible;
    z-index: 10001;
    border: 2px solid rgba(124, 108, 232, 0.3);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #7c6ce8, #a855f7, #7c6ce8);
    background-size: 200% 100%;
    width: 0%;
    position: relative;
    transition: width 0.2s ease;
    box-shadow: 0 0 15px rgba(124, 108, 232, 0.7);
    animation: progressGlow 2s ease-in-out infinite alternate;
    border-radius: 4px;
}

.progress-text {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(124, 108, 232, 0.8);
    z-index: 10002;
}

@keyframes progressGlow {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 15px rgba(124, 108, 232, 0.7);
    }
    100% {
        background-position: 100% 50%;
        box-shadow: 0 0 25px rgba(168, 85, 247, 0.9);
    }
}

/* Animations */

@keyframes progressFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}



/* Responsive Design for Loading Screen */
@media (max-width: 768px) {
    .loading-logo {
        width: 150px;
        filter: none;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .loading-logo {
        width: 120px;
        filter: none;
        object-fit: contain;
    }
}

/* ABSOLUTE POSITIONED ELEMENTS - STAY WITH CONTENT, DON'T FOLLOW SCROLL */

/* Menu Toggle Button - Absolute in Top Right */
.menu-toggle-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 99999;
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #adaede 100%);
    color: #1a1a2e;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid rgba(173, 174, 222, 0.3);
    position: relative;
    overflow: hidden;
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
}



.menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #8a7bc8 0%, #adaede 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-toggle:hover {
    background: linear-gradient(135deg, #adaede 0%, #8a7bc8 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(173, 162, 222, 0.4);
    color: #ffffff;
    border-color: #adaede;
}

.menu-toggle:hover::before {
    opacity: 0.1;
}

.menu-text {
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.menu-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.line {
    width: 16px;
    height: 2px;
    background: #1a1a2e;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.menu-toggle:hover .line {
    background: #ffffff;
}

/* Compact Navigation Panel */
.menu-nav-panel {
    position: absolute;
    top: 0;
    right: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(173, 162, 222, 0.3);
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-right: 8px;
    border: 1px solid rgba(173, 162, 222, 0.2);
    clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%);
    white-space: nowrap;
}

.menu-toggle-container:hover .menu-nav-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-link {
    display: inline-block;
    padding: 8px 12px;
    color: #1a1a2e;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    position: relative;
    border-radius: 15px;
    margin: 0 2px;
}

.nav-link:hover {
    background: linear-gradient(135deg, #adaede 0%, #8a7bc8 100%);
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-link:first-child {
    margin-left: 8px;
}

.nav-link:last-child {
    margin-right: 8px;
}

/* Logo Corner - Absolute in Top Left */
.hero-logo-corner {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 9998;
}

.hero-corner-logo {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease;
}

.hero-corner-logo:hover {
    transform: scale(1.05);
}

/* Lisa Animation - Absolute in Bottom Right */
.hero-lisa {
    position: absolute;
    bottom: 50px;
    right: 450px;
    z-index: 9997;
}

.lisa-gif {
    width: 200px;
    height: auto;
    filter: none;
}

/* Hide ALL elements during loading except loading screen */
body.loading .menu-toggle-container,
body.loading .hero-logo-corner,
body.loading .hero-lisa,
body.loading .main-content,
body.loading .examp-background,
body.loading .examp-fog-left,
body.loading .examp-fog-right,
body.loading .examp-crystal,
body.loading .examp-dota-logo,
body.loading .examp-gif {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Smooth transition when loading completes */
.menu-toggle-container,
.hero-logo-corner,
.hero-lisa,
.main-content,
.examp-background,
.examp-fog-left,
.examp-fog-right,
.examp-crystal,
.examp-dota-logo,
.examp-gif {
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

/* Ensure content is visible when loading is complete */
body:not(.loading) .menu-toggle-container,
body:not(.loading) .hero-logo-corner,
body:not(.loading) .hero-lisa,
body:not(.loading) .main-content,
body:not(.loading) .examp-background,
body:not(.loading) .examp-fog-left,
body:not(.loading) .examp-fog-right,
body:not(.loading) .examp-crystal,
body:not(.loading) .examp-dota-logo,
body:not(.loading) .examp-gif {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ensure loading screen is always on top */
.loading-screen {
    z-index: 999999 !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #adaede, #9a9bd8);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(173, 174, 222, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(173, 174, 222, 0.5);
    animation: scrollButtonPulse 1s ease-in-out infinite;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

@keyframes scrollButtonPulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(173, 174, 222, 0.5);
    }
    50% {
        box-shadow: 0 8px 30px rgba(173, 174, 222, 0.8), 0 0 40px rgba(154, 155, 216, 0.4);
    }
}

@keyframes heroLogoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes heroLogoGlow {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Cyber Glitch Animations */
@keyframes cyberGlitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    91% {
        transform: translate(-2px, 2px);
    }
    92% {
        transform: translate(2px, -2px);
    }
    93% {
        transform: translate(-2px, -2px);
    }
    94% {
        transform: translate(2px, 2px);
    }
    95% {
        transform: translate(-2px, 2px);
    }
}

@keyframes cyberGlitchHover {
    0%, 50%, 100% {
        transform: translate(0);
    }
    25% {
        transform: translate(-1px, 1px);
    }
    75% {
        transform: translate(1px, -1px);
    }
}

@keyframes glitchBefore {
    0%, 90%, 100% {
        opacity: 0;
        transform: translate(0);
    }
    91% {
        opacity: 0.8;
        transform: translate(-3px, 0);
    }
    92% {
        opacity: 0;
        transform: translate(3px, 0);
    }
    93% {
        opacity: 0.6;
        transform: translate(-2px, 0);
    }
}

@keyframes glitchAfter {
    0%, 90%, 100% {
        opacity: 0;
        transform: translate(0);
    }
    91% {
        opacity: 0.7;
        transform: translate(2px, 0);
    }
    92% {
        opacity: 0;
        transform: translate(-2px, 0);
    }
    93% {
        opacity: 0.5;
        transform: translate(3px, 0);
    }
}

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

/* Background Cyberpunk Animations */
@keyframes backgroundGlitch {
    0%, 95%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    96% {
        transform: translate(-1px, 1px);
        filter: hue-rotate(90deg);
    }
    97% {
        transform: translate(1px, -1px);
        filter: hue-rotate(180deg);
    }
    98% {
        transform: translate(-1px, -1px);
        filter: hue-rotate(270deg);
    }
    99% {
        transform: translate(1px, 1px);
        filter: hue-rotate(360deg);
    }
}

@keyframes scanlines {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

@keyframes cyberPulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

/* Digital Rain Effect */
.digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.digital-rain::before {
    content: '01001001 01001110 01000110 01001001 01001110 01001001 01010100 01011001';
    position: absolute;
    top: -100px;
    left: 10%;
    color: rgba(0, 255, 0, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: nowrap;
    animation: digitalFall 15s linear infinite;
}

.digital-rain::after {
    content: '11010100 11001010 10101010 11110000 01010101 10101010';
    position: absolute;
    top: -100px;
    right: 20%;
    color: rgba(255, 0, 255, 0.2);
    font-family: 'Courier New', monospace;
    font-size: 10px;
    white-space: nowrap;
    animation: digitalFall 20s linear infinite 5s;
}



@keyframes digitalFall {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}





/* Mobile responsive for scroll button and hero logo */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    .hero-logo {
        width: 250px;
    }
    
    .hero-logo-container {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 200px;
    }
    
    .hero-logo-container {
        margin-bottom: 20px;
    }
}

/* Tournament Modal Styles */
.tournament-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.tournament-modal.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a0033 0%, #000033 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #00ffff;
}

.modal-header {
    display: flex;
    gap: 30px;
    padding: 40px 40px 20px;
    align-items: flex-start;
}

.modal-image {
    flex: 0 0 300px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    flex: 1;
}

.modal-info h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-tags .tag {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.modal-body {
    padding: 0 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modal-description h3,
.modal-details h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00ffff;
}

.modal-description p {
    line-height: 1.6;
    color: #cccccc;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #ffffff;
}

.detail-value {
    font-weight: 600;
    color: #00ffff;
}

.modal-footer {
    padding: 20px 40px 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-btn.primary {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000000;
}

.modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.modal-btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(0, 255, 255, 0.5);
}

.modal-btn.secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        flex-direction: column;
        padding: 30px 20px 15px;
        gap: 20px;
    }
    
    .modal-image {
        flex: none;
        width: 100%;
        height: 150px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        padding: 0 20px 15px;
        gap: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px 30px;
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
}

/* Neon Glitch Animations for DIZCORP */
@keyframes neonGlitchIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
        filter: blur(10px);
        text-shadow: 0 0 5px #00ffff;
    }
    20% {
        opacity: 0.3;
        transform: translateY(30px) scale(0.9);
        filter: blur(5px);
        text-shadow: 0 0 8px #00ffff, 0 0 12px #0099ff;
    }
    40% {
        opacity: 0.7;
        transform: translateY(10px) scale(1.05);
        filter: blur(2px);
        text-shadow: 0 0 10px #00ffff, 0 0 15px #0099ff, 0 0 18px #00ccff;
    }
    60% {
        opacity: 0.9;
        transform: translateY(-5px) scale(1.02);
        filter: blur(1px);
        text-shadow: 0 0 12px #00ffff, 0 0 18px #0099ff, 0 0 22px #00ccff;
    }
    80% {
        opacity: 1;
        transform: translateY(2px) scale(1.01);
        filter: blur(0px);
        text-shadow: 0 0 8px #00ffff, 0 0 12px #0099ff, 0 0 15px #00ccff;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
        text-shadow: 0 0 5px #00ffff, 0 0 8px #0099ff, 0 0 12px #00ccff;
    }
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 0 0 5px #00ffff, 0 0 8px #0099ff, 0 0 12px #00ccff;
        filter: brightness(1);
    }
    50% {
        text-shadow: 0 0 8px #00ffff, 0 0 15px #0099ff, 0 0 20px #00ccff, 0 0 25px #00ffff;
        filter: brightness(1.05);
    }
}

@keyframes glitchFlicker {
    0%, 95%, 100% {
        opacity: 0;
    }
    96%, 99% {
        opacity: 0.2;
        transform: translate(1px, -1px);
    }
    97%, 98% {
        opacity: 0.4;
        transform: translate(-1px, 1px);
    }
}

@keyframes glitchShift {
    0%, 92%, 100% {
        opacity: 0;
        transform: translate(0, 0);
    }
    93%, 99% {
        opacity: 0.3;
        transform: translate(-2px, 2px);
    }
    94%, 98% {
        opacity: 0.5;
        transform: translate(2px, -1px);
    }
    95%, 97% {
        opacity: 0.2;
        transform: translate(-1px, -2px);
    }
}

/* =======================================================================
 * Custom layout for the services section inspired by Goose Gaming.
 * Images and content are placed on alternating sides to create a dynamic rhythm.
 * Service names are displayed below the images using a neon gradient text similar to goosegaming.
 * These styles override the default grid layout and card styling.
 */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0; /* Ещё больше уменьшаем отступы (40px / 2 = 20px) */
    min-height: 400px; /* Ещё больше уменьшаем минимальную высоту карточки (600px - 200px = 400px) */
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

/* For even service cards swap the order of image and content */
.service-card:nth-child(even) .service-image {
    order: 2;
}

.service-card:nth-child(even) .service-content {
    order: 1;
}

.service-image {
    flex: 0 0 55%; /* Увеличиваем ширину контейнера для GIF */
    max-width: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px; /* Добавляем отступы для лучшего отображения */
    overflow: visible; /* Позволяем увеличенному GIF выходить за границы */
}

.service-image img {
    width: 100%;
    height: 600px; /* Базовая высота */
    border-radius: 10px;
    object-fit: cover;
    transform: scale(0.9) translateY(-100px); /* Увеличиваем GIF на 20% (0.75 + 20% = 0.9) и перемещаем вверх на 100px */
    transform-origin: center; /* Масштабируем от центра */
}

.service-name {
    margin-top: 15px;
    font-family: 'Orbitron', monospace;
    display: none; /* Скрываем надписи под GIF элементами */
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: transparent;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.service-content {
    flex: 0 0 45%;
    max-width: 45%;
    padding: 0 30px;
}

.service-title {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-description {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
    }
    .service-image,
    .service-content {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .service-content {
        padding: 20px 0;
        text-align: center;
    }
    .service-name {
        margin-top: 10px;
        font-size: 16px;
    }
    .service-title {
        font-size: 22px;
    }
}

/* 3D tournament slider styles removed — we use a horizontal drag carousel instead */

/*
 * Custom cursor for the tournaments section
 * Inspired by the Goose Gaming cases slider.  A semi‑transparent circular area with
 * left and right arrows appears when the user moves the mouse inside the
 * tournaments section.  The default system cursor is hidden via `cursor: none`
 * on the carousel, and this element is positioned via JavaScript to follow the
 * pointer.  When the user is actively dragging, the `.grabbing` class is
 * applied to the cursor to indicate the drag state.
 */
.custom-cursor {
    position: fixed;
    width: 80px;
    height: 80px;
    pointer-events: none;
    border-radius: 50%;
    /* Pink gradient to match the site's color scheme */
    background: radial-gradient(circle at center, rgba(255, 105, 180, 0.3) 0%, rgba(255, 20, 147, 0.15) 60%, transparent 100%);
    border: 2px solid rgba(255, 105, 180, 0.6);
    transform: translate(-50%, -50%);
    z-index: 10000;
    display: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.custom-cursor::before,
.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -7px;
    border-style: solid;
}

/* Left arrow triangle */
.custom-cursor::before {
    left: 18px;
    border-width: 7px 10px 7px 0;
    border-color: transparent rgba(255, 105, 180, 0.8) transparent transparent;
    filter: blur(0.5px);
}

/* Right arrow triangle */
.custom-cursor::after {
    right: 18px;
    border-width: 7px 0 7px 10px;
    border-color: transparent transparent transparent rgba(255, 105, 180, 0.8);
    filter: blur(0.5px);
}

/* When dragging, emphasise the cursor */
.custom-cursor.grabbing {
    background: radial-gradient(circle at center, rgba(255, 105, 180, 0.45) 0%, rgba(255, 20, 147, 0.25) 65%, transparent 100%);
    border-color: rgba(255, 105, 180, 0.8);
}

/* Octopus Animations */
@keyframes octopusTentacles {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(2deg) scale(1.05);
    }
    50% {
        transform: rotate(0deg) scale(1.1);
    }
    75% {
        transform: rotate(-2deg) scale(1.05);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes octopusGlow {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes octopusGlowPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
}

@keyframes windowFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(5px) rotate(-1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Light Orbit Animation */
@keyframes lightOrbit {
    0% {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
        opacity: 1;
    }
    25% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg) translateX(200px) rotate(-360deg);
        opacity: 1;
    }
}

/* Octopus Float Animation */
@keyframes octopusFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-8px) rotate(1deg);
    }
    66% {
        transform: translateY(4px) rotate(-1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Gentle Float Animation for Video Windows */
@keyframes gentleFloat {
    0% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-5px) scale(1.02);
    }
    50% {
        transform: translateY(-8px) scale(1.03);
    }
    75% {
        transform: translateY(-3px) scale(1.01);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

/* Responsive Design for Semicircle Layout */
@media (max-width: 1200px) {
    .video-window {
        width: 320px;
        height: 216px;
    }
    
    .video-window.window-1 {
        top: 18%;
        left: 10%;
    }
    
    .video-window.window-2 {
        top: 48%;
        left: 5%;
    }
    
    .video-window.window-3 {
        top: 78%;
        left: 12%;
    }
    
    .video-window.window-4 {
        top: 18%;
        right: 10%;
    }
    
    .video-window.window-5 {
        top: 48%;
        right: 5%;
    }
    
    .video-window.window-6 {
        top: 78%;
        right: 12%;
    }
    
    .octopus-image {
        width: 200px;
        height: 200px;
        filter: none;
    }
    
    .octopus-glow {
        width: 280px;
        height: 280px;
    }

    .company-name {
        font-size: 36px;
        letter-spacing: 4px;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        padding: 20px;
    }
    
    .octopus-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 40px;
    }
    
    .video-windows {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-bottom: 30px;
        width: auto;
        height: auto;
    }
    
    .video-window {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 200px;
        height: 135px;
    }
    
    .octopus-image {
        width: 150px;
        height: 150px;
        filter: none;
    }
    
    .octopus-glow {
        width: 200px;
        height: 200px;
    }

    .company-name {
        font-size: 28px;
        letter-spacing: 2px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .video-window {
        width: 160px;
        height: 108px;
    }
    
    .video-windows {
        gap: 15px;
    }
    
    .octopus-image {
        width: 120px;
        height: 120px;
        filter: none;
    }
    
    .octopus-glow {
        width: 160px;
        height: 160px;
    }

    .company-name {
        font-size: 20px;
        letter-spacing: 1px;
        margin-top: 8px;
    }
}

/* New Hero Section Styles - Goose.gg Style */
.hero {
    position: relative !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.hero-content {
    position: absolute !important;
    top: calc(50% + 150px) !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
    text-align: center !important;
    max-width: 1200px !important;
    padding: 0 20px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}

.hero-title {
    font-family: 'PINNACLE', 'Orbitron', sans-serif !important;
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
    font-weight: 300 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    margin-bottom: 2rem !important;
    letter-spacing: 2px !important;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.8), 0 0 40px rgba(138, 43, 226, 0.4) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #adaede 100%);
    color: #1a1a2e;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 40px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #adaede;
    box-shadow: 0 8px 25px rgba(173, 162, 222, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
    background-clip: padding-box;
}

.hero-button:hover {
    background: linear-gradient(135deg, #adaede 0%, #8a7bc8 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(173, 162, 222, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-color: #adaede;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.hero-logo {
    position: absolute !important;
    top: 30px !important;
    left: 30px !important;
    z-index: 10 !important;
    width: 60px !important;
    height: auto !important;
}

.hero-logo img {
    width: 100% !important;
    height: auto !important;
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 10px rgba(138, 43, 226, 0.6)) blur(0.5px) !important;
    transition: all 0.3s ease !important;
}

.hero-logo img:hover {
    filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 15px rgba(138, 43, 226, 0.8)) blur(0.3px) !important;
    transform: scale(1.05) !important;
}

.hero-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 125vh !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
    z-index: 1 !important;
    overflow: hidden !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    mask: radial-gradient(ellipse at center, black 60%, transparent 100%);
    -webkit-mask: radial-gradient(ellipse at center, black 60%, transparent 100%);
}

.hero-video-element {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.8 !important;
}

.hero-video::after {
    content: '';
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(75, 0, 130, 0.2)) !important;
    z-index: 2 !important;
    pointer-events: none !important;
    border-radius: 20px !important;
}

/* Hide old hero elements */
.new-hero-content,
.octopus-container,
.video-windows,
.hero h1:not(.hero-title),
.hero-title-line,
.hero-title-brand,
h1[class*="hero"]:not(.hero-title),
.hero-content h1:not(.hero-title) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Responsive Menu Styles */
@media (max-width: 768px) {
    .menu-toggle-container {
        top: 15px;
        right: 15px;
    }
    
    .menu-toggle {
        padding: 6px 12px;
        gap: 6px;
    }
    
    .menu-text {
        font-size: 10px;
    }
    
    .line {
        width: 14px;
    }
    
    .menu-nav-panel {
        margin-right: 6px;
        clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    }
    
    .nav-link {
        font-size: 10px;
        padding: 6px 8px;
        margin: 0 1px;
    }
    
    .nav-link:first-child {
        margin-left: 6px;
    }
    
    .nav-link:last-child {
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .menu-toggle-container {
        top: 10px;
        right: 10px;
    }
    
    .menu-toggle {
        padding: 5px 10px;
        gap: 5px;
        clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    }
    
    .menu-text {
        font-size: 9px;
    }
    
    .line {
        width: 12px;
        height: 1.5px;
    }
    
    .menu-nav-panel {
        margin-right: 4px;
        clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    }
    
    .nav-link {
        font-size: 9px;
        padding: 5px 6px;
        margin: 0 1px;
    }
    
    .nav-link:first-child {
        margin-left: 4px;
    }
    
    .nav-link:last-child {
        margin-right: 4px;
    }
}


/* ===== BENTO GRID FOOTER STYLES ===== */

.bento-footer {
    background: transparent;
    padding: 80px 0 40px;
    margin-top: 50px;
}

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

.bento-grid {
    display: grid;
    grid-template-columns: 1.7fr 1.8fr;
    grid-template-rows: 0.7fr 1.3fr;
    gap: 24px;
    margin-bottom: 24px;
}

.bento-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(173, 174, 222, 0.1);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Contact Card */
.contact-card {
    grid-column: 1;
    grid-row: 1;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    border: 1px solid rgba(173, 174, 222, 0.15);
    position: relative;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(173, 174, 222, 0.1) 0%, rgba(138, 123, 200, 0.1) 100%);
    border-radius: 24px;
    opacity: 0.5;
}

.contact-card h2 {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

/* Visual Card */
.visual-card {
    grid-column: 1;
    grid-row: 2;
    background: linear-gradient(135deg, #adaede 0%, #8a7bc8 50%, #7c6ce8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-content {
    position: relative;
    z-index: 2;
}

.visual-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* Form Card */
.form-card {
    grid-column: 2;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    border: 1px solid rgba(173, 174, 222, 0.15);
}

.bento-form {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bento-form-group {
    display: flex;
    flex-direction: column;
}

.bento-form-group label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.bento-form-group input,
.bento-form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    padding: 12px 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.bento-form-group input:focus,
.bento-form-group textarea:focus {
    border-bottom-color: rgba(173, 174, 222, 0.4);
}

.bento-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.bento-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.bento-submit-btn {
    background: linear-gradient(135deg, #8a7bc8 0%, #7c6ce8 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.bento-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 123, 200, 0.4);
    background: linear-gradient(135deg, #9d8ed4 0%, #8a7bc8 100%);
}

/* Social Links */
.bento-social {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.bento-social-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(173, 174, 222, 0.1);
    border-radius: 50px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.bento-social-card:hover {
    background: rgba(173, 174, 222, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(173, 174, 222, 0.3);
    border-color: rgba(173, 174, 222, 0.4);
}

.bento-social-card a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: color 0.3s ease;
}

.bento-social-card:hover a {
    color: #ff6b35;
}

.bento-social-card svg {
    width: 24px;
    height: 24px;
}

/* Copyright */
.bento-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1.2fr 1.3fr;
        grid-template-rows: auto auto;
    }
    
    .contact-card {
        grid-column: 1;
        grid-row: 1;
    }
    
    .visual-card {
        grid-column: 1;
        grid-row: 2;
    }
    
    .form-card {
        grid-column: 2;
        grid-row: 1 / 3;
    }
}

@media (max-width: 768px) {
    .bento-footer {
        padding: 60px 0 40px;
    }
    
    .bento-container {
        padding: 0 16px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }
    
    .contact-card,
    .visual-card,
    .form-card {
        grid-column: 1;
        grid-row: auto;
    }
    
    .bento-card {
        padding: 24px;
    }
    
    .bento-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bento-social {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .bento-social-card {
        height: 60px;
        border-radius: 40px;
    }
}

@media (max-width: 480px) {
    .bento-social {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .contact-card h3 {
        font-size: 20px;
    }
    
    .visual-logo {
        width: 60px;
        height: 60px;
    }
}

/* ===== 3D SERVICES SECTION ===== */
.services-3d {
    padding: 120px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.services-3d .section-title {
    text-align: center;
    margin-bottom: 80px;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.services-3d .section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
    border-radius: 2px;
}

.services-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 3D Card Base Styles */
.service-3d-card {
    position: relative;
    width: 100%;
    height: 480px;
    perspective: 1000px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-3d-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.service-3d-card .card-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 25, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    overflow: hidden;
    
    /* Wavy border shape for cards */
    border-radius: 30px;
    clip-path: polygon(
        10% 0%, 
        90% 0%, 
        100% 10%, 
        100% 30%, 
        95% 40%, 
        100% 50%, 
        100% 70%, 
        95% 80%, 
        100% 90%, 
        90% 100%, 
        10% 100%, 
        0% 90%, 
        0% 80%, 
        5% 70%, 
        0% 60%, 
        0% 40%, 
        5% 30%, 
        0% 20%, 
        0% 10%
    );
}

/* Glare Effect - DISABLED */
.card-glare {
    display: none;
}

/* Card Icon Styles */
.card-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Text Styles */
.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.card-description {
    font-size: 1rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature {
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #6366f1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Icon Animations */
.icon-planning .planning-elements {
    position: relative;
    width: 80px;
    height: 80px;
}

.icon-planning .element {
    position: absolute;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    animation: float 3s ease-in-out infinite;
}

.icon-planning .element-1 {
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.icon-planning .element-2 {
    width: 25px;
    height: 25px;
    top: 15px;
    right: 0;
    animation-delay: 0.5s;
}

.icon-planning .element-3 {
    width: 35px;
    height: 20px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

/* Technical Icon */
.icon-technical .server-rack {
    position: relative;
    width: 60px;
    height: 80px;
}

.icon-technical .server {
    position: absolute;
    width: 100%;
    height: 20px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
}

.icon-technical .server-1 {
    top: 0;
    animation-delay: 0s;
}

.icon-technical .server-2 {
    top: 30px;
    animation-delay: 0.3s;
}

.icon-technical .server-3 {
    top: 60px;
    animation-delay: 0.6s;
}

/* Streaming Icon */
.icon-streaming .camera-setup {
    position: relative;
    width: 80px;
    height: 80px;
}

.icon-streaming .camera {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 8px;
}

.icon-streaming .camera::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
}

.icon-streaming .stream-waves {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
}

.icon-streaming .wave {
    position: absolute;
    border: 2px solid #f59e0b;
    border-radius: 50%;
    animation: wave 2s ease-in-out infinite;
}

.icon-streaming .wave-1 {
    width: 10px;
    height: 10px;
    top: 10px;
    right: 10px;
    animation-delay: 0s;
}

.icon-streaming .wave-2 {
    width: 20px;
    height: 20px;
    top: 5px;
    right: 5px;
    animation-delay: 0.3s;
}

.icon-streaming .wave-3 {
    width: 30px;
    height: 30px;
    top: 0;
    right: 0;
    animation-delay: 0.6s;
}

/* Prize Icon */
.icon-prize .trophy-setup {
    position: relative;
    width: 80px;
    height: 80px;
}

.icon-prize .trophy {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 8px 8px 4px 4px;
}

.icon-prize .trophy::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 8px 8px 0 0;
}

.icon-prize .prize-coins {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
}

.icon-prize .coin {
    position: absolute;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    animation: bounce 2s ease-in-out infinite;
}

.icon-prize .coin-1 {
    left: 10px;
    animation-delay: 0s;
}

.icon-prize .coin-2 {
    left: 32px;
    animation-delay: 0.2s;
}

.icon-prize .coin-3 {
    right: 10px;
    animation-delay: 0.4s;
}

/* Marketing Icon */
.icon-marketing .marketing-elements {
    position: relative;
    width: 80px;
    height: 80px;
}

.icon-marketing .megaphone {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 40px;
    height: 25px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    border-radius: 4px 20px 20px 4px;
}

.icon-marketing .megaphone::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    border-radius: 50%;
}

.icon-marketing .social-bubbles {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 40px;
}

.icon-marketing .bubble {
    position: absolute;
    background: linear-gradient(135deg, #ec4899, #be185d);
    border-radius: 50%;
    animation: float 2s ease-in-out infinite;
}

.icon-marketing .bubble-1 {
    width: 8px;
    height: 8px;
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.icon-marketing .bubble-2 {
    width: 12px;
    height: 12px;
    top: 15px;
    right: 10px;
    animation-delay: 0.3s;
}

.icon-marketing .bubble-3 {
    width: 10px;
    height: 10px;
    top: 30px;
    right: 5px;
    animation-delay: 0.6s;
}

/* Judging Icon */
.icon-judging .judge-elements {
    position: relative;
    width: 80px;
    height: 80px;
}

.icon-judging .gavel {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 40px;
    height: 15px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 8px;
    transform: rotate(-30deg);
}

.icon-judging .gavel::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 25px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 2px;
}

.icon-judging .balance-scale {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
}

.icon-judging .balance-scale::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.icon-judging .scale-left,
.icon-judging .scale-right {
    position: absolute;
    bottom: 20px;
    width: 20px;
    height: 3px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 2px;
    animation: scale 3s ease-in-out infinite;
}

.icon-judging .scale-left {
    left: 5px;
    animation-delay: 0s;
}

.icon-judging .scale-right {
    right: 5px;
    animation-delay: 1.5s;
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes wave {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

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

@keyframes scale {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-3d {
        padding: 80px 0;
    }
    
    .services-3d .section-title {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }
    
    .services-3d-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .service-3d-card {
        height: 420px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .service-3d-card {
        height: 380px;
    }
    
    .card-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .card-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .card-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .feature {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ===== SERVICE MODAL WINDOWS ===== */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.service-modal.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

/* Modal Backdrop */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .modal-backdrop {
    opacity: 1;
}

/* Modal Container - This is what morphs from card position */
.modal-container {
    position: absolute;
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    
    /* Wavy border shape */
    border-radius: 40px;
    clip-path: polygon(
        8% 0%, 
        92% 0%, 
        100% 8%, 
        100% 25%, 
        95% 35%, 
        100% 45%, 
        100% 65%, 
        95% 75%, 
        100% 85%, 
        100% 92%, 
        92% 100%, 
        8% 100%, 
        0% 92%, 
        0% 85%, 
        5% 75%, 
        0% 65%, 
        0% 45%, 
        5% 35%, 
        0% 25%, 
        0% 8%
    );
    
    /* Initial state - will be set by JavaScript to match card position */
    width: 380px;
    height: 480px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    
    /* Morphing animation */
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .modal-container {
    /* Final state - full screen modal */
    width: 90vw;
    max-width: 800px;
    height: 90vh;
    max-height: 700px;
    transform: translate(-50%, -50%) scale(1);
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .modal-close {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Modal Content */
.modal-content {
    padding: 60px 40px 40px;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .modal-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Modal Icon */
.modal-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .modal-icon {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.5s;
}

/* Modal Title */
.modal-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .modal-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Modal Description */
.modal-description {
    font-size: 1.1rem;
    color: #a1a1aa;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .modal-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

/* Modal Features Section */
.modal-features {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .modal-features {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.modal-features h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-features-list {
    list-style: none;
    padding: 0;
}

.modal-features-list li {
    padding: 8px 0;
    color: #a1a1aa;
    position: relative;
    padding-left: 25px;
}

.modal-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}

/* Modal Process Section */
.modal-process {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .modal-process {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.modal-process h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-process-steps {
    display: grid;
    gap: 15px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.step-content p {
    color: #a1a1aa;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Modal CTA Section */
.modal-cta {
    text-align: center;
    margin-top: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-modal.active .modal-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

.modal-cta-button {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.modal-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.modal-cta-text {
    color: #a1a1aa;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design for Modals */
@media (max-width: 768px) {
    .modal-container {
        width: 95vw;
        height: 95vh;
    }
    
    .service-modal.active .modal-container {
        width: 95vw;
        height: 95vh;
    }
    
    .modal-content {
        padding: 50px 20px 20px;
    }
    
    .modal-title {
        font-size: 2rem;
    }
    
    .modal-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 40px 15px 15px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
}
