/* Adding Google Fonts imports for Bebas Neue and Inter */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* Adding Font Awesome for icons */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

/*
Theme Name: Futsal Zagi
Theme URI: https://futsalzagi.com
Author: Goran Ramljak
Author URI: https://goramljak.com
Description: Custom WordPress theme for Futsal Zagi football club with player management, video uploads, game schedules, and news.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: futsal-zagi
Tags: sports, football, soccer, club, dark, mobile-first, responsive

Futsal Zagi is a modern, mobile-first WordPress theme designed specifically for football clubs.
Features include player profiles, coach management, game schedules, video uploads with approval system, and news articles.
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

:root {
  /* Arsenal Colors */
  --arsenal-red: #104d8c;
  --arsenal-dark-red: #04305d;
  --arsenal-white: #ffffff;
  --arsenal-black: #000000;
  --dark-navy: #1a1a1a;
  --light-gray: #f5f5f5;
  --medium-gray: #e5e5e5;
  --border-gray: #dddddd;
  --text-primary: #000000;
  --text-secondary: #666666;
  --text-light: #999999;

  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-dark: #1a1a1a;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: all 0.3s ease;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding-bottom: env(safe-area-inset-bottom, 70px);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3,
.headline {
  font-family: "Bebas Neue", sans-serif;

  font-weight: 700;
  text-transform: uppercase;
}

/* Birthday */
.birthday-section {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  position: relative;
  overflow: hidden;
  /* ensures the overlay doesn’t spill outside rounded corners */

  padding: 30px 20px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  margin: 20px;
}

.birthday-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/b-day-illu.png");
  background-repeat: repeat;
  background-size: cover;
  opacity: 0.2;
  /* 20% opacity */
  pointer-events: none;
  /* prevents blocking clicks */
  z-index: 1;
}

.birthday-section>* {
  position: relative;
  z-index: 2;
  /* ensures content stays above the overlay */
}

/* Header */
.header {
  padding: max(env(safe-area-inset-top), 15px) 20px 15px;
  background: var(--arsenal-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  justify-content: space-between;
  align-items: center;
}

.custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--arsenal-black);
}

.custom-logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

/* Upload Form */
.upload-zone {
  background: var(--arsenal-white);
  border: 2px dashed var(--arsenal-black);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 24px;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-area:hover {
  background: #2a2a2a;
}

.upload-area.dragover {
  background: #2a2a2a;
  border-color: #ffa500;
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.upload-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;

  margin-bottom: 8px;
}

.upload-subtext {
  font-size: 14px;
  color: #666;
}

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

.form-label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 16px;

  margin-bottom: 8px;
  display: block;
  color: #ffd700;
}

.form-input,
.form-select {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.form-select {
  cursor: pointer;
}

.form-input::placeholder {
  color: #666;
}

.submit-btn {
  background: #ffd700;
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;

  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #ffa500;
}

.file-name {
  background: #2a2a2a;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: #ffd700;
}

.header h1 {
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--arsenal-white);
  font-weight: 700;
}

.header-logo {
  width: 50px;
  height: 50px;
  background: var(--arsenal-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--arsenal-red);
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}

/* Back Button */
.back-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: max(env(safe-area-inset-top), 15px) 20px 15px;
  background: var(--arsenal-red);
  border: none;
  color: var(--arsenal-white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.back-button:hover {
  background: var(--arsenal-dark-red);
}

.back-button i {
  font-size: 22px;
  color: var(--arsenal-white);
}

/* Stories */
.stories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 0px 0px;
  background: var(--bg-primary);
}

.stories-content {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-left: 20px;
  justify-content: left;
}

.stories::-webkit-scrollbar {
  display: none;
}

.story {
  flex-shrink: 0;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.story:hover {
  transform: scale(1.05);
}

.story-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 3px solid var(--arsenal-red);
  padding: 3px;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--arsenal-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.story-avatar:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.story-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.story-name {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Match Cards */

.calendar-content .match-card {
  margin: 15px 0px;
}

.match-card {
  background: var(--bg-primary);
  margin: 15px 20px;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid var(--border-gray);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.match-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right,
      var(--arsenal-red),
      #ff0000);
  /* blue → red */
}

.match-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--arsenal-red);
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--medium-gray);
}

.match-league {
  font-family: "Bebas Neue", sans-serif;
  font-size: 16px;
  color: var(--text-primary);

  text-transform: uppercase;
  font-weight: 700;
}

.match-time {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

.match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.team {
  flex: 1;
  text-align: center;
}

.team-logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 2px solid var(--border-gray);
}

.team-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
}

.match-score {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  color: var(--text-primary);
  padding: 0 15px;
  letter-spacing: 2px;
  font-weight: 700;
  text-align: center;
}

/* Media Content */
.media-card {
  background: var(--bg-primary);
  margin: 15px 20px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.media-card:hover {
  box-shadow: var(--shadow-md);
}

.media-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  position: relative;
}

.media-video {
  width: 100%;
  height: 220px;
  background: #000;
  position: relative;
  overflow: hidden;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--arsenal-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--arsenal-dark-red);
}

.play-button i {
  color: #fff;
  font-size: 28px;
  margin-left: 4px;
}

.media-content {
  padding: 20px;
}

.media-category {
  display: inline-block;
  background: var(--arsenal-red);
  color: var(--arsenal-white);
  padding: 6px 14px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;

  font-family: "Bebas Neue", sans-serif;
}

.media-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.2;

  color: var(--text-primary);
  text-transform: uppercase;
  font-weight: 700;
}

.media-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.media-meta i {
  margin-right: 5px;
  color: var(--text-light);
}

/* About */
.about-section {
  padding: 20px;
}

/* About Us Page Styles */
.about-hero {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 30px;
}

.about-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 40px 20px 30px;
}

.about-hero-title {
  font-family: "Bebas Neue", cursive;
  font-size: 48px;
  color: var(--arsenal-white);
  line-height: 1;
  margin-bottom: 10px;
}

.about-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.about-section {
  margin-bottom: 40px;
}

.about-section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-yellow);
}

.about-section-title i {
  font-size: 28px;
}

.about-section-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-section-content p {
  margin-bottom: 15px;
}

.about-section-content strong {
  color: var(--accent-yellow);
  font-weight: 600;
}

/* Stats Grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.about-stat-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.2s;
}

.about-stat-card:hover {
  transform: translateY(-5px);
}

.about-stat-value {
  font-family: "Bebas Neue", cursive;
  font-size: 48px;
  color: var(--accent-yellow);
  line-height: 1;
  margin-bottom: 10px;
}

.about-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Contact Grid */
.about-contact-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.about-contact-card {
  border-radius: 12px;
  padding: 20px;

  background: var(--bg-primary);
  border-radius: 0;
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-contact-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-contact-link {
  display: block;
  font-size: 14px;
  color: var(--arsenal-red);
  text-decoration: none;
  line-height: 1.6;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.about-contact-link:hover {
  color: var(--accent-yellow);
}

/* Regulatory Links */
.about-regulatory-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.about-regulatory-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s;
  background: var(--bg-primary);
  border-radius: 0;
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-regulatory-link:hover {
  background: var(--secondary-bg);
  transform: translateX(5px);
}

.about-regulatory-link-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-regulatory-link-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
}

.about-regulatory-link-text {
  font-size: 15px;
  font-weight: 600;
}

/* Players */
.player-stats {
  padding: 20px;
}

/* Floating CTA */
.about-floating-cta {
  position: fixed;
  bottom: 100px;
  left: 20px;
  right: 20px;

  padding: 15px 20px;
  border-radius: 16px;
  display: flex;
  color: var(--arsenal-white);
  align-items: center;
  gap: 15px;
  cursor: pointer;
  background: var(--arsenal-red);

  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 99;
}

.about-floating-cta:hover {
  transform: translateY(-2px);
}

.about-floating-cta-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;

  background: #ffffff49;
}

.about-floating-cta-text {
  flex: 1;
}

.about-floating-cta-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.about-floating-cta-subtitle {
  font-size: 12px;
  opacity: 0.8;
}

/* Responsive */
@media (min-width: 768px) {
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero {
    height: 400px;
  }

  .about-hero-title {
    font-size: 64px;
  }

  .about-floating-cta {
    max-width: 400px;
    left: 50%;
    transform: translateX(-50%);
  }

  .about-floating-cta:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}

/* News Cards */
.news-detail-content .news-card {
  margin: 0px;
}

.news-card {
  background: var(--bg-primary);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border-gray);

  margin: 15px 20px;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--arsenal-red);
}

.news-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  position: relative;
}

.news-content {
  padding: 20px;
}

.news-category {
  display: inline-block;
  background: var(--arsenal-red);
  color: var(--arsenal-white);
  padding: 6px 14px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;

  font-family: "Bebas Neue", sans-serif;
}

.news-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  margin-bottom: 10px;
  line-height: 1.2;

  color: var(--text-primary);
  text-transform: uppercase;
  font-weight: 700;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 20px;
}

.news-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-gray);
}

/* News Detail */
.news-detail {
  padding: 20px;
  background: var(--bg-primary);
}

.news-detail-header {
  margin-bottom: 25px;
}

.news-detail-category {
  display: inline-block;
  background: var(--arsenal-red);
  color: var(--arsenal-white);
  padding: 8px 18px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;

  font-family: "Bebas Neue", sans-serif;
}

.news-detail-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 15px;

  color: var(--text-primary);
  text-transform: uppercase;
  font-weight: 700;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-weight: 500;
}

.news-detail-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-detail-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-gray);
}

.news-detail-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}

.news-detail-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
}

.news-detail-body p {
  margin-bottom: 18px;
}

/* --- General Layout --- */

/* --- Fixture Card --- */
.fixture {
  background: var(--arsenal-white);
  border: 1px solid var(--arsenal-black);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
}

.fixture:hover {
  transform: translateY(-2px);
  background: #fdf2f2;
  box-shadow: 0 4px 12px var(--shadow-md);
}

/* --- Date --- */
.fixture-date {
  font-size: 0.9rem;
  color: #999;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.content {
  margin-top: 20px;
}

.content,
.news-detail-content {
  padding-bottom: 120px !important;
}

/* --- Teams Layout --- */
.fixture-teams {
  display: flex;
  justify-content: space-between;
  align-items: left;
  text-align: left;
  gap: 1rem;
}

.fixture-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  font-family: "Bebas Neue", sans-serif;
}

.fixture-team span {
  font-size: 1.5rem;
}

.fixture-logo {
  font-size: 22px;
}

.fixture-name {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  text-transform: uppercase;
}

/* --- Score --- */
.fixture-score {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  color: #e1b80d;
  /* Arsenal gold */
  font-weight: bold;
  min-width: 90px;
}

/* --- Home/Away Variation --- */
.fixture-team.home .fixture-name {
  color: #c8102e;
}

.fixture-team.away .fixture-name {
  color: #222;
}

/* --- Mobile Adjustments --- */
@media (max-width: 600px) {
  .fixture-teams {
    flex-direction: column;
    gap: 0.5rem;
  }

  .fixture-score {
    font-size: 24px;
  }
}

/* Player Profile */
.player-detail {
  padding-bottom: 200px;
}

/* Calendar */
.calendar-title,
.calendar-controls {
  padding: 20px;
}

.calendar-controls {
  padding: 0px 20px 20px 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  /* allows wrapping into multiple rows */
}

.calendar-tabs {
  display: flex;
  background: var(--bg-primary);
  padding: 0 20px;
  gap: 15px;
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 2px solid var(--border-gray);
  overflow-x: auto;
  scrollbar-width: none;
}

.calendar-tabs::-webkit-scrollbar {
  display: none;
}

.calendar-tab {
  padding: 18px 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;

  text-transform: uppercase;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-weight: 700;
}

.calendar-tab.active {
  color: var(--arsenal-red);
  border-bottom-color: var(--arsenal-red);
}

.calendar-content {
  padding: 20px;
  background: var(--bg-secondary);
}

/* Responsive layout for small screens */
@media (max-width: 475px) {
  .calendar-controls {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Search and Filter Bar */
.search-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-gray);
  border-radius: 0;
  padding: 14px 16px;
  gap: 10px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--arsenal-red);
  box-shadow: 0 0 0 2px rgba(239, 1, 7, 0.1);
}

.search-box i {
  color: var(--text-secondary);
  font-size: 18px;
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  font-family: "Inter", sans-serif;
}

.search-box input::placeholder {
  color: var(--text-secondary);
}

.team-selector {
  background: var(--bg-primary);
  border: 1px solid var(--border-gray);
  border-radius: 0;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  min-width: 120px;
  transition: var(--transition);
}

.team-selector:hover {
  border-color: var(--arsenal-red);
}

.team-selector option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* Schedule */
.schedule-section {
  margin-bottom: 30px;
}

.schedule-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;

  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 700;
}

.schedule-match {
  background: var(--bg-primary);
  padding: 18px;
  border-radius: 0;
  margin-bottom: 12px;
  border: 1px solid var(--border-gray);
  transition: var(--transition);
}

.schedule-match:hover {
  border-color: var(--arsenal-red);
  box-shadow: var(--shadow-sm);
}

.schedule-match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.schedule-league {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
}

.schedule-date {
  font-size: 12px;
  color: var(--arsenal-red);
  font-weight: 700;
}

.schedule-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.schedule-team {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.schedule-team-logo {
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid var(--border-gray);
}

.schedule-vs {
  padding: 0 15px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
}

/* Standings */
.standings-header {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;

  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: 700;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-primary);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border-gray);
}

.standings-table thead {
  background: var(--arsenal-red);
}

.standings-table th {
  padding: 14px 10px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--arsenal-white);
  text-transform: uppercase;

  font-family: "Bebas Neue", sans-serif;
}

.standings-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--border-gray);
  font-size: 14px;
  font-weight: 500;
}

.standings-table tr.highlight {
  background: rgba(239, 1, 7, 0.05);
  border-left: 3px solid var(--arsenal-red);
}

.standings-position {
  font-weight: 700;
  color: var(--text-primary);
  font-family: "Bebas Neue", sans-serif;
  font-size: 16px;
}

.standings-team {
  display: flex;
  align-items: center;
  gap: 10px;
}

.standings-team-logo {
  width: 28px;
  height: 28px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid var(--border-gray);
}

/* Players */
.players-grid {
  display: grid;
  grid-template-columns: auto;
  /* stretch info, keep photo fixed to the right */
  align-items: center;
  gap: 15px;
  width: 100%;
}

.start {
  display: flex;
  gap: 20px;
}

.player-card {
  background: var(--arsenal-white);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  justify-content: space-between;
      display: flex !important;  /* ← This would override inline styles */

}

.player-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 72px;
  color: var(--arsenal-red);
  line-height: 1;
}

.player-info {
  flex: 1;
}

.player-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.player-position {
  font-size: 14px;
  color: #666;
}

.player-photo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.player-photo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Coaches */
.coaches-grid {
  display: grid;
  gap: 20px;
}

/* Live match state */
.match-card.active {
  border-color: var(--arsenal-red);
  border-width: 2px;
}

.match-card.active::before {
  background: var(--arsenal-red);
}

.match-header .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--arsenal-white);
  margin-right: 6px;
  position: relative;
}

.match-header .live-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--arsenal-white);
  transform: translate(-50%, -50%);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  70% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

.match-header .live-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: var(--arsenal-red);
  border-radius: 10px;
}

.coach-card {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid var(--border-gray);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.coach-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--arsenal-red);
}

.coach-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-secondary);
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--arsenal-red);
  box-shadow: var(--shadow-sm);
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-info {
  flex: 1;
}

.coach-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  margin-bottom: 5px;

  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 700;
}

.coach-role {
  font-size: 14px;
  color: var(--arsenal-red);
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.coach-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.expand-button {
  background: var(--arsenal-red);
  color: var(--arsenal-white);
  border: none;
  padding: 10px 20px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-family: "Bebas Neue", sans-serif;
}

.expand-button:hover {
  background: var(--arsenal-dark-red);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: block;
}

.modal-content {
  background: var(--bg-primary);
  margin: 40px auto;
  max-width: 600px;
  border-radius: 0;
  overflow: hidden;
  animation: slideUp 0.3s ease;
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 25px;
  border-bottom: 2px solid var(--border-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
}

.modal-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  font-weight: 700;

  text-transform: uppercase;
  color: var(--text-primary);
}

.close-modal {
  background: var(--arsenal-red);
  border: none;
  color: var(--arsenal-white);
  font-size: 24px;
  cursor: pointer;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.close-modal:hover {
  background: var(--arsenal-dark-red);
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
}

.coach-detail-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 25px;
  background: var(--bg-secondary);
  overflow: hidden;
  border: 4px solid var(--arsenal-red);
  box-shadow: var(--shadow-md);
}

.coach-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-detail-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;

  text-transform: uppercase;
  color: var(--text-primary);
}

.coach-detail-role {
  font-size: 18px;
  color: var(--arsenal-red);
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.coach-detail-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 25px;
}

.coach-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.coach-stat {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 0;
  text-align: center;
  border: 1px solid var(--border-gray);
}

.coach-stat-value {
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  color: var(--arsenal-red);
  line-height: 1;

  font-weight: 700;
}

.coach-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.coach-contact {
  background: var(--bg-secondary);
  padding: 25px;
  border-radius: 0;
  border: 1px solid var(--border-gray);
}

.contact-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;

  text-transform: uppercase;
  color: var(--text-primary);
}

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

.contact-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-primary);
  border-radius: 0;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
  border: 1px solid var(--border-gray);
}

.contact-link:hover {
  border-color: var(--arsenal-red);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--arsenal-red);
  color: var(--arsenal-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.contact-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Upload */
.upload-container {
  padding: 20px 20px 120px 20px;
  background: var(--bg-secondary);
}

.upload-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  margin-bottom: 25px;

  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 700;
}

.drop-zone {
  border: 2px dashed var(--border-gray);
  border-radius: 0;
  padding: 50px 20px;
  text-align: center;
  margin-bottom: 25px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-primary);
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--arsenal-red);
  background: rgba(239, 1, 7, 0.02);
}

.drop-zone i {
  font-size: 56px;
  color: var(--arsenal-red);
  margin-bottom: 20px;
}

.drop-zone p {
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 16px;
}

.drop-zone .browse {
  color: var(--arsenal-red);
  font-weight: 700;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
}

.form-group select,
.form-group input {
  background: var(--bg-primary);
  border: 1px solid var(--border-gray);
  border-radius: 0;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}

.form-group select:focus,
.form-group input:focus {
  border-color: var(--arsenal-red);
  box-shadow: 0 0 0 2px rgba(239, 1, 7, 0.1);
}

/* INPUT FIELDS STYLING */
/* Form Input Styling - Complete with Browser Override */

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Base input and select styling */
.form-group select,
.form-group input,
.form-input,
.form-select {
  /* Reset browser defaults */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Custom styling */
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-gray);
  border-radius: 0;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: var(--transition);

  /* Remove iOS styling */
  -webkit-border-radius: 0;

  /* Remove autofill styling */
  box-shadow: none;
}

/* Select specific styling */
.form-group select,
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M1.41 0L6 4.59L10.59 0L12 1.41L6 7.41L0 1.41L1.41 0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}

/* Focus states */
.form-group select:focus,
.form-group input:focus,
.form-input:focus,
.form-select:focus {
  border-color: var(--arsenal-red);
  box-shadow: 0 0 0 2px rgba(239, 1, 7, 0.1);
}

/* Placeholder styling */
.form-group input::placeholder,
.form-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

/* Disabled state */
.form-group select:disabled,
.form-group input:disabled,
.form-input:disabled,
.form-select:disabled {
  background: var(--secondary-bg);
  color: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Remove autofill background */
.form-group input:-webkit-autofill,
.form-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-primary) inset !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  box-shadow: 0 0 0 1000px var(--bg-primary) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.form-group input:-webkit-autofill:focus,
.form-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-primary) inset,
    0 0 0 2px rgba(239, 1, 7, 0.1) !important;
  box-shadow: 0 0 0 1000px var(--bg-primary) inset,
    0 0 0 2px rgba(239, 1, 7, 0.1) !important;
}

/* File input specific */
input[type="file"] {
  border: none;
  padding: 0;
  background: transparent;
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {

  .form-group select,
  .form-group input,
  .form-input,
  .form-select {
    -webkit-appearance: none;
    border-radius: 0;
  }

  /* Fix iOS select arrow */
  .form-group select,
  .form-select {
    background-position: right 12px center;
  }
}

/* Android specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {

  .form-group select,
  .form-select {
    background-position: calc(100% - 12px) center;
  }
}

/* Required field indicator */
.form-label::after {
  content: "";
}

.form-group:has(input[required]) .form-label::after,
.form-group:has(select[required]) .form-label::after {
  content: " *";
  color: var(--arsenal-red);
}

/* Error state */
.form-group.error select,
.form-group.error input,
.form-input.error,
.form-select.error {
  border-color: var(--arsenal-red);
  box-shadow: 0 0 0 2px rgba(239, 1, 7, 0.1);
}

.form-group .error-message {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--arsenal-red);
}

/* Success state */
.form-group.success select,
.form-group.success input,
.form-input.success,
.form-select.success {
  border-color: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.1);
}

/* Textarea styling if needed */
.form-group textarea,
.form-textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-gray);
  border-radius: 0;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: var(--transition);
  resize: vertical;
  min-height: 100px;
}

.form-group textarea:focus,
.form-textarea:focus {
  border-color: var(--arsenal-red);
  box-shadow: 0 0 0 2px rgba(239, 1, 7, 0.1);
}

/* Checkbox and Radio styling */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
  width: auto;
  margin-right: 8px;
  cursor: pointer;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {

  .form-group select,
  .form-group input,
  .form-input,
  .form-select {
    font-size: 16px;
    /* Prevents zoom on iOS */
    padding: 12px 14px;
  }

  .form-group select,
  .form-select {
    padding-right: 36px;
    background-position: calc(100% - 10px) center;
  }
}

/* Dark mode adjustments (if needed) */
@media (prefers-color-scheme: dark) {

  .form-group select,
  .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ccc' d='M1.41 0L6 4.59L10.59 0L12 1.41L6 7.41L0 1.41L1.41 0Z'/%3E%3C/svg%3E");
  }
}

/* INPUT FIELD STYLING */

.submit-button {
  background: var(--arsenal-red);
  color: var(--arsenal-white);
  border: none;
  border-radius: 0;
  padding: 16px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;

  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
}

.submit-button:hover {
  background: var(--arsenal-dark-red);
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  display: flex;
  justify-content: space-around;
  padding: 12px 0 max(env(safe-area-inset-bottom), 12px);
  border-top: 2px solid var(--border-gray);
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  background-color: var(--arsenal-white);
}

.nav-item i {
  font-size: 24px;
  transition: var(--transition);
}

.nav-item.active {
  color: var(--arsenal-red);
}

.nav-item.active i {
  transform: scale(1.1);
}

.nav-item:hover {
  color: var(--arsenal-red);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (min-width: 768px) {
  body {
    max-width: 480px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
  }

  .players-grid {
    grid-template-columns: auto;
  }
}

/* BDAY*/
.birthday-player-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Stories Modal Styles */
.stories-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.stories-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stories-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
}

.stories-modal-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 100%;
  max-height: 90vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

/* Progress Bars */
.stories-progress-container {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 10;
}

.stories-progress-bars {
  display: flex;
  gap: 4px;
}

.story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.story-progress-fill {
  width: 0%;
  height: 100%;
  background: white;
  transition: width 0.1s linear;
}

.story-progress-fill.active {
  animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* Close Button */
.stories-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.stories-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Header */
.stories-header {
  padding: 0 15px;
  z-index: 10;
}

.stories-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stories-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
  background: #333;
}

.stories-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stories-user-name {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.stories-user-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Content */
.stories-content-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stories-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
  padding-left: 20px;
  padding-right: 20px;
}

.stories-content img,
.stories-content video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Navigation */
.stories-nav-left,
.stories-nav-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  cursor: pointer;
  z-index: 9;
}

.stories-nav-left {
  left: 0;
}

.stories-nav-right {
  right: 0;
}

/* Caption */
.stories-caption {
  position: absolute;
  bottom: 20px;
  left: 15px;
  right: 15px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  line-height: 1.4;
  max-height: 150px;
  overflow-y: auto;
  z-index: 10;
}

.stories-caption:empty {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .stories-modal-content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
}

/* Cursor for desktop */
@media (min-width: 769px) {
  .stories-nav-left {
    cursor: w-resize;
  }

  .stories-nav-right {
    cursor: e-resize;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.sponsors-marquee-wrapper:hover .sponsors-marquee {
  animation-play-state: paused;
}

.sponsor-slide {
  transition: transform 0.3s ease;
}

.sponsor-slide:hover {
  transform: scale(1.05);
}

/* Mobile touch scrolling fallback */
@media (max-width: 768px) {
  .sponsors-marquee-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sponsors-marquee {
    animation: none;
    padding: 0 20px;
  }
}

#membership-check-page,
#sponsors-page {
  min-height: 100vh;
}

.player-media{
  margin:20px;
}

/* Container */
.competition_table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
	font-size: 14px;
}

.competition_table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header */
.competition_table .table_header div {
    display: flex;
    font-weight: bold;
	padding: 6px 0;
}

.competition_table .table_header > div > div.club{
	padding-left: 26px;
    text-align: left;
}

/* Rows */
.competition_table .table_row div {
    display: flex;
}

/* Columns */
.position {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.club {
    flex: 1;
	font-weight: bold;
}

.points {
	font-weight: bold;
}

.club>div.logo{
	width: 20px;
    height: 26px;
    text-align: center;
    line-height: 32px;
    top: 0;
    justify-content: center;
}

.club>div.logo{
	margin-right: 10px;
}

.played,
.gdiff,
.points {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.competition_table .table_row {
	padding: 4px 0;
}

/* Hover effect */
.competition_table .table_row:hover {
    background: #e3e3e3;
    transition: 0.2s;
}


/* Mobile responsiveness */
@media (max-width: 480px) {
    .played, .gdiff, .points {
        width: 35px;
    }
}