/* =============================================
   HyperClutch.pro — Main Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan: #00e5ff;
  --purple: #a855f7;
  --dark: #0a0a0f;
  --dark2: #111118;
  --dark3: #1a1a26;
  --card-bg: #16161f;
  --text: #e2e2f0;
  --muted: #8888aa;
  --border: #2a2a3a;
  --radius: 10px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--purple); }

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

ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle { color: var(--muted); font-size: 1.05rem; margin-bottom: 48px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,229,255,.25); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #000;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
}
.btn-outline:hover { background: var(--cyan); color: #000; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tag-fps { background: #ff4d4d22; color: #ff6b6b; border: 1px solid #ff4d4d44; }
.tag-moba { background: #4d88ff22; color: #6b9fff; border: 1px solid #4d88ff44; }
.tag-rpg { background: #a855f722; color: #c084fc; border: 1px solid #a855f744; }
.tag-strategy { background: #00e5ff22; color: #00e5ff; border: 1px solid #00e5ff44; }
.tag-battle-royale { background: #ff9f0022; color: #ffb830; border: 1px solid #ff9f0044; }

/* --- Header / Nav --- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,15,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}
.logo span { color: var(--cyan); }
.logo img { width: 36px; height: 36px; border-radius: 6px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }

.nav-cta { margin-left: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--dark2);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; width: 100%; }
  .nav-cta { display: none; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.35);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,.08) 0%, rgba(168,85,247,.08) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,229,255,.1);
  border: 1px solid rgba(0,229,255,.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .gradient {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
}
.stat-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,229,255,.12);
  border-color: rgba(0,229,255,.3);
}
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .8rem;
  color: var(--muted);
}
.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.card-excerpt { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.rating { color: #ffd700; font-weight: 700; }

/* --- Tournament Cards --- */
.tournament-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color .25s, box-shadow .25s;
}
.tournament-card:hover {
  border-color: rgba(168,85,247,.4);
  box-shadow: 0 8px 32px rgba(168,85,247,.12);
}
.t-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.t-info { flex: 1; }
.t-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.t-meta { font-size: .83rem; color: var(--muted); margin-bottom: 10px; }
.t-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-live { background: #ff4d4d22; color: #ff6b6b; border: 1px solid #ff4d4d44; }
.status-upcoming { background: #00e5ff22; color: #00e5ff; border: 1px solid #00e5ff44; }
.status-ended { background: #8888aa22; color: #8888aa; border: 1px solid #8888aa44; }

.tournaments-list { display: flex; flex-direction: column; gap: 16px; }

/* --- Newsletter Section --- */
.newsletter-section {
  background: linear-gradient(135deg, rgba(0,229,255,.06), rgba(168,85,247,.06));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
}
.newsletter-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.newsletter-section p { color: var(--muted); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--dark3);
  color: var(--text);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input[type="email"]:focus { border-color: var(--cyan); }
.newsletter-success {
  display: none;
  color: var(--cyan);
  font-weight: 600;
  margin-top: 16px;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--dark3);
  color: var(--text);
  font-size: .95rem;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--cyan); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  background: rgba(0,229,255,.1);
  border: 1px solid rgba(0,229,255,.3);
  border-radius: 6px;
  padding: 16px;
  color: var(--cyan);
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0,229,255,.1);
  border: 1px solid rgba(0,229,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.contact-item-text span { font-size: .85rem; color: var(--muted); }

/* --- About Page --- */
.about-hero {
  padding: 140px 0 80px;
  text-align: center;
}
.about-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.about-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color .25s;
}
.team-card:hover { border-color: rgba(0,229,255,.3); }
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
}
.team-name { font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: .83rem; color: var(--muted); }

/* --- Reviews Page --- */
.reviews-hero {
  padding: 140px 0 60px;
  text-align: center;
}
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,229,255,.08);
}

/* --- Tournaments Page --- */
.tournaments-hero {
  padding: 140px 0 60px;
  text-align: center;
}
.t-banner {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 60px;
  position: relative;
}
.t-banner img { width: 100%; height: 360px; object-fit: cover; filter: brightness(.6); }
.t-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.t-banner-content h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 900; margin-bottom: 12px; }
.t-banner-content p { color: var(--muted); max-width: 500px; margin-bottom: 24px; }

/* --- Policy Pages --- */
.policy-hero {
  padding: 120px 0 40px;
}
.policy-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 10px; }
.policy-hero .updated { font-size: .85rem; color: var(--muted); }
.policy-content {
  max-width: 800px;
  padding-bottom: 80px;
}
.policy-content h2 { font-size: 1.25rem; font-weight: 700; margin: 36px 0 12px; color: var(--cyan); }
.policy-content h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 8px; }
.policy-content p { color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.policy-content ul { margin: 10px 0 14px 20px; }
.policy-content ul li { list-style: disc; color: var(--muted); margin-bottom: 6px; line-height: 1.7; }
.policy-content a { color: var(--cyan); }

/* --- Cookie Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { font-size: .88rem; color: var(--muted); flex: 1; min-width: 200px; }
#cookie-banner p a { color: var(--cyan); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* --- Footer --- */
#site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p { color: var(--muted); font-size: .88rem; margin: 12px 0 20px; max-width: 280px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--dark3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: var(--muted);
  transition: all .2s;
}
.social-link:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,229,255,.08); }
.footer-col h4 { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; color: var(--text); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; color: var(--muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--cyan); }

/* --- Page Loader --- */
.page-content { padding-top: 68px; }

/* --- Responsive tweaks --- */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero-stats { gap: 24px; }
  .newsletter-section { padding: 40px 20px; }
}
