/*
Theme Name: Mentiksu
Theme URI: https://mentiksu.com
Author: Mentiksu
Description: Egyedi WordPress-téma a Mentiksu csapatalapú (MOBA) esport-közösség és -verseny számára. Hat oldalt tartalmaz: Kezdőlap, Versenyek, Klubtagság, Kapcsolat, Szolgáltatási feltételek és Adatvédelmi irányelvek, saját oldalsablonokkal és automatikus telepítéssel a téma aktiválásakor.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mentiksu
*/

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

:root {
  --bg-primary: #0a1418;
  --bg-secondary: #0f1e23;
  --bg-card: #13272d;
  --bg-elevated: #1a333a;
  --teal: #2aa596;
  --teal-bright: #40c4b4;
  --gold: #d6af4a;
  --gold-bright: #eac667;
  --text-primary: #e9f0f0;
  --text-secondary: #9db0b3;
  --text-muted: #5e7377;
  --border-subtle: rgba(214, 175, 74, 0.14);
  --border-strong: rgba(214, 175, 74, 0.42);
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: radial-gradient(ellipse at top, rgba(42, 165, 150, 0.08) 0%, transparent 55%);
  background-attachment: fixed;
}

a { color: var(--gold-bright); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--teal-bright); }

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============ LANE DIVIDER (signature element) ============ */
.lane-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.8rem 0;
}
.lane-divider .lane { height: 3px; border-radius: 3px; width: 30%; max-width: 200px; }
.lane-divider .lane.g { background: linear-gradient(90deg, transparent, var(--gold)); }
.lane-divider .lane.t { background: linear-gradient(90deg, var(--teal), transparent); }
.lane-divider .node {
  width: 14px; height: 14px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============ HEADER ============ */
.site-header {
  background: rgba(10, 20, 24, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
}
.logo .logo-mark { width: 28px; height: 28px; flex-shrink: 0; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.7rem;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  padding: 0.4rem 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-bright); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
}
.header-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-primary);
  padding: 0.6rem 1.3rem;
  border-radius: 4px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.header-cta:hover { background: var(--gold-bright); color: var(--bg-primary); }

/* ============ HERO ============ */
.hero {
  padding: 4.5rem 2rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--teal-bright);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.3rem;
  font-weight: 600;
}
.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.hero-lead { font-size: 1.06rem; color: var(--text-secondary); max-width: 520px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-badges span {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  padding: 0.4rem 0.9rem;
}
.hero-visual { border-radius: 10px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 0 45px rgba(42,165,150,0.2); aspect-ratio: 4/5; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ============ PAGE TITLE ============ */
.page-title-section { padding: 4rem 2rem 2.5rem; max-width: var(--max-width); margin: 0 auto; }
.page-title-section .eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--teal-bright);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.page-title-section h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.page-title-section p { color: var(--text-secondary); max-width: 640px; font-size: 1.02rem; }

/* ============ MAIN ============ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem 5rem; }
section { margin-bottom: 4rem; }

h2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0.01em;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}
h3 { font-family: 'Orbitron', sans-serif; font-weight: 600; font-size: 1.1rem; margin-bottom: 0.7rem; color: var(--text-primary); }
p { margin-bottom: 1.1rem; color: var(--text-secondary); }
ul, ol { margin: 0 0 1.4rem 1.4rem; color: var(--text-secondary); }
li { margin-bottom: 0.5rem; }
strong { color: var(--gold-bright); font-weight: 600; }

/* ============ ICON SECTIONS ============ */
.icon-section { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 2.5rem; }
.icon-section .isec-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  color: var(--gold-bright);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px;
}
.icon-section h2 { margin-bottom: 0.6rem; }
.icon-section p:last-child { margin-bottom: 0; }

/* ============ PHOTO SECTIONS ============ */
.photo-section { border-radius: 10px; overflow: hidden; margin: 2rem 0; border: 1px solid var(--border-subtle); }
.photo-section img { width: 100%; height: auto; }
.split-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2rem 0;
}
@media (max-width: 800px) { .split-photo-grid { grid-template-columns: 1fr; } }
.split-photo-grid .photo-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--border-subtle); aspect-ratio: 4/3; }
.split-photo-grid .photo-wrap.portrait { aspect-ratio: 4/5; }
.split-photo-grid .photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.split-photo-grid.reverse { direction: rtl; }
.split-photo-grid.reverse > * { direction: ltr; }

/* ============ FEATURE CARDS ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
  margin: 2rem 0;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.8rem;
  transition: all 0.25s ease;
}
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: 0 0 26px rgba(42,165,150,0.16); }
.feature-card .feat-icon { width: 40px; height: 40px; margin-bottom: 1rem; color: var(--gold-bright); }
.feature-card:nth-child(2n) .feat-icon { color: var(--teal-bright); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.93rem; margin-bottom: 0; }

/* ============ TOURNAMENT CARDS ============ */
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin: 2rem 0;
}
.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.8rem;
  border-top: 3px solid var(--gold);
  transition: all 0.25s ease;
}
.tournament-card:nth-child(2n) { border-top-color: var(--teal); }
.tournament-card:hover { background: var(--bg-elevated); transform: translateY(-3px); }
.tournament-card .tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.66rem;
  color: var(--teal-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.tournament-card:nth-child(2n) .tag { color: var(--gold-bright); }
.tournament-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.tournament-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ============ CHECK LIST ============ */
.check-list { list-style: none; margin: 1.5rem 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  color: var(--text-secondary);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ============ INFO / QUOTE ============ */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1.6rem 2rem;
  margin: 2rem 0;
}
.info-box h3 { color: var(--gold-bright); font-size: 1.1rem; margin-bottom: 0.5rem; }
.info-box p:last-child { margin-bottom: 0; }

.pull-quote {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--teal-bright);
  text-align: center;
  padding: 2.2rem 1rem;
  max-width: 780px;
  margin: 2rem auto;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ============ CTA ============ */
.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-primary);
  padding: 0.85rem 1.9rem;
  border-radius: 4px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}
.cta-button:hover { background: var(--gold-bright); color: var(--bg-primary); }
.cta-button-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong); }
.cta-button-outline:hover { background: var(--bg-elevated); color: var(--gold-bright); }

/* ============ CONTACT / FORM ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin: 2rem 0; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
}
.contact-info dd { color: var(--text-primary); font-size: 1rem; margin-left: 0; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ============ LEGAL ============ */
.toc { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 1.5rem 2rem; margin-bottom: 3rem; }
.toc h3 { font-family: 'Orbitron', sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 1rem; font-weight: 600; }
.toc ol { margin: 0; padding-left: 1.4rem; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: var(--text-secondary); }
.toc a:hover { color: var(--gold-bright); }

.legal-content h2 { font-size: 1.5rem; margin-top: 2.8rem; margin-bottom: 1rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin-top: 1.6rem; margin-bottom: 0.5rem; color: var(--gold-bright); text-transform: none; }
.legal-content p, .legal-content li { font-size: 0.96rem; line-height: 1.75; }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); padding: 3.5rem 2rem 2rem; margin-top: 4rem; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col p { font-size: 0.9rem; color: var(--text-secondary); }
.footer-brand .logo { margin-bottom: 0.8rem; }
.footer-note { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; margin-top: 1rem; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 2.8rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.83rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 700px) {
  .header-inner { padding: 1rem 1.2rem; }
  .hero { padding: 3rem 1.2rem 2rem; }
  .container { padding: 0 1.2rem 3rem; }
  .page-title-section { padding: 2.5rem 1.2rem 1.5rem; }
  .main-nav ul { gap: 1rem; }
  .main-nav a { font-size: 0.82rem; }
  h2 { font-size: 1.6rem; }
  .icon-section { flex-direction: column; gap: 1rem; }
}
