/* Modern Gaming UI – Neon + Glass Refresh MAIN ONE */

:root {
    --bg: #050712;
    --panel: rgba(255, 255, 255, 0.07);
    --panel-strong: rgba(255, 255, 255, 0.12);
    --border: rgba(255, 255, 255, 0.16);
    --text: #f5f7ff;
    --muted: #aeb4c4;
    --accent: #5ab4ff;
    --accent-glow: 0 0 14px rgba(90,180,255,0.7);
    --radius: 20px;
    --shadow: 0 12px 40px rgba(0,0,0,0.55);
}

body {
    margin: 0;
    background: radial-gradient(circle at top, #11131f, #04050a);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
}

/* NAVBAR */

.navbar {
    background: rgba(5, 7, 18, 0.6);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Layout: logo left, nav right */
.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* UPDATED LOGO — Bigger + Hard Left */
.logo {
    height: 110px;
    width: auto;
    object-fit: contain;
    margin-right: 40px;
    cursor: pointer;
    display: block;
}

/* NAV LINKS */

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-left: 24px;
    color: var(--muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: 0.25s ease;
    padding: 6px 10px;
    border-radius: 10px;
}

nav a:hover {
    color: var(--accent);
    background: rgba(90,180,255,0.08);
    text-shadow: var(--accent-glow);
}

/* HERO */

.hero {
    text-align: center;
    padding: 80px 20px 60px;
}

.hero h1 {
    font-size: 3.1rem;
    margin-bottom: 10px;
    text-shadow: 0 0 22px rgba(90,180,255,0.45);
}

.hero p {
    color: var(--muted);
    font-size: 1.2rem;
}

.hero-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px auto;
}

/* SECTIONS */

.section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 1.9rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.08);
}

/* CARD GRID */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

/* CARD */

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px) saturate(180%);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.card:hover {
    transform: translateY(-8px);
    background: var(--panel-strong);
    box-shadow: 0 0 24px rgba(90,180,255,0.45);
}

/* IMAGE AUTO-SIZE */

.img-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.06);
}

/* TEXT */

.card h3 {
    margin: 12px 0 6px;
}

.card p {
    color: var(--muted);
    font-size: 0.98rem;
}

/* BUTTON */

.btn {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
}

.btn:hover {
    text-shadow: var(--accent-glow);
    opacity: 0.9;
}

/* FOOTER */

.footer {
    text-align: center;
    padding: 25px;
    color: var(--muted);
    margin-top: 40px;
}

/* MOBILE FIXES */

@media (max-width: 800px) {
    .nav-inner {
        flex-direction: column;
        gap: 14px;
    }

    .logo {
        height: 90px;
        margin-right: 0;
    }

    nav a {
        margin-left: 16px;
        font-size: 1.05rem;
    }
}

/* COOKIE POPUP OVERLAY */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  display: none;
  z-index: 999;
}

.overlay-fade-out {
  animation: overlayFadeOut 0.4s ease forwards;
}

@keyframes overlayFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* COOKIE POPUP BOX */
.cookie-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(20px) saturate(180%);
  padding: clamp(1rem, 3vw, 2rem);
  width: clamp(260px, 80vw, 380px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  text-align: center;
  display: none;
  z-index: 1000;
  animation: fadeUp 0.9s ease;
}

.cookie-popup h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #ffffff;
}

.cookie-popup p {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: #e0e0e0;
  margin-bottom: 1.2rem;
}

/* FADE OUT ANIMATION */
.fade-out {
  animation: fadeOut 0.4s ease forwards;
}

@keyframes fadeOut {
  from { opacity: 1; transform: translate(-50%, -50%); }
  to { opacity: 0; transform: translate(-50%, -45%); }
}

/* BUTTONS */
.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cookie-buttons button {
  padding: 0.55rem 1.3rem;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.25s;
}

#cookieYes {
  background: #5ab4ff;
  color: white;
}

#cookieNo {
  background: rgba(255,255,255,0.25);
  color: white;
}

.cookie-buttons button:hover {
  opacity: 0.85;
}

/* ANIMATION */
@keyframes fadeUp {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
