@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --bg: #0f1115;
    /* page background like screenshot */
    --nav: #2a2c32;
    /* navbar dark gray */
    --card: #1b1e24;
    /* card blocks */
    --text: #f1f3f8;
    /* primary text */
    --muted: #b7bcc9;
    /* secondary text */
    --accent: #ff7a3d;
    /* orange button */
    --accent-2: #353976;
    /* soft indigo seen in shot */
    --ring: #3a3d46;
    /* outlines */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: var(--bg);
    color: var(--text);
}

/* NAVBAR */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)) padding-box, #1b1e24;
    border-bottom: 1px solid #262933;
}

.nav .inner {
    position: relative;
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo {
    width: 112px;
    height: auto;
    display: inline-block;
}

.menu {
    display: flex;
    gap: 16px;
    margin-left: 8px;
    flex: 1;
    flex-wrap: wrap;
}

.menu a {
    color: #d7d9e2;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: all .2s ease;
}

.menu a:hover {
    background: #20232b;
    color: #fff;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Show hamburger only on mobile */
.hamburger {
    display: none;
    background: transparent;
    border: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.hamburger-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (max-width: 960px) {
    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Drawer container */
.drawer {
    position: fixed;
    inset: 0 auto 0 0;
    /* left side */
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: #1b1e24;
    color: #fff;
    box-shadow: 8px 0 30px rgba(0, 0, 0, .45);
    transform: translateX(-100%);
    transition: transform .28s ease;
    z-index: 10010;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-right: 1px solid #272b36;
}

/* Drawer nav links */
.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
}

.drawer-nav a {
    display: block;
    padding: 12px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #e9ecf7;
    font-weight: 600;
    font-size: 14px;
    background: transparent;
    border: 1px solid transparent;
}

.drawer-nav a:hover {
    background: #20232b;
    border-color: #2d313b;
}

/* Dark overlay behind drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(1px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

/* Open state driven by .drawer-open on <body> */
body.drawer-open .drawer {
    transform: translateX(0);
}

body.drawer-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.drawer-open {
    overflow: hidden;
}

/* ===== Mobile layout ===== */
@media (max-width: 768px) {

    /* Hide desktop nav + actions */
    .menu,
    .nav-actions {
        display: none !important;
    }

    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav .inner {
        height: 56px;
        /* consistent bar height like screenshot */
        justify-content: flex-start;
    }

    /* Center the logo absolutely within the bar */
    .brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;

    /* Active glow animation */
    animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
        transform: scale(1);
    }

    50% {
        filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
        transform: scale(1.03);
    }
}

/* Slight stagger between buttons */
.btn:nth-child(1) {
    animation-delay: 0.2s;
}

.btn:nth-child(2) {
    animation-delay: 0.4s;
}

/* Hover scaling + glow */
.btn:hover {
    transform: scale(1.06);
    filter: brightness(1.05) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.btn:active {
    transform: translateY(1px);
}

/* Keyframes for entrance animation */
@keyframes btnFadeUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.btn-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    /* Convert image color to white */
    filter: brightness(0) invert(1);
}

.btn-primary {
    background: linear-gradient(90deg, #1b0548, #f15103);
    color: #ffffff;
    border: none;

    display: inline-flex;      /* NEW */
    align-items: center;       /* NEW */
    gap: 8px;                  /* Optional: spacing between icon + text */
    white-space: nowrap;       /* Prevent text from breaking to next line */
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-ghost {
    background: transparent;
    color: #e9ecf7;
    border-color: #ffffff;
}

.btn-ghost:hover {
    background: #20232b;
}

/* HERO */
.hero {
    max-width: 1160px;
    margin: 40px auto 32px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    padding: 0 18px;
    align-items: center;
}

.hero-left {
    text-align: center;
    padding: 24px 10px;
}

h1 {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: .2px;
}

.lead {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    max-width: 520px;
    margin: 0 auto 16px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-art {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;

    background-image: url('/assets/background.png');
    background-size: 450px auto;
    /* smaller background */
    background-position: center;
    background-repeat: no-repeat;
}


.hero-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 20px;
    z-index: 2;
    /* ensures image stays above background */
}

@media (max-width: 768px) {
    .hero-actions {
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .hero-art {
        min-height: 260px;
        background-position: top;
    }

    .hero-image {
        max-width: 300px;
    }
}

/* CUSTOMER SUPPORT CARD */
.support {
    max-width: 800px;
    margin: 18px auto 44px;
    padding: 0 18px;
}

.support .card {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)) padding-box, #1b1e24;
    border: 1px solid #272b36;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.support h3 {
    margin: 0 0 6px;
    font-size: 14px
}

.support p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45
}

.actions {
    display: flex;
    justify-content: center;
    /* pushes buttons to the right */
    gap: 10px;
    flex-wrap: wrap;
}

.btn-wa,
.btn-tg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    width: 140px;
    /* fixed equal width */
    height: 40px;
    /* fixed equal height */
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.btn-wa {
    background: #19d362;
    color: #ffffff;
    border-color: transparent
}

.btn-wa:hover {
    filter: brightness(1.04)
}

.btn-tg {
    background: #2aa9ff;
    color: #ffffff;
    border-color: transparent
}

.btn-tg:hover {
    filter: brightness(1.05)
}

/* CONTENT */
.content {
    max-width: 1160px;
    margin: 24px auto;
    padding: 0 18px;
}

.content-box {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02)) padding-box, #1b1e24;
    border: 1px solid #272b36;
    border-radius: 14px;
    padding: 24px;
    color: #e6e9f6;
    font-size: 14px;
    line-height: 1.7;
}

.content-image {
    display: block;
    /* ensures margin auto works */
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    margin: 0 auto 16px;
    /* centers horizontally */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.content-box h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.content-box h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.content-box p {
    margin: 0;
    color: #cdd1de;
}

/* UTIL */
.spacer {
    height: 6px
}

.hide-mobile {
    display: initial
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 6px
    }

    .hero-left {
        order: 2
    }

    .hero-art {
        order: 1;
        min-height: 260px
    }

    .phone {
        width: 92%;
        max-width: 380px;
        height: 200px
    }

    .menu {
        display: none
    }

    /* collapse menu like screenshot feel */
    .hide-mobile {
        display: none
    }
}

/* ===== Mobile Sticky Bottom Bar ===== */
/* Default: hidden on desktop */
.mobile-tabbar {
    display: none;
}

/* Show only on mobile */
@media (max-width: 960px) {
    .mobile-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 64px;
        background: #2a2c32;
        border-top: 1px solid #1f222a;
        z-index: 9999;
        padding-bottom: env(safe-area-inset-bottom, 0);

        /* Equal spacing for all 5 items */
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        justify-items: center;

        /* hidden by default, slide up when active */
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    /* When scrolled past trigger */
    .mobile-tabbar.is-visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .tab-item {
        text-decoration: none;
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        gap: 4px;
    }

    .tab-icon {
        width: 24px;
        height: 24px;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    /* Yellow center circle */
    .tab-fab {
        text-decoration: none;
        width: 72px;
        height: 72px;
        margin-top: -22px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .fab-ring {
        width: 62px;
        height: 62px;
        background: #f4c542;
        border-radius: 50%;
        display: grid;
        place-items: center;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    }

    .fab-icon {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

    /* Notification badge */
    .badge {
        position: absolute;
        top: 4px;
        right: 8px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        background: #e11919;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: badge-ping 1.6s infinite ease-out;
    }

    @keyframes badge-ping {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(225, 25, 25, .5);
        }

        60% {
            transform: scale(1.08);
            box-shadow: 0 0 0 10px rgba(225, 25, 25, 0);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 0 0 12px rgba(225, 25, 25, 0);
        }
    }
}


/* === Footer Section === */
.site-footer {
    background: #151515;
    color: #d7d7d7;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-wrap {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top grid */
.site-footer .footer-wrap:first-of-type {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    /* brand | links | pay */
    gap: 36px;
    align-items: start;
    padding-bottom: 18px;
}

/* vertical dividers like screenshot */
.footer-col {
    padding: 8px 24px;
    position: relative;
}

.footer-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, .08);
}

/* Brand block */
.ft-logo {
    height: 70px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}

.ft-small {
    font-size: 13px;
    color: #bfbfbf;
    margin: 6px 0;
}

.ft-small.label {
    margin-top: 12px;
}

.reg-logos {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 8px 0 12px;
}

.reg-logos img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.social {
    display: flex;
    align-items: center;
    gap: 10px;

}

.social .ft-small {
    margin-right: 6px;
}

.social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #232323;
    color: #eaeaea;
    font-size: 13px;
    transition: transform .15s ease, background .15s ease, color .15s ease;
    text-decoration: none;
}

.social a:hover {
    transform: translateY(-2px);
    background: #2c2c2c;
    color: #fff;
}

/* Links */
.ft-title {
    color: #e9e9e9;
    margin: 0 0 10px;
    font-weight: 800;
    font-size: 16px;
}

.links-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ft-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ft-list li {
    margin: 8px 0;
    font-size: 14px;
}

.ft-list a {
    color: #cfcfcf;
    text-decoration: none;
    font-size: 14px;
}

.ft-list a:hover {
    color: #ffffff;
}


/* Payment methods */
.footer-pay .pay-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: center;
    justify-content: center;
    /* optional: center them horizontally */
}

.pay-logos img {
    width: 70px;
    /* fixed width for all logos */
    height: 40px;
    /* fixed height for all logos */
    object-fit: contain;
    /* keeps aspect ratio within the box */
    display: block;
    background: transparent;
    /* remove unwanted bg color */
    filter: grayscale(100%) brightness(1.1);
    opacity: 0.9;
    border-radius: 4px;
    /* optional: smooth edges */
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 18px;
}

.copy {
    text-align: center;
    font-size: 12px;
    color: #b9b9b9;
    padding: 10px 0 16px;
}

/* Responsive */
@media (max-width: 980px) {
    .site-footer .footer-wrap:first-of-type {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-col {
        padding: 0;
    }

    .footer-col::after {
        display: none;
    }

    .links-split {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

/******************** GAMES *********************/
/* Section layout */
.swipe-section {
    max-width: 1160px;
    margin: 24px auto;
    padding: 0 18px;
}

.swipe-row {
    margin-bottom: 24px;
}

.swipe-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 10px;
}

/* Wrap with arrows + fades */
.swipe-wrap {
    position: relative;
}

.swipe-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #2d313b;
    background: #20232b;
    color: #fff;
    cursor: pointer;
    z-index: 3;
    display: none;
    /* hidden on touch; show on desktop below */
}

.swipe-arrow.left {
    left: -6px;
}

.swipe-arrow.right {
    right: -6px;
}

@media (min-width: 961px) {
    .swipe-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Edge fade hint (shows more content to the right/left) */
.edge-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
    display: none;
}

.edge-fade.left {
    left: 0;
    background: linear-gradient(90deg, #0f1115, rgba(15, 17, 21, 0));
}

.edge-fade.right {
    right: 0;
    background: linear-gradient(270deg, #0f1115, rgba(15, 17, 21, 0));
}

@media (min-width: 961px) {
    .edge-fade {
        display: block;
    }
}

/* Horizontal track */
.swipe-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 6px;

    
}

.swipe-track::-webkit-scrollbar {
    height: 0;
}

/* Cards */
.game-card {
    flex: 0 0 auto;
    width: 250px;
    height: 250px;
    border-radius: 14px;
    background: #1b1e24;
    border: 1px solid #272b36;
    display: block;
    scroll-snap-align: start;
    overflow: hidden;
}

@media (max-width: 768px) {
    .game-card {
        width: 150px;
        height: 150px;
    }
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(#d7f0ff, #c7e9ff);
    /* placeholder feel */
}

/* mobile-only: show background.png behind BOTH columns */
@media (max-width: 768px) {
  .hero {
    position: relative;
    background-image: url("assets/background.png"); /* <-- use your existing path */
    background-repeat: no-repeat;
    background-position: center 0px;  /* shift up so the glow sits behind the H1 */
    background-size: 400px auto;         /* tweak as you like (700–900px works well) */
    overflow: hidden;                     /* keep overflow tidy */
  }

  /* remove the image from the right column on mobile so it doesn't clip the glow */
  .hero-art {
    background: none !important;
  }

  /* optional: ensure hero content paints above the bg image */
  .hero > * {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 768px) {
    .hero-image {
        max-width: 250px;
    }

    .hero {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

/* ✅ Fix list alignment in content sections */
.content ul,
.content ol {
  margin-left: 0;            /* remove default margin */
  padding-left: 0.5rem;      /* consistent small indent for bullets/numbers */
  list-style-position: inside; /* keep bullets/numbers aligned with text */
}

/* Optional: match font and spacing with paragraphs */
.content ul li,
.content ol li {
  font-size: 1rem;
  line-height: 1.6;
  color: #e4e4e4;            /* match your site’s body text color */
  margin-bottom: 6px;
}

/* ==== Simple Responsive Table (no chips) ==== */
.table-wrap {
  margin-top: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid #272b36;
  border-radius: 12px;
  overflow: hidden; /* clip rounded corners */
}

.table thead th {
  background: #20232b;
  color: #e9e9e9;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #2d313b;
  white-space: nowrap;
}

.table tbody td {
  padding: 12px 14px;
  font-size: 14px;
  color: #e6e9f6;
  border-bottom: 1px solid #272b36;
  vertical-align: top;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

/* Mobile: stack each row as labeled blocks */
@media (max-width: 768px) {
  .table thead {
    display: none;
  }
  .table tbody tr {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid #272b36;
  }
  .table tbody td {
    display: grid;
    grid-template-columns: 140px 1fr; /* label | value */
    align-items: start;
    gap: 10px;
    padding: 0;
    border: 0;
  }
  .table tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .2px;
  }
}

