:root {
  --bg-main: #000000;
  --bg-alt: #080808;
  --text-main: #e3eaf2;
  --text-muted: #9ba3b0;
  --accent-cyan: #40c8ff;
  --accent-gold: #f7c75a;
  --card-bg: #101317;
  --border-soft: #222832;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
}

/* RESET / BASE ------------------------------------------------------------ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR ------------------------------------------------------------------ */

header {
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.7)
  );
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 170px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.nav-title {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-main {
  display: flex;
  gap: 18px;
  font-size: 1.05rem;
}

.nav-main a {
  position: relative;
  padding-bottom: 2px;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
  transition: width 0.22s ease-out;
}

.nav-main a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: all 0.2s ease-out;
}

.social-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.nav-cta {
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(64, 200, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s ease-out, transform 0.15s ease-out;
}

.nav-cta:hover {
  background: rgba(64, 200, 255, 0.18);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
}

/* HERO -------------------------------------------------------------------- */

.hero {
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at top left, rgba(247, 199, 90, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(64, 200, 255, 0.18), transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}

.hero-logo-wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, #050608, #10131b);
  border: 1px solid rgba(64, 200, 255, 0.2);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(64, 200, 255, 0.15);
}

.hero-copy {
  max-width: 520px;
  margin-left: auto;
}

.hero-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.hero-tagline-main {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.hero-tagline-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 14px;
}

.hero-meta {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.btn-primary,
.btn-secondary {
  font-size: 0.98rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out, color 0.15s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-gold), var(--accent-cyan));
  color: #02040a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(64, 200, 255, 0.06);
}

.hero-note {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* GENERIC SECTIONS -------------------------------------------------------- */

section {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-main);
}

section:nth-of-type(even) {
  background: var(--bg-alt);
}

.section-header {
  margin-bottom: 26px;
}

.section-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.section-title {
  font-size: 2.1rem;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 720px;
}

/* INLINE LINK ------------------------------------------------------------- */

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: var(--accent-cyan);
  margin-top: 10px;
}

.link-inline::after {
  content: "→";
  font-size: 0.85rem;
}

/* ABOUT ------------------------------------------------------------------- */

#about .section-header {
  text-align: center;
}

#about .section-title {
  text-align: center;
}

.about-layout {
  width: 100%;
}

.about-image {
  text-align: center;
  margin-bottom: 24px;
}

.about-image img {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  box-shadow:
    0 0 40px rgba(64, 200, 255, 0.25),
    0 0 80px rgba(247, 199, 90, 0.15);
}

.about-text {
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.65;
}

.about-text p + p {
  margin-top: 10px;
}

/* CARDS & GRIDS ----------------------------------------------------------- */

.card-grid-3 {
  display: flex;
  gap: 18px;
  align-items: stretch;
}

.card-grid-3,
.card-grid-3 li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 0;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    border-color 0.15s ease-out, background 0.15s ease-out;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(64, 200, 255, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  background: #131824;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 8px;
}

.card-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-link {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

/* GRID (panels, news, etc.) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* FILMS SECTION ----------------------------------------------------------- */

.films-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 20px;
}

.films-text {
  flex: 1.1;
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.films-text p + p {
  margin-top: 0.9rem;
}

.films-video {
  flex: 1;
}

.films-video video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  object-fit: cover;
  box-shadow:
    0 0 40px rgba(64, 200, 255, 0.25),
    0 0 80px rgba(247, 199, 90, 0.15);
}

/* REFEREES --------------------------------------------------------------- */

.referee-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 850px;
  margin: 0 auto 24px auto;
}

.referee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.referee-card {
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.referee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.referee-photo {
  width: 100%;
  max-width: 240px;
  height: 300px;
  object-fit: cover;
  margin: 0 auto 14px;
  border-radius: 12px;
}

/* REFLECTIONS ------------------------------------------------------------ */

.reflections-layout {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.reflections-text {
  flex: 1.2;
}

.reflections-image {
  flex: 1;
}

.reflections-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

/* EXPLORE SECTION WITH IMAGE */
.explore-header {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-direction: row-reverse;
}

.explore-image img {
  width: 340px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

.explore-text {
  flex: 1;
}

/* AWARDS SECTION --------------------------------------------------------- */

.awards-layout {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.awards-text {
  flex: 1.2;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.awards-image {
  flex: 1;
}

.awards-image img {
  width: 100%;
  max-width: 620px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

/* SUBMIT SECTION — TEXT RIGHT, IMAGE LEFT -------------------------------- */

.submit-layout {
  display: flex;
  flex-direction: row-reverse;   /* ← FIX: text left, image right */
  align-items: center;
  gap: 45px;
  margin-top: 20px;
}

.submit-text {
  flex: 1.4;
}

.submit-image {
  flex: 1;
  text-align: right;
}

.submit-image img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

/* SPONSORS --------------------------------------------------------------- */

.sponsor-strip {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sponsor-placeholder {
  font-size: 0.86rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-soft);
  padding: 8px 14px;
}

/* FOOTER ------------------------------------------------------------------ */

footer {
  padding: 24px 0 26px;
  background: #020308;
  border-top: 1px solid var(--border-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

/* RESPONSIVE ------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero-inner,
  .reflections-layout,
  .films-layout,
  .awards-layout,
  .submit-layout {
    flex-direction: column;
  }

  .explore-header {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .nav-main,
  .nav-right {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .referee-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }
}
/* SUBMIT SECTION – BUTTON LOWER */
#submit .btn-primary {
  margin-top: 24px;   /* adjust this number if you want it even lower */
  display: inline-block;
}

/* REFLECTIONS 2026 – 3 BOXES */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.panel-card,
.news-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 16px 16px 18px;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-main);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
  transition: transform 0.15s ease-out,
              box-shadow 0.15s ease-out,
              border-color 0.15s ease-out,
              background 0.15s ease-out;
}

.panel-card:hover,
.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(64, 200, 255, 0.6);
  background: #131824;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.panel-title,
.news-title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.panel-text,
.news-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.news-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
/* CONTACT PAGE — increase text size */
#contact .about-layout p {
  font-size: 1.2rem;
  line-height: 1.75;
}
.contact-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
}

.contact-info {
  flex: 1;
  font-size: 1.3rem;
  line-height: 1.6;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  background: #111;
  border: 1px solid #333;
  color: #eee;
  border-radius: 6px;
  font-size: 1.2rem;
}

.contact-form button {
  margin-top: 10px;
}

