:root {
  --bg: #07111F;
  --surface: #122033;
  --pitch-green: #0E8F4D;
  --champ-gold: #D8AF36;
  --royal-blue: #2356D8;
  --sky-blue: #5EA7FF;
  --silver: #D8E1E8;
  --dark-navy: #091321;
  --white: #FFFFFF;
  --muted-grey: #95A4B5;
  --text-primary: #F8FAFC;
  --grad-accent: linear-gradient(135deg, #2356D8, #0E8F4D);
  --grad-sec: linear-gradient(135deg, #D8AF36, #F5D875);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s, color 0.25s;
}
a:hover {
  opacity: 0.8;
}
.btn-primary {
  background: var(--grad-sec);
  color: var(--dark-navy);
  padding: 12px 28px;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.25s;
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--champ-gold);
  border: 2px solid var(--champ-gold);
  padding: 10px 26px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  text-transform: uppercase;
  transition: transform 0.25s, background 0.25s;
}
.btn-secondary:hover {
  background: rgba(216, 175, 54, 0.1);
  transform: translateY(-2px);
}

/* Header */
.club-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background-color: var(--dark-navy);
  border-bottom: 2px solid var(--pitch-green);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo::before {
  content: '⚽';
  font-size: 24px;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 5px;
}
.nav-links a:hover {
  color: var(--champ-gold);
}
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--champ-gold);
}
.header-right {
  display: flex;
  align-items: center;
}

/* Arrival Tunnel */
.arrival-tunnel {
  margin-top: 72px;
  height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}
.tunnel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.3;
}
.arrival-tunnel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(9,19,33,0.8), var(--bg));
  z-index: -1;
}
.arrival-tunnel h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.arrival-tunnel p {
  font-size: 18px;
  color: var(--silver);
  max-width: 600px;
  margin-bottom: 30px;
}
.tunnel-actions {
  display: flex;
  gap: 15px;
}

/* Main Stadium Arena */
.stadium-arena {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.arena-frame {
  width: 100%;
  max-width: 1020px;
  background-color: var(--dark-navy);
  border: 2px solid var(--champ-gold);
  border-radius: 26px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(14, 143, 77, 0.15);
  position: relative;
}
.arena-frame::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 28px;
  background: var(--grad-accent);
  z-index: -1;
  opacity: 0.5;
}
.game-container {
  width: 100%;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
.game-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.game-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Match Analytics Center */
.match-analytics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}
.digital-screen {
  background-color: var(--surface);
  border-top: 3px solid var(--sky-blue);
  border-radius: 8px;
  padding: 25px 15px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.digital-screen h3 {
  font-size: 18px;
  color: var(--white);
  text-transform: uppercase;
}
.digital-screen:hover {
  transform: translateY(-5px);
  box-shadow: 0 -5px 20px rgba(94, 167, 255, 0.2);
}

/* Championship Timeline */
.championship-timeline {
  max-width: 1020px;
  margin: 0 auto 40px auto;
  padding: 40px 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
}
.timeline-path {
  position: absolute;
  top: 50%;
  left: 50px;
  right: 50px;
  height: 2px;
  border-bottom: 2px dashed var(--pitch-green);
  z-index: 0;
}
.timeline-stop {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 160px;
  background: var(--bg);
}
.stop-icon {
  width: 50px;
  height: 50px;
  background: var(--dark-navy);
  border: 2px solid var(--champ-gold);
  border-radius: 50%;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--champ-gold);
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 0 10px rgba(216, 175, 54, 0.4);
}
.timeline-stop h4 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 5px;
}
.timeline-stop p {
  font-size: 12px;
  color: var(--muted-grey);
}

/* Hall of Fame Gallery */
.hall-of-fame {
  max-width: 1020px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}
.hof-illustration img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--surface);
}
.hof-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hof-block {
  background: var(--surface);
  padding: 20px;
  border-left: 4px solid var(--champ-gold);
  border-radius: 0 8px 8px 0;
}
.hof-block h3 {
  color: var(--champ-gold);
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
}
.hof-block p {
  font-size: 14px;
  color: var(--silver);
}

/* Media Centre */
.media-centre {
  max-width: 1020px;
  margin: 0 auto 60px auto;
  padding: 40px;
  background: var(--surface);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.support-info h2 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 15px;
}
.support-info p {
  color: var(--silver);
  margin-bottom: 20px;
}
.support-email {
  font-size: 18px;
  color: var(--champ-gold);
  font-weight: bold;
  display: block;
  margin-bottom: 20px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--dark-navy);
  border: 1px solid var(--muted-grey);
  border-radius: 4px;
  color: var(--white);
  font-size: 14px;
}
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--sky-blue);
}

/* Footer */
.elite-footer {
  background: var(--dark-navy);
  padding: 60px 5% 20px 5%;
  border-top: 1px solid #1a2c45;
}
.footer-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.footer-panel h4 {
  color: var(--champ-gold);
  margin-bottom: 15px;
  font-size: 16px;
  text-transform: uppercase;
}
.footer-panel p {
  color: var(--muted-grey);
  font-size: 13px;
  margin-bottom: 15px;
}
.footer-panel ul {
  list-style: none;
}
.footer-panel ul li {
  margin-bottom: 10px;
}
.footer-panel ul a {
  color: var(--silver);
  font-size: 14px;
}
.footer-panel ul a:hover {
  color: var(--sky-blue);
}
.footer-bottom {
  border-top: 1px solid var(--champ-gold);
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  color: var(--muted-grey);
  font-size: 12px;
  max-width: 800px;
  margin: 10px auto 0 auto;
}

/* Subpage Styles */
.subpage-main {
  margin-top: 100px;
  margin-bottom: 60px;
  min-height: 50vh;
  padding: 0 5%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: var(--surface);
  padding: 40px;
  border-radius: 12px;
  border-top: 4px solid var(--pitch-green);
}
.subpage-main h1 {
  color: var(--champ-gold);
  margin-bottom: 20px;
  font-size: 32px;
  text-transform: uppercase;
}
.subpage-main p {
  margin-bottom: 15px;
  color: var(--silver);
}
.subpage-main .btn-primary {
  margin-top: 20px;
}

/* Cookie Popup */
.cookie-ticket {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-navy);
  border: 2px solid var(--champ-gold);
  border-radius: 8px;
  padding: 20px 30px;
  z-index: 2000;
  display: none;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.cookie-ticket::before {
  content: '⚽';
  font-size: 24px;
}
.cookie-content p {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 10px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .match-analytics, .footer-panels { grid-template-columns: repeat(2, 1fr); }
  .championship-timeline, .hall-of-fame, .media-centre { flex-direction: column; display: flex; }
  .timeline-path { display: none; }
  .timeline-stop { width: 100%; margin-bottom: 20px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .match-analytics, .footer-panels { grid-template-columns: 1fr; }
  .cookie-ticket { flex-direction: column; width: 90%; text-align: center; }
}