/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Inter Fallback';src: local("Arial");ascent-override: 90.44%;descent-override: 22.52%;line-gap-override: 0.00%;size-adjust: 107.12%
}.__className_f367f3 {font-family: 'Inter', 'Inter Fallback';font-style: normal
}.__variable_f367f3 {--font-inter: 'Inter', 'Inter Fallback'
}

/* latin */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/_next/static/media/9a4ee768fed045da-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Orbitron Fallback';src: local("Arial");ascent-override: 81.50%;descent-override: 19.59%;line-gap-override: 0.00%;size-adjust: 124.05%
}.__className_e087fb {font-family: 'Orbitron', 'Orbitron Fallback';font-style: normal
}.__variable_e087fb {--font-orbitron: 'Orbitron', 'Orbitron Fallback'
}

/* latin-ext */
@font-face {
  font-family: 'Audiowide';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/e20ff468b6a47ae1-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Audiowide';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/ab86f138d0d6e9da-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Audiowide Fallback';src: local("Arial");ascent-override: 78.10%;descent-override: 22.50%;line-gap-override: 0.00%;size-adjust: 126.73%
}.__className_2d00a0 {font-family: 'Audiowide', 'Audiowide Fallback';font-weight: 400;font-style: normal
}.__variable_2d00a0 {--font-audiowide: 'Audiowide', 'Audiowide Fallback'
}

/* Optimized Google Fonts - Only essential fonts with font-display: swap */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@600;700&display=swap');
:root {
  /* Font Variables */
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-orbitron: 'Orbitron', monospace;
  --font-audiowide: 'Audiowide', 'Orbitron', monospace;
  --font-pippins: 'Poppins', sans-serif;
  --font-space-grotesk: 'Space Grotesk', sans-serif;

  /* Console Brand Colors - These stay the same in both modes */
  --xbox-green: #107C10;
  --xbox-green-light: #2D9D1D;
  --ps-blue: #006FCD;
  --ps-blue-light: #2D8FE5;
  --nintendo-red: #E60012;
  --nintendo-red-light: #FF0000;

  /* Light Mode Colors */
  --primary: #2eb3bd;
  --primary-dark: #217c68;
  --primary-light: #52c9b5;
  --secondary: #a3aed0;
  --accent: #1dd1a1;
  --accent-light: #55efc4;
  --surface: #ffffff;
  --surface-elevated: #f8fafc;
  --surface-card: #ffffff;
  --surface-border: #e2e8f0;
  --surface-hover: rgba(46, 189, 168, 0.04);
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(46, 189, 168, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.12);
  --gradient-primary: linear-gradient(135deg, #2eb8bd 0%, #6ce9e9 100%);
  --gradient-glass: linear-gradient(135deg, #2eb8bd1f 0%, #6ce9e913 100%);
  --gradient-secondary: linear-gradient(135deg, #55efc4 0%, #81ecec 100%);
  --gradient-hero: linear-gradient(135deg, #2ebda8 0%, #1dd1a1 50%, #55efc4 100%);
  --gradient-surface: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  
  /* Background gradients and patterns */
  --bg-primary: linear-gradient(135deg, #f7f7f7 0%, #ffffff 100%);
  --bg-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --bg-services: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --bg-about: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  
  /* Pattern colors */
  --pattern-primary: rgba(46, 189, 168, 0.03);
  --pattern-secondary: rgba(29, 209, 161, 0.03);
  --pattern-grid: rgba(46, 189, 168, 0.06);
  
  /* Notification and status colors */
  --success: #10b981;
  --success-light: #34d399;
  --warning: #f59e0b;
  --warning-light: #fbbf24;
  --error: #ef4444;
  --error-light: #f87171;
  --info: #3b82f6;
  --info-light: #60a5fa;
  
  /* Interactive states */
  --hover-opacity: 0.8;
  --active-opacity: 0.9;
  --disabled-opacity: 0.4;
  
  /* Border radius values */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 50px;
  
  /* Transition values */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Dark Mode Colors */
[data-theme="dark"] {
  /* Console Brand Colors - These stay the same in both modes */
  --xbox-green: #107C10;
  --xbox-green-light: #2D9D1D;
  --ps-blue: #006FCD;
  --ps-blue-light: #2D8FE5;
  --nintendo-red: #E60012;
  --nintendo-red-light: #FF0000;

  /* Dark Mode Colors - Enhanced with subtle colors */
  --primary: #ffffff;
  --primary-dark: #ffffff;
  --primary-light: #33ddff;
  --secondary: #6b7280;
  --accent: #00ff88;
  --accent-light: #33ffaa;
  --surface: #0a0a0a;
  --surface-elevated: #0f0f0f;
  --surface-card: #1a1a1a;
  --surface-border: #333333;
  --surface-hover: rgba(0, 212, 255, 0.04);
  --text-primary: #ffffff;
  --text-secondary: #e5e7eb;
  --text-muted: #d1d5db;
  --glass-bg: rgba(0, 0, 0, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.6);
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #ffffff 100%);
  --gradient-secondary: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  --gradient-sekister: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
  --gradient-hero: linear-gradient(135deg, #00d4ff 0%, #00ff88 50%, #33ddff 100%);
  --gradient-surface: linear-gradient(135deg, #000000 0%, #111111 100%);
  
  /* Dark mode background gradients and patterns */
  --bg-primary: linear-gradient(135deg, #000000 0%, #111111 100%);
  --bg-hero: linear-gradient(135deg, #000000 0%, #111111 100%);
  --bg-services: linear-gradient(135deg, #000000 0%, #111111 100%);
  --bg-about: linear-gradient(135deg, #000000 0%, #111111 100%);
  
  /* Dark mode pattern colors */
  --pattern-primary: rgba(0, 212, 255, 0.08);
  --pattern-secondary: rgba(0, 255, 136, 0.08);
  --pattern-grid: rgba(0, 212, 255, 0.12);
  
  /* Dark mode status colors - Enhanced with subtle colors */
  --success: #10b981;
  --success-light: #33ffaa;
  --warning: #ffaa00;
  --warning-light: #ffcc33;
  --error: #ff4444;
  --error-light: #ff6666;
  --info: #00d4ff;
  --info-light: #33ddff;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
}

/* Hide elements with bis_skin_checked attributes completely */
[data-bis_skin_checked] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Suppress hydration warnings globally */
[data-nextjs-data-runtime-error] {
  display: none !important;
}

/* Hide hydration mismatch warnings in development */
[data-nextjs-hydration-error] {
  display: none !important;
}


/* Hide web client content script errors */
[data-web-client-content-script] {
  display: none !important;
}

/* Subtle Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(46, 189, 168, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(29, 209, 161, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Dark Mode Background Pattern */
[data-theme="dark"] body::before {
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

/* Typography, Layout, and Utility styles moved to utilities.css */

/* Device Form States */
.loading-state,
.error-state,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  gap: 1rem;
}

.loading-state {
  color: var(--text-secondary);
}

.error-state {
  color: var(--error);
}

.empty-state {
  color: var(--text-secondary);
}

.retry-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.retry-button:hover {
  background: var(--primary-hover);
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
  }
  
  .icon-lg {
    width: 32px;
    height: 32px;
  }
  
  .icon-xl {
    width: 48px;
    height: 48px;
  }
  
  /* Enhanced SVG Icons */
  .icon-console::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E");
  }
  
  .icon-speed::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E");
  }
  
  .icon-tools::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
  }
  
  .icon-shield::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z'/%3E%3C/svg%3E");
  }
  
  .icon-cpu::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z'/%3E%3C/svg%3E");
  }
  
  .icon-tracking::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z'/%3E%3C/svg%3E");
  }
  
  .icon-user::before {
    content: '👤';
  }
  
  .icon-phone::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/%3E%3C/svg%3E");
  }
  
  .icon-email::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'/%3E%3C/svg%3E");
  }
  
  .icon-location::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E");
  }
  
  .icon-clock::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
  }
  
  .icon-gamepad::before {
    content: '🎮';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.2em;
  }
  
  .icon-controller::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M6 9H4a1 1 0 000 2h2a1 1 0 100-2zM8 11a1 1 0 102 0 1 1 0 00-2 0zM20 9h-2a1 1 0 100 2h2a1 1 0 100-2zM14 11a1 1 0 102 0 1 1 0 00-2 0zM17.293 3.293A1 1 0 0118 4v3.586l1.707 1.707a1 1 0 010 1.414L18 12.414V16a1 1 0 01-.293.707l-1 1A1 1 0 0116 18H8a1 1 0 01-.707-.293l-1-1A1 1 0 016 16v-3.586l-1.707-1.707a1 1 0 010-1.414L6 7.586V4a1 1 0 01.293-.707l1-1A1 1 0 018 2h8a1 1 0 01.707.293l1 1z'/%3E%3C/svg%3E");
  }
  
  /* Button styles moved to utilities.css */
  
  /* Three-Section Navigation */
  .navbar {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    opacity: 0.95;
    /* Remove transform scale to prevent animation issues */
    transform: none;
    transform-origin: center top;
  }
  
  .navbar.scrolled {
    background: var(--surface-elevated);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-lg);
    opacity: 1;
    /* Remove transform scale to prevent animation issues */
    transform: none;
  }
  
  .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 2rem;
    position: relative;
    /* Remove transitions */
  }
  
  /* Menu Sections */
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* Remove transitions and animations */
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-menu-1 {
    flex: 1;
    justify-content: flex-start;
  }
  
  .nav-menu-2 {
    flex: 1;
    justify-content: flex-end;
  }
  
  .nav-menu-3 {
    position: relative;
  }
  
  .nav-menu-4 {
    position: relative;
  }
  
  /* Center Logo - Absolute positioning for perfect centering */
  .logo {
    font-family: var(--font-orbitron), 'Orbitron', monospace;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.35em;
    /* Add smooth transition for hover effect */
    transition: transform 0.2s ease-out;
    text-align: center;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 10;
    white-space: nowrap;
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(1);
  }
  
  .logo::before {
    content: 'SEKISTER';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.3s ease-out;
    white-space: nowrap;
    font-family: var(--font-orbitron), 'Orbitron', monospace;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    z-index: 11;
  }
  
  .logo:hover {
    /* Scale up the logo on hover */
    transform: translate(-50%, -50%) scale(1.1);
    -webkit-transform: translate(-50%, -50%) scale(1.1);
    letter-spacing: 0.35em;
  }
  
  .logo:hover::before {
    /* Animate the black overlay from left to right using clip-path */
    clip-path: inset(0 0 0 0);
  }
  
  /* Navigation Links */
  .nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease-out;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
    opacity: 0.8;
    transform: translateY(0);
    will-change: color, opacity, transform;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.2s ease-out;
    border-radius: 1px;
    opacity: 0;
  }
  
  .nav-link:hover {
    color: var(--text-primary);
    opacity: 1;
    transform: translateY(-1px);
  }
  
  .nav-link:hover::after {
    width: 100%;
    opacity: 1;
  }
  
  /* Profile Button */
  .profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 189, 168, 0.15);
    border: 1px solid rgba(46, 189, 168, 0.2);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateZ(0);
    will-change: transform, background, border-color;
  }
  
  .profile-btn:hover {
    background: rgba(46, 189, 168, 0.2);
    border-color: rgba(46, 189, 168, 0.3);
    transform: translateY(-1px);
    box-shadow: 
      0 4px 12px rgba(46, 189, 168, 0.15),
      0 2px 4px rgba(46, 189, 168, 0.1);
  }
  
  /* Profile Dropdown */
  .profile-dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Profile Dropdown Container */
  .profile-dropdown-container {
    position: relative;
    display: inline-block;
  }
  
  /* Profile Dropdown Menu */
  .profile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 180px;
    box-shadow: 
      0 10px 30px rgba(0, 0, 0, 0.2),
      0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: dropdownFadeIn 0.2s ease-out;
  }
  
  @keyframes dropdownFadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Dropdown Items */
  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
    text-decoration: none;
    white-space: nowrap;
  }
  
  .dropdown-item:hover {
    background: rgba(46, 189, 168, 0.1);
    color: var(--primary);
    transform: translateX(4px);
  }
  
  .dropdown-item.logout-item {
    color: #ef4444;
  }
  
  .dropdown-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
  }
  
  /* Login Button */
  .login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 189, 168, 0.15);
    border: 1px solid rgba(46, 189, 168, 0.2);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateZ(0);
    will-change: transform, background, border-color;
    text-decoration: none;
  }
  
  .login-btn:hover {
    background: rgba(46, 189, 168, 0.2);
    border-color: rgba(46, 189, 168, 0.3);
    transform: translateY(-1px);
    box-shadow: 
      0 4px 12px rgba(46, 189, 168, 0.15),
      0 2px 4px rgba(46, 189, 168, 0.1);
  }
  
  .logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: #ef4444;
    font-weight: 500;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateZ(0);
    will-change: transform, background, border-color;
  }
  
  .logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
    box-shadow: 
      0 4px 12px rgba(239, 68, 68, 0.15),
      0 2px 4px rgba(239, 68, 68, 0.1);
  }
  
  .dropdown-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease-out;
    white-space: nowrap;
    opacity: 0.8;
    will-change: background, color, opacity, transform;
  }
  
  .dropdown-link:hover {
    background: rgba(46, 189, 168, 0.1);
    color: var(--primary);
    opacity: 1;
    transform: translateX(4px);
  }
  
  /* Glass Cards */
  .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.2s ease-out;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    will-change: transform, box-shadow, border-color;
  }
  
  /* .glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  } */
  
  /* Floating Elements */
  .floating-orb {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.06;
    animation: float 12s ease-in-out infinite;
    pointer-events: none;
    filter: blur(1px);
  }
  
  .orb-1 {
    width: 150px;
    height: 150px;
    top: 15%;
    left: -3%;
    animation-delay: 0s;
  }
  
  .orb-2 {
    width: 100px;
    height: 100px;
    top: 65%;
    right: -2%;
    animation-delay: 4s;
  }
  
  .orb-3 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 8%;
    animation-delay: 8s;
    background: var(--gradient-secondary);
  }
  
  /* Animations */
  @keyframes float {
    0%, 100% { 
      transform: translateY(0px) rotate(0deg); 
    }
    50% { 
      transform: translateY(-10px) rotate(1deg); 
    }
  }
  
  /* Modern Mobile Menu Overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Modern Mobile Menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: var(--surface-elevated);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    box-shadow: 
      -10px 0 30px rgba(0, 0, 0, 0.1),
      -4px 0 12px rgba(0, 0, 0, 0.05);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: none; /* Hide by default */
    flex-direction: column;
    overflow: hidden;
  }
  
  .mobile-menu.active {
    transform: translateX(0);
    display: flex !important; /* Force display when active */
  }
  
  /* Mobile Menu Header */
  .mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    background: var(--surface-elevated);
    flex-shrink: 0;
  }
  
  .mobile-menu-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .mobile-menu-title span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
  }
  
  .mobile-menu-close {
    background: rgba(46, 189, 168, 0.1);
    border: 1px solid rgba(46, 189, 168, 0.2);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .mobile-menu-close:hover {
    background: rgba(46, 189, 168, 0.2);
    border-color: rgba(46, 189, 168, 0.3);
  }
  
  .close-icon {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 300;
  }

  /* Mobile Menu Content */
  .mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
  }
  
  .mobile-menu-section {
    margin-bottom: 2rem;
  }
  
  .mobile-menu-section:last-child {
    margin-bottom: 0;
  }
  
  .mobile-menu-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding: 0 1.5rem;
  }
  
  /* Mobile Menu Items */
  .mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
    width: 100%;
    text-align: left;
    position: relative;
  }
  
  .mobile-menu-item:hover {
    background: rgba(46, 189, 168, 0.08);
  }
  
  .mobile-menu-item:active {
    background: rgba(46, 189, 168, 0.12);
    transform: scale(0.98);
  }
  
  .mobile-menu-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 189, 168, 0.1);
    border-radius: 10px;
    color: var(--primary);
    flex-shrink: 0;
  }
  
  .mobile-menu-item-content {
    flex: 1;
    min-width: 0;
  }
  
  .mobile-menu-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
  }
  
  .mobile-menu-item-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.3;
  }
  
  /* Profile Section in Mobile Menu */
  .mobile-profile-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .mobile-profile-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1rem;
  }
  
  .mobile-profile-header .user-icon {
    color: var(--primary);
  }
  
  .mobile-profile-links {
    padding-left: 3.5rem;
  }
  
  .mobile-profile-link {
    display: flex;
    align-items: center;
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease-out;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.8);
    will-change: background, color, transform, border-color;
  }
  
  .mobile-profile-link:hover {
    background: rgba(46, 189, 167, 0.35);
    color: var(--primary);
    transform: translateX(4px);
    border-color: rgba(5, 237, 253, 0.6);
  }
  
  /* Profile Submenu */
  .mobile-profile-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  
  .mobile-profile-btn .chevron {
    transition: transform 0.2s ease-out;
  }
  
  .mobile-profile-btn.open .chevron {
    transform: rotate(180deg);
  }
  
  .mobile-submenu {
    padding-left: 1rem;
    margin-top: 0.5rem;
    display: none;
  }
  
  .mobile-submenu.open {
    display: block;
  }
  
  /* Mobile Menu Footer */
  .mobile-menu-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    background: var(--surface-elevated);
    flex-shrink: 0;
  }
  
  .mobile-menu-footer-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
  }

  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: none;
    background: rgba(46, 189, 168, 0.1);
    border: 1px solid rgba(46, 189, 168, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 120;
    transition: all 0.2s ease-out;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  
  .mobile-menu-btn:hover {
    background: rgba(46, 189, 168, 0.15);
    border-color: rgba(46, 189, 168, 0.3);
    transform: translateY(-1px);
  }
  
  .hamburger {
    position: relative;
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.2s ease-out;
  }
  
  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.2s ease-out;
  }
  
  .hamburger::before {
    top: -6px;
  }
  
  .hamburger::after {
    top: 6px;
  }
  
  .hamburger.open {
    background: transparent;
  }
  
  .hamburger.open::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .hamburger.open::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .navbar {
      left: 1rem;
      right: 1rem;
      top: 1rem;
    }
  
    .nav-content {
      padding: 0.75rem 1.5rem;
    }
  
    .logo {
      font-size: 1.25rem;
      letter-spacing: 0.2em;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
    }
  }
  
  @media (max-width: 768px) {
    .mobile-menu-btn,
    .mobile-vertical-menu-btn {
      display: block;
    }
  
    .nav-menu-1,
    .nav-menu-2,
    .nav-menu-3,
    .nav-menu-4 {
      display: none;
    }
  
    .nav-content {
      padding: 0.75rem 1rem;
    }
  
    .logo {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%) scale(1) !important;
      -webkit-transform: translate(-50%, -50%) scale(1) !important;
      margin: 0;
      font-size: 1.125rem;
      letter-spacing: 0.15em;
      /* Disable all hover animations on mobile */
      transition: none !important;
    }
  
    .logo:hover {
      /* Disable hover effects on mobile - keep same scale */
      transform: translate(-50%, -50%) scale(1) !important;
      -webkit-transform: translate(-50%, -50%) scale(1) !important;
      letter-spacing: 0.15em !important;
    }
  
    .logo::before {
      /* Disable the black overlay animation on mobile */
      clip-path: inset(0 100% 0 0) !important;
      transition: none !important;
    }
  
    .logo:hover::before {
      /* Keep the overlay hidden on mobile */
      clip-path: inset(0 100% 0 0) !important;
    }
  
    /* Disable dark theme logo animations on mobile too */
    [data-theme="dark"] .logo {
      background: linear-gradient(135deg, #2eb3bd 0%, #6ce9e9 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      transition: none !important;
    }
  
    [data-theme="dark"] .logo:hover {
      transform: translate(-50%, -50%) scale(1) !important;
      -webkit-transform: translate(-50%, -50%) scale(1) !important;
    }
  
    [data-theme="dark"] .logo::before {
      background: #fff;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      clip-path: inset(0 100% 0 0) !important;
      transition: none !important;
    }
  
    [data-theme="dark"] .logo:hover::before {
      clip-path: inset(0 100% 0 0) !important;
    }
  
    .nav-menu-3 {
      margin-left: auto;
    }
  
    .profile-btn {
      padding: 0.5rem;
    }
  
    .profile-btn span {
      display: none;
    }
  } 
  
  /* Mobile Menu Display Rules - Outside media query to apply globally */
  .mobile-menu {
    display: none; /* Hide mobile menu by default */
  }
  
  .mobile-menu.active {
    display: flex !important; /* Force display when active */
  }
  
  .dashboard-menu {
    display: none; /* Hide dashboard menu by default */
  }
  
  .dashboard-menu.active {
    display: flex !important; /* Force display when active */
  } 
  
  /* Mobile Menus */
  .mobile-nav-menu,
  .mobile-profile-menu,
  .mobile-vertical-menu {
    position: fixed;
    top: 5rem;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    background: rgba(77, 242, 248, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(56, 245, 252, 0.5);
    border-radius: 24px;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-out;
    box-shadow: 
      0 10px 30px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display: none;
    z-index: 1000;
    will-change: opacity, visibility, transform;
  }
  
  .mobile-nav-menu {
    left: 1rem;
    width: 280px;
    transform: translateX(-10px);
  }
  
  .mobile-profile-menu {
    left: 1rem;
    width: 280px;
    transform: translateX(-10px);
  }
  
  .mobile-vertical-menu {
    right: 1rem;
    width: 280px;
    transform: translateX(10px);
  }
  
  .mobile-nav-menu.open,
  .mobile-profile-menu.open,
  .mobile-vertical-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    display: block;
  }
  
  /* Mobile Menu Links */
  .mobile-link,
  .mobile-vertical-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease-out;
    border-radius: 16px;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    will-change: background, color, transform, border-color;
    width: 100%;
    cursor: pointer;
  }
  
  .mobile-link:last-child,
  .mobile-vertical-link:last-child {
    margin-bottom: 0;
  }
  
  .mobile-link:hover,
  .mobile-vertical-link:hover {
    background: rgba(46, 189, 167, 0.35);
    color: var(--primary);
    transform: translateX(4px);
    border-color: rgba(5, 237, 253, 0.6);
    box-shadow: 
      0 4px 8px rgba(6, 153, 163, 0.15);
  }
  
  /* Vertical Menu Specific Styles */
  .mobile-vertical-link {
    font-size: 1rem;
    padding: 0.875rem 1rem;
    justify-content: flex-start;
  }
  
  .mobile-vertical-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0.75rem 0;
    border-radius: 1px;
  }
  
  /* Mobile Menu Buttons */
  .mobile-nav-btn,
  .mobile-profile-btn,
  .mobile-vertical-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 120;
    transition: all 0.2s ease-out;
  }
  
  .mobile-nav-btn {
    margin-right: 0.5rem;
  }
  
  .mobile-profile-btn {
    margin-left: 0.5rem;
  }
  
  .mobile-vertical-menu-btn {
    margin-left: 0.5rem;
  }
  
  .hamburger,
  .profile-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.2s ease-out;
  }
  
  .hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
  }
  
  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.2s ease-out;
  }
  
  .hamburger::before {
    top: -6px;
  }
  
  .hamburger::after {
    top: 6px;
  }
  
  .hamburger.open {
    background: transparent;
  }
  
  .hamburger.open::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .hamburger.open::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  @media (max-width: 768px) {
    .mobile-nav-btn,
    .mobile-profile-btn,
    .mobile-vertical-menu-btn {
      display: flex;
    }
  }
  
  /* Theme Toggle Button */
  .theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 189, 168, 0.15);
    border: 1px solid rgba(46, 189, 168, 0.2);
    border-radius: 12px;
    padding: 0.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease-out;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateZ(0);
    will-change: transform, background, border-color;
  }
  
  .theme-toggle-btn:hover {
    background: rgba(46, 189, 168, 0.2);
    border-color: rgba(46, 189, 168, 0.3);
    transform: translateY(-1px);
    box-shadow: 
      0 4px 12px rgba(46, 189, 168, 0.15),
      0 2px 4px rgba(46, 189, 168, 0.1);
  }
  
  .theme-toggle-mobile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-out;
    border-radius: 0;
    text-align: left;
    width: 100%;
    justify-content: flex-start;
    will-change: background, color;
  }
  
  .theme-toggle-mobile:hover {
    background: var(--surface-hover);
    color: var(--primary);
  }
  
/* Dark Mode Mobile Menu Styles */
[data-theme="dark"] .mobile-menu {
  background: rgba(0, 0, 0, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    -10px 0 30px rgba(0, 0, 0, 0.3),
    -4px 0 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .mobile-menu-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .mobile-menu-footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .mobile-menu-item:hover {
  background: rgba(46, 189, 168, 0.12);
}

[data-theme="dark"] .mobile-menu-item:active {
  background: rgba(46, 189, 168, 0.18);
}

[data-theme="dark"] .mobile-menu-item-icon {
  background: rgba(46, 189, 168, 0.15);
  color: var(--primary);
}

/* Dashboard Mobile Menu Button */
.dashboard-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface-elevated);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dashboard-menu-btn:hover {
  background: rgba(46, 189, 168, 0.12);
  transform: translateY(-1px);
}

.dashboard-menu-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(46, 189, 168, 0.3);
}

/* Dashboard Mobile Menu Overlay */
.dashboard-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.dashboard-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Dashboard Mobile Menu */
.dashboard-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: var(--surface-elevated);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--glass-border);
  box-shadow: 
    -10px 0 30px rgba(0, 0, 0, 0.1),
    -4px 0 12px rgba(0, 0, 0, 0.05);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dashboard-menu.active {
  transform: translateX(0);
}

/* Dashboard Menu Header */
.dashboard-menu-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  background: var(--surface-elevated);
  flex-shrink: 0;
}

.dashboard-menu-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-menu-title span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dashboard-menu-close {
  background: rgba(46, 189, 168, 0.1);
  border: 1px solid rgba(46, 189, 168, 0.2);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dashboard-menu-close:hover {
  background: rgba(46, 189, 168, 0.2);
  border-color: rgba(46, 189, 168, 0.3);
}

/* Dashboard Menu Content */
.dashboard-menu-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

.dashboard-menu-section {
  margin-bottom: 2rem;
}

.dashboard-menu-section:last-child {
  margin-bottom: 0;
}

.dashboard-menu-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  padding: 0 1.5rem;
}

/* Dashboard Menu Items */
.dashboard-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0;
  width: 100%;
  text-align: left;
  position: relative;
}

.dashboard-menu-item:hover {
  background: rgba(46, 189, 168, 0.08);
}

.dashboard-menu-item:active {
  background: rgba(46, 189, 168, 0.12);
  transform: scale(0.98);
}

.dashboard-menu-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 189, 168, 0.1);
  border-radius: 10px;
  color: var(--primary);
  flex-shrink: 0;
}

.dashboard-menu-item-content {
  flex: 1;
  min-width: 0;
}

.dashboard-menu-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.dashboard-menu-item-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Dashboard Menu Footer */
.dashboard-menu-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--glass-border);
  background: var(--surface-elevated);
  flex-shrink: 0;
}

.dashboard-menu-footer-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.4;
}

/* Dark Mode Dashboard Menu Styles */
[data-theme="dark"] .dashboard-menu {
  background: rgba(0, 0, 0, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    -10px 0 30px rgba(0, 0, 0, 0.3),
    -4px 0 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .dashboard-menu-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dashboard-menu-footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dashboard-menu-item:hover {
  background: rgba(46, 189, 168, 0.12);
}

[data-theme="dark"] .dashboard-menu-item:active {
  background: rgba(46, 189, 168, 0.18);
}

[data-theme="dark"] .dashboard-menu-item-icon {
  background: rgba(46, 189, 168, 0.15);
  color: var(--primary);
}
  
  /* Dark Mode Navbar Styles */
  [data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.95;
    transform: none;
  }
  
  [data-theme="dark"] .navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 1;
    transform: none;
  }
  
  [data-theme="dark"] .logo {
    background: linear-gradient(135deg, #2eb3bd 0%, #6ce9e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  [data-theme="dark"] .logo::before {
    background: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  [data-theme="dark"] .profile-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
  }
  
  [data-theme="dark"] .profile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  [data-theme="dark"] .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
  }
  
  [data-theme="dark"] .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  [data-theme="dark"] .profile-dropdown {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  [data-theme="dark"] .mobile-nav-menu,
  [data-theme="dark"] .mobile-profile-menu {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
  } 
  
  /* Quote and estimated price styles */
  .price-request {
    color: #ff9800;
    font-weight: 500;
  }
  
  /* Dark mode support for quote styles */
  [data-theme="dark"] .price-request {
    color: #ffb74d;
  } 
  
  
  
/* Unified CSS Utilities - Consolidated from multiple files */

/* ===================
   CONTAINER UTILITIES
   =================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===================
   BUTTON UTILITIES
   =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-white {
  background: var(--surface);
  color: var(--text-primary);
  border: none;
}

.btn-white:hover {
  background: var(--surface-elevated);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

/* ===================
   TYPOGRAPHY UTILITIES
   =================== */
.text-center {
  text-align: center;
}

.heading-primary {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
}

.heading-secondary {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text-primary);
}

.text-body {
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-lead {
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  font-size: 1.125rem;
}

/* ===================
   SPACING UTILITIES
   =================== */
.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.p-2 {
  padding: 2rem;
}

.p-1 {
  padding: 1rem;
}

.mx-auto {
  margin: 0 auto;
}

.hidden {
  display: none;
}

/* ===================
   FLEXBOX UTILITIES
   =================== */
.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

/* ===================
   GRID UTILITIES
   =================== */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-gap-1 {
  gap: 1rem;
}

.grid-gap-2 {
  gap: 2rem;
}

/* ===================
   POSITIONING UTILITIES
   =================== */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

/* ===================
   BORDER UTILITIES
   =================== */
.rounded {
  border-radius: 8px;
}

.rounded-sm {
  border-radius: 4px;
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-full {
  border-radius: 50%;
}

/* ===================
   DISPLAY UTILITIES
   =================== */
.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.none {
  display: none;
}

/* ===================
   WIDTH/HEIGHT UTILITIES
   =================== */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.max-w-full {
  max-width: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

/* ===================
   RESPONSIVE UTILITIES
   =================== */
@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* Auth Pages Styles */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
  position: relative;
  z-index: 10;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  position: relative;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.2s ease-out;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  will-change: transform, box-shadow, border-color;
}

.auth-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  color: #1a202c;
  transition: all 0.2s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: #2eb3bd;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(46, 179, 189, 0.1);
}

.auth-form button {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #2eb8bd 0%, #6ce9e9 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 179, 189, 0.3);
}

.auth-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-link {
  color: #2eb3bd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-link:hover {
  color: #1dd1a1;
}

/* Dark mode support */
[data-theme="dark"] .auth-form input {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

[data-theme="dark"] .auth-form input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .auth-form button {
  background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
  color: #000000;
}

[data-theme="dark"] .auth-form button:hover {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .auth-link {
  color: #ffffff;
}

[data-theme="dark"] .auth-link:hover {
  color: #00d4ff;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .auth-container {
    padding: 0.5rem;
    align-items: flex-start;
    padding-top: 2rem;
  }
  
  .auth-card {
    max-width: 100%;
    width: 100%;
  }
  
  .glass-card {
    padding: 1rem;
    border-radius: 16px;
  }
  
  .auth-form {
    gap: 0.75rem;
  }
  
  .auth-form input {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }
  
  .auth-links {
    margin-top: 1rem !important;
  }
  
  .auth-links p {
    font-size: 0.875rem;
  }
}

/* Fix button alignment for all screen sizes */
.auth-form button,
.auth-form .btn,
.btn-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* Override any conflicting styles */
.auth-form .btn-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* Hero Section - Minimal Glass Morphism Design */
.hero {
  min-height: 100vh;
  height: 100vh; /* Added explicit height to contain animations */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 1rem; /* Consistent padding - no change based on navbar state */
  position: relative;
  background: var(--bg-hero);
  overflow: hidden;
  transition: background 0.2s ease-out;
  margin-top: 0; /* Removed negative margin */
  /* Optimized for Safari/Mac */
  will-change: background;
  transform: translateZ(0);
}

/* Remove navbar-dependent padding changes to prevent jumping */
/* .navbar.sticky ~ .hero {
  padding-top: 4rem;
} */

@media (max-width: 768px) {
  .hero {
    padding: 5rem 0 0.5rem; /* Consistent mobile padding */
    min-height: 91.5svh; /* használjuk a small viewport height-ot mobilon */
    height: 91.5svh; /* Added explicit height for mobile */
    /* Mobile scroll optimizations */
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    /* Disable problematic animations */
    animation: none;
  }
  
  /* Remove navbar-dependent mobile padding changes */
  /* .navbar.sticky ~ .hero {
    padding-top: 3rem;
  } */
  
  /* Disable background animations on mobile */
  .hero::before,
  .hero::after {
    animation: none;
  }
  
  /* Disable card animations on mobile */
  .hero-card {
    animation: none;
    transform: none;
  }
}

/* Hero Container */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem; /* Reduced padding */
  position: relative;
  z-index: 10; /* Increased z-index to be above background elements */
  width: 100%;
  animation: containerFadeIn 1s ease-out;
  will-change: transform, opacity;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@keyframes containerFadeIn {
  0% { 
    opacity: 0; 
    transform: translateY(20px);
  }
  100% { 
    opacity: 1; 
    transform: translateY(0);
  }
}

/* Simplified Grid System */
.hero-grid {
  display: grid;
  gap: 1rem; /* Reduced gap */
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto 2rem auto; /* Reduced margin */
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem; /* Reduced gap */
    max-width: 600px;
    margin: 0 auto 1.5rem auto; /* Reduced margin */
  }
  
  .hero-brand-card {
    grid-column: 1;
    grid-row: 1;
  }
  
  .hero-info-card:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
  }
  
  .hero-info-card:nth-of-type(3) {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem; /* Further reduced gap */
    margin: 0 auto 1rem auto; /* Further reduced margin */
  }

  .hero-brand-card {
    grid-column: 1;
    grid-row: 1;
  }
  
  .hero-info-card:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
  }
  
  /* Mobilon csak az első info kártyát jelenítjük meg */
  .hero-info-card:nth-of-type(3) {
    display: none;
  }
}

/* Glass Morphism Cards - Smaller & Cleaner */
.hero-card {
  background: rgba(255, 255, 255, 0.096);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.404);
  border-radius: 20px;
  padding: 1.5rem; /* Reduced padding */
  position: relative;
  z-index: 5; /* Ensure cards are above background elements */
  overflow: hidden;
  transition: all 0.2s ease-out;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.04),
    0 4px 16px rgba(46, 189, 168, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: cardFloat 4s ease-in-out infinite;
  will-change: transform, backdrop-filter;
  transform: translateZ(0);
}

/* Dark Mode Cards */
[data-theme="dark"] .hero-card {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero-card:hover {
  background: rgba(85, 85, 85, 0.08);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46, 189, 168, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(46, 189, 168, 0.3);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem; /* Reduced margin */
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(46, 189, 168, 0.08);
  transition: all 0.2s ease-out;
  will-change: transform, background;
}

/* Dark Mode Badge */
[data-theme="dark"] .hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Card Positioning */
.hero-brand-card {
  grid-column: 1;
  grid-row: 1 / 3;
}

.hero-info-card:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}

.hero-info-card:nth-of-type(3) {
  grid-column: 2;
  grid-row: 2;
}

/* Kompaktabb stílus a kis kártyákhoz */
.hero-info-card {
  padding: 1.5rem; /* Reduced padding */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px; /* Reduced min-height */
}

.hero-info-card .hero-quick-stats {
  margin-bottom: 0;
  width: 100%;
}

.hero-info-card .hero-card-title {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.hero-info-card .quick-stat .stat-number {
  font-size: 1.25rem; /* Reduced font size */
}

.hero-info-card .quick-stat .stat-label {
  font-size: 0.75rem;
}

.hero-info-card .hero-highlight {
  font-size: 0.8rem;
  padding: 0.6rem 0.8rem;
}

/* Subtle Hover Effects */
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.hero-card:hover {
  transform: translateY(-2px);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.06),
    0 6px 20px rgba(46, 189, 168, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: rgba(46, 189, 168, 0.3);
}

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

/* Typography */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 0.75rem; /* Reduced margin */
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

@media (max-width: 768px) {
  .hero-title {
    margin-bottom: 0.5rem; /* Further reduced margin */
    gap: 0.15rem;
  }

  .platform-text {
    font-size: clamp(1.75rem, 4vw, 2.5rem); /* Reduced font size */
    margin-bottom: 0.5rem;
  }

  .subtitle-text {
    font-size: clamp(1rem, 3vw, 1.25rem); /* Reduced font size */
  }

  .hero-description {
    font-size: 0.95rem; /* Reduced font size */
    margin-bottom: 0.75rem; /* Reduced margin */
  }

  .hero-badge {
    margin-bottom: 0.75rem; /* Reduced margin */
    font-size: 0.8rem; /* Reduced font size */
    padding: 0.4rem 0.8rem;
  }
}

.brand-text {
  font-family: var(--font-orbitron), 'Orbitron', monospace;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.platform-text {
  font-family: var(--font-orbitron), 'Orbitron', monospace;
  font-size: clamp(2.7rem, 3.7vw, 2.7rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.xbox-text {
  color: #107C10;
  -webkit-text-fill-color: #107C10;
  animation: brandTextShine 3s ease-in-out infinite;
  white-space: nowrap;
}

.ps-text {
  color: #006FCD;
  -webkit-text-fill-color: #006FCD;
  animation: brandTextShine 3s ease-in-out infinite;
  white-space: nowrap;
}

.and-text {
  color: var(--text-secondary);
  opacity: 0.5;
  font-weight: 700;
  padding: 0 0.25rem;
  white-space: nowrap;
}

[data-theme="dark"] .and-text {
  opacity: 1;
  font-weight: 700;
  padding: 0 0.25rem;
  white-space: nowrap;
}

.subtitle-text {
  font-family: var(--font-orbitron), 'Orbitron', monospace;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  animation: subtitleFade 1.5s ease-out 0.5s both;
}

@keyframes subtitleFade {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
  animation: descriptionFade 1.5s ease-out 0.8s both;
}

@keyframes descriptionFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Titles */
.hero-card-title {
  font-family: var(--font-orbitron), 'Orbitron', monospace;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-card-title .icon {
  color: var(--primary);
  font-size: 1.25rem;
  animation: iconBounce 2s ease-in-out infinite;
}

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

/* Hero Actions - Centered Below Cards */
.hero-actions-center {
  display: flex;
  justify-content: center;
  gap: 1rem; /* Reduced gap */
  flex-wrap: wrap;
  margin-top: 0.5rem; /* Reduced margin */
  animation: actionsFade 1.5s ease-out 1.2s both;
}

@keyframes actionsFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-actions-center {
    gap: 0.75rem; /* Further reduced gap */
    margin-top: 0.25rem; /* Further reduced margin */
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.75rem 1.25rem; /* Reduced padding */
    font-size: 0.875rem; /* Reduced font size */
    min-width: 100px; /* Reduced min-width */
  }
}

/* Enhanced Buttons */
.btn-hero-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease-out;
  position: relative;
  overflow: hidden;
  opacity: 0.8;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  will-change: transform, box-shadow;
}

/* Dark Mode Primary Button */
[data-theme="dark"] .btn-hero-primary {
  background: var(--gradient-primary);
  color: var(--surface);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease-out;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  will-change: transform, background, border-color;
}

/* Dark Mode Secondary Button */
[data-theme="dark"] .btn-hero-secondary {
  background: #5b5b5b0d;;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Quick Stats - Simple Version */
.hero-quick-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.quick-stat {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.quick-stat svg {
  color: var(--primary);
}

.stat-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-orbitron), 'Orbitron', monospace;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease-out;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Highlight */
.hero-highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #059669;
  text-align: center;
  justify-content: center;
  animation: highlightGlow 4s ease-in-out infinite;
}

@keyframes highlightGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(34, 197, 94, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
  }
}

.hero-highlight .icon {
  color: #10b981;
  font-size: 1rem;
  animation: shieldSpin 3s linear infinite;
}

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

/* Scroll Down Button - Clean Style */
.scroll-down-btn {
  position: absolute;
  bottom: 1rem; /* Reduced from 2rem */
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  width: 50px; /* Reduced from 60px */
  height: 50px; /* Reduced from 60px */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-out;
  animation: floatScrollBtn 3s ease-in-out infinite;
  gap: 3px; /* Reduced from 4px */
  will-change: transform;
}

.scroll-down-btn:hover {
  transform: translateX(-50%) scale(1.1);
  outline: none;
  border: none;
  box-shadow: none;
}

.scroll-down-btn:active {
  transform: translateX(-50%) scale(0.95);
  outline: none;
  border: none;
  box-shadow: none;
}

.scroll-down-btn:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .scroll-down-btn {
    bottom: 0.5rem; /* Further reduced */
    width: 35px; /* Further reduced */
    height: 35px; /* Further reduced */
  }

  .chevron {
    width: 18px; /* Reduced from 20px */
    height: 5px; /* Reduced from 6px */
  }
}

.chevron {
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale(0.3);
  animation: scroll-anim 2s ease-out infinite;
  position: relative;
  display: block;
}

.chevron::before,
.chevron::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: rgba(70, 70, 70, 0.7);
  transition: all 0.2s ease-out;
}

.chevron::before {
  left: 0;
  transform: skew(0deg, 33deg);
}

.chevron::after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -33deg);
}

.chevron:nth-child(1) {
  animation-delay: 0s;
}

.chevron:nth-child(2) {
  animation-delay: 0.15s;
}

.chevron:nth-child(3) {
  animation-delay: 0.3s;
}

.scroll-down-btn:hover .chevron::before,
.scroll-down-btn:hover .chevron::after {
  background: rgba(0, 0, 0, 0.9);
}

@keyframes scroll-anim {
  0% {
    opacity: 0;
    transform: scale(0.3) translate3d(0, -100%, 0);
  }
  20% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
  80% {
    opacity: 1;
    transform: scale(1) translate3d(0, 100%, 0);
  }
  100% {
    opacity: 0;
    transform: scale(0.3) translate3d(0, 200%, 0);
  }
}

@keyframes floatScrollBtn {
  0%, 100% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
} 
/* Optimized Hero Background Animations */

/* Static Grid Background */
.hero-grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, rgba(46, 189, 168, 0.1) 2px, transparent 2px),
    linear-gradient(rgba(46, 189, 168, 0.1) 2px, transparent 2px);
  background-size: 100px 100px;
  background-position: 0 0, 0 0;
  pointer-events: none;
  z-index: 1; /* Keep low z-index */
  opacity: 0.3;
}

[data-theme="dark"] .hero-grid-background {
  background-image: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 2px, transparent 2px),
    linear-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px);
}

/* Circuit Container */
.hero-circuit-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2; /* Keep low z-index */
  overflow: hidden;
}

/* Optimized Circuit Lines */
.hero-circuit-line {
  position: absolute;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(46, 189, 168, 0.3) 15%, 
    rgba(46, 189, 168, 0.6) 50%,
    rgba(46, 189, 168, 0.3) 85%, 
    transparent 100%
  );
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  box-shadow: 0 0 4px rgba(46, 189, 168, 0.2);
  will-change: transform;
  transform: translateZ(0);
}

/* Dark Mode Circuit Lines */
[data-theme="dark"] .hero-circuit-line {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 15%, 
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 85%, 
    transparent 100%
  );
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
}

.hero-circuit-line.horizontal {
  height: 2px;
  width: 200px;
  top: var(--top);
  left: -200px;
  animation: heroCircuitFlow 15s infinite;
  animation-delay: var(--delay);
}

.hero-circuit-line.vertical {
  width: 2px;
  height: 150px;
  left: var(--left);
  top: -150px;
  animation: heroCircuitFlowVertical 12s infinite;
  animation-delay: var(--delay);
  background: linear-gradient(0deg, 
    transparent 0%, 
    rgba(46, 189, 168, 0.3) 15%, 
    rgba(46, 189, 168, 0.6) 50%,
    rgba(46, 189, 168, 0.3) 85%, 
    transparent 100%
  );
}

[data-theme="dark"] .hero-circuit-line.vertical {
  background: linear-gradient(0deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 15%, 
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 85%, 
    transparent 100%
  );
}

/* Optimized Circuit Nodes */
.hero-circuit-node {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(46, 189, 168, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(46, 189, 168, 0.3);
  animation: heroCircuitPulse 4s ease-in-out infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
  transform: translateZ(0);
}

/* Dark Mode Circuit Nodes */
[data-theme="dark"] .hero-circuit-node {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.hero-circuit-node::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(46, 189, 168, 0.2);
  border-radius: 50%;
  animation: heroCircuitPulse 4s ease-in-out infinite reverse;
}

[data-theme="dark"] .hero-circuit-node::before {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Static Radial Highlights */
.hero-radial-highlights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(46, 189, 168, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(46, 189, 168, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.01) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(46, 189, 168, 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1; /* Keep low z-index */
}

[data-theme="dark"] .hero-radial-highlights {
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.01) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.005) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 40%);
}

/* Optimized Animations */
@keyframes heroCircuitFlow {
  0% {
    left: -200px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes heroCircuitFlowVertical {
  0% {
    top: -150px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

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

/* Mobile Optimizations */
@media (max-width: 768px) {
  .hero-circuit-line {
    animation: none !important;
  }
  
  .hero-circuit-node {
    animation: none !important;
  }
  
  .hero-grid-background {
    opacity: 0.2;
  }
  
  .hero-radial-highlights {
    opacity: 0.5;
  }
}

/* Performance Optimizations */
.hero-circuit-line,
.hero-circuit-node {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
  -webkit-perspective: 1000px;
} 
/* Gaming Console Elements Background - Pure CSS Solution */
.gaming-elements-container {
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    pointer-events: none;
  z-index: 3;
  overflow: hidden;
    opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    will-change: opacity, visibility;
    transform: translateZ(0);
  }
  
  .gaming-elements-container.visible {
    opacity: 1;
    visibility: visible;
  }

/* Gaming Element Base Styles */
.gaming-element {
  position: absolute;
  pointer-events: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease-in-out;
  z-index: 3;
  font-size: 16px;
  opacity: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Pause animations when container is not visible */
  animation-play-state: paused;
}
  
  .gaming-elements-container.visible .gaming-element {
    opacity: 1;
    /* Resume animations when container is visible */
    animation-play-state: running;
  }
  
  /* Xbox Controller Buttons - Enhanced Glossy Glass Effect */
  .gaming-element.xbox-a {
    width: 32px;
    height: 32px;
    background: radial-gradient(circle at 25% 25%, #555555, #111111);
    border: 1px solid var(--surface-border);
    color: var(--xbox-green);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 
      0 4px 12px rgba(0, 0, 0, 0.5),
      inset 0 2px 4px rgba(255, 255, 255, 0.4),
      inset 0 -2px 4px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.1);
    text-shadow: 
      0 0 8px #00ff00,
      0 0 16px #00ff00,
      0 1px 2px rgba(0, 0, 0, 0.8);
  animation-name: trianglePath1;
  animation-delay: 0s;
  animation-duration: 10s;
  top: 15%;
  left: 20%;
    position: relative;
  }
  
  .gaming-element.xbox-a::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 40%;
    height: 30%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
  }
  
  .gaming-element.xbox-b {
    width: 36px;
    height: 36px;
    background: radial-gradient(circle at 25% 25%, #555555, #111111);
    border: 1px solid #666666;
    color: #ff0040;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 
      0 4px 12px rgba(0, 0, 0, 0.5),
      inset 0 2px 4px rgba(255, 255, 255, 0.4),
      inset 0 -2px 4px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.1);
    text-shadow: 
      0 0 8px #ff0040,
      0 0 16px #ff0040,
      0 1px 2px rgba(0, 0, 0, 0.8);
  animation-name: trianglePath2;
  animation-delay: 1s;
  animation-duration: 12s;
  top: 25%;
  left: 80%;
    position: relative;
  }
  
  .gaming-element.xbox-b::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 40%;
    height: 30%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
  }
  
  .gaming-element.xbox-x {
    width: 34px;
    height: 34px;
    background: radial-gradient(circle at 25% 25%, #555555, #111111);
    border: 1px solid #666666;
    color: #0080ff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 
      0 4px 12px rgba(0, 0, 0, 0.5),
      inset 0 2px 4px rgba(255, 255, 255, 0.4),
      inset 0 -2px 4px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.1);
    text-shadow: 
      0 0 8px #0080ff,
      0 0 16px #0080ff,
      0 1px 2px rgba(0, 0, 0, 0.8);
  animation-name: trianglePath3;
  animation-delay: 2s;
  animation-duration: 11s;
  top: 75%;
  left: 15%;
    position: relative;
  }
  
  .gaming-element.xbox-x::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 40%;
    height: 30%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
  }
  
  .gaming-element.xbox-y {
    width: 35px;
    height: 35px;
    background: radial-gradient(circle at 25% 25%, #555555, #111111);
    border: 1px solid #666666;
    color: #ffff00;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 
      0 4px 12px rgba(0, 0, 0, 0.5),
      inset 0 2px 4px rgba(255, 255, 255, 0.4),
      inset 0 -2px 4px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.1);
    text-shadow: 
      0 0 8px #ffff00,
      0 0 16px #ffff00,
      0 1px 2px rgba(0, 0, 0, 0.8);
  animation-name: trianglePath4;
  animation-delay: 3s;
  animation-duration: 9s;
  top: 85%;
  left: 85%;
    position: relative;
  }
  
  .gaming-element.xbox-y::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 40%;
    height: 30%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
  }
  
  /* Xbox Controller Shoulder Buttons - Gray Background, No Lines */
  .gaming-element.xbox-lt {
    width: 38px;
    height: 24px;
    background: radial-gradient(ellipse at 30% 30%, #888888, #555555);
    border: 1px solid #666666;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    position: relative;
    box-shadow: 
      0 3px 8px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  animation-name: trianglePath4;
  animation-delay: 0.8s;
  animation-duration: 12.5s;
  top: 10%;
  left: 50%;
  }
  
  .gaming-element.xbox-lt::after {
    content: 'LB';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  }
  
  .gaming-element.xbox-rt {
    width: 38px;
    height: 24px;
    background: radial-gradient(ellipse at 30% 30%, #888888, #555555);
    border: 1px solid #666666;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    position: relative;
    box-shadow: 
      0 3px 8px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  animation-name: trianglePath5;
  animation-delay: 1.8s;
  animation-duration: 10.8s;
  top: 90%;
  left: 50%;
  }
  
  .gaming-element.xbox-rt::after {
    content: 'RB';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  }
  
  /* PlayStation Controller Buttons - Deep Engraved Effect */
  .gaming-element.ps-triangle {
    width: 35px;
    height: 35px;
    background: linear-gradient(145deg, #d0d0d0, #f8f8f8);
    border: 1px solid #aaaaaa;
    border-radius: 50%;
    position: relative;
    box-shadow: 
      0 2px 6px rgba(0, 0, 0, 0.25),
      inset 0 3px 6px rgba(0, 0, 0, 0.15),
      inset 0 -1px 3px rgba(255, 255, 255, 0.9),
      inset 0 1px 0 rgba(0, 0, 0, 0.1);
  animation-name: trianglePath5;
  animation-delay: 0.5s;
  animation-duration: 13s;
  top: 50%;
  left: 10%;
  }
  
  .gaming-element.ps-triangle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 14px solid transparent;
    border-bottom-color: #444444;
    margin-top: -2px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  }
  
  .gaming-element.ps-triangle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 9px solid #f8f8f8;
    margin-top: -1px;
  }
  
  .gaming-element.ps-circle {
    width: 34px;
    height: 34px;
    background: linear-gradient(145deg, #d0d0d0, #f8f8f8);
    border: 1px solid #aaaaaa;
    border-radius: 50%;
    position: relative;
    box-shadow: 
      0 2px 6px rgba(0, 0, 0, 0.25),
      inset 0 3px 6px rgba(0, 0, 0, 0.15),
      inset 0 -1px 3px rgba(255, 255, 255, 0.9),
      inset 0 1px 0 rgba(0, 0, 0, 0.1);
  animation-name: trianglePath1;
  animation-delay: 1.5s;
  animation-duration: 10.5s;
  top: 50%;
  left: 90%;
  }
  
  .gaming-element.ps-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2.5px solid #444444;
    border-radius: 50%;
    background: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  }
  
  .gaming-element.ps-square {
    width: 34px;
    height: 34px;
    background: linear-gradient(145deg, #d0d0d0, #f8f8f8);
    border: 1px solid #aaaaaa;
    border-radius: 50%;
    position: relative;
    box-shadow: 
      0 2px 6px rgba(0, 0, 0, 0.25),
      inset 0 3px 6px rgba(0, 0, 0, 0.15),
      inset 0 -1px 3px rgba(255, 255, 255, 0.9),
      inset 0 1px 0 rgba(0, 0, 0, 0.1);
  animation-name: trianglePath2;
  animation-delay: 2.5s;
  animation-duration: 11.5s;
  top: 35%;
  left: 35%;
  }
  
  .gaming-element.ps-square::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border: 2.5px solid #444444;
    background: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  }
  
  .gaming-element.ps-cross {
    width: 34px;
    height: 34px;
    background: linear-gradient(145deg, #d0d0d0, #f8f8f8);
    border: 1px solid #aaaaaa;
    border-radius: 50%;
    position: relative;
    box-shadow: 
      0 2px 6px rgba(0, 0, 0, 0.25),
      inset 0 3px 6px rgba(0, 0, 0, 0.15),
      inset 0 -1px 3px rgba(255, 255, 255, 0.9),
      inset 0 1px 0 rgba(0, 0, 0, 0.1);
  animation-name: trianglePath3;
  animation-delay: 3.5s;
  animation-duration: 9.5s;
  top: 65%;
  left: 65%;
  }
  
  .gaming-element.ps-cross::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 3px;
    background: #444444;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 1.5px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  }
  
  .gaming-element.ps-cross::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 3px;
    background: #444444;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: 1.5px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  }
  
  /* PlayStation Controller Shoulder Buttons - Gray Background, No Lines */
  .gaming-element.ps-l2 {
    width: 36px;
    height: 22px;
    background: radial-gradient(ellipse at 30% 30%, #888888, #555555);
    border: 1px solid #666666;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 8px;
    position: relative;
    box-shadow: 
      0 1px 3px rgba(0, 0, 0, 0.3),
      inset 0 -1px 0 rgba(255, 255, 255, 0.1),
      inset 0 1px 0 rgba(0, 0, 0, 0.2);
  animation-name: trianglePath1;
  animation-delay: 2.8s;
  animation-duration: 11.8s;
  top: 45%;
  left: 25%;
  }
  
  .gaming-element.ps-l2::after {
    content: 'L1';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  }
  
  .gaming-element.ps-r2 {
    width: 36px;
    height: 22px;
    background: radial-gradient(ellipse at 30% 30%, #888888, #555555);
    border: 1px solid #666666;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 8px;
    position: relative;
    box-shadow: 
      0 1px 3px rgba(0, 0, 0, 0.3),
      inset 0 -1px 0 rgba(255, 255, 255, 0.1),
      inset 0 1px 0 rgba(0, 0, 0, 0.2);
  animation-name: trianglePath2;
  animation-delay: 3.8s;
  animation-duration: 9.8s;
  top: 55%;
  left: 75%;
  }
  
  .gaming-element.ps-r2::after {
    content: 'R1';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  }
  
/* Triangular Path Animations */
@keyframes trianglePath1 {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  33% {
    transform: translate(80%, 60%) rotate(120deg);
  }
  66% {
    transform: translate(120%, 20%) rotate(240deg);
  }
  100% {
    transform: translate(0%, 0%) rotate(360deg);
  }
}

@keyframes trianglePath2 {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  33% {
    transform: translate(60%, 80%) rotate(120deg);
  }
  66% {
    transform: translate(20%, 120%) rotate(240deg);
  }
  100% {
    transform: translate(0%, 0%) rotate(360deg);
  }
}

@keyframes trianglePath3 {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  33% {
    transform: translate(-80%, 60%) rotate(120deg);
  }
  66% {
    transform: translate(-120%, 20%) rotate(240deg);
  }
  100% {
    transform: translate(0%, 0%) rotate(360deg);
  }
}

@keyframes trianglePath4 {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  33% {
    transform: translate(60%, -80%) rotate(120deg);
  }
  66% {
    transform: translate(20%, -120%) rotate(240deg);
  }
  100% {
    transform: translate(0%, 0%) rotate(360deg);
  }
}

@keyframes trianglePath5 {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  25% {
    transform: translate(-60%, -60%) rotate(90deg);
  }
  50% {
    transform: translate(60%, -60%) rotate(180deg);
  }
  75% {
    transform: translate(60%, 60%) rotate(270deg);
  }
  100% {
    transform: translate(0%, 0%) rotate(360deg);
  }
}

/* Responsive gaming elements on mobile and tablet */
@media (max-width: 768px) {
  .gaming-element {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Disable complex animations on mobile */
    animation: none !important;
    transition: opacity 0.3s ease-in-out !important;
  }
  
  /* Optimize performance on mobile */
  .gaming-elements-container {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Reduce animation complexity */
    will-change: auto;
  }
  
  /* Disable circuit board animations on mobile */
  .circuit-board {
    animation: none !important;
  }
  
  .circuit-line {
    animation: none !important;
  }
  
  .circuit-node {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  .gaming-element {
    opacity: 0.8;
  }
  
  /* Further performance optimizations for small mobile */
  .gaming-elements-container {
    will-change: auto;
  }
  }
  
  /* Circuit Board Background */
  .circuit-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.25;
    overflow: hidden;
  max-height: 100vh;
  }
  
  /* Dark Mode Circuit Board */
  [data-theme="dark"] .circuit-board {
    opacity: 0.15;
  }
  
  .circuit-line {
    position: absolute;
    background: linear-gradient(90deg, 
      transparent 0%, 
      var(--primary) 15%, 
      var(--accent) 50%,
      var(--primary) 85%, 
      transparent 100%
    );
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    box-shadow: 0 0 4px rgba(46, 189, 168, 0.3);
  }
  
  /* Dark Mode Circuit Lines */
  [data-theme="dark"] .circuit-line {
    background: linear-gradient(90deg, 
      transparent 0%, 
      var(--primary) 15%, 
      var(--accent) 50%,
      var(--primary) 85%, 
      transparent 100%
    );
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
  }
  
  .circuit-line.horizontal {
    height: 3px;
    width: 300px;
    top: var(--top);
    left: -300px;
    animation: circuitFlow 12s infinite;
    animation-delay: var(--delay);
  }
  
  .circuit-line.vertical {
    width: 3px;
    height: 200px;
    left: var(--left);
    top: -200px;
    animation: circuitFlowVertical 10s infinite;
    animation-delay: var(--delay);
    background: linear-gradient(0deg, 
      transparent 0%, 
      var(--primary) 15%, 
      #1dd1a1 50%,
      var(--primary) 85%, 
      transparent 100%
    );
  }
  
  .circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(46, 189, 168, 0.4);
    animation: circuitPulse 3s ease-in-out infinite;
    animation-delay: var(--delay);
  }
  
  /* Dark Mode Circuit Nodes */
  [data-theme="dark"] .circuit-node {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  }
  
  .circuit-node::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(46, 189, 168, 0.3);
    border-radius: 50%;
    animation: circuitPulse 3s ease-in-out infinite reverse;
  }
  
  /* Dark Mode Circuit Node Borders */
  [data-theme="dark"] .circuit-node::before {
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  @keyframes circuitFlow {
    0% {
      left: -300px;
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      left: 100%;
      opacity: 0;
    }
  }
  
  @keyframes circuitFlowVertical {
    0% {
      top: -200px;
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      top: 100%;
      opacity: 0;
    }
  }
  
  @keyframes circuitPulse {
    0%, 100% {
      opacity: 0.4;
      transform: scale(1);
    }
    50% {
      opacity: 0.8;
      transform: scale(1.2);
    }
  } 
