/* ========================================
   Decks & Dice - Board Game Cafe Styles
   Dark navy · Felt green · Warm amber
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700;1,800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg:        #0d1520;
  --surface:   #162030;
  --surface-2: #1c2a3e;
  --surface-3: #243448;
  --gold:      #e8b030;
  --gold-light:#f5cc70;
  --gold-dim:  rgba(232,176,48,0.12);
  --green:     #2eb872;
  --green-dim: rgba(46,184,114,0.12);
  --red:       #d44030;
  --red-dim:   rgba(212,64,48,0.12);
  --teal:      #2a9a9a;
  --text:      #f0e5cc;
  --muted:     #7a8fa0;
  --subtle:    rgba(240,229,204,0.5);
  --border:    rgba(232,176,48,0.15);
  --border-2:  rgba(240,229,204,0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='70'%3E%3Cpolygon points='40,2 74,20 74,56 40,74 6,56 6,20' fill='none' stroke='rgba(232%2C176%2C48%2C0.05)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4, .brand-font { font-family: 'Playfair Display', serif; }
a { color: var(--gold); transition: color 0.2s; }
a:hover { color: var(--gold-light); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(13,21,32,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled { background: rgba(13,21,32,0.98); box-shadow: 0 4px 40px rgba(0,0,0,0.5); }
.navbar-brand img { width: 38px; height: 38px; object-fit: contain; }
.navbar-brand span { color: var(--text); font-size: 1.1rem !important; }
.nav-link { color: var(--muted) !important; font-weight: 500; font-size: 0.92rem; padding: 0.5rem 0.8rem !important; }
.nav-link:hover { color: var(--gold) !important; }
.nav-link.active { color: var(--green) !important; font-weight: 700; }
.navbar-toggler { border-color: var(--border); }
.navbar-toggler-icon { filter: invert(0.75); }

/* ===== BUTTONS ===== */
.btn-primary-dd { background: var(--gold); color: #0d1520; border: none; font-weight: 700; transition: all 0.2s ease; }
.btn-primary-dd:hover { background: var(--gold-light); color: #0d1520; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,176,48,0.35); }

.btn-outline-dd { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; font-weight: 600; transition: all 0.2s ease; }
.btn-outline-dd:hover { background: var(--gold); color: #0d1520; transform: translateY(-2px); }

.btn-ghost-dd { border: 1.5px solid var(--border-2); color: var(--text); background: rgba(255,255,255,0.04); font-weight: 500; transition: all 0.2s ease; }
.btn-ghost-dd:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

.btn-green-dd { background: var(--green); color: #fff; border: none; font-weight: 700; transition: all 0.2s ease; }
.btn-green-dd:hover { background: #25a060; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,184,114,0.3); }

/* ===== LAYOUT ===== */
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--text); }

.page-hero {
  padding: 140px 0 72px;
  background:
    radial-gradient(ellipse 60% 50% at 15% 60%, rgba(46,184,114,0.07), transparent),
    radial-gradient(ellipse 50% 50% at 85% 30%, rgba(232,176,48,0.07), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { color: var(--text); }

/* ===== CARDS ===== */
.card-dd {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-dd:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0,0,0,0.45); border-color: rgba(232,176,48,0.35); }

.card-felt {
  background: linear-gradient(135deg, #0e2a1a, #142a20);
  border: 1px solid rgba(46,184,114,0.25);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.card-felt::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(46,184,114,0.05), transparent 70%);
  pointer-events: none;
}

/* ===== BADGES ===== */
.badge-dd { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(232,176,48,0.3); }
.badge-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(46,184,114,0.3); }
.badge-easy   { background: rgba(46,184,114,0.12); color: #2eb872; border: 1px solid rgba(46,184,114,0.3); }
.badge-medium { background: rgba(232,176,48,0.12); color: var(--gold); border: 1px solid rgba(232,176,48,0.3); }
.badge-hard   { background: rgba(212,64,48,0.12);  color: var(--red); border: 1px solid rgba(212,64,48,0.3); }

/* Difficulty badges on game cards */
.badge-diff-easy   { background: rgba(46,184,114,0.12); color: #2eb872; border: 1px solid rgba(46,184,114,0.3); }
.badge-diff-medium { background: rgba(232,176,48,0.12); color: var(--gold); border: 1px solid rgba(232,176,48,0.3); }
.badge-diff-hard   { background: rgba(212,64,48,0.12);  color: var(--red); border: 1px solid rgba(212,64,48,0.3); }

/* ===== HOME HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 40px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 10% 60%, rgba(46,184,114,0.06), transparent),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(232,176,48,0.07), transparent),
    var(--bg);
}

.floaters { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.floater { position: absolute; opacity: 0.18; animation: floatPiece linear infinite; user-select: none; line-height: 1; }
.floater:nth-child(1) { left: 4%;  top: 14%; font-size: 2.6rem; animation-duration: 15s; }
.floater:nth-child(2) { left: 10%; top: 70%; font-size: 1.8rem; animation-duration: 19s; animation-delay: -4s; }
.floater:nth-child(3) { left: 88%; top: 16%; font-size: 3rem;   animation-duration: 17s; animation-delay: -7s; }
.floater:nth-child(4) { left: 82%; top: 76%; font-size: 2rem;   animation-duration: 14s; animation-delay: -2s; }
.floater:nth-child(5) { left: 50%; top:  7%; font-size: 1.7rem; animation-duration: 21s; animation-delay: -10s; }
.floater:nth-child(6) { left: 70%; top: 55%; font-size: 2.4rem; animation-duration: 18s; animation-delay: -5s; }
.floater:nth-child(7) { left: 27%; top: 40%; font-size: 1.5rem; animation-duration: 23s; animation-delay: -13s; }
.floater:nth-child(8) { left: 95%; top: 44%; font-size: 2rem;   animation-duration: 16s; animation-delay: -8s; }

@keyframes floatPiece {
  0%   { transform: translateY(0)    rotate(0deg); }
  30%  { transform: translateY(-20px) rotate(7deg); }
  60%  { transform: translateY(-10px) rotate(-6deg); }
  80%  { transform: translateY(-26px) rotate(10deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green-dim);
  border: 1px solid rgba(46,184,114,0.28);
  border-radius: 999px; padding: 0.4rem 1.1rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 1.5rem;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.65)} }

.hero-title { font-size: clamp(2.8rem, 6.5vw, 5rem); line-height: 1.06; color: var(--text); font-weight: 800; margin-bottom: 1.4rem; }
.cycle-word { color: var(--gold); font-style: italic; transition: opacity 0.4s ease, transform 0.4s ease; display: inline-block; }
.hero-lead { font-size: 1.05rem; color: var(--muted); line-height: 1.8; max-width: 520px; margin-bottom: 2rem; }

.stats-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2.5rem; }
.stat-hex { flex: 1; min-width: 110px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1rem 0.75rem; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-lbl { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 0.25rem; }

.hero-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 2.2rem; box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,176,48,0.1), transparent 70%);
  pointer-events: none;
}
.hero-logo { max-width: 88px; }
.info-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 0.9rem; background: var(--surface-2); border-radius: 11px;
  margin-bottom: 0.6rem; font-size: 0.88rem; border: 1px solid var(--border-2);
}
.info-row i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.info-row span { color: var(--text); }

/* ===== ABOUT ===== */
.about-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ===== PRICING (homepage) ===== */
.price-big { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.price-per { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; }
.price-check { color: var(--green); margin-right: 0.5rem; }
.price-card-highlight { border-color: var(--gold) !important; box-shadow: 0 20px 55px rgba(232,176,48,0.2) !important; }

/* ===== ACCORDION ===== */
.accordion-button { background: var(--surface) !important; color: var(--text) !important; border-radius: 14px !important; font-weight: 600; box-shadow: none !important; }
.accordion-button::after { filter: invert(0.7); }
.accordion-button:not(.collapsed) { color: var(--gold) !important; }
.accordion-body { background: var(--surface); color: var(--muted); border-radius: 0 0 14px 14px; }
.accordion-item { background: transparent !important; }

/* ===== REVIEWS ===== */
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; height: 100%; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); border-color: rgba(232,176,48,0.3); }
.review-stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }
.review-author { color: var(--green); font-weight: 700; font-size: 1rem; margin: 0.45rem 0 0.3rem; }
.review-text { color: var(--muted); font-size: 0.87rem; line-height: 1.65; }
.review-time { color: var(--muted); font-size: 0.76rem; margin-top: 0.7rem; opacity: 0.7; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--teal)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem; color: #0d1520; flex-shrink: 0; }

/* ===== GAMES LIBRARY ===== */
.game-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.game-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); border-color: rgba(232,176,48,0.4); }
.game-img { height: 195px; overflow: hidden; }
.game-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.game-card:hover .game-img img { transform: scale(1.07); }
.game-body { padding: 1.1rem 1.3rem 1.3rem; }
.game-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.game-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin-bottom: 0.7rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.meta-pill { display: inline-flex; align-items: center; gap: 0.28rem; font-size: 0.76rem; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 0.22rem 0.6rem; border: 1px solid var(--border-2); }
.meta-pill i { color: var(--green); font-size: 0.75rem; }

/* Filter pills */
.filter-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.8rem; }
.fpill { padding: 0.4rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.18s; }
.fpill:hover { border-color: var(--gold); color: var(--gold); }
.fpill.active { background: var(--gold); border-color: var(--gold); color: #0d1520; }
.dpill { padding: 0.4rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.18s; }
.dpill:hover { border-color: var(--green); color: var(--green); }
.dpill.active { background: var(--green); border-color: var(--green); color: #0d1520; }

/* ===== CONTACT ===== */
.contact-block { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.8rem; }
.cline { display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.85rem; border-radius: 12px; transition: background 0.18s; }
.cline:hover { background: var(--surface-2); }
.cicon { width: 42px; height: 42px; min-width: 42px; border-radius: 11px; background: var(--gold-dim); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.sbtn { display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem; border-radius: 13px; text-decoration: none; font-weight: 600; font-size: 0.88rem; transition: all 0.2s; border: 1px solid var(--border); color: var(--text); background: var(--surface-2); }
.sbtn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); color: #fff; text-decoration: none; }
.sbtn i { font-size: 1.2rem; flex-shrink: 0; }
.sbtn.wa:hover     { background: #128c4a; border-color: #128c4a; }
.sbtn.wac:hover    { background: #0c6e38; border-color: #0c6e38; }
.sbtn.ig:hover     { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366); border-color: #dc2743; }
.sbtn.tw:hover     { background: #111; border-color: #333; }
.sbtn.th:hover     { background: #1a1a1a; border-color: #333; }
/* Email hover - warm red instead of invisible teal */
.sbtn.em:hover     { background: var(--red); border-color: var(--red); }

.map-frame { width: 100%; min-height: 300px; border: 0; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

/* ===== DECOR BOX ===== */
.decor-box {
  background: linear-gradient(135deg, #0d3a22, #1a4e30);
  border: 1px solid rgba(46,184,114,0.3);
  border-radius: 24px; color: #fff; position: relative; overflow: hidden;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem;
}
.decor-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(232,176,48,0.1), transparent 60%); pointer-events: none; }
.decor-box::after { content: '♟'; position: absolute; bottom: -15px; right: 15px; font-size: 7rem; opacity: 0.07; pointer-events: none; }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, #0d3a22, #162a18);
  border-radius: 22px; padding: 3rem;
  border: 1px solid rgba(46,184,114,0.2);
  position: relative; overflow: hidden; text-align: center;
}
.cta-strip::before { content: ''; position: absolute; top: -60px; left: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(232,176,48,0.1), transparent 70%); pointer-events: none; }
.cta-strip::after  { content: ''; position: absolute; bottom: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(46,184,114,0.1), transparent 70%); pointer-events: none; }

/* ===== FOOTER ===== */
.footer { background: #080e16; border-top: 1px solid var(--border); color: var(--text); }
.footer a { color: var(--gold); text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.footer-muted { color: var(--muted); }
.foot-icon-link { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.95rem; text-decoration: none; transition: all 0.2s; }
.foot-icon-link:hover { background: var(--gold); border-color: var(--gold); color: #0d1520; transform: translateY(-2px); }

/* ===== UPDATES ===== */
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0,0,0,0.4); border-color: rgba(232,176,48,0.3); }
.post-img { height: 196px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.post-card:hover .post-img img { transform: scale(1.05); }

/* Instagram embed override */
.ig-embed-wrap { background: var(--surface); border-radius: 14px; overflow: hidden; min-height: 200px; }
.ig-embed-wrap .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ===== UTILITY ===== */
.text-gold    { color: var(--gold) !important; }
.text-green   { color: var(--green) !important; }
.text-muted-d { color: var(--muted) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) { .social-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .hero { min-height: auto; padding: 100px 0 70px; }
  .section-pad { padding: 70px 0; }
  .section-pad-sm { padding: 50px 0; }
  .page-hero { padding: 120px 0 60px; }
  .hero-title { font-size: 2.5rem; }
  .stats-row .stat-hex { min-width: 90px; }
  .floater { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.1rem; }
  .social-grid { grid-template-columns: 1fr; }
}
