  *, *::before, *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    margin: 0;
    overflow-x: hidden;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #020617;
  }
  ::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #334155;
  }

  /* Selection */
  ::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f1f5f9;
  }

  /* Particles */
  .particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
  }

  .particle::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.6) 0%, transparent 70%);
  }

  .particle.float-1 {
    width: 6px; height: 6px; top: 20%; left: 10%;
    animation: floatUp 8s ease-in-out infinite;
    animation-delay: 0s;
  }
  .particle.float-2 {
    width: 4px; height: 4px; top: 40%; left: 25%;
    animation: floatUp 10s ease-in-out infinite;
    animation-delay: 2s;
  }
  .particle.float-3 {
    width: 8px; height: 8px; top: 60%; left: 5%;
    animation: floatUp 12s ease-in-out infinite;
    animation-delay: 4s;
  }
  .particle.float-4 {
    width: 5px; height: 5px; top: 30%; left: 70%;
    animation: floatUp 9s ease-in-out infinite;
    animation-delay: 1s;
  }
  .particle.float-5 {
    width: 3px; height: 3px; top: 70%; left: 80%;
    animation: floatUp 11s ease-in-out infinite;
    animation-delay: 3s;
  }

  @keyframes floatUp {
    0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
    10% { opacity: 0.8; }
    50% { opacity: 0.4; transform: translateY(-120px) scale(1.5); }
    90% { opacity: 0.6; }
  }

  /* Floating cards */
  .floating-card-1 {
    animation: floatCard1 6s ease-in-out infinite;
  }
  .floating-card-2 {
    animation: floatCard2 7s ease-in-out infinite;
  }
  .floating-card-3 {
    animation: floatCard3 8s ease-in-out infinite;
  }

  @keyframes floatCard1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }
  @keyframes floatCard2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
  }
  @keyframes floatCard3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
  }

  /* Marquee */
  .marquee-track {
    width: 100%;
    overflow: hidden;
  }
  .marquee-content {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: marquee 30s linear infinite;
    flex-shrink: 0;
  }
  .marquee-content:nth-child(2) {
    animation: marquee 30s linear infinite;
    animation-delay: -15s;
  }
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Menu cards */
  .menu-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.1);
  }

  /* Nav scroll state */
  #navbar.scrolled {
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Mobile menu */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Active nav link */
  nav a.active {
    color: #2dd4bf !important;
  }

  /* Back to top */
  #back-to-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  #back-to-top.show {
    opacity: 1;
    pointer-events: all;
  }
  #back-to-top:hover {
    transform: translateY(-3px);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
      display: none;
    }
  }

  @media (max-width: 640px) {
    html {
      scroll-padding-top: 70px;
    }
  }
