/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1a3a5c;
  --gold: #f72585;
  --red: #b5283a;
  --light: #f5f5f0;
  --white: #ffffff;
  --gray: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --radius: 10px;
  --font: 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--light); color: #222; line-height: 1.6; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title {
  font-size: 2rem; font-weight: 800; color: var(--blue);
  margin-bottom: 8px; letter-spacing: -0.5px;
}
.section-subtitle { color: var(--gray); margin-bottom: 36px; font-size: 1.05rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 24px; }
.badge {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.btn {
  display: inline-block; padding: 11px 26px; border-radius: 6px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.2s;
  border: none; text-align: center;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--gold); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--blue); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.13); }
.card-body { padding: 20px; }
.card-body h3 { font-size: 1.15rem; color: var(--blue); margin-bottom: 6px; }
.card-body p { color: var(--gray); font-size: 0.93rem; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--blue); color: rgba(255,255,255,0.8);
  font-size: 0.82rem; padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--gold); }

/* ===== HEADER / NAV ===== */
header {
  background: var(--white); border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-area { font-size: 1.7rem; font-weight: 900; color: var(--blue); letter-spacing: -1px; }
.logo-area span { color: var(--gold); }
.logo-sub { font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 2px; margin-top: 2px; }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a {
  padding: 8px 14px; border-radius: 6px; font-weight: 600;
  font-size: 0.9rem; color: var(--blue); transition: all 0.15s;
}
nav a:hover, nav a.active { background: var(--blue); color: var(--white); }
.nav-cta { margin-left: 8px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 3px; background: var(--blue); border-radius: 2px; display: block; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0d2340 60%, #1a3a5c 100%);
  color: var(--white); padding: 80px 0 60px; position: relative; overflow: hidden;
}
.hero::before {
  content: '518'; position: absolute; right: -40px; top: -30px;
  font-size: 20rem; font-weight: 900; color: rgba(255,255,255,0.04); line-height: 1;
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-tag { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 12px; }
.hero h1 { font-size: 3rem; font-weight: 900; line-height: 1.1; margin-bottom: 18px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 20px; text-align: center; backdrop-filter: blur(4px);
}
.stat-card .num { font-size: 2.2rem; font-weight: 900; color: var(--gold); }
.stat-card .lbl { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ===== AD BANNER ===== */
.ad-banner {
  background: linear-gradient(90deg, var(--gold) 0%, #f972b8 100%);
  padding: 14px 0; text-align: center;
}
.ad-banner p { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.ad-banner a { color: var(--white); text-decoration: underline; }

/* ===== FEATURED ADS ===== */
.ad-card { position: relative; }
.ad-label {
  position: absolute; top: 10px; right: 10px;
  background: var(--red); color: white; font-size: 0.68rem;
  font-weight: 700; padding: 2px 7px; border-radius: 3px; text-transform: uppercase;
}
.ad-card .card-body .meta { color: var(--gold); font-size: 0.82rem; font-weight: 600; margin-bottom: 4px; }
.ad-card .card-body .phone { color: var(--blue); font-weight: 700; margin-top: 10px; font-size: 0.95rem; }
.ad-card .card-body .offer {
  background: #fff0f6; border-left: 3px solid var(--gold);
  padding: 6px 10px; margin-top: 10px; font-size: 0.82rem; color: #a0005c;
}

/* ===== IMAGE CONTAINERS ===== */
.ad-img, .blog-img, .merch-img, .list-img, .event-img, .deal-img {
  overflow: hidden;
  position: relative;
}
.ad-img img, .blog-img img, .merch-img img, .list-img img, .event-img img, .deal-img img, .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.card:hover .ad-img img,
.card:hover .blog-img img,
.card:hover .merch-img img,
.card:hover .event-img img,
.card:hover .deal-img img,
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.ad-img { height: 180px; }
.blog-img { height: 200px; }
.merch-img { height: 220px; }
.event-img { height: 200px; }
.deal-img { height: 200px; }

/* ===== DEAL BADGE / CODE BOX ===== */
.deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f72585;
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}
.promo-code {
  background: #f7f7f7;
  border: 2px dashed #f72585;
  border-radius: 6px;
  padding: 8px 14px;
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 900;
  color: #f72585;
  letter-spacing: 2px;
  text-align: center;
  margin: 10px 0;
}
.expiry-tag {
  font-size: 0.78rem;
  color: #b5283a;
  font-weight: 700;
}
.deal-savings {
  font-size: 1.5rem;
  font-weight: 900;
  color: #f72585;
  margin-bottom: 4px;
}

/* ===== EVENT CARD ===== */
.event-card { position: relative; }
.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #f72585;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

/* ===== LISTS (playgrounds, venues, etc) ===== */
.list-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.list-card .rank {
  min-width: 44px; height: 44px; background: var(--blue); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; flex-shrink: 0;
}
.list-card .rank.gold { background: var(--gold); color: var(--white); }
.list-card .info h3 { margin-bottom: 4px; }
.list-card .info .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.list-card .info .tag {
  font-size: 0.72rem; padding: 2px 8px; border-radius: 12px;
  background: var(--light); color: var(--gray); border: 1px solid var(--border);
}
.stars { color: var(--gold); font-size: 0.9rem; margin-top: 4px; }

/* ===== BLOG ===== */
.blog-card .card-body .meta { color: var(--gray); font-size: 0.8rem; margin-bottom: 8px; }
.blog-card .card-body h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.35; }
.blog-card .read-more { color: var(--gold); font-weight: 700; font-size: 0.88rem; margin-top: 12px; display: inline-block; }
.blog-card .read-more:hover { color: var(--blue); }

/* ===== MERCH ===== */
.merch-section { background: var(--blue); }
.merch-section .section-title { color: var(--white); }
.merch-section .section-subtitle { color: rgba(255,255,255,0.65); }
.merch-card { text-align: center; }
.merch-card .merch-img { border-radius: var(--radius) var(--radius) 0 0; }
.merch-card .card-body { background: rgba(255,255,255,0.95); }
.merch-card .price { font-size: 1.3rem; font-weight: 900; color: var(--red); margin: 6px 0; }
.merch-card .old-price { text-decoration: line-through; color: var(--gray); font-size: 0.85rem; }

/* ===== PRODUCT CARD (merch page) ===== */
.product-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.13); }
.product-img { height: 220px; position: relative; overflow: hidden; }
.product-body { padding: 16px; }
.product-body h3 { font-size: 1rem; color: var(--blue); margin-bottom: 4px; }
.product-body .desc { color: var(--gray); font-size: 0.83rem; margin-bottom: 10px; }
.product-body .price-row { display: flex; align-items: center; justify-content: space-between; }
.product-body .price { font-size: 1.25rem; font-weight: 900; color: var(--red); }
.product-body .btn { font-size: 0.83rem; padding: 8px 14px; }
.color-dots { display: flex; gap: 6px; margin-bottom: 10px; }
.dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; }
.sale-tag { position: absolute; top: 10px; left: 10px; background: var(--red); color: white; font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; z-index: 1; }
.bestseller-tag { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--white); font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; z-index: 1; }
.size-guide { color: var(--blue); font-size: 0.78rem; font-weight: 600; }

/* ===== DIRECTORY ===== */
.dir-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  padding: 7px 16px; border-radius: 20px; border: 2px solid var(--border);
  background: white; color: var(--gray); font-weight: 600; font-size: 0.88rem; cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--blue); background: var(--blue); color: white; }
.dir-card { display: flex; gap: 16px; padding: 18px; align-items: center; }
.dir-card .icon {
  width: 52px; height: 52px; border-radius: 10px; background: var(--light);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0;
}
.dir-card .info { flex: 1; }
.dir-card .info h3 { font-size: 1rem; color: var(--blue); margin-bottom: 2px; }
.dir-card .info .cat { font-size: 0.78rem; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.dir-card .info .addr { font-size: 0.82rem; color: var(--gray); }
.dir-card .visit { flex-shrink: 0; }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, var(--gold) 0%, #f972b8 100%);
  padding: 60px 0; text-align: center;
}
.newsletter h2 { font-size: 2rem; color: var(--white); font-weight: 900; margin-bottom: 10px; }
.newsletter p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 13px 18px; border-radius: 6px; border: none;
  font-size: 0.95rem; outline: none; box-shadow: var(--shadow);
}
.newsletter-form button { white-space: nowrap; }

/* ===== FOOTER ===== */
footer { background: #0d1f33; color: rgba(255,255,255,0.7); padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand .logo-area { color: white; font-size: 1.4rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 12px; line-height: 1.7; }
.footer-col h4 { color: white; font-weight: 700; margin-bottom: 14px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--gold); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  color: white; transition: background 0.15s;
}
.social-links a:hover { background: var(--gold); color: var(--white); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0d2340 100%);
  color: white; padding: 50px 0 40px; text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

/* ===== SIDEBAR LAYOUT ===== */
.content-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.sidebar-widget { background: white; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 24px; }
.sidebar-widget h4 { font-size: 1rem; font-weight: 800; color: var(--blue); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-ad {
  background: linear-gradient(135deg, var(--gold), #f972b8);
  text-align: center; padding: 28px 20px;
}
.sidebar-ad h4 { color: var(--white); }
.sidebar-ad p { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-bottom: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero::before { font-size: 12rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 12px; box-shadow: var(--shadow); border-top: 2px solid var(--border); }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.1rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .grid-2 { grid-template-columns: 1fr; }
}
