/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= THEME ================= */
:root {
    --primary: #4fd1c5;
    --primary-strong: #14b8a6;
    --accent: #7c7cff;
    --bg-1: #040714;
    --bg-2: #070b1f;
    --bg-3: #0a102c;
    --bg-dark: #071024;
    --bg-darker: #050818;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.12);
    --text: #e6eef6;
    --text-main: #e6f0ff;
    --text-muted: #9aa7c7;
}

body {
    font-family: "Nevis";
    color: #e6f0ff;

    background:
        linear-gradient(rgba(4, 7, 20, 0.7),
            rgba(4, 7, 20, 1)),
        url("../images/background.png");

    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;

    animation: bg-pan 120s ease-in-out infinite;
}

@keyframes bg-pan {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@font-face {
    font-family: "Nevis";
    src: url("../fonts/nevis.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

html {
    scroll-behavior: smooth;
}

/* ================= HEADER ================= */
header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(4, 7, 20, 0.65);
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    width: 50px;
    height: 50px;
}

.brand h1 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ================= NAV ACTIVE ================= */
.nav-links a.active {
  position: relative;
  color: var(--primary);
  font-weight: 700;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; /* cách underline với text */
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.play-now-btn {
    padding: 8px 18px;
    background: var(--primary);
    border-radius: 6px;
    font-weight: 700;
    transition: 0.2s;
}

.nav-links a.play-now-btn {
    color: #ffffff;
}

.play-now-btn:hover {
    background: var(--primary-strong);
}

/* ================= FOOTER ================= */
    footer {
      border-top: 1px solid var(--border);
      padding: 46px 0;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
      align-items: center;
    }

    .footer-links {
      display: flex;
      gap: 22px;
      list-style: none;
    }

    .footer-links a {
      font-size: 14px;
      color: var(--text-muted);
    }

    .footer-links a:hover {
      color: var(--primary);
    }

    .copyright {
      font-size: 14px;
      color: var(--text-muted);
    }
