/* Variables */
:root {
  --bg: #f4f5f7;
  --surface: #fff;
  --text: #0b1220;
  --muted: rgba(11, 18, 32, 0.6);
  --accent: #1a73e8;
  --accent-2: #34a853;
  --glass: rgba(255, 255, 255, 0.6);
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  --radius: 14px;
  --maxw: 1150px;
}

/* Dark theme */
body.dark {
  --bg: #0b0f13;
  --surface: #0f1720;
  --text: #e6eef8;
  --muted: rgba(230, 238, 248, 0.7);
  --accent: #4ea1ff;
  --accent-2: #5cd07a;
  --glass: rgba(255, 255, 255, 0.04);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Base */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background 0.3s,
    color 0.3s;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(11, 18, 32, 0.92);
  color: #ffffff;
  text-align: center;
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease;
}

.page-loader.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(26, 115, 232, 0.18),
      transparent 24%
    ),
    radial-gradient(circle at 80% 80%, rgba(52, 168, 83, 0.18), transparent 22%);
  pointer-events: none;
}

.page-loader-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.loader {
  --path: rgba(255, 255, 255, 0.28);
  --dot: #eea228;
  --duration: 3s;
  width: 44px;
  height: 44px;
  position: relative;
}

.loader:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  display: block;
  background: var(--dot);
  top: 37px;
  left: 19px;
  transform: translate(-18px, -18px);
  animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

.loader svg {
  display: block;
  width: 100%;
  height: 100%;
}

.loader svg rect,
.loader svg polygon,
.loader svg circle {
  fill: none;
  stroke: var(--path);
  stroke-width: 10px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.loader svg polygon {
  stroke-dasharray: 145 76 145 76;
  stroke-dashoffset: 0;
  animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

.loader svg rect {
  stroke-dasharray: 192 64 192 64;
  stroke-dashoffset: 0;
  animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader svg circle {
  stroke-dasharray: 150 50 150 50;
  stroke-dashoffset: 75;
  animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

.loader.triangle {
  width: 48px;
}

.loader.triangle:before {
  left: 21px;
  transform: translate(-10px, -18px);
  animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
    infinite;
}

@keyframes pathTriangle {
  33% {
    stroke-dashoffset: 74;
  }
  66% {
    stroke-dashoffset: 147;
  }
  100% {
    stroke-dashoffset: 221;
  }
}

@keyframes dotTriangle {
  33% {
    transform: translate(0, 0);
  }
  66% {
    transform: translate(10px, -18px);
  }
  100% {
    transform: translate(-10px, -18px);
  }
}

@keyframes pathRect {
  25% {
    stroke-dashoffset: 64;
  }
  50% {
    stroke-dashoffset: 128;
  }
  75% {
    stroke-dashoffset: 192;
  }
  100% {
    stroke-dashoffset: 256;
  }
}

@keyframes dotRect {
  25% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(18px, -18px);
  }
  75% {
    transform: translate(0, -36px);
  }
  100% {
    transform: translate(-18px, -18px);
  }
}

@keyframes pathCircle {
  25% {
    stroke-dashoffset: 125;
  }
  50% {
    stroke-dashoffset: 175;
  }
  75% {
    stroke-dashoffset: 225;
  }
  100% {
    stroke-dashoffset: 275;
  }
}

.page-loader-text {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, var(--glass), transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  font-weight: 800;
  font-size: 18px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.main-nav a:hover {
  background: rgba(0, 0, 0, 0.03);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
}
.cta {
  background: var(--text);
  color: var(--surface);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.mobile-nav a {
  padding: 8px 0;
  border-radius: 8px;
}

/* Hero */
.hero {
  padding: 56px 0 80px;
  overflow: hidden;
}
.hero-inner {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-title {
  font-size: 48px;
  line-height: 1.05;
  margin-bottom: 18px;
  font-weight: 900;
}
.accent {
  color: var(--text);
}
.hero-sub {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 15px;
}

/* Gallery area - Creative tilt cards */
.hero-gallery {
  background-image: url();
  position: relative;
  margin: 26px 0 18px;
}
.cards {
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
  transform: rotate(-6deg);
  transition: transform 0.85s;
  will-change: transform;
}
.card {
  width: 500px;
  height: 600px;
  margin-left: 100px;
  margin-right: 50px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;

  transition:
    transform 0.45s,
    box-shadow 0.25s;
  cursor: pointer;
  transform-origin: center;
}
.card:nth-child(1) {
  transform: rotate(0deg);
}
.card:hover {
  transform: translateY(-10px) scale(1.06) rotate(2deg);
}
.kiri {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.kanan {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

/* Playstyle */
.playstyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.playstyle {
  background: var(--surface);
  padding: 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
  transition: transform 0.25s;
}
.testi:hover {
  transform: rotate(0deg) scale(1.02);
}
.testi p {
  color: var(--muted);
  margin-bottom: 12px;
}
.testi cite {
  font-size: 13px;
  color: var(--muted);
}

/* achievment */
.achievment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.achievment {
  padding: 22px;
  border-radius: 12px;
  transition: transform 0.25s;
}
.testi:hover {
  transform: rotate(0deg) scale(1.02);
}
.testi p {
  color: var(--muted);
  margin-bottom: 12px;
}
.testi cite {
  font-size: 13px;
  color: var(--muted);
}
#achievment li {
  margin: 26px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* tags */
.tag {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow);
}
.tag-left {
  left: 12%;
}
.tag-right {
  right: 12%;
  left: auto;
  background: var(--accent-2);
}

/* Brands slider */
.brands {
  padding: 56px 0;
}
.section-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}
.brand-slider {
  display: flex;
  gap: 48px;
  overflow: hidden;
  align-items: center;
  padding: 19px 0;
  will-change: transform;
}
.brand-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}
.brand-item img {
  height: 90px;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.brand-item img:hover {
  opacity: 1;
}

/* Brand */
.Brand-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.Brand-card,
.Brand-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.Brand-card:hover,
.Brand-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}
.pc-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.pc-body {
  padding: 20px;
}
.pc-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.pc-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
/* Stats*/

.stats-inner {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin: 36px 0;
}
.stat-card {
  text-align: center;
  background: var(--surface);
  padding: 3px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 160px;
}
.stat-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.stat-card p {
  color: var(--muted);
}

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.testi {
  background: var(--surface);
  padding: 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
  transition: transform 0.25s;
}
.testi:hover {
  transform: rotate(0deg) scale(1.02);
}
.testi p {
  color: var(--muted);
  margin-bottom: 12px;
}
.testi cite {
  font-size: 13px;
  color: var(--muted);
}

/* Player Stories grid */
.player-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.player-card,
.story-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.player-card:hover,
.story-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}
.pc-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.pc-body {
  padding: 20px;
}
.pc-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.pc-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
/* Testimonials */
.sociamedia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.social {
  background: var(--surface);
  padding: 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
  transition: transform 0.25s;
  height: 100vh;
}
.social:hover {
  transform: rotate(0deg) scale(1.02);
}
.social p {
  color: var(--muted);
  margin-bottom: 12px;
}
.social cite {
  font-size: 13px;
  color: var(--muted);
}
/* SOCIAL */
#socialmedia {
  display: flex;
  flex-direction: row;
  align-items: start;
  padding: 60px 30px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 900px;
}
.social-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.social-card {
  border-radius: 20px;
  padding: 25px 15px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  color: white;
}

.social-card .twitter,
.instagram.facebook:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* SOCIAL COLORS */
.facebook {
  background: linear-gradient(135deg, #1877f2, #033779);
}
.twitter {
  background: linear-gradient(135deg, #434343, #000000, #3b3b3b);
}
.instagram {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
}
/* FAQ accordion */
.accordion {
  margin-top: 18px;
}
.accordion-item {
  background: var(--surface);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.acc-toggle {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-weight: 700;
  padding: 8px;
  font-size: 15px;
  cursor: pointer;
}
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  color: var(--muted);
  padding-top: 6px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 9999;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 92%;
  max-height: 86%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.lightbox .close {
  position: absolute;
  top: 28px;
  right: 36px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

/* Story modal */
.story-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 9998;
}
.story-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.story-content {
  background: var(--surface);
  color: var(--text);
  padding: 24px;
  border-radius: 12px;
  max-width: 720px;
  width: 94%;
  box-shadow: var(--shadow);
}

/* tiny cursor glow */

/* helpers / entrance */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-title,
.hero-sub,
.cards,
.hero-cta,
.section-title,
.testi {
  animation: fadeUp 1s ease both;
}

/* responsive */
@media (max-width: 1000px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .stats-inner {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
  }
  .stat-card {
    text-align: center;
    background: var(--surface);
    padding: 14px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 160px;
  }
  .stat-card h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .stat-card {
    width: 60px;
    height: 60px;
  }
  .kiri {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .kanan {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .header-inner {
    padding: 19px 0;
  }
  .menu-toggle {
    display: none;
  }

  .main-nav {
    display: none;
  }
  .mobile-nav {
    display: none;
    margin: auto;
  }
  .hero-title {
    font-size: 34px;
  }
  .cards {
    transform: none;
  }
  .card {
    width: 130px;
    height: 130px;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .hero-title {
    font-size: 28px;
  }
  .card {
    width: 110px;
    height: 110px;
  }
  .container {
    padding: 0 14px;
  }
}

/* small polish for dark mode */
body.dark .testi,
body.dark .stat-card,
body.dark .card {
  border: 1px solid rgba(255, 255, 255, 0.04);
}
