body, html {
  margin: 0;
  padding: 0;
  font-family: 'Orbitron', sans-serif;
  background: #0a0a12;
  overflow-x: hidden;
  cursor: none;
}

/* Cursor Styles */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: #ff001e;
  box-shadow: 0 0 10px #ff001e, 0 0 30px #ff001e66;
}

.cursor-ring {
  width: 24px;
  height: 24px;
  border: 2px solid #ff001e88;
  background: transparent;
  transition: width 0.2s ease, height 0.2s ease;
}
.cursor-ring.clicking {
  width: 40px;
  height: 40px;
  border-color: #ff001e;
}
.cursor-ring.hovering {
  width: 32px;
  height: 32px;
  border-color: #ff001e55;
}
.cursor-ghost {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #ff001e;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
  z-index: 9998;
  box-shadow: 0 0 6px #ff001e, 0 0 20px #ff001e66;
  transform: translate(-50%, -50%);
  animation: fadeTrail 0.6s forwards;
}
@keyframes fadeTrail {
  0% {
    opacity: 0.8;
    transform: scale(1) translate(-50%, -50%);
  }
  100% {
    opacity: 0;
    transform: scale(0.4) translate(-50%, -50%);
  }
}
/* PRELOADER */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#preloader .background {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-fill-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  overflow: hidden;
}

.logo-fill {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  filter: brightness(1);
}
.logo-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0f;
  z-index: 2;
  animation: fillUp 2.5s ease backwards;
  opacity: 0.9;
  
}

@keyframes fillUp {
  0% {
    height: 100%;
  }
  100% {
    height: 0%;
  }
}

@keyframes fillLogo {
  0% {
    -webkit-mask-position: 100% 100%;
    mask-position: 100% 100%;
    filter: brightness(0.2);
  }
  100% {
    -webkit-mask-position: 0% 0%;
    mask-position: 0% 0%;
    filter: brightness(1);
  }
}

.loading-text {
  margin-top: 20px;
  color: #ff001e;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 2px;
  animation: flicker 1.5s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* === TOPBAR === */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(12px) brightness(1.2) contrast(1.2);
  z-index: 999;
  box-shadow: 0 2px 12px rgba(255, 0, 30, 0.2), inset 0 -1px 0 rgba(255, 0, 30, 0.3);
  border-bottom: 1px solid rgba(255, 0, 30, 0.25);
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: #ff001e;
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  font-size: 0.5rem;
  cursor: pointer;
}

.icon-menu::before       { content: '☰'; }
.icon-users::before      { content: '👥'; }
.icon-download::before   { content: '⬇️'; }
.icon-package::before    { content: '📦'; }
.icon-gift::before       { content: '🎁'; }
.icon-mail::before       { content: '✉️'; }


@media (max-width: 768px) {
  .topbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hamburger {
    display: block;
    width: 32px;
    height: 28px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    flex-shrink: 0;
  }

  .hamburger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #ff001e;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 12px; }
  .hamburger span:nth-child(3) { top: 24px; }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 12px;
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 12px;
  }

  .logo {
    margin: 0;
    padding-left: 8px;
    flex-shrink: 1;
  }

  .logo img {
    height: 28px;
  }

  .auth-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 16px;
    background: #0a0a0f;
    position: absolute;
    top: 60px;
    left: 0;
    border-top: 1px solid #222;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    justify-content: flex-start;
    padding: 10px;
    font-size: 1rem;
  }
}
.nav-links a svg.icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  stroke: #ff001e;
  transition: stroke 0.3s ease;
}

.nav-links a:hover svg.icon {
  stroke: #ffffff;
}


.profile-pic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ff001e88;
}

.profile-dropdown {
  position: relative;
}

.profile-menu {
  position: absolute;
  top: 42px;
  right: 0;
  background: #111;
  padding: 10px;
  border-radius: 6px;
  display: none;
  flex-direction: column;
  box-shadow: 0 0 10px #ff001e33;
}

.profile-menu.show {
  display: flex;
}

.profile-menu a {
  color: #ccc;
  text-decoration: none;
  padding: 6px 12px;
}

.profile-menu a:hover {
  background: #1a1a1a;
  color: #ff001e;
}

/* Auth buttons */
.btn-outline {
  background: transparent;
  border: 1px solid #ff001e;
  color: #ff001e;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.btn-filled {
  background: #ff001e;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}


.hero {
  padding: 120px 20px 80px;
  text-align: center;
  color: white;
  background: none;
  animation: fadeSlideUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: fadeSlideUp 1s ease 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-content h1 span {
  color: #ff001e;
  text-shadow: 0 0 8px #ff001e88;
}

.hero-content p {
  font-size: 1rem;
  color: #ccc;
  animation: fadeSlideUp 1s ease 0.6s forwards;
  opacity: 0;
  transform: translateY(30px);
}
.cta-buttons {
  margin-top: 30px;
}

.hero-content .cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeSlideUp 1s ease 0.9s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-content .cta-buttons button {
  background: #ff001e;
  color: #000;
  border: none;
  padding: 12px 24px;
  margin: 0 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
  box-shadow: 0 0 12px #a70a0a;
  transition: 0.3s ease;
  cursor: none;
}

.hero-content .cta-buttons button:hover {
  transform: scale(1.05);
  background: #ff001e;
  cursor: none;
}

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



/* === Background and Grid Overlay === */
.background {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(145deg, #0a0a0f, #08080d);
}

.grid-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 0, 60, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 60, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

canvas#particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90vh;
  text-align: center;
  color: white;
  padding: 0 15px;
}

.hero-content h1 {
  font-size: 4rem;
  color: #ff001e;
  margin-bottom: 10px;
}

.hero-content h1 span {
  color: white;
}

.hero-content p {
  font-size: 1.5rem;
  color: #ccc;
  margin: 10px 0;
}

.hero-content .sub {
  font-size: 1.2rem;
  color: #888;
}




/*What we Do*/

.wave-section {
  padding: 100px 20px;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 2;
}

.wave-section .wave-header h2 {
  font-size: 2.5rem;
  color: #ff001e;
  text-shadow: 0 0 12px #ff001e88;
  margin-bottom: 10px;
}

.wave-section .wave-header p {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 24px;
}

.wave-section .wave-header button {
  background: #ff001e;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 0 12px #ff001e88;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.wave-section .wave-header button:hover {
  transform: scale(1.05);
}

.wave-graphic {
  position: relative;
  margin-top: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.wave-graphic svg {
  width: 100%;
  height: 150px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.wave-step {
  position: absolute;
  width: 330px;
  padding: 20px;
  background: #0a0a0f;
  border: 1px solid #ff001e55;
  border-radius: 12px;
  box-shadow: 0 0 20px #ff001e22;
  text-align: left;
  animation: fadeSlideUp 1s ease both;
  opacity: 0;
  transition: transform 0.3s ease;
}

.wave-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 24px #ff001e88;
}

.wave-step .icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  padding-left: 20px;
}



.wave-step .icon-wrapper {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto 16px 0;
  transform: translateX(0px); 
  filter: drop-shadow(0 0 6px #ff001e88);
}

.icon-device {
  background-image: url('/assets/icons/cloud.svg');
}

.icon-game {
  background-image: url('/assets/icons/mouse.svg');
}

.icon-performance {
  background-image: url('/assets/icons/arrow.svg');
}




.wave-step h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}

.wave-step p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.wave-step .wave-num {
  position: absolute;
  bottom: 12px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff07;
}

.wave-step-1 {
  top: 60px;
  left: 0;
  animation-delay: 0.3s;
}
.wave-step-2 {
  top: 0;
  left: 35%;
  animation-delay: 0.6s;
}
.wave-step-3 {
  top: 60px;
  right: 0;
  animation-delay: 0.9s;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .wave-graphic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
  }

  .wave-graphic svg {
    display: none;
  }

  .wave-step {
    position: static;
    width: 70%;
    max-width: 400px;
  }
}

/*BRC*/

.brc-section {
  padding: 250px 20px;
  text-align: center;
  background: none;
  position: relative;
  z-index: 0;
}

.brc-header h2 {
  font-size: 2.5rem;
  color: #ff001e;
  text-shadow: 0 0 10px #ff001e88;
  margin-bottom: 12px;
}

.brc-header p {
  color: #aaa;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.brc-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.brc-card {
  background: #0a0a0f;
  border: 1px solid #ff001e55;
  box-shadow: 0 0 20px #ff001e22;
  border-radius: 12px;
  padding: 30px 20px;
  width: 300px;
  max-width: 90%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeSlideUp 1s ease both;
  opacity: 0;
}

.brc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px #ff001e88;
}

.brc-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #ff001e;
  filter: drop-shadow(0 0 5px #ff001eaa);
}

.brc-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.brc-card p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.brc-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 0 8px #ff001eaa);
}

.brc-step-1 {
  animation-delay: 0.3s;
}
.brc-step-2 {
  animation-delay: 0.6s;
}
.brc-step-3 {
  animation-delay: 0.9s;
}

@media (max-width: 768px) {
  .brc-flow {
    flex-direction: column;
    align-items: center;
  }
}
