/* ============================================================
   GLOBAL / TYPOGRAPHY (Plus Jakarta Sans everywhere)
   ============================================================ */
:root {
    --brand-dark: #234c5e;   /* menu + login button */
    --brand-blue: #3179b0;   /* CTA button */
    --primary-color: #007AFF;
    --secondary-color: #00C6FF;
    --warning-color: #FF9800;
    --dark-color: #222;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html, body {
    font-family: var(--font-sans);
}

/* Default heading/body weights */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-sans); font-weight: 700; }
p, li, small, label, input, button, a, span { font-family: var(--font-sans); font-weight: 400; }

/* ============================================================
   MASTHEAD (shared background for top menu + hero)
   ============================================================ */

.masthead {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #0b0b0b;
}

.masthead-inner {
    padding-top: 24px;
    padding-bottom: 48px; /* spacing under hero */
}

.masthead-top {
    gap: 40px;
}

/* right cluster: menu + login together */
.masthead-right {
  gap: 20px; /* space between menu and login button */
}

/* tighten on small screens */
@media (max-width: 992px) {
  .masthead-right {
    gap: 12px;
  }
  .main-menu .menu-list {
    gap: 18px;
  }
}


/* Logo */
.brand-logo {
    height: 63px;
    width: auto;
    display: block;
}

/* Menu */
.main-menu .menu-list {
  display: flex;
  align-items: center;
  gap: 28px; /* spacing between links */
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu .menu-link {
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 500; /* Medium */
    color: var(--brand-dark);
    letter-spacing: 0.2px;
}

.main-menu .menu-link:hover {
    opacity: 0.85;
}

/* Top-right login/logout button */
.btn-login {
    background-color: var(--brand-dark);
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 500; /* Medium */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-login:hover {
    filter: brightness(0.95);
}

/* Hero layout inside masthead */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* left image / right copy */
    align-items: center;
    gap: 40px;
    margin-top: 36px;
}

/* Left: planet */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-planet {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
}

/* Right: copy */
.hero-copy {
    max-width: 680px;
    margin-left: auto; /* keeps copy tidy on wide screens */
    text-align: left;
}

.hero-title {
    font-family: var(--font-sans);
    font-weight: 700;               /* Bold */
    letter-spacing: -0.01em;        /* subtle tightening */
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.15;
    color: #000; /* black */
    margin: 0 0 16px 0;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-weight: 300;               /* Light */
    font-size: clamp(14px, 1.4vw, 18px);
    color: #1b1b1b;
    opacity: 0.9;
    margin: 12px 0 22px 0;          /* “after 1 line space” */
}

/* CTA */
.btn-download {
    display: inline-block;
    background-color: var(--brand-blue);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    padding: 14px 24px;
    font-family: var(--font-sans);
    font-weight: 700;               /* Bold */
    text-decoration: none;
    text-transform: lowercase;
    box-shadow: 0 8px 20px rgba(49,121,176,0.25);
}

.btn-download:hover {
    filter: brightness(0.95);
}

/* Responsive tweaks for masthead */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-copy {
        margin-left: 0;
    }
    .main-menu .menu-list {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .masthead-inner {
        padding-top: 16px;
        padding-bottom: 32px;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .brand-logo {
        height: 67px;
    }
}

/* ============================================================
   LEGACY HERO SECTION (kept in case other pages reuse it)
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: var(--font-sans);
    font-weight: 700;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-family: var(--font-sans);
    font-weight: 300;
}

.hero-section .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: white;
    border-radius: 20px;
    margin: -40px 15px 0;
    position: relative;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.stats-section p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 500;
    font-family: var(--font-sans);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
    padding: 80px 0;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-family: var(--font-sans);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1ebd3d, var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

/* ============================================================
   RECENT SPOTS SECTION
   ============================================================ */
.recent-spots-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.spot-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    font-family: var(--font-sans);
}

.spot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.spot-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.spot-card:hover .card-img-top {
    transform: scale(1.05);
}

.spot-card .card-body {
    padding: 1.5rem;
}

.spot-card .card-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.spot-card .badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

/* ============================================================
   API SECTION
   ============================================================ */
.api-section {
    padding: 60px 0;
    background: white;
    font-family: var(--font-sans);
}

.api-section .btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.api-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
}

/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */
.download-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 0;
    font-family: var(--font-sans);
}

.download-btn {
    background: #000;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #333;
}

.download-btn.google {
    background: #34A853;
}

.download-btn.google:hover {
    background: #2d8f47;
}

.download-btn i {
    font-size: 2rem;
    margin-right: 1rem;
}

.qr-code-container {
    position: relative;
    display: inline-block;
}

.qr-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   ADMIN SECTION
   ============================================================ */
.admin-section {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    padding: 60px 0;
    font-family: var(--font-sans);
}

.admin-section .btn {
    background: linear-gradient(135deg, var(--warning-color), #ffb347);
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.admin-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .stats-number {
        font-size: 2rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .features-section,
    .recent-spots-section,
    .download-section {
        padding: 60px 0;
    }

    .spot-card .card-img-top {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .stats-number {
        font-size: 1.8rem;
    }

    .download-btn {
        font-size: 0.9rem;
    }

    .download-btn i {
        font-size: 1.5rem;
    }
}

/* === Gaming Section — DARK cards on dark-blue bg === */
.gaming-section {
  background: #114267;               /* your dark blue */
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 72px;
}

.gaming-section ul {
    text-align: left;
}

.gaming-section ul li {
    font-weight: 300;
    font-size: 0.95rem;
}

.gaming-section ul li.attr img {
    height: 14px;
    margin-right: 8px;
    position: relative;
    top: -2px;
}

.gaming-section ul li.rar img {
    height: 26px;
    margin-right: 8px;
    margin-top: 6px;
    position: relative;
    top: -2px;
}

/* soft aurora wash */
.gaming-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 300px at 10% 0%, rgba(0,255,136,0.10), transparent 60%),
    radial-gradient(1000px 280px at 90% 10%, rgba(0,195,255,0.10), transparent 60%);
  pointer-events: none;
}

/* Title (kept lighter gradient) */
.gaming-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 42px);
  background: linear-gradient(90deg, #5bffb3, #36cefd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

/* Lead text under title — make it white on dark */
.gaming-section .lead {
  color: rgba(255,255,255,0.9);
  opacity: 1;
}

/* Cards: DARK with neon accents */
.gaming-card {
  background: #0f344f;                                       /* deep blue slate */
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  color: #eaf6ff;                                            /* default text on dark */
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.gaming-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 220, 255, 0.45);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.35),
    0 0 28px rgba(0,195,255,0.25),
    0 0 34px rgba(0,255,136,0.18);
}

/* Icon — neon gradient + subtle glow */
.gaming-icon {
  font-size: 2.6rem;
  background: linear-gradient(135deg, #00ff88, #00c3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 8px rgba(0,195,255,0.25));
}

/* Headings & paragraphs on dark cards */
.gaming-card h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;                                            /* pure white for titles */
}

.gaming-card p,
.gaming-card .card-text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(234,246,255,0.92);                             /* soft white for body */
    text-align: left;
}
.gaming-card .text-highlighted {
    color: #00dec9 !important;
    font-weight: 500 !important;
}

/* If any 'text-light' slips in, force it to white here */
.gaming-section .text-light {
  color: rgba(255,255,255,0.92) !important;
  opacity: 1 !important;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .gaming-card { border-radius: 16px; }
  .gaming-icon { font-size: 2.3rem; }
}

/* === Family / Kids Section (light, friendly, travel vibe) === */
.family-section {
  /* soft airy background: sky → mint, very subtle */
  background: linear-gradient(135deg, #eaf2ff 0%, #e7fff6 100%);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 0 !important;
}

/* tiny floating aurora hints */
.family-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 220px at 15% 10%, rgba(0,195,255,0.10), transparent 60%),
    radial-gradient(800px 220px at 85% 0%, rgba(0,255,136,0.10), transparent 60%);
  pointer-events: none;
}

.family-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 38px);
  /* keep brand dark for strong legibility on light bg */
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.family-lead {
  font-family: var(--font-sans);
  font-weight: 400;
  color: #284a5a;
  opacity: 0.95;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  margin-bottom: 10px;
}

.family-text {
  font-family: var(--font-sans);
  color: #2a2f3b;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* small category pills */
.family-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.family-pills .pill {
  background: rgba(0, 195, 255, 0.10);
  border: 1px solid rgba(0, 195, 255, 0.30);
  color: #1b3b47;
  font-weight: 500;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  /* subtle dual-tone border on hover */
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.family-pills .pill:hover {
  border-color: rgba(0, 255, 136, 0.45);
  box-shadow: 0 0 0 6px rgba(0, 255, 136, 0.10);
  transform: translateY(-1px);
}

/* right image: boy with backpack facing left */
.family-img {
  width: 100%;
  max-width: 520px;
  max-height: 500px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.10));
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .family-section { padding-top: 56px; padding-bottom: 56px; }
  .family-img { max-width: 460px; }
}

@media (max-width: 576px) {
  .family-img { max-width: 380px; }
  .family-pills { gap: 6px; }
  .family-pills .pill { font-size: 0.8rem; padding: 5px 10px; }
}


/* === Start & Use Section (simple, fun, clear) === */
.start-use-section {
  background: linear-gradient(135deg, #eef5ff 0%, #f3fff9 100%);
}

.start-use-section .col-lg-6 {
    padding: 0 6%;
}



/* Titles */
.start-title, .use-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 37px);
  color: #000;
  margin-bottom: 35px;
}

.start-title {
  margin-left: 53px;
}

/* LEFT: Steps timeline (container unchanged) */
.start-steps.timeline {
  position: relative;
  padding-left: 34px;
}

/* vertical dashed line */
.start-steps.timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 6px;
  bottom: 6px;
  margin: 45px 0;
  width: 0;
  border-left: 2px dashed rgba(27, 106, 168, 0.35);
}

/* each step card — lighter, compact, content-width */
.start-step {
  position: relative;
  display: inline-flex;              /* shrink to content */
  align-items: center;               /* vertical centering */
  background: #fff;
  backdrop-filter: saturate(140%) blur(2px);
  min-height: 88px;                  /* smaller */
  width: fit-content;                /* key: content width */
  max-width: calc(100% - 56px);      /* keep wrap within container */
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 20px;
  margin: 0 0 18px 15px;             /* space + the left offset */
  box-shadow: none;                  /* flatter */
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

/* extra space for arrow between steps */
.start-steps.timeline .start-step { margin-bottom: 40px; }
.start-steps.timeline .start-step:last-child { margin-bottom: 0; }

/* arrow pointing down on the dashed line */
.start-steps.timeline .start-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(-32px - 7px);
  bottom: -30px;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid rgba(27, 106, 168, 0.55);
  z-index: 2;
  pointer-events: none;
}

/* hover: very subtle lift */
@media (hover:hover) {
  .start-step:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 195, 255, 0.25);
    background: rgba(255, 255, 255, 0.95);
  }
}

/* number badge centered on each card height */
.step-badge {
  position: absolute;
  left: -49px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;        /* slightly smaller */
  border-radius: 50%;
  background: linear-gradient(135deg, #00ff88, #00c3ff);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,195,255,0.22);
}

/* text — smaller, cleaner */
.step-content h5 {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 0 0 12px 0;
    color: #0f172a;
}

.step-content p {
  color: #2a2f3b;
  margin: 0;
  font-size: 0.92rem;               /* smaller body */
  line-height: 1.35;
}

/* links */
.link-store {
  font-weight: 600;
  color: #1b6aa8;
  text-decoration: none;
}
.link-store:hover { text-decoration: underline; }

.link-muted {
  color: #567086;
  text-decoration: underline;
}

/* remove old connector if any */
.step-connector { display: none !important; height: 0 !important; }

/* Mobile: make steps full-width for readability */
@media (max-width: 768px) {
  .start-step {
    display: flex;                   /* normal flow */
    width: auto;                     /* full width */
    max-width: none;
  }
}
/* === RIGHT: Use cards — lighter, airier, consistent with left === */
.use-cards {
  display: grid;
  gap: 22px;                        /* more space between boxes */
  padding-top: 6px;
}

.use-card {
  display: grid;
  grid-template-columns: 85px 1fr;  /* icon / text */
  align-items: center;              /* vertical centering like left */
  min-height: 88px;                 /* matches left step’s visual weight */
  padding: 16px 35px !important;
  background: #fff;
  backdrop-filter: saturate(140%) blur(2px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow: none;                 /* flatter */
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

/* very subtle interaction (same vibe as left) */
@media (hover:hover) {
  .use-card:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 195, 255, 0.25);
    background: rgba(255, 255, 255, 0.95);
  }
}

/* Icon gets a light circular backdrop so it feels related to the step badge */
.use-icon {
  width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1ebd3d, var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s
ease;
}
.use-icon i,
.use-icon svg,
.use-icon .fa {
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Typography inside the card: smaller + tighter like left */
.use-card h5 {
  margin: 0 0 6px 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  line-height: 1.25;
}
.use-card p {
  margin: 0;
  color: #2a2f3b;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Rewards box — lighter and with more breathing room */
.use-rewards {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px dashed rgba(0, 195, 255, 0.45);
  border-radius: 14px;
  background: rgba(0,195,255,0.06);
}
.rewards-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 8px;
}
.rewards-title i {
  background: linear-gradient(135deg, #00ff88, #00c3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Make list items breathe a bit more */
.use-rewards ul li {
  padding: 2px 0;
}

/* Mobile tweaks — keep it comfy on small screens */
@media (max-width: 768px) {
  .use-cards { gap: 16px; }
  .use-card { border-radius: 12px; }
  .use-icon { width: 34px; height: 34px; font-size: 1.1rem; }
}

/* === 'Jak to działa?' cards — mobile layout: icon on top === */
@media (max-width: 768px) {
  .start-use-section .use-cards { gap: 14px; }

  .start-use-section .use-card {
    grid-template-columns: 1fr !important;   /* 1 column: stack */
    grid-auto-rows: auto;
    row-gap: 8px;                             /* small gap between icon/text */
    align-items: start;
    min-height: 0;                            /* cancel the desktop min-height */
    padding: 14px 16px !important;            /* tighter padding on mobile */
    text-align: center;
  }

  .start-use-section .use-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    margin: 2px auto 6px;                     /* center above the text */
    justify-self: center;                     /* grid centering */
  }

  .start-use-section .use-card h5 {
    font-size: 1rem;
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .start-use-section .use-card p {
    font-size: 0.92rem;
    line-height: 1.4;                         /* a bit tighter for shorter cards */
    margin: 0;
  }
}




/* ============================================================
   ANIMATION / SMALL EFFECTS
   ============================================================ */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.spot-card:nth-child(1) { animation-delay: 0.1s; }
.spot-card:nth-child(2) { animation-delay: 0.2s; }
.spot-card:nth-child(3) { animation-delay: 0.3s; }
.spot-card:nth-child(4) { animation-delay: 0.4s; }
.spot-card:nth-child(5) { animation-delay: 0.5s; }
.spot-card:nth-child(6) { animation-delay: 0.6s; }

/* CAROUSEL */

/* ===== Multi-Card Horizontal Carousel with Edge Fade Overlays ===== */
.cards-swiper-container {
    width: 100%;
    padding: 0;
    position: relative;
}

/* Edge fade overlay */
/*.cards-swiper-container::before,*/
/*.cards-swiper-container::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    bottom: 60px;*/
/*    width: 45px;*/
/*    z-index: 10;*/
/*    pointer-events: none;*/
/*}*/

/*.cards-swiper-container::before {*/
/*    left: 0;*/
/*    background: linear-gradient(to right, #114267, transparent);*/
/*}*/

/*.cards-swiper-container::after {*/
/*    right: 0;*/
/*    background: linear-gradient(to left, #114267, transparent);*/
/*}*/

.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    height: auto;
}

.carousel-card {
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
    position: relative;
    pointer-events: none;
    cursor: default;
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
}

/* Glossy card effect */
.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Mobile */
@media (max-width: 767px) {
    /*.cards-swiper-container::before,*/
    /*.cards-swiper-container::after {*/
    /*    width: 30px;*/
    /*}*/

    .carousel-card-placeholder {
        font-size: 2.5rem;
    }
}

.swiper-slide {
    height: auto;
    width: auto !important;
}

/* Fixed card widths based on screen size */
@media (min-width: 1800px) {
    .carousel-card {
        width: 240px;
        border-radius: 17px;
    }
}

@media (min-width: 1600px) and (max-width: 1799px) {
    .carousel-card {
        width: 220px;
        border-radius: 16px;
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .carousel-card {
        width: 200px;
        border-radius: 14px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .carousel-card {
        width: 180px;
        border-radius: 12px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .carousel-card {
        width: 200px;
        border-radius: 14px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .carousel-card {
        width: 220px;
        border-radius: 16px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .carousel-card {
        width: 200px;
        border-radius: 14px;
    }
}

@media (max-width: 479px) {
    .carousel-card {
        width: 240px;
        border-radius: 17px;
    }
}

/* Constant speed animation */
@keyframes scroll-left {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.swiper-wrapper {
    animation: scroll-left 30s linear infinite !important;
}


/* === Store badges (Step 1) — exact size + spacing === */
.start-step .store-badges {
  display: inline-flex;
  align-items: center;
  gap: 10px;           /* 10px space between */
  white-space: nowrap; /* keep on one line */
}

.start-step .store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;      /* remove extra inline whitespace */
}

.start-step .store-badge img {
  height: 33px !important; /* exact height */
  width: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* Slightly smaller on very small screens; allow wrap if needed */
@media (max-width: 420px) {
  .store-badges {
    gap: 10px;
    flex-wrap: wrap;              /* wrap gracefully on tiny screens */
  }
  .store-badge img {
    height: 40px;
  }
}

/* Home masthead hamburger + drawer (homepage only) */
.masthead-burger{ border:none; background:rgba(0,0,0,0.05); width:44px; height:44px; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center; }
.masthead-burger .bar{ width:22px; height:2px; background:var(--brand-dark);
  display:block; border-radius:2px; transition:transform .25s ease, opacity .2s ease; }
.masthead-burger .bar + .bar{ margin-top:5px; }
.masthead-burger[aria-expanded="true"] .bar:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.masthead-burger[aria-expanded="true"] .bar:nth-child(2){ opacity:0; }
.masthead-burger[aria-expanded="true"] .bar:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-drawer{
  position:fixed; top:0; right:-100%; width:86%; max-width:360px; height:100vh;
  background:#fff; z-index:1050; box-shadow:-8px 0 30px rgba(0,0,0,.18);
  padding:16px 18px 24px; transition:right .28s ease-in-out; overflow-y:auto;
}
.mobile-drawer.open{ right:0; }
.mobile-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.35); z-index:1040;
  opacity:0; transition:opacity .2s ease; }
.mobile-backdrop.show{ opacity:1; }
body.no-scroll{ overflow:hidden; }

/* Show only hamburger on mobile; hide desktop menu in masthead */
@media (max-width: 991.98px){
  .masthead .main-menu { display:none !important; }
  .masthead .masthead-burger { display:inline-flex !important; }
  .mobile-drawer { display:block; }
  .mobile-drawer:not(.open){ right:-100%; }
}
/* Hide all mobile UI on desktop */
@media (min-width: 992px){
  .masthead .masthead-burger, .mobile-drawer, .mobile-backdrop { display:none !important; }
}

/* === Hamburger bars (3 lines → X when open) === */
.masthead-burger{
  border: none; background: rgba(0,0,0,0.05);
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.masthead-burger .bar{
  display: block;
  width: 24px; height: 2px;
  background: var(--brand-dark, #0b2b45);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.masthead-burger .bar + .bar { margin-top: 0; }
.masthead-burger[aria-expanded="true"] .bar:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.masthead-burger[aria-expanded="true"] .bar:nth-child(2){ opacity: 0; }
.masthead-burger[aria-expanded="true"] .bar:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* === Mobile drawer polish === */
.mobile-drawer{
  background: #fff;
  border-left: 1px solid rgba(0,0,0,0.06);
}

/* Reset list bullets + spacing */
.mobile-menu .menu-vertical{
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

/* Links: no underline, on-brand colors, comfy hit area */
.mobile-menu .mobile-link{
  display: flex; align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;                /* dark text */
  margin-bottom: 5px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.035); /* subtle pill background */
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.mobile-menu .mobile-link i{ opacity: .9; }

.mobile-menu .mobile-link:hover,
.mobile-menu .mobile-link:focus{
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue, #3179b0), #18b3ff);
  text-decoration: none;
  transform: translateY(-1px);
}

.mobile-menu .mobile-link:active{
  transform: translateY(0);
}

/* Make the drawer-only buttons full width and consistent */
.mobile-menu .btn.btn-login{
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 16px;
}

/* Ensure mobile-only on small screens, hide on desktop */
@media (max-width: 991.98px){
  .masthead .main-menu{ display: none !important; }
  .masthead .masthead-burger{ display: inline-flex !important; }

  .mobile-drawer{ display: block; }
  .mobile-drawer:not(.open){ right: -100%; }
}
@media (min-width: 992px){
  .masthead .masthead-burger,
  .mobile-drawer,
  .mobile-backdrop{ display: none !important; }
}

/* Force hamburger bars to stack vertically */
.masthead-burger {
  flex-direction: column;   /* was row */
  gap: 6px;                 /* spacing between bars */
}

/* Ensure the sticker can anchor relative to the CTA */
.hero-cta {
  position: relative;
  display: inline-block;
}

/* Sticker styles */
.promo-sticker {
  position: absolute;
    top: 17px;
    right: -65px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: rotate(11deg);
  z-index: 3;
  user-select: none;

  /* Hot gradient + subtle sheen */
  background:
    radial-gradient(120% 120% at 30% 30%, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 45%) ,
    radial-gradient(100% 100% at 70% 70%, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 60%) ,
    linear-gradient(135deg, #ff3b30 0%, #ff7a00 100%);

  /* Edge + shadow */
  border: 3px dashed rgba(255, 255, 255, 0.9);
  box-shadow:
    0 10px 20px rgba(0,0,0,0.25),
    inset 0 0 0 6px rgba(255,255,255,0.35); /* inner ring */

  /* Paper-like micro texture */
  mask-image: radial-gradient(100% 100% at 50% 50%, #000 60%, rgba(0,0,0,0.9) 100%);
  mask-type: luminance;
  backdrop-filter: blur(0.2px);
}

/* Sticker text */
.promo-sticker strong {
    display: block;
    line-height: 1;
    position: relative;
    left: 1px;
    font-weight: 900;
    font-size: 23px;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: -27px;
}

.promo-sticker .sticker-sub {
    display: block;
    margin-top: 2px;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.8px;
    text-align: center;
}

/* Slight wiggle on hover/focus of the CTA for delight */
.hero-cta:hover .promo-sticker,
.hero-cta:focus-within .promo-sticker {
  transform: rotate(-8deg) scale(1.03);
  transition: transform 160ms ease;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-cta:hover .promo-sticker,
  .hero-cta:focus-within .promo-sticker {
    transform: rotate(-12deg) scale(1);
    transition: none;
  }
}

/* Responsive tweaks so it never hides the button on small screens */
@media (max-width: 576px) {
  .promo-sticker {
    top: -18px;
    right: -10px;
    width: 98px;
    height: 98px;
  }
  .promo-sticker strong { font-size: 36px; }
  .promo-sticker .sticker-sub { font-size: 12px; }
}

/* If your hero has dark/light variants, ensure contrast remains high.
   Optional: add a subtle outline for extremely busy backgrounds. */
.promo-sticker::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
  pointer-events: none;
}