/* ═══════════════════════════════════════════
   PokerPay — Shared Styles
   Variables · Reset · Nav · Footer · Buttons · Animations
   ═══════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #060C1A;
  --surface:      #0D1829;
  --surface2:     #131F35;
  --border:       rgba(255, 255, 255, 0.08);
  --border-focus: rgba(77, 159, 255, 0.5);
  --blue:         #2D7DD2;
  --blue-bright:  #4D9FFF;
  --green:        #34C77B;
  --red:          #FF5B5B;
  --gold:         #F5C842;
  --text:         #FFFFFF;
  --text-sub:     rgba(255, 255, 255, 0.55);
  --text-dim:     rgba(255, 255, 255, 0.30);
  --radius:       14px;
  --radius-lg:    20px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(6, 12, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav.static-nav {
  position: static;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--surface2);
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--text);
}

/* ── BUTTONS ── */
.btn-nav {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-nav:hover {
  background: var(--blue-bright);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 15px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(45, 125, 210, 0.35);
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(45, 125, 210, 0.5);
}

.btn-secondary {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-secondary:hover {
  color: var(--text);
}

.btn-gold {
  background: var(--gold);
  color: #060C1A;
  border: none;
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.15s;
  font-family: inherit;
}

.btn-gold:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-gold.full-width {
  width: 100%;
}

/* ── SECTION LABELS ── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  padding: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-sub);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.fade-up    { animation: fadeUp 0.6s ease forwards; }
.fade-up-d1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-d2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-d3 { animation-delay: 0.3s; opacity: 0; }
.d1 { animation-delay: 0.05s; opacity: 0; }
.d2 { animation-delay: 0.12s; opacity: 0; }
.d3 { animation-delay: 0.20s; opacity: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
