/* =============================================
   IronZone.info — Main Stylesheet
   Gaming Reviews & Tournaments — Australia
   ============================================= */

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

:root {
  --bg-dark:    #0a0a1a;
  --bg-card:    #111128;
  --bg-nav:     #080816;
  --accent1:    #00d4ff;
  --accent2:    #7b2fff;
  --accent3:    #ff3c6e;
  --text-main:  #e8e8f0;
  --text-muted: #8888aa;
  --border:     #1e1e3a;
  --radius:     8px;
  --shadow:     0 4px 24px rgba(0,0,0,.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.accent      { color: var(--accent1); }
.accent2     { color: var(--accent2); }
.tag {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tag-action  { background: rgba(255,60,110,.15); color: var(--accent3); }
.tag-rpg     { background: rgba(123,47,255,.15); color: var(--accent2); }
.tag-racing  { background: rgba(0,212,255,.15);  color: var(--accent1); }
.tag-strategy{ background: rgba(255,180,0,.15);  color: #ffb400; }
.tag-esports { background: rgba(0,212,255,.15);  color: var(--accent1); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, opacity .2s;
  letter-spacing: .03em;
}
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,212,255,.3);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent1);
  color: var(--accent1);
}
.btn-outline:hover { background: rgba(0,212,255,.1); }
.btn-danger {
  background: linear-gradient(135deg, var(--accent3), #c0003a);
  color: #fff;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -.02em;
}
.nav-logo span.iz { color: var(--accent1); }
.nav-logo span.zone { color: var(--accent2); }
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 900; color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent1);
  border-bottom-color: var(--accent1);
}
.nav-cta { margin-left: 1rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: .3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.4);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,26,.8) 0%, rgba(123,47,255,.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 20px;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent1);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}
.hero-title { margin-bottom: 1.25rem; }
.hero-title .line2 { color: var(--accent1); }
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 1;
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent1);
  display: block;
}
.hero-stat .lbl {
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header { margin-bottom: 3rem; }
.section-header .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent1);
  margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--text-muted); max-width: 560px; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,212,255,.1);
}
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .8rem;
  color: var(--text-muted);
}
.card-title { margin-bottom: .5rem; font-size: 1.1rem; }
.card-excerpt { color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
}

/* Star rating */
.stars { color: #ffb400; letter-spacing: .1em; }

/* Grid layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* =============================================
   FEATURED REVIEW STRIP
   ============================================= */
.featured-strip {
  background: linear-gradient(135deg, rgba(0,212,255,.05), rgba(123,47,255,.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  gap: 0;
  overflow: hidden;
}
.featured-img { width: 45%; object-fit: cover; flex-shrink: 0; }
.featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent3);
  margin-bottom: .75rem;
}
.featured-body h2 { margin-bottom: 1rem; }
.featured-body p  { color: var(--text-muted); margin-bottom: 1.5rem; }
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .featured-strip { flex-direction: column; }
  .featured-img { width: 100%; height: 220px; }
}

/* =============================================
   TOURNAMENTS
   ============================================= */
.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.tournament-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,212,255,.08);
}
.t-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent2), var(--accent1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.t-info h3 { margin-bottom: .3rem; font-size: 1rem; }
.t-meta { font-size: .82rem; color: var(--text-muted); margin-bottom: .5rem; }
.t-status {
  display: inline-block;
  padding: .15rem .6rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.t-status.open   { background: rgba(0,212,255,.15); color: var(--accent1); }
.t-status.upcoming { background: rgba(255,180,0,.15); color: #ffb400; }
.t-status.closed { background: rgba(255,60,110,.15); color: var(--accent3); }

/* =============================================
   NEWSLETTER / CTA BAND
   ============================================= */
.cta-band {
  background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(123,47,255,.12));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.cta-band h2 { margin-bottom: .75rem; }
.cta-band p  { color: var(--text-muted); margin-bottom: 2rem; }
.subscribe-form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  flex-wrap: wrap;
}
.subscribe-form input {
  flex: 1;
  min-width: 200px;
  padding: .75rem 1.25rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-main);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.subscribe-form input:focus { border-color: var(--accent1); }
.subscribe-form input::placeholder { color: var(--text-muted); }
.form-msg {
  margin-top: .75rem;
  font-size: .9rem;
  font-weight: 600;
  display: none;
}
.form-msg.success { color: #00e676; display: block; }
.form-msg.error   { color: var(--accent3); display: block; }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { color: var(--text-muted); margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail .icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(0,212,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail .lbl { font-size: .8rem; color: var(--text-muted); margin-bottom: .2rem; }
.contact-detail .val { font-weight: 600; }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-main);
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-card); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 3rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}
.team-card h3 { margin-bottom: .25rem; }
.team-card .role { color: var(--accent1); font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.team-card p { color: var(--text-muted); font-size: .88rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }
.value-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.value-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.value-item h3 { margin-bottom: .5rem; }
.value-item p  { color: var(--text-muted); font-size: .9rem; }

/* =============================================
   POLICY PAGES
   ============================================= */
.policy-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.policy-wrap h1 { margin-bottom: .5rem; }
.policy-date { color: var(--text-muted); font-size: .9rem; margin-bottom: 2.5rem; }
.policy-wrap h2 { margin: 2rem 0 .75rem; color: var(--accent1); font-size: 1.2rem; }
.policy-wrap p  { color: var(--text-muted); margin-bottom: 1rem; }
.policy-wrap ul { color: var(--text-muted); padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-wrap ul li { margin-bottom: .4rem; }
.policy-wrap a  { color: var(--accent1); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@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(--text-muted); font-size: .9rem; margin-top: .75rem; max-width: 260px; }
.footer-col h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: var(--text-muted); font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent1); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .85rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent1); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, rgba(0,212,255,.06), rgba(123,47,255,.08));
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.page-hero h1 { margin-bottom: .5rem; }
.page-hero p  { color: var(--text-muted); font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent1); }
.breadcrumb .sep { opacity: .4; }

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.4);
}
.cookie-banner p { font-size: .88rem; color: var(--text-muted); margin: 0; }
.cookie-banner a { color: var(--accent1); }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* =============================================
   MISC
   ============================================= */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.score-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
  font-size: .9rem;
}
.score-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  overflow: hidden;
}
.score-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
}
.score-num { width: 28px; text-align: right; font-weight: 700; color: var(--accent1); }

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,212,255,.3);
  z-index: 500;
  transition: transform .2s;
}
.scroll-top:hover { transform: translateY(-3px); }
.scroll-top.visible { display: flex; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
