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

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #020617;
  color: #fff;
}
a { text-decoration: none; color: inherit; }

/* ===================== HEADER ===================== */
.peek-header-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: linear-gradient(to right, #0f172a, #1e293b, #0f172a);
  border-bottom: 1px solid rgba(6,182,212,0.2);
}
.peek-header-wrap button { background: none; border: none; cursor: pointer; font-family: inherit; }
.peek-nav { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.peek-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.peek-logo { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.peek-logo-icon { width: 68px; height: 68px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.peek-logo-icon span { font-weight: 700; color: #fff; font-size: 14px; }
.peek-logo-text { font-weight: 700; font-size: 20px; color: #fff; }
.peek-logo-text .cyan, .peek-footer-logo-text .cyan { color: #22d3ee; }
.peek-nav-links { display: none; align-items: center; gap: 4px; }
@media (min-width: 768px) { .peek-nav-links { display: flex; } }
.peek-nav-links a { padding: 8px 16px; font-size: 14px; font-weight: 500; color: #cbd5e1; border-radius: 8px; transition: all 0.2s; }
.peek-nav-links a:hover { color: #fff; background: rgba(51,65,85,0.5); }
.peek-nav-links a.active { color: #22d3ee; background: rgba(34,211,238,0.1); }
.peek-nav-right { display: flex; align-items: center; gap: 12px; }

.peek-auth-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
  border-radius: 12px !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
  display: none;
  cursor: pointer;
  border: none !important;
  text-decoration: none !important;
  letter-spacing: 1px;
}
@media (min-width: 768px) { .peek-auth-btn { display: inline-block; } }
.peek-auth-btn:hover { background: linear-gradient(135deg, #2563eb, #2563eb) !important; transform: translateY(-2px) !important; box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4) !important; }
.peek-auth-btn:active { transform: scale(0.97) !important; }
.peek-auth-btn.logged-in { background: linear-gradient(135deg, #1ec98d, #15b37a) !important; box-shadow: 0 4px 15px rgba(30, 201, 141, 0.3) !important; }
.peek-auth-btn.logged-in:hover { background: linear-gradient(135deg, #1ec98d, #1ec98d) !important; box-shadow: 0 6px 25px rgba(30, 201, 141, 0.4) !important; }

.peek-mobile-toggle { display: block; padding: 8px; color: #fff !important; transition: color 0.3s; }
.peek-mobile-toggle:hover { color: #22d3ee; }
.peek-mobile-toggle svg { width: 24px; height: 24px; }
@media (min-width: 768px) { .peek-mobile-toggle { display: none; } }
.peek-mobile-menu { max-height: 0; overflow: hidden; padding: 0; border-top: none; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.4s ease, border 0.3s ease; }
.peek-mobile-menu.open { max-height: 500px; padding: 16px 0; border-top: 1px solid #334155; }
.peek-mobile-menu a { display: block; padding: 12px 16px; font-size: 16px; font-weight: 500; color: #cbd5e1; border-radius: 8px; transition: all 0.2s; }
.peek-mobile-menu a:hover { color: #fff; background: rgba(51,65,85,0.5); }
.peek-mobile-divider { height: 1px; background: #334155; margin: 8px 16px; }
.peek-mobile-login { display: block; padding: 12px 16px; margin: 8px 16px; background: linear-gradient(135deg, #2563eb, #3b82f6) !important; color: #fff !important; font-size: 16px; font-weight: 600; border-radius: 12px; text-align: center; }
.peek-mobile-user { display: block; padding: 12px 16px; margin: 8px 16px; color: #8a9bb5; font-size: 14px; font-weight: 500; background: rgba(255,255,255,0.05); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); text-align: center; }
.peek-mobile-user .logout-link { color: #8a9bb5; font-size: 13px; margin-left: 10px; padding: 6px 16px; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; background: transparent; font-weight: 600; cursor: pointer; }

/* ===================== PAGE CONTENT (peek-wrap) ===================== */
.peek-wrap { padding-top: 64px; } /* offset for fixed header */
.peek-wrap .container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.peek-wrap section { position: relative; }

.peek-hero { min-height: 600px; display: flex; align-items: center; overflow: hidden; position: relative; }
.peek-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%); }
.peek-hero-glow1 { position: absolute; top: 0; right: 0; width: 800px; height: 800px; background: rgba(6,182,212,0.05); border-radius: 50%; filter: blur(80px); transform: translate(33%, -50%); }
.peek-hero-glow2 { position: absolute; bottom: 0; left: 0; width: 600px; height: 600px; background: rgba(59,130,246,0.05); border-radius: 50%; filter: blur(80px); transform: translate(-33%, 33%); }
.peek-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(128,128,128,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(128,128,128,0.04) 1px, transparent 1px); background-size: 24px 24px; }
.peek-hero-content { position: relative; max-width: 1280px; margin: 0 auto; padding: 80px 16px; text-align: center; z-index: 1; }
.peek-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.2); border-radius: 999px; color: #22d3ee; font-size: 14px; font-weight: 500; margin-bottom: 24px; }
.peek-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; color: #fff; margin-bottom: 24px; line-height: 1.1; }
.peek-hero h1 .gradient { background: linear-gradient(to right, #22d3ee, #3b82f6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.peek-hero p { font-size: clamp(16px, 2vw, 20px); color: #94a3b8; margin-bottom: 32px; max-width: 640px; margin-left: auto; margin-right: auto; }
.peek-btn-group { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (min-width: 640px) { .peek-btn-group { flex-direction: row; } }
.peek-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 32px; background: linear-gradient(to right, #06b6d4, #2563eb); color: #fff; font-weight: 600; border-radius: 12px; transition: all 0.3s; box-shadow: 0 10px 30px rgba(6,182,212,0.25); }
.peek-btn-primary:hover { background: linear-gradient(to right, #22d3ee, #3b82f6); transform: scale(1.05); box-shadow: 0 10px 40px rgba(6,182,212,0.4); }
.peek-btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 32px; background: #1e293b; color: #fff; font-weight: 600; border-radius: 12px; border: 1px solid #334155; transition: all 0.3s; }
.peek-btn-secondary:hover { background: #334155; border-color: #475569; }

.peek-stats { margin-top: -40px; position: relative; z-index: 2; }
.peek-stats-card { background: rgba(15,23,42,0.8); backdrop-filter: blur(20px); border: 1px solid rgba(51,65,85,0.5); border-radius: 16px; padding: 32px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.peek-stats-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .peek-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.peek-stat { display: flex; align-items: center; justify-content: center; gap: 16px; }
@media (min-width: 640px) { .peek-stat:not(:last-child) { border-right: 1px solid #334155; } }
.peek-stat-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(59,130,246,0.2)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.peek-stat-icon svg { width: 24px; height: 24px; color: #22d3ee; }
.peek-stat-value { font-size: 28px; font-weight: 700; color: #fff; }
.peek-stat-label { font-size: 14px; color: #94a3b8; }

.peek-section-title { text-align: center; margin-bottom: 48px; }
.peek-section-title h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.peek-section-title p { color: #94a3b8; max-width: 640px; margin: 0 auto; }

.peek-categories { padding: 80px 0; }
.peek-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1024px) { .peek-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.peek-cat-card { position: relative; overflow: hidden; border-radius: 16px; background: rgba(15,23,42,0.5); border: 1px solid #1e293b; transition: all 0.3s; display: block; }
.peek-cat-card:hover { border-color: rgba(6,182,212,0.5); transform: scale(1.05); }
.peek-cat-card-inner { position: relative; padding: 24px; }
.peek-cat-icon { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, #06b6d4, #2563eb); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: transform 0.3s; }
.peek-cat-card:hover .peek-cat-icon { transform: scale(1.1); }
.peek-cat-icon svg { width: 28px; height: 28px; color: #fff; }
.peek-cat-card h3 { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.peek-cat-card p { font-size: 14px; color: #94a3b8; }
.peek-cat-more { margin-top: 16px; display: flex; align-items: center; gap: 4px; color: #22d3ee; font-size: 14px; font-weight: 500; opacity: 0; transition: opacity 0.3s; }
.peek-cat-card:hover .peek-cat-more { opacity: 1; }

.peek-why { padding: 80px 0; background: linear-gradient(to bottom, rgba(15,23,42,0.5), #020617); }
.peek-why h2 .cyan { color: #22d3ee; }
.peek-why-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .peek-why-grid { grid-template-columns: repeat(2, 1fr); } }
.peek-why-card { background: rgba(15,23,42,0.5); border: 1px solid #1e293b; border-radius: 16px; padding: 24px; transition: all 0.3s; display: flex; gap: 16px; }
.peek-why-card:hover { border-color: rgba(6,182,212,0.3); background: rgba(15,23,42,0.8); }
.peek-why-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(59,130,246,0.2)); border: 1px solid rgba(6,182,212,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s; }
.peek-why-card:hover .peek-why-icon { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.peek-why-icon svg { width: 24px; height: 24px; color: #22d3ee; transition: color 0.3s; }
.peek-why-card:hover .peek-why-icon svg { color: #fff; }
.peek-why-card h3 { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.peek-why-card p { font-size: 14px; color: #94a3b8; line-height: 1.6; }

.peek-how { padding: 80px 0; }
.peek-how-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .peek-how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .peek-how-grid { grid-template-columns: repeat(4, 1fr); } }
.peek-how-card { position: relative; background: rgba(15,23,42,0.5); border: 1px solid #1e293b; border-radius: 16px; padding: 24px; transition: all 0.3s; }
.peek-how-card:hover { border-color: rgba(6,182,212,0.3); }
.peek-how-num { font-size: 48px; font-weight: 800; color: #1e293b; margin-bottom: 16px; transition: color 0.3s; }
.peek-how-card:hover .peek-how-num { color: rgba(6,182,212,0.2); }
.peek-how-card h3 { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.peek-how-card p { font-size: 14px; color: #94a3b8; }

.peek-reviews { padding: 80px 0; background: linear-gradient(to bottom, rgba(15,23,42,0.5), #020617); }
.peek-reviews-header { text-align: center; margin-bottom: 48px; }
.peek-reviews-stars { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.peek-reviews-stars svg { width: 24px; height: 24px; color: #facc15; fill: #facc15; }
.peek-reviews-score { font-size: 28px; font-weight: 800; color: #fff; }
.peek-reviews-count { color: #94a3b8; }
.peek-reviews-header h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.peek-reviews-link { display: inline-flex; align-items: center; gap: 8px; color: #22d3ee; transition: color 0.3s; }
.peek-reviews-link:hover { color: #67e8f9; }
.peek-reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .peek-reviews-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .peek-reviews-grid { grid-template-columns: repeat(5, 1fr); } }
.peek-review-card { background: rgba(15,23,42,0.5); border: 1px solid #1e293b; border-radius: 12px; padding: 16px; }
.peek-review-stars { display: flex; gap: 4px; margin-bottom: 8px; }
.peek-review-stars svg { width: 16px; height: 16px; }
.peek-review-stars .filled { color: #facc15; fill: #facc15; }
.peek-review-card p { font-size: 14px; color: #cbd5e1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.peek-review-verified { margin-top: 8px; display: flex; align-items: center; gap: 4px; font-size: 12px; color: #4ade80; }
.peek-review-verified svg { width: 12px; height: 12px; }

.peek-faq { padding: 80px 0; }
.peek-faq .container { max-width: 896px; }
.peek-faq-list { display: flex; flex-direction: column; gap: 16px; }
.peek-faq-item { background: rgba(15,23,42,0.5); border: 1px solid #1e293b; border-radius: 12px; overflow: hidden; }
.peek-faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 24px; cursor: pointer; list-style: none; font-weight: 600; color: #fff; }
.peek-faq-item summary::-webkit-details-marker { display: none; }
.peek-faq-item summary svg { width: 20px; height: 20px; color: #94a3b8; flex-shrink: 0; transition: transform 0.3s; }
.peek-faq-item[open] summary svg { transform: rotate(90deg); }
.peek-faq-answer { padding: 0 24px 24px; color: #94a3b8; }
.peek-faq-discord { margin-top: 32px; text-align: center; }
.peek-faq-discord p { color: #94a3b8; margin-bottom: 16px; }
.peek-discord-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: #4f46e5; color: #fff; font-weight: 500; border-radius: 8px; transition: background 0.3s; }
.peek-discord-btn:hover { background: #6366f1; }

.peek-cta { padding: 80px 0; overflow: hidden; position: relative; }
.peek-cta-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,145,178,0.2), rgba(37,99,235,0.1), #020617); }
.peek-cta-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1000px; height: 600px; background: radial-gradient(ellipse at center, rgba(6,182,212,0.1), transparent); filter: blur(80px); }
.peek-cta-content { position: relative; max-width: 896px; margin: 0 auto; padding: 0 16px; text-align: center; }
.peek-cta-content h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; color: #fff; margin-bottom: 24px; }
.peek-cta-content p { font-size: clamp(16px, 2vw, 20px); color: #cbd5e1; margin-bottom: 32px; }
.peek-cta-features { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; font-size: 14px; color: #94a3b8; }
.peek-cta-features div { display: flex; align-items: center; gap: 8px; }
.peek-cta-features svg { width: 16px; height: 16px; color: #22d3ee; }

/* ===================== FOOTER ===================== */
.peek-footer-wrap { background: #0f172a; border-top: 1px solid #1e293b; color: #fff; }
.peek-footer-inner { max-width: 1280px; margin: 0 auto; padding: 48px 16px; }
.peek-footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 768px) { .peek-footer-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; } }
.peek-footer-brand { grid-column: span 2; }
@media (min-width: 768px) { .peek-footer-brand { grid-column: span 1; } }
.peek-footer-brand p { color: #94a3b8; font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.peek-footer-col h3 { color: #fff; font-weight: 600; margin-bottom: 16px; font-size: 16px; }
.peek-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.peek-footer-col a { color: #94a3b8; font-size: 14px; transition: color 0.3s; }
.peek-footer-col a:hover { color: #22d3ee; }
.peek-footer-payments { margin-top: 48px; padding-top: 32px; border-top: 1px solid #1e293b; }
.peek-footer-payments p { color: #64748b; font-size: 14px; margin-bottom: 16px; }
.peek-payment-list { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.peek-payment-item { height: 32px; padding: 0 12px; background: #1e293b; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.peek-payment-item span { color: #94a3b8; font-size: 12px; font-weight: 500; }
.peek-footer-disclaimer { margin-top: 32px; padding-top: 32px; border-top: 1px solid #1e293b; text-align: center; }
.peek-footer-disclaimer p { color: #64748b; font-size: 12px; }
.peek-footer-disclaimer .copyright { color: #475569; font-size: 12px; margin-top: 8px; }

/* ===================== AUTH MODAL ===================== */
#authOverlay { display: none; position: fixed; inset: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 99999; align-items: center; justify-content: center; }
#authOverlay.show { display: flex; }
.auth-box { background: #0f172a; border: 1px solid #1e293b; border-radius: 16px; padding: 32px; width: 100%; max-width: 400px; position: relative; }
.auth-close { position: absolute; top: 16px; right: 16px; color: #94a3b8; cursor: pointer; font-size: 20px; background: none; border: none; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.auth-tab { flex: 1; text-align: center; padding: 10px; border-radius: 10px; cursor: pointer; color: #94a3b8; font-weight: 600; background: transparent; border: none; }
.auth-tab.active { background: #1e293b; color: #fff; }
.auth-input { width: 100%; padding: 12px 14px; margin-bottom: 12px; background: #1a2132; border: 1px solid #2b3347; border-radius: 10px; color: #fff; font-size: 14px; }
.auth-input::placeholder { color: #64748b; }
.modal-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, #2563eb, #3b82f6); border: none; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(37,99,235,0.25); }
.modal-btn:hover { background: linear-gradient(135deg, #2563eb, #2563eb); }
.auth-separator { text-align: center; color: #64748b; font-size: 12px; margin-bottom: 12px; }
.auth-error { color: #ff4444; margin-bottom: 10px; font-size: 13px; }
.auth-success { color: #1ec98d; margin-bottom: 10px; font-size: 13px; }
.oauth-icons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; background: #1a2132; border: 1px solid #2b3347; border-radius: 12px; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; min-width: 160px; transition: all 0.25s ease; }
.oauth-btn:hover { border-color: #4098ff; background: #162b4d; transform: translateY(-2px); }
.oauth-btn img { width: 20px; height: 20px; }
