/* ==========================================================================
   GAMESTORM DESIGN SYSTEM FOR D4RK SIDE STUDIOS
   Faithful recreation of Gamestorm3: Chakra Petch + Inter + Emerald #0ef0ad + #161829
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
@import url('https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css');

:root {
  --body-font: 'Inter', sans-serif;
  --head-font: 'Chakra Petch', sans-serif;

  /* Gamestorm Color Tokens */
  --p50: #e7fef7;
  --p75: #9cf9dd;
  --p100: #73f6cf;
  --p200: #37f3bb;
  --p300: #0ef0ad; /* Gamestorm Signature Neon Mint/Emerald */
  --p400: #0aa879;
  --p500: #09926a;

  --s50: #e9ebfd;
  --s200: #4b55f0;
  --s300: #2632ed;

  --n0: #ffffff;
  --n10: #fafafb;
  --n50: #c5c5ca;
  --n60: #b7b7bd;
  --n70: #abacb2;
  --n80: #9d9ea5;
  --n100: #81828b;
  --n400: #5a5b67;
  --n500: #4c4d5a;
  --n600: #404250;
  --n700: #303141;
  --n800: #222434;
  --n900: #161829; /* Darkest Slate Blue */

  --danger-color: #ed5050;
  --success-color: #3fca90;

  --gradient-one-color: linear-gradient(179.33deg, rgba(9, 146, 106, 0) 5%, #09926a 90%);
  --box-shadow-one: 0px 4px 12px rgba(14, 240, 173, 0.25);
  --box-shadow-card: 0px 10px 30px rgba(0, 0, 0, 0.4);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--n900);
}

body {
  font-family: var(--body-font);
  background-color: var(--n900);
  color: var(--n50);
  font-size: 17px;
  line-height: 28px;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Custom Cursor Follower */
.mouse-follower {
  z-index: 9999;
  pointer-events: none;
}
.mouse-follower span {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, opacity 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
}
.mouse-follower .cursor-outline {
  width: 32px;
  height: 32px;
  border: 1px solid var(--p300);
}
.mouse-follower .cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--p300);
}

/* Hide the custom dot and circle on links and interactive elements */
.mouse-follower.hide-cursor,
.mouse-follower.hide-cursor span,
body:has(a:hover) .mouse-follower,
body:has(a:hover) .mouse-follower span,
body:has(button:hover) .mouse-follower,
body:has(button:hover) .mouse-follower span,
body:has(.box-style:hover) .mouse-follower,
body:has(.tab-btn:hover) .mouse-follower,
body:has(.nav-link:hover) .mouse-follower,
body:has(input:hover) .mouse-follower,
body:has(select:hover) .mouse-follower,
body:has(textarea:hover) .mouse-follower,
body:has([role="button"]:hover) .mouse-follower {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}


/* Scroll To Top */
.scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--n800);
  border: 1px solid var(--p300);
  color: var(--p300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.scrollToTop.active {
  opacity: 1;
  visibility: visible;
}
.scrollToTop:hover {
  background: var(--p300);
  color: var(--n900);
  box-shadow: 0 0 20px rgba(14, 240, 173, 0.5);
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.heading, .display-one, .display-four {
  font-family: var(--head-font);
  color: var(--n0);
  font-weight: 700;
  line-height: 1.2;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
.heading span, .display-one span, .display-four span, .sub-title span {
  color: var(--p300);
}

.sub-title {
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--n0);
  margin-bottom: 0.8rem;
  display: block;
}

.display-one {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.display-four {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  color: var(--n50);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: var(--n50);
  transition: color 0.25s ease;
}
a:hover {
  color: var(--p300);
}

/* Container & Grid Helpers */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col-12 { width: 100%; padding: 0 1rem; }
.col-lg-6 { width: 50%; padding: 0 1rem; }
.col-lg-4 { width: 33.333%; padding: 0 1rem; }
.col-lg-3 { width: 25%; padding: 0 1rem; }
.col-md-6 { width: 50%; padding: 0 1rem; }
.col-md-4 { width: 33.333%; padding: 0 1rem; }

@media (max-width: 991px) {
  .col-lg-6, .col-lg-4, .col-lg-3 { width: 100%; }
}
@media (max-width: 767px) {
  .col-md-6, .col-md-4 { width: 100%; }
}

.pt-120 { padding-top: 100px; }
.pb-120 { padding-bottom: 100px; }
.text-center { text-align: center; }

/* Buttons (Gamestorm Style) */
.box-style {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--head-font);
  transition: all 0.3s ease;
  z-index: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.box-style.btn-box {
  padding: 14px 30px;
  background-color: var(--p300);
  color: var(--n900);
  border-radius: 16px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  gap: 0.5rem;
}

.box-style.btn-box:hover {
  background-color: var(--n0);
  color: var(--n900);
  box-shadow: 0 0 25px rgba(14, 240, 173, 0.6);
  transform: translateY(-2px);
}

.box-style.btn-box-third {
  padding: 13px 28px;
  background-color: transparent;
  border: 1px solid var(--p300);
  color: var(--n0);
  border-radius: 16px;
  font-size: 1rem;
  gap: 0.5rem;
}

.box-style.btn-box-third:hover {
  background-color: var(--p300);
  color: var(--n900);
  box-shadow: 0 0 25px rgba(14, 240, 173, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navbar (Clean, NO lateral menu)
   ========================================================================== */
.header-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(22, 24, 41, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--n700);
  transition: all 0.3s ease;
}

.header-section.scrolled {
  background: rgba(18, 20, 35, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.nav-brand .brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--p300);
  object-fit: cover;
}

.nav-brand .brand-title {
  font-family: var(--head-font);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--n0);
  letter-spacing: 0.05em;
}

.nav-brand .brand-title span {
  color: var(--p300);
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--head-font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--n50);
  text-transform: capitalize;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--p300);
}

/* Nav Dropdowns */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--n800);
  border: 1px solid var(--n700);
  border-top: 2px solid var(--p300);
  border-radius: 8px;
  min-width: 210px;
  padding: 0.75rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 0.6rem 1.4rem;
  font-family: var(--head-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--n50);
  transition: all 0.2s ease;
}

.nav-dropdown li a:hover {
  background: rgba(14, 240, 173, 0.08);
  color: var(--p300);
  padding-left: 1.8rem;
}

.nav-right-area {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--n800);
  border: 1px solid var(--n700);
  color: var(--p300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.icon-btn:hover {
  background: var(--p300);
  color: var(--n900);
  box-shadow: 0 0 15px rgba(14, 240, 173, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--n0);
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero / Banner Section (Home One)
   ========================================================================== */
.banner-section {
  position: relative;
  min-height: 92vh;
  padding-top: 150px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 75% 30%, #1f233f 0%, #161829 65%);
  overflow: hidden;
}

.banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40' fill='%23222434' fill-opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 240, 173, 0.12);
  border: 1px solid var(--p300);
  color: var(--p300);
  padding: 6px 16px;
  border-radius: 50px;
  font-family: var(--head-font);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.banner-btns {
  display: flex;
  gap: 1.25rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

/* Featured Game Showcase Card in Hero */
.featured-game-hero-card {
  background: var(--n800);
  border: 1px solid var(--n700);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--box-shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.featured-game-hero-card:hover {
  transform: translateY(-5px);
  border-color: var(--p300);
}

.featured-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.featured-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-game-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--p300);
  color: var(--n900);
  padding: 4px 12px;
  border-radius: 6px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
}

/* ==========================================================================
   About Block & Counter Statistics
   ========================================================================== */
.about-block-section {
  background: var(--n800);
  position: relative;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.counter-box {
  background: var(--n900);
  border: 1px solid var(--n700);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.counter-box:hover {
  border-color: var(--p300);
  transform: translateY(-4px);
}

.counter-val {
  font-family: var(--head-font);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--n0);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.counter-val span {
  color: var(--p300);
}

.counter-label {
  font-size: 0.88rem;
  color: var(--n50);
}

/* ==========================================================================
   Games Portfolio Section & Platform Tabs
   ========================================================================== */
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--n800);
  border: 1px solid var(--n700);
  color: var(--n50);
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  font-family: var(--head-font);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn i {
  font-size: 1.2rem;
  color: var(--p300);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--p300);
  color: var(--n900);
  border-color: var(--p300);
  box-shadow: 0 0 20px rgba(14, 240, 173, 0.4);
}

.tab-btn:hover i, .tab-btn.active i {
  color: var(--n900);
}

.game-card {
  background: var(--n800);
  border: 1px solid var(--n700);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--p300);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(14, 240, 173, 0.2);
}

.game-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.game-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-card-img-wrap img {
  transform: scale(1.06);
}

.game-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-card-genre {
  font-family: var(--head-font);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--p300);
  margin-bottom: 0.4rem;
}

.game-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.game-card-title a {
  color: var(--n0);
}
.game-card-title a:hover {
  color: var(--p300);
}

.game-card-desc {
  font-size: 0.95rem;
  color: var(--n50);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.game-card-footer {
  border-top: 1px solid var(--n700);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Apps Section (Featuring VOXY)
   ========================================================================== */
.apps-feature-box {
  background: linear-gradient(135deg, #1c1f36 0%, #161829 100%);
  border: 1px solid var(--n700);
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--box-shadow-card);
}

.apps-feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--p300);
  box-shadow: 0 0 15px var(--p300);
}

.voxy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 240, 173, 0.15);
  border: 1px solid var(--p300);
  color: var(--p300);
  padding: 4px 14px;
  border-radius: 20px;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.app-feature-list {
  list-style: none;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.app-feature-item i {
  color: var(--p300);
  font-size: 1.4rem;
  margin-top: 2px;
}

/* ==========================================================================
   Services Section (Gamestorm Style)
   ========================================================================== */
.service-card {
  background: var(--n800);
  border: 1px solid var(--n700);
  border-radius: 18px;
  padding: 2.2rem;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--p300);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(14, 240, 173, 0.1);
  border: 1px solid var(--p300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p300);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.service-card h4 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ==========================================================================
   Inner Page Banner & Breadcrumb
   ========================================================================== */
.inner-banner {
  padding-top: 160px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 50% 0%, #202441 0%, #161829 70%);
  border-bottom: 1px solid var(--n700);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--head-font);
  font-size: 0.95rem;
  color: var(--n50);
}

.breadcrumb-nav a {
  color: var(--p300);
}

/* ==========================================================================
   Forms & Modals
   ========================================================================== */
.cmn-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--n900);
  border: 1px solid var(--n700);
  border-radius: 10px;
  color: var(--n0);
  font-family: var(--body-font);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.cmn-input:focus {
  border-color: var(--p300);
  box-shadow: 0 0 10px rgba(14, 240, 173, 0.3);
}

textarea.cmn-input {
  min-height: 120px;
  resize: vertical;
}

/* Search & Auth Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 12, 22, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1.5rem;
}

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

.modal-box {
  background: var(--n800);
  border: 1px solid var(--n700);
  border-radius: 20px;
  width: 100%;
  max-width: 550px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.modal-close-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--n50);
  font-size: 1.6rem;
  cursor: pointer;
}
.modal-close-icon:hover {
  color: var(--p300);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-section {
  background: #111322;
  border-top: 1px solid var(--n700);
  padding-top: 80px;
  padding-bottom: 30px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-col h5 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--n0);
  font-family: var(--head-font);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--n50);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--p300);
  padding-left: 0.4rem;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .navbar-nav {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: var(--n900);
    flex-direction: column;
    padding: 2.5rem;
    align-items: flex-start;
    gap: 1.5rem;
    overflow-y: auto;
    transition: left 0.3s ease;
    border-top: 1px solid var(--n700);
  }
  .navbar-nav.open {
    left: 0;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--n800);
    margin-top: 0.5rem;
    width: 100%;
  }
}
