/* Import Poppins font from Google Fonts - Excellent mobile readability */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --dark-green: #556b2f;
    --medium-green: #8fa31e;
    --light-green: #c6d870;
    --cream: #eff5d2;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  
  html {
    /* scroll-behavior: smooth; */ /* Disabled - using Lenis for smooth scroll */
  }
  
  body {
    background-color: var(--cream);
    color: var(--dark-green);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    /* Better text rendering on mobile */
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }

  /* Floating Lightning Bolt (2D) */
  .floating-lightning {
    position: fixed;
    left: 50%;
    top: 50%;
    font-size: 8rem;
    z-index: 9998;
    pointer-events: none;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 40px rgba(255, 215, 0, 0.5));
    animation: pulse-glow 2s ease-in-out infinite;
    will-change: transform;
    transform: translate(-50%, -50%);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2), -2px -2px 0 rgba(0, 0, 0, 0.2),
                 2px -2px 0 rgba(0, 0, 0, 0.2), -2px 2px 0 rgba(0, 0, 0, 0.2),
                 0px 2px 0 rgba(0, 0, 0, 0.2), 0px -2px 0 rgba(0, 0, 0, 0.2),
                 2px 0px 0 rgba(0, 0, 0, 0.2), -2px 0px 0 rgba(0, 0, 0, 0.2);
    opacity: 0.75;
    transition: filter 0.2s ease;
  }

  /* Lightning Game UI */
  .lightning-game-ui {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
  }

  .score-display {
    background: linear-gradient(135deg, var(--dark-green), var(--medium-green));
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(251, 191, 36, 0.4);
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 8px;
    border: 2px solid #fbbf24;
    transition: border-width 0.2s ease;
  }

  .score-display.score-updated {
    border: 4px solid #fbbf24;
  }

  .high-score-display {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.6);
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 8px;
    border: 2px solid #fff;
    transition: transform 0.2s ease;
  }

  .high-score-display:hover {
    transform: scale(1.05);
  }

  .previous-score-display {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    color: white;
    padding: 7px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 8px;
    border: 2px solid #d1d5db;
    opacity: 0.9;
  }

  .timer-display {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.4);
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 8px;
    border: 2px solid #60a5fa;
    transition: all 0.3s ease;
  }

  .timer-display.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #fbbf24;
    animation: timer-pulse 0.5s ease-in-out infinite;
  }

  .timer-display.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #fca5a5;
    animation: timer-pulse 0.3s ease-in-out infinite;
  }

  @keyframes timer-pulse {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(239, 68, 68, 0.6);
    }
    50% {
      transform: scale(1.05);
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4), 0 0 40px rgba(239, 68, 68, 0.8);
    }
  }

  .combo-display {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.5), 0 0 30px rgba(192, 132, 252, 0.4);
    text-shadow: 2px 2px 0 #000;
    animation: combo-pulse 0.3s ease infinite;
    border: 3px solid #c084fc;
    margin-top: 8px;
  }

  @keyframes combo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }

  .hit-particle {
    position: fixed;
    pointer-events: none;
    font-size: 2rem;
    z-index: 9997;
    animation: particle-burst 0.8s ease-out forwards;
  }

  @keyframes particle-burst {
    0% {
      opacity: 1;
      transform: scale(1) translate(0, 0);
    }
    100% {
      opacity: 0;
      transform: scale(0.5) translate(var(--tx), var(--ty));
    }
  }

  .score-popup {
    position: fixed;
    pointer-events: none;
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 3px 3px 0 #000, -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000;
    z-index: 9999;
    animation: score-float 1s ease-out forwards;
  }

  @keyframes score-float {
    0% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    100% {
      opacity: 0;
      transform: translateY(-100px) scale(1.5);
    }
  }

  /* Play Button */
  .game-play-button {
    background: linear-gradient(135deg, #9333ea, #c084fc, #fbbf24);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    color: white;
    border: 3px solid #fbbf24;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.5),
                0 0 30px rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
    text-shadow: 2px 2px 0 #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: auto;
    margin-bottom: 8px;
  }

  .game-play-button.hidden {
    display: none;
  }

  /* In-game control buttons (Stop Game / Restart) */
  .game-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }

  .game-controls.hidden {
    display: none;
  }

  .game-control-button {
    color: white;
    border: 3px solid #fff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-shadow: 2px 2px 0 #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: auto;
    letter-spacing: 0.05em;
  }

  .game-control-button .control-icon {
    font-size: 1.2rem;
  }

  .game-control-button:hover {
    transform: scale(1.05);
    border-color: #fff;
  }

  .game-control-button:active {
    transform: scale(0.98);
  }

  .game-stop-button {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #fca5a5;
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.5),
                0 0 30px rgba(239, 68, 68, 0.35);
  }

  .game-stop-button:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.7),
                0 0 40px rgba(239, 68, 68, 0.5);
  }

  .game-restart-button {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #60a5fa;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.5),
                0 0 30px rgba(59, 130, 246, 0.35);
  }

  .game-restart-button:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.7),
                0 0 40px rgba(59, 130, 246, 0.5);
  }

  /* Game over: Share on X + Close buttons */
  .game-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.75rem;
    padding: 12px 26px;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
    text-shadow: none;
  }

  .game-share-button .x-logo {
    font-size: 1.3rem;
    line-height: 1;
  }

  .game-share-button:hover {
    transform: scale(1.05);
    background: #111;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.25);
  }

  .game-share-button:active {
    transform: scale(0.98);
  }

  .game-over-close {
    display: block;
    margin: 1rem auto 0;
    padding: 8px 22px;
    background: transparent;
    color: #94a3b8;
    border: 2px solid #475569;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
    text-shadow: none;
  }

  .game-over-close:hover {
    color: #fff;
    border-color: #94a3b8;
    background: rgba(148, 163, 184, 0.15);
  }

  .play-icon {
    font-size: 1.2rem;
    animation: pulse-icon 1.5s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .play-text {
    letter-spacing: 0.05em;
    font-size: 1rem;
  }

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

  @keyframes pulse-icon {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
  }

  .game-play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.7),
                0 0 40px rgba(251, 191, 36, 0.6);
    border-color: #fff;
  }

  .game-play-button:active {
    transform: scale(0.98);
  }

  /* ===== GAME SECTION - THREE COLOR OPTIONS ===== */

  /* OPTION 1: Royal Purple & Gold - Complementary Elegance */
  .game-section.option-1 {
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0f2e 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 5rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 50px rgba(147, 51, 234, 0.2);
  }

  .game-section.option-1 h2 {
    color: #fbbf24 !important;
    text-shadow: 0 0 10px #fbbf24, 0 0 20px #fbbf24,
                 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000 !important;
  }

  .game-section.option-1 h2:nth-of-type(2) {
    color: #c084fc !important;
    text-shadow: 0 0 10px #c084fc, 0 0 20px #c084fc,
                 1px 1px 0 #000, -1px -1px 0 #000 !important;
  }

  .game-section.option-1 .game-card {
    position: relative;
    background: linear-gradient(135deg, #3b2667 0%, #2d1b4e 100%);
    border-radius: 15px;
    padding: 2px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .game-section.option-1 .game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.4),
                0 0 60px rgba(192, 132, 252, 0.3);
  }

  .game-section.option-1 .electric-border {
    background: linear-gradient(90deg,
      #fbbf24 0%,
      #c084fc 25%,
      #9333ea 50%,
      #fbbf24 75%,
      #c084fc 100%);
  }

  .game-section.option-1 .game-card-content {
    background: linear-gradient(135deg, #3b2667 0%, #2d1b4e 100%);
  }

  .game-section.option-1 .game-icon {
    filter: drop-shadow(0 0 10px #fbbf24);
  }

  .game-section.option-1 .game-card h3 {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
  }

  .game-section.option-1 .game-card strong {
    color: #c084fc;
    text-shadow: 0 0 5px rgba(192, 132, 252, 0.5);
  }

  .game-section.option-1 .game-card em {
    color: #fcd34d;
  }

  .game-section.option-1 .game-card::before {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.8) 0%, transparent 70%);
  }

  /* ===== SHARED GAME SECTION STYLES ===== */
  .game-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }

  .game-card {
    position: relative;
    border-radius: 15px;
    padding: 2px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .electric-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-size: 300% 300%;
    animation: electric-flow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .game-card:hover .electric-border {
    opacity: 1;
  }

  @keyframes electric-flow {
    0% { background-position: 0% 0%; }
    100% { background-position: 300% 0%; }
  }

  .game-card-content {
    position: relative;
    border-radius: 13px;
    padding: 1.5rem;
    z-index: 1;
  }

  .game-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
    animation: icon-pulse 2s ease-in-out infinite;
  }

  @keyframes icon-pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
  }

  .game-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
  }

  .game-card p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1rem;
  }

  /* Spark effect on hover */
  .game-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
  }

  .game-card:hover::before {
    width: 300px;
    height: 300px;
    opacity: 0.3;
  }

  /* Smooth movement on hover */
  .game-card:hover .game-card-content {
    animation: smooth-lift 0.3s ease;
  }

  @keyframes smooth-lift {
    0% { transform: translate(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translate(0); }
  }

  @media (max-width: 768px) {
    .game-instructions {
      grid-template-columns: 1fr;
    }
  }

  @keyframes pulse-glow {
    0%, 100% {
      filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8))
              drop-shadow(0 0 40px rgba(255, 215, 0, 0.5));
    }
    50% {
      filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1))
              drop-shadow(0 0 80px rgba(255, 215, 0, 0.7));
    }
  }

  /* Responsive sizing for mobile */
  @media (max-width: 768px) {
    .floating-lightning {
      font-size: 6rem;
      right: 3%;
    }
  }
  
  /* Header Mobile Improvements */
  header {
    background: linear-gradient(135deg, var(--dark-green), var(--medium-green));
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .robinhood-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--light-green) 20%, transparent 30%);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: robinhood 3s infinite linear;
  }

  @keyframes robinhood {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
  }
  
  .logo {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .tagline {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 0.5rem;
    opacity: 0.9;
  }
  
  /* Mobile Navigation */
  nav {
    background-color: var(--medium-green);
    padding: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 9998;
    border: solid 1px black;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }

  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8rem;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    z-index: 10002;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .nav-toggle:active {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .nav-toggle span {
    width: 28px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
  }

  /* Language Toggle Button */
  .language-toggle-item {
    list-style: none;
    margin-right: 1.5rem;
  }

  .language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    border: 2px solid white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.4);
  }

  .language-toggle:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(251, 191, 36, 0.6);
  }

  .language-toggle:active {
    transform: translateY(0);
  }

  .lang-icon {
    font-size: 1.2rem;
    line-height: 1;
  }

  .lang-text {
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 0.5rem;
  }
  
  nav li {
    margin: 0;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1rem);
  }
  
  nav a:hover {
    background-color: var(--light-green);
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  /* Special styling for Lightning Game link */
  nav a[href="#game"] {
    background: linear-gradient(135deg, #9333ea, #c084fc);
    color: white;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.5);
    animation: lightning-pulse 2s ease-in-out infinite;
    border: 2px solid #fbbf24;
    position: relative;
    overflow: hidden;
  }

  nav a[href="#game"]::before {
    content: '⚡';
    margin-right: 5px;
    animation: lightning-spin 3s linear infinite;
    display: inline-block;
  }

  nav a[href="#game"]::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: lightning-shine 3s linear infinite;
  }

  @keyframes lightning-pulse {
    0%, 100% {
      box-shadow: 0 0 15px rgba(147, 51, 234, 0.5), 0 0 25px rgba(251, 191, 36, 0.3);
    }
    50% {
      box-shadow: 0 0 25px rgba(147, 51, 234, 0.8), 0 0 40px rgba(251, 191, 36, 0.6);
    }
  }

  @keyframes lightning-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

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

  nav a[href="#game"]:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.8), 0 0 50px rgba(251, 191, 36, 0.6);
  }
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
  }

  /* Section spacing */
  section {
    margin: 5rem 0;
  }

  section:first-child {
    margin-top: 2rem;
  }
  
  /* Hero Section Mobile Improvements */
  .hero {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: white;
    border-radius: 20px;
    margin-bottom: 5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;

  }

  .hero h1 :hover {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
      -1px 1px 0 #000;
      color: white;
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--dark-green);
    margin-bottom: 1rem;
    min-height: 3rem;
  }
  
  .hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--medium-green), var(--dark-green));
    color: white;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    margin: 1rem 0;
    border: 2px solid #fbbf24;
  }
  
  .cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  }
  
  .cta-button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    transition: all 0.5s ease;
  }
  
  .cta-button:hover::after {
    transform: rotate(30deg) translate(20px, 20px);
  }

  /* Contract Address - click to copy */
  .ca-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin: 0.5rem auto 0;
    max-width: 100%;
  }

  .ca-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--medium-green);
  }

  .ca-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 100%;
    padding: 0.6rem 1rem;
    background-color: var(--cream);
    border: 2px solid var(--light-green);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease,
                transform 0.25s ease, background-color 0.25s ease;
  }

  .ca-box:hover {
    border-color: #fbbf24;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
  }

  .ca-box:active {
    transform: translateY(0);
  }

  .ca-box.copied {
    border-color: #fbbf24;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.35);
  }

  .ca-address {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: clamp(0.68rem, 2.4vw, 0.9rem);
    font-weight: 600;
    color: var(--dark-green);
    line-height: 1.4;
    overflow-wrap: anywhere;
    user-select: all;
  }

  .ca-icon {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
  }

  .ca-copied {
    font-size: 0.8rem;
    font-weight: 700;
    color: #d97706;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
  }

  .ca-copied.show {
    opacity: 1;
    transform: translateY(0);
  }

  /* Magnetic Word Effect */
.magnetic-text {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero p:hover .magnetic-text {
    /* transform: translateY(-2px);
    text-shadow: 0 5px 15px rgba(143, 163, 30, 0.4);
    color: var(--dark-green);
    font-weight: bold;
    scale: 1; */
    font-size: 1.4rem;
          font-weight: bold;
          text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
            -1px 1px 0 #000;
            color: white;
}

#about {
  margin: 5rem 0;
}

#about h2 {
            text-align: center;
            margin-bottom: 2rem;
            color: var(--dark-green);
}
#about h2:hover{
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000;
    color: white;
}
#about h3 {
            text-align: center;
            margin-bottom: 2rem;
            color: var(--dark-green);
}
#about h3:hover{
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000;
    color: white;
}
  
  /* Features Section Mobile Improvements */
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 5rem 0;
  }
  
  .feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Removed old opacity/transform - now handled by GSAP */
  }

  .feature-card.animate {
    opacity: 1;
    transform: translateY(0);
  }
  
  .feature-icon {
    font-size: clamp(2.5rem, 6vw, 3rem);
    margin-bottom: 1rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    width: clamp(80px, 20vw, 100px);
    height: clamp(80px, 20vw, 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
  }
  
  .feature-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: white;
  }
  
  .feature-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 
                0 0 40px rgba(255, 215, 0, 0.4),
                0 0 60px rgba(143, 163, 30, 0.3);
    z-index: 10;
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f8ffae);
  }
  
  .features:hover .feature-card:not(:hover) {
    background: linear-gradient(135deg, #ffffff, #e8f5e8);
    transform: scale(0.98) translateY(5px);
    box-shadow: 0 10px 30px rgba(143, 163, 30, 0.15);
    filter: brightness(1.05) saturate(1.1);
  }
  
  .feature-card h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
  }
  
  .feature-card p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.5;
  }

  .the-real-product:hover {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
      -1px 1px 0 #000;
      color: white;
  }
  
  /* Meme Gallery Mobile Improvements */
  .meme-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 5rem 0;
  }
  
  .meme-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Removed old opacity/transform - now handled by GSAP */
  }

  .meme-item.animate {
    opacity: 1;
    transform: translateY(0);
  }
  
  .meme-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .meme-img {
    width: 100%;
    height: clamp(120px, 25vw, 200px);
    background: linear-gradient(135deg, var(--light-green), #d4e87a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2rem, 6vw, 3rem);
    transition: transform 0.3s ease;
  }
  
  .meme-item:hover .meme-img {
    transform: scale(1.05);
  }
  
  .meme-caption {
    padding: 0.8rem;
    text-align: center;
    font-style: italic;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  }
  
  /* Roadmap Mobile Improvements */
  .roadmap {
    background-color: white;
    border-radius: 20px;
    padding: 1.5rem;
    margin: 6rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
  }
  
  .roadmap h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-green);
    font-size: clamp(1.8rem, 4vw, 1.5rem);
  }
.roadmap h2:hover{
  font-size: clamp(1.8rem, 4vw, 1.5rem);
font-weight: bold;
text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
-1px 1px 0 #000;
color: white;
}
  
  .roadmap-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
    /* Removed old opacity/transform - now handled by GSAP */
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
  }

  .roadmap-item.animate {
    opacity: 1;
    transform: translateX(0);
  }
  
  .roadmap-phase {
    background-color: var(--medium-green);
    color: white;
    width: clamp(80px, 20vw, 100px);
    height: clamp(80px, 20vw, 100px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    flex-shrink: 0;
    margin-right: 1.5rem;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: visible;
  }
  
  .roadmap-item:hover .roadmap-phase {
    transform: scale(1.1);
    background-color: var(--dark-green);
  }
  
  .roadmap-content {
    flex-grow: 1;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: white;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  
  .roadmap-item:hover .roadmap-content {
    transform: translateX(10px);
  }
  
  .roadmap-content h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
  }
  
  .roadmap-content p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.5;
  }
  
  /* Team Section Mobile Improvements */
  .team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 5rem 0;
  }
  
  .team-member {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Removed old opacity/transform - now handled by GSAP */
  }

  .team-member.animate {
    opacity: 1;
    transform: translateY(0);
  }
  
  .team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .member-img {
    width: 100%;
    height: clamp(150px, 30vw, 200px);
    background: linear-gradient(135deg, var(--light-green), #d4e87a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(3rem, 8vw, 4rem);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }
  
  .team-member:hover .member-img {
    background: linear-gradient(135deg, var(--medium-green), var(--light-green));
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  
  .member-info {
    padding: 1.2rem;
    transition: all 0.3s ease;
  }
  
  .team-member:hover .member-info {
    transform: translateY(-5px);
  }
  
  .team-member:hover .member-info h3 {
    color: var(--light-green);
    text-shadow: 1px 1px 0 #000;
  }
  
  .team-member:hover .member-role {
    color: var(--dark-green);
    font-weight: bold;
  }
  
  .member-info h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
  }
  
  .member-role {
    font-style: italic;
    color: var(--medium-green);
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }
  
  .member-info p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.5;
  }
  
  /* Footer Mobile Improvements */
  footer {
    background-color: var(--dark-green);
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 3rem;
  }
  
  .disclaimer {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    opacity: 0.8;
    margin-top: 1rem;
  }
  
  /* TradingView Widget */
  .tradingview-widget-container {
    margin: 4rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Removed old opacity/transform - now handled by GSAP */
    position: relative;
    z-index: 1;
  }

  .tradingview-widget-container.animate {
    opacity: 1;
    transform: translateY(0);
  }

  /* Dedicated live-chart section (nav "Chart" target) */
  .chart-section {
    margin: 2rem 0 5rem 0;
    /* Top padding keeps the heading clear of the sticky nav when scrolled to */
    padding-top: 5rem;
    text-align: center;
  }

  .chart-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
  }

  /* Keep the chart contained within the viewport (width + height) */
  .chart-section .tradingview-chart {
    width: 100%;
    max-width: 1100px;
    height: clamp(320px, 60vh, 560px);
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  /* Reset the generic widget-container styling inside the fixed-size chart box */
  .chart-section .tradingview-widget-container {
    margin: 0;
    height: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  /* Typing effect styles */
  .typing-container {
    display: inline-block;
  }
  
  .typing-cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--dark-green);
    margin-left: 2px;
    animation: blink 1s infinite;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
  
  /* Particle effect for CTA button */
  .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  
  .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: float 3s infinite ease-in-out;
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0) translateX(0);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    50% {
      transform: translateY(-20px) translateX(10px);
    }
  }
  
  /* Mobile-specific hover effect for memes */
  .meme-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .meme-item:hover .meme-caption {
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    color: white;
    transform: translateY(-2px);
  }
  
  /* ===== RESPONSIVE BREAKPOINTS ===== */

  /* Tablet Portrait & Landscape (768px - 1024px) */
  @media (max-width: 1024px) and (min-width: 769px) {
    .container {
      padding: 0.5rem;
    }

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

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

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

    .lightning-game-ui {
      top: 15px;
      right: 15px;
    }

    .score-display,
    .timer-display {
      font-size: 1rem;
      padding: 8px 16px;
    }

    .high-score-display {
      font-size: 0.95rem;
      padding: 7px 14px;
    }

    .previous-score-display {
      font-size: 0.9rem;
      padding: 6px 12px;
    }
  }

  /* Mobile Landscape & Small Tablets (769px - 991px) */
  @media (max-width: 991px) and (min-width: 769px) {
    nav ul {
      gap: 0.3rem;
    }

    nav a {
      font-size: 0.9rem;
      padding: 0.4rem 0.8rem;
    }
  }

  /* Mobile Portrait & Landscape (max-width: 768px) */
  @media (max-width: 768px) {
    /* Navigation */
    nav {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding: 0.8rem 1rem;
    }

    .nav-toggle {
      display: flex;
      margin-left: auto;
    }

    nav ul {
      display: none;
      flex-direction: column;
      position: fixed;
      top: 60px;
      left: 0;
      right: 0;
      width: 100%;
      background-color: var(--medium-green);
      padding: 1rem 0;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
      gap: 0;
      max-height: calc(100vh - 60px);
      overflow-y: auto;
      z-index: 10001;
    }

    nav ul.active {
      display: flex;
      animation: slideDown 0.3s ease-out;
    }

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

    nav li {
      margin: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav li:last-child {
      border-bottom: none;
    }

    .language-toggle-item {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .language-toggle {
      width: auto;
      padding: 0.6rem 1.2rem;
      font-size: 1rem;
    }

    nav a {
      font-size: 1.1rem;
      padding: 1rem 1.5rem;
      display: block;
      width: 100%;
      text-align: left;
      border-radius: 0;
    }

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

    .nav-toggle.active span:nth-child(2) {
      opacity: 0;
      transform: translateX(-20px);
    }

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

    /* Lightning Game UI - Mobile Optimization */
    .lightning-game-ui {
      top: auto;
      bottom: 10px;
      right: 10px;
      left: auto;
      z-index: 10000;
    }

    .score-display,
    .timer-display,
    .high-score-display,
    .previous-score-display {
      padding: 6px 10px;
      border-radius: 8px;
      margin-bottom: 5px;
      font-size: 0.75rem;
    }

    .timer-display {
      font-size: 0.85rem;
      font-weight: 700;
    }

    .combo-display {
      padding: 6px 10px;
      font-size: 0.85rem;
      margin-top: 5px;
    }

    .floating-lightning {
      font-size: 5rem;
    }

    /* Roadmap */
    .roadmap-item {
      flex-direction: column;
      text-align: center;
    }

    .roadmap-phase {
      margin-right: 0;
      margin-bottom: 1rem;
    }

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

    .roadmap {
      padding: 1.2rem;
    }

    /* Features */
    .features {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .feature-card {
      padding: 1.2rem;
    }

    /* Meme Gallery */
    .meme-gallery {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.8rem;
    }

    /* Team */
    .team {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    /* Container */
    .container {
      padding: 0.3rem;
    }

    /* Hero */
    .hero {
      padding: 1.2rem 0.8rem;
      margin-bottom: 1.5rem;
    }

    /* Game Section */
    .game-section.option-1 {
      padding: 1.5rem 1rem;
      margin: 1.5rem 0;
    }

    .game-instructions {
      gap: 1.5rem;
    }

    /* Play Button - Mobile */
    .game-play-button {
      padding: 6px 10px;
      font-size: 0.75rem;
      gap: 0.3rem;
      border-radius: 8px;
      border-width: 2px;
      margin-bottom: 5px;
    }

    .play-icon {
      font-size: 0.9rem;
    }

    .play-text {
      font-size: 0.75rem;
    }

    /* Header */
    header {
      padding: 1.2rem 0.8rem;
    }
  }
  
  /* Small Mobile Devices (max-width: 480px) */
  @media (max-width: 480px) {
    /* Header */
    .logo {
      font-size: 1.8rem !important;
    }

    .tagline {
      font-size: 0.9rem !important;
    }

    header {
      padding: 1rem 0.5rem;
    }

    header p {
      font-size: 0.9rem !important;
    }

    /* Hero */
    .hero {
      padding: 1rem 0.5rem;
      margin-bottom: 1rem;
    }

    .hero h1 {
      font-size: 1.5rem !important;
      min-height: 2.5rem;
    }

    .hero p {
      font-size: 0.9rem !important;
      margin-bottom: 1rem;
    }

    /* Lightning Game UI - Extra Small Screens */
    .lightning-game-ui {
      top: auto;
      bottom: 8px;
      right: 8px;
      left: auto;
      z-index: 10000;
    }

    .score-display,
    .timer-display,
    .high-score-display,
    .previous-score-display {
      padding: 5px 8px;
      font-size: 0.7rem;
      margin-bottom: 4px;
      border-radius: 6px;
    }

    .timer-display {
      font-size: 0.8rem;
    }

    .combo-display {
      padding: 5px 8px;
      font-size: 0.8rem;
      margin-top: 4px;
    }

    .floating-lightning {
      font-size: 4rem;
    }

    /* Play Button - Small Mobile */
    .game-play-button {
      padding: 5px 8px;
      font-size: 0.7rem;
      gap: 0.3rem;
      border-radius: 6px;
      margin-bottom: 4px;
    }

    .play-icon {
      font-size: 0.8rem;
    }

    .play-text {
      font-size: 0.7rem;
    }

    .score-popup {
      font-size: 1.8rem;
    }

    .hit-particle {
      font-size: 1.5rem;
    }

    /* Meme Gallery */
    .meme-gallery {
      grid-template-columns: 1fr;
      gap: 0.6rem;
    }

    .meme-img {
      height: 150px;
      font-size: 2.5rem;
    }

    .meme-caption {
      font-size: 0.8rem;
      padding: 0.6rem;
    }

    /* CTA Button */
    .cta-button {
      width: 100%;
      text-align: center;
      padding: 0.8rem 1.5rem;
      font-size: 0.95rem;
    }

    /* Features */
    .features {
      grid-template-columns: 1fr;
      gap: 0.8rem;
    }

    .feature-card {
      padding: 1rem;
    }

    .feature-icon {
      width: 70px;
      height: 70px;
      font-size: 2rem;
    }

    /* Game Section */
    .game-section.option-1 {
      padding: 1.2rem 0.8rem;
      margin: 1rem 0;
    }

    .game-section.option-1 h2 {
      font-size: 1.5rem !important;
    }

    .game-card {
      border-radius: 12px;
    }

    .game-card-content {
      padding: 1rem;
    }

    .game-icon {
      font-size: 2.5rem;
      margin-bottom: 0.8rem;
    }

    .game-card h3 {
      font-size: 1rem;
      margin-bottom: 0.8rem;
    }

    .game-card p {
      font-size: 0.85rem;
      line-height: 1.5;
    }

    /* Team */
    .team {
      gap: 1rem;
    }

    .team-member {
      border-radius: 12px;
    }

    .member-img {
      height: 140px;
      font-size: 2.5rem;
    }

    .member-info {
      padding: 1rem;
    }

    /* Roadmap */
    .roadmap {
      padding: 1rem;
      margin: 1rem 0;
    }

    .roadmap h2 {
      font-size: 1.5rem !important;
      margin-bottom: 1.5rem;
    }

    .roadmap-item {
      margin-bottom: 1.5rem;
    }

    .roadmap-phase {
      width: 70px;
      height: 70px;
      font-size: 0.9rem;
      margin-bottom: 0.8rem;
    }

    .roadmap-content {
      padding: 1rem;
    }

    .roadmap-content h3 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }

    .roadmap-content p {
      font-size: 0.85rem;
    }

    /* Container */
    .container {
      padding: 0.2rem;
    }

    /* Footer */
    footer {
      padding: 1.2rem 0.5rem;
    }

    .disclaimer {
      font-size: 0.75rem;
      padding: 0 0.5rem;
    }

    /* Social Links */
    .social-links img {
      width: 40px !important;
      height: 40px !important;
    }
  }

  /* Very Small Mobile Devices (max-width: 360px) */
  @media (max-width: 360px) {
    .logo {
      font-size: 1.5rem !important;
    }

    .tagline {
      font-size: 0.8rem !important;
    }

    /* Lightning Game UI - Ultra Compact */
    .lightning-game-ui {
      top: auto;
      bottom: 5px;
      right: 5px;
      left: auto;
      z-index: 10000;
    }

    .score-display,
    .timer-display,
    .high-score-display,
    .previous-score-display {
      padding: 4px 6px;
      font-size: 0.65rem;
      margin-bottom: 3px;
    }

    .timer-display {
      font-size: 0.75rem;
    }

    .combo-display {
      padding: 4px 6px;
      font-size: 0.75rem;
      margin-top: 3px;
    }

    .floating-lightning {
      font-size: 3.5rem;
    }

    /* Play Button - Very Small Mobile */
    .game-play-button {
      padding: 4px 6px;
      font-size: 0.65rem;
      gap: 0.2rem;
      border-radius: 6px;
      border-width: 2px;
      margin-bottom: 3px;
    }

    .play-icon {
      font-size: 0.7rem;
    }

    .play-text {
      font-size: 0.65rem;
    }

    .hero h1 {
      font-size: 1.3rem !important;
    }

    .cta-button {
      font-size: 0.85rem;
      padding: 0.7rem 1.2rem;
    }

    .game-icon {
      font-size: 2rem;
    }
  }

  /* Landscape Mode Optimizations for Mobile */
  @media (max-width: 768px) and (orientation: landscape) {
    /* Lightning Game UI - Landscape Mode */
    .lightning-game-ui {
      top: auto;
      bottom: 8px;
      right: 8px;
      left: auto;
      z-index: 10000;
    }

    .score-display,
    .timer-display,
    .high-score-display,
    .previous-score-display {
      padding: 4px 8px;
      font-size: 0.7rem;
      margin-bottom: 3px;
    }

    .combo-display {
      padding: 4px 8px;
      font-size: 0.75rem;
      margin-top: 3px;
    }

    .floating-lightning {
      font-size: 4rem;
    }

    /* Play Button - Landscape Mode */
    .game-play-button {
      padding: 4px 8px;
      font-size: 0.7rem;
      gap: 0.3rem;
      border-radius: 6px;
      margin-bottom: 3px;
    }

    .play-icon {
      font-size: 0.8rem;
    }

    .play-text {
      font-size: 0.7rem;
    }

    header {
      padding: 0.8rem 1rem;
    }

    .hero {
      padding: 1rem;
    }

    .game-section.option-1 {
      padding: 1rem;
    }

    .container {
      padding: 0.3rem;
    }
  }

  /* ===== IMPROVED TYPOGRAPHY FOR POPPINS ===== */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
  }

  p {
    font-weight: 400;
    line-height: 1.7;
  }

  strong {
    font-weight: 600;
  }

  /* Button and Interactive Elements Font Weight */
  button,
  .cta-button,
  nav a {
    font-weight: 600;
    letter-spacing: 0.01em;
  }

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

  /* Touch device optimizations */
  @media (hover: none) {
    /* Improve touch targets - minimum 44x44px */
    nav a {
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .cta-button {
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    /* Disable hover effects on touch devices */
    .feature-card:hover {
      transform: none;
    }

    .meme-item:hover {
      transform: none;
    }

    .team-member:hover {
      transform: none;
    }

    .roadmap-item:hover .roadmap-phase,
    .roadmap-item:hover .roadmap-content {
      transform: none;
    }

    /* Enable active states for better touch feedback */
    .feature-card:active {
      transform: scale(0.98);
      opacity: 0.9;
    }

    .cta-button:active {
      transform: scale(0.97);
    }

    nav a:active {
      background-color: var(--light-green);
      color: var(--dark-green);
    }
  }

/* ===== EMOJI TRAIL EFFECT ===== */
.emoji-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 1.5rem;
    animation: emojiFloat 1s ease-out forwards;
    user-select: none;
}

@keyframes emojiFloat {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -100px) scale(0.5) rotate(180deg);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .emoji-trail {
        animation: none;
        opacity: 0;
    }
}