/* ============================================================
   GravityRaider.info — Main Stylesheet
   ============================================================ */

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

:root {
  --clr-bg:        #0d0f14;
  --clr-surface:   #141720;
  --clr-card:      #1a1e2a;
  --clr-border:    #252a38;
  --clr-accent:    #6c3fff;
  --clr-accent2:   #00d4ff;
  --clr-text:      #e2e6f0;
  --clr-muted:     #8890a8;
  --clr-white:     #ffffff;
  --radius:        10px;
  --shadow:        0 4px 24px rgba(0,0,0,.45);
  --transition:    .25s ease;
  --font-main:     'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--clr-accent2); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-white); }

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-white);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-accent), #9b6bff);
  color: var(--clr-white);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #7d52ff, #b080ff);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108,63,255,.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--clr-accent2);
  color: var(--clr-accent2);
}
.btn-outline:hover {
  background: var(--clr-accent2);
  color: var(--clr-bg);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--clr-card);
  border: 2px solid var(--clr-border);
  color: var(--clr-text);
}
.btn-secondary:hover {
  border-color: var(--clr-accent);
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,15,20,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--clr-white);
  text-decoration: none;
}

.logo span { color: var(--clr-accent); }

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--clr-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-white);
  background: var(--clr-card);
}

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

.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(--clr-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--clr-surface);
    border-bottom: 1px solid var(--clr-border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-cta { width: 100%; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(108,63,255,.2);
  border: 1px solid var(--clr-accent);
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--clr-accent2);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  max-width: 700px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--clr-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Section Titles ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-header p { color: var(--clr-muted); max-width: 560px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--clr-accent2);
  margin-bottom: 10px;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.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(--clr-muted);
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tag-action   { background: rgba(255,80,80,.15);  color: #ff8080; }
.tag-rpg      { background: rgba(108,63,255,.15); color: #9b6bff; }
.tag-strategy { background: rgba(0,212,255,.15);  color: var(--clr-accent2); }
.tag-fps      { background: rgba(255,165,0,.15);  color: #ffaa44; }
.tag-sports   { background: rgba(0,200,100,.15);  color: #44dd88; }

.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p  { font-size: .9rem; color: var(--clr-muted); }

.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rating { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; }
.stars  { color: #ffd700; font-size: .85rem; }

/* ---------- Featured Review ---------- */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.featured-img { height: 400px; object-fit: cover; width: 100%; }
.featured-body { padding: 40px; }
.featured-body h2 { font-size: 1.8rem; margin-bottom: 16px; }
.featured-body p  { color: var(--clr-muted); margin-bottom: 24px; }

@media (max-width: 768px) {
  .featured { grid-template-columns: 1fr; }
  .featured-img { height: 240px; }
  .featured-body { padding: 24px; }
}

/* ---------- Tournaments ---------- */
.tournament-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.tournament-card:hover {
  border-color: var(--clr-accent2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tournament-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tournament-body { padding: 20px; }
.tournament-body h3 { font-size: 1.15rem; margin-bottom: 8px; }

.tournament-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0;
  font-size: .85rem;
  color: var(--clr-muted);
}

.tournament-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-live     { background: rgba(255,80,80,.15); color: #ff6060; border: 1px solid rgba(255,80,80,.3); }
.status-upcoming { background: rgba(0,212,255,.15); color: var(--clr-accent2); border: 1px solid rgba(0,212,255,.3); }
.status-ended    { background: rgba(136,144,168,.1); color: var(--clr-muted); border: 1px solid var(--clr-border); }

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--clr-card);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { font-size: .85rem; color: var(--clr-muted); margin-top: 4px; }

/* ---------- Newsletter / CTA ---------- */
.newsletter-section {
  background: linear-gradient(135deg, rgba(108,63,255,.12), rgba(0,212,255,.08));
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
}

.newsletter-section h2 { font-size: 2rem; margin-bottom: 12px; }
.newsletter-section p  { color: var(--clr-muted); margin-bottom: 32px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  color: var(--clr-text);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus { border-color: var(--clr-accent); }
.newsletter-form input::placeholder { color: var(--clr-muted); }

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { font-size: 1.8rem; margin-bottom: 16px; }
.contact-info p  { color: var(--clr-muted); margin-bottom: 28px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(108,63,255,.15);
  border: 1px solid rgba(108,63,255,.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail h4 { font-size: .9rem; margin-bottom: 2px; }
.contact-detail p  { font-size: .85rem; color: var(--clr-muted); margin: 0; }

.form-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  color: var(--clr-text);
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--clr-accent); }

.form-group select option { background: var(--clr-surface); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.form-success h3 { margin-bottom: 8px; }
.form-success p  { color: var(--clr-muted); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.about-img img { width: 100%; height: 380px; object-fit: cover; }

.about-text h2 { font-size: 2rem; margin-bottom: 16px; }
.about-text p  { color: var(--clr-muted); margin-bottom: 16px; }

.about-features { list-style: none; margin: 24px 0; }
.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: .95rem;
}

.about-features li:last-child { border-bottom: none; }

.check-icon {
  width: 22px;
  height: 22px;
  background: rgba(0,212,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: var(--clr-accent2);
  flex-shrink: 0;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover { border-color: var(--clr-accent); transform: translateY(-4px); }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}

.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card p  { font-size: .85rem; color: var(--clr-muted); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 70px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--clr-border);
  background: linear-gradient(180deg, rgba(108,63,255,.06) 0%, transparent 100%);
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p  { color: var(--clr-muted); max-width: 500px; margin: 0 auto; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--clr-muted);
  padding: 14px 0;
}

.breadcrumb a { color: var(--clr-muted); }
.breadcrumb a:hover { color: var(--clr-accent2); }
.breadcrumb .sep { opacity: .4; }
.breadcrumb .current { color: var(--clr-text); }

/* ---------- Policy Pages ---------- */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px;
}

.policy-content h1 { font-size: 2rem; margin-bottom: 8px; }
.policy-content .last-updated { color: var(--clr-muted); font-size: .85rem; margin-bottom: 40px; }

.policy-content h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--clr-border);
}

.policy-content h3 { font-size: 1.05rem; margin: 24px 0 8px; color: var(--clr-accent2); }
.policy-content p  { color: var(--clr-muted); margin-bottom: 14px; }
.policy-content ul { color: var(--clr-muted); padding-left: 24px; margin-bottom: 14px; }
.policy-content ul li { margin-bottom: 6px; }
.policy-content a  { color: var(--clr-accent2); }

/* ---------- Cookie Banner ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.4);
}

#cookie-banner p { font-size: .9rem; color: var(--clr-muted); margin: 0; }
#cookie-banner a { color: var(--clr-accent2); }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-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: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { color: var(--clr-muted); font-size: .9rem; margin: 14px 0 20px; max-width: 280px; }

.footer-col h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--clr-muted); font-size: .9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--clr-white); }

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: var(--clr-muted);
}

.footer-bottom a { color: var(--clr-muted); }
.footer-bottom a:hover { color: var(--clr-accent2); }

.footer-legal { display: flex; gap: 20px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

.divider {
  height: 1px;
  background: var(--clr-border);
  margin: 40px 0;
}

/* ---------- Responsive helpers ---------- */
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .newsletter-section { padding: 40px 20px; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
