/* ============================================================
   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{
  position: relative;          /* important */
  padding-top: 24px;
  padding-bottom: 80px;
}

.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;
    align-items: center;
    gap: 40px;
    margin: 20px 0;
}

/* 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: 600;
    font-size: 27px !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    line-height: 1.3;
    color: #000;
}
.hero-title.green {
    color: #3179b0; !important;
    font-size: 37px !important;
}

.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: 180px;
    }
    .hero-title {
        font-size: 24px !important;
    }
    .hero-title.green {
        font-size: 34px !important;
    }
    .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("#grid#grid")"/></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-bar {
   padding: 40px 0 20px !important;
}

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

.stats-section p {
    color: rgba(35, 76, 94, .75) !important;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ============================================================
   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;
    position: relative;
    overflow: hidden;
    padding: 72px 5px;
}

.gaming-section ul {
    text-align: left;
    padding-left: 1.2rem !important;
}

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

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

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

.gaming-cards-btn {
    background: #48ecbe;
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    padding: 8px 10px;
    border-radius: 20px;
    margin-top: 10px;
}
.gaming-cards-btn a {
    text-decoration: none !important;
    color: #114267 !important;
}

/* 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(22px, 3vw, 32px);
  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.90rem;
  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 {
    opacity: 1 !important;
    font-size: 14px;
    color: #fff !important;
    text-align: justify;
}

/* 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: #f8f9fa
}

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


/* Titles */
.start-title, .use-title {
  margin-bottom: 35px;
    font-weight: 600;
    color: #234c5e;
    font-size: 27px;
}

.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: 75px 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, .06);
  border-radius: 14px;
  padding: 20px;
  margin: 0 0 18px 15px;             /* space + the left offset */
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);             /* flatter */
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

@media (max-width: 420px) {
    .start-use-section .col-lg-6 {
        padding: 0 4%;
    }
    .start-step {
        padding: 20px 13px;
    }
}

/* 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.1rem;
    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, .06);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);              /* 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.1rem;
  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 */

/* ===== Card Carousel (marquee) ===== */
.cards-marquee{
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.cards-track{
  display: flex;
  align-items: center;
  gap: 20px;
  will-change: transform;

  --marquee-shift: 0px;
  --marquee-duration: 60s;

  animation: cards-marquee var(--marquee-duration) linear infinite;
}

.cards-track .card-item{
  flex: 0 0 auto;
  display: block;
}

@media (max-width: 767px){
  .cards-track{ gap: 15px; }
}

@keyframes cards-marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-shift))); }
}

/* Your card styles */
.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;
}

/* Glossy overlay */
.carousel-card::before{
  content:'';
  position:absolute;
  inset:0;
  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;
}

/* Widths */
@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; } }

/* === 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: 40px !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: 5px;
    right: -53px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: rotate(11deg);
    z-index: 3;
    user-select: none;
    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%);
    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);
    mask-image: radial-gradient(100% 100% at 50% 50%, #000 60%, rgba(0, 0, 0, 0.9) 100%);
    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: 18px;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: -22px;
}

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

.store-row {
  margin-top: 55px;           /* small gap under CTA */
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.store-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(35, 76, 94, .85);
}

.hero-copy .store-badges {
  margin-top: 0;              /* remove your 60px */
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-copy .store-badge {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(6px);
}

.hero-copy .store-badge img {
  height: 40px;               /* important: Apple minimum */
  width: auto;
  display: block;
}

.masthead{ position: relative; }  /* make header the positioning context */

.download-bar--hero{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 20;

  background: rgba(255,255,255,.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.download-bar--hero .download-bar-inner{
  max-width: 1190px;
  margin: 0 auto;
  padding: 26px 16px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.download-bar--hero .download-bar-copy strong{
  display: block;
    color: #234c5e;
    font-weight: 800;
    font-size: 14px;
}

.download-bar--hero .download-bar-copy span{
  color: rgba(35,76,94,.95);
  font-size: 13px;
  font-weight: 500;
}

.download-bar--hero .download-bar-badges{
  display:flex;
  gap: 12px;
  align-items:center;
}

.download-bar--hero .download-bar-badges img{
  height: 40px;
  width: auto;
  display:block;
}

@media (max-width: 576px){

  .download-bar--hero .download-bar-inner{
    justify-content: center;
    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: -15px;
        right: -53px;
        width: 65px;
        height: 65px;
  }
  .promo-sticker strong {
      font-size: 17px;
      margin-bottom: -18px;
  }
  .promo-sticker .sticker-sub {
      font-size: 8px;
        line-height: 1.1;
        position: relative;
        top: -3px;
  }
}

/* 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;
}

/* Home menu: blue + for trails */
.menu-add-trail{
  background: #45a7d4 !important;
}

.menu-add-trail:hover,
.menu-add-trail:focus{
  background: #3f9bc5 !important;
}

/* Home mobile drawer: highlight for add trail */
.mobile-add-trail{
  font-weight: 600;
  color: #2c7ea3 !important;
}

/* ===== Horizontal scroll carousel ===== */
.hscroll-wrap{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
}

.hscroll-track{
  display:flex;
  gap:16px;
  overflow:auto;
  scroll-behavior:smooth;
  padding:6px 2px 10px;
  scrollbar-width:none; /* firefox */
  flex:1;
  min-width:0;
}
.hscroll-track::-webkit-scrollbar{ display:none; }

.hscroll-item{ flex:0 0 auto; }
.hscroll-item--group{ width: 320px; }
.hscroll-item--spot{ width: 240px; }

.hscroll-btn{
  width:40px;height:40px;border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  font-size:22px;
  line-height:1;
  display:flex;align-items:center;justify-content:center;
}
.hscroll-btn:hover{ transform:translateY(-1px); }
@media (max-width: 576px){
  .hscroll-btn{ display:none; } /* on mobile you can just swipe */
  .hscroll-item--group{ width: 280px; }
  .hscroll-item--spot{ width: 210px; }
}

.featured-title {
    font-weight: 600;
    color: #234c5e;
    font-size: 22px;
    position: relative;
    left: 55px;
}

a.featured-more {
    color: #3179b0;
    position: relative;
    left: -52px;
    top: 5px;
}

@media (min-width: 421px) and (max-width: 577px) {
    .featured-title {
        position: relative;
        left: 5px;
        font-size: 19px !important;
    }
    a.featured-more {
        position: relative;
        top: 2px;
        left: 0px;
        font-size: 14px !important;
    }
}
@media (max-width: 420px) {
    .featured-title {
        position: relative;
        left: 5px;
        font-size: 17px !important;
    }
    a.featured-more {
        position: relative;
        top: 2px;
        left: 0px;
        font-size: 13px !important;
    }
}

