/* ========================================
   FREE FIRE CLONE - Global Styles
   Dark gaming theme with orange/gold accents
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700;900&family=Russo+One&display=swap');

/* CSS Variables */
:root {
  --primary: #ff6600;
  --primary-light: #ff8833;
  --primary-dark: #cc5200;
  --gold: #ffc107;
  --gold-light: #ffd54f;
  --dark-bg: #0a0a0a;
  --dark-bg-2: #111111;
  --dark-bg-3: #1a1a1a;
  --dark-bg-4: #222222;
  --card-bg: #1c1c1c;
  --card-hover: #252525;
  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --text-gray: #999999;
  --text-dim: #666666;
  --red: #ff3333;
  --green: #00cc66;
  --blue: #3399ff;
  --border-color: #333333;
  --header-height: 70px;
  --font-heading: 'Oswald', 'Russo One', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-accent: 'Russo One', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 102, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 102, 0, 0.2);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo img {
  height: 45px;
  width: auto;
}

.logo-text {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  color: var(--text-light);
  position: relative;
  transition: var(--transition);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a:hover::after {
  width: 70%;
}

.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  width: 70%;
}

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

.btn-download-header {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-download-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-download-header:hover::before {
  left: 100%;
}

.btn-download-header:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Language Selector */
.lang-selector {
  font-size: 0.85rem;
  color: var(--text-gray);
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: transparent;
  transition: var(--transition);
}

.lang-selector:hover {
  border-color: var(--primary);
  color: var(--text-white);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 15s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.2) 40%,
    rgba(10, 10, 10, 0.6) 70%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 30px;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  padding: 6px 20px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-accent);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 15px;
  text-shadow: 0 0 40px rgba(255, 102, 0, 0.3);
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-light);
  margin-bottom: 35px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--primary), #e65c00);
  color: var(--text-white);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 40px;
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-gray);
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   SECTIONS - General
   ======================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background: var(--dark-bg-2);
}

.section-darker {
  background: var(--dark-bg);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 15px;
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 15px auto 0;
}

/* ========================================
   LATEST NEWS SECTION
   ======================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

.news-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 102, 0, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.news-card-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.1);
}

.news-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  background: var(--primary);
  color: white;
  border-radius: 2px;
}

.news-card-body {
  padding: 20px;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: var(--transition);
}

.news-card:hover .news-card-title {
  color: var(--primary);
}

.news-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-top: 15px;
  transition: var(--transition);
}

.news-card-link:hover {
  gap: 10px;
}

/* ========================================
   GAME FEATURES SECTION
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: linear-gradient(145deg, var(--dark-bg-3), var(--dark-bg-4));
  border-radius: 10px;
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.2), rgba(255, 102, 0, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========================================
   CHARACTERS SECTION
   ======================================== */
.characters-showcase {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.characters-showcase::-webkit-scrollbar {
  height: 4px;
}

.character-card {
  min-width: 220px;
  background: linear-gradient(180deg, var(--dark-bg-3) 0%, rgba(255, 102, 0, 0.1) 100%);
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.character-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2);
}

.character-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.character-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.character-card:hover .character-img img {
  transform: scale(1.1);
}

.character-info {
  padding: 15px;
  text-align: center;
}

.character-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.character-role {
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   GAME MODES SECTION
   ======================================== */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.mode-card {
  position: relative;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.mode-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.mode-card:hover .mode-card-bg {
  transform: scale(1.1);
}

.mode-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
  transition: var(--transition);
}

.mode-card:hover .mode-card-overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(255,102,0,0.1) 50%, transparent 100%);
}

.mode-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  z-index: 2;
}

.mode-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mode-card-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
}

.mode-card:hover .mode-card-desc {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */
.download-section {
  position: relative;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a0a00 100%);
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
}

.download-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.download-info {
  flex: 1;
}

.download-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 15px;
}

.download-info h2 span {
  color: var(--primary);
}

.download-info p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 30px;
  max-width: 500px;
}

.download-platforms {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--dark-bg-3);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
  min-width: 180px;
}

.platform-btn:hover {
  border-color: var(--primary);
  background: rgba(255, 102, 0, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.platform-btn-icon {
  font-size: 2rem;
}

.platform-btn-text small {
  font-size: 0.7rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.platform-btn-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.download-image {
  flex: 1;
  max-width: 500px;
}

.download-image img {
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(255, 102, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ========================================
   ESPORTS SECTION
   ======================================== */
.esports-banner {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.esports-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a0a00, #0a0a1a);
  background-size: cover;
  background-position: center;
}

.esports-banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 50px;
}

.esports-banner h2 {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.esports-banner h2 span {
  color: var(--gold);
}

.esports-banner p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  max-width: 500px;
}

.tournament-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.tournament-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.tournament-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
}

.tournament-card-img {
  height: 180px;
  overflow: hidden;
}

.tournament-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tournament-card:hover .tournament-card-img img {
  transform: scale(1.05);
}

.tournament-card-body {
  padding: 20px;
}

.tournament-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.tournament-status.live {
  background: rgba(255, 51, 51, 0.2);
  color: var(--red);
}

.tournament-status.upcoming {
  background: rgba(255, 193, 7, 0.2);
  color: var(--gold);
}

.tournament-status.completed {
  background: rgba(0, 204, 102, 0.2);
  color: var(--green);
}

.tournament-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tournament-card-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ========================================
   VIDEO SECTION
   ======================================== */
.video-section {
  position: relative;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-container::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 102, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent white;
  margin-left: 5px;
}

.video-container:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 40px rgba(255, 102, 0, 0.5);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-accent);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-gray);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--dark-bg-2);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 15px 0 20px;
  max-width: 300px;
  line-height: 1.6;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-bg-3);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--primary);
  background: rgba(255, 102, 0, 0.1);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--text-white);
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 0.9rem;
  color: var(--text-gray);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 102, 0, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 102, 0, 0.6); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ========================================
   PARTICLES BACKGROUND
   ======================================== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 102, 0, 0.3);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark-bg-2);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border-color);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-right .btn-download-header,
  .nav-right .lang-selector {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .download-content {
    flex-direction: column;
    text-align: center;
  }

  .download-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .download-info p {
    text-align: center;
  }

  .download-platforms {
    justify-content: center;
  }

  .stats-row {
    gap: 40px;
  }

  .esports-banner {
    height: 300px;
  }

  .esports-banner-content {
    padding: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .section {
    padding: 50px 0;
  }

  .hero {
    min-height: 500px;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .modes-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    height: 250px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .download-image {
    max-width: 300px;
  }

  .esports-banner {
    height: 250px;
  }

  .tournament-cards {
    grid-template-columns: 1fr;
  }

  .stats-row {
    gap: 30px;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .platform-btn {
    min-width: 100%;
  }

  .container {
    padding: 0 15px;
  }
}

/* ========================================
   UTILITY / PAGE-SPECIFIC
   ======================================== */
.page-banner {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--header-height);
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,10,0.6), rgba(10,10,10,0.95));
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner-content h1 {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-banner-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--text-gray);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .separator {
  color: var(--text-dim);
}

/* View more button */
.view-more {
  text-align: center;
  margin-top: 40px;
}

/* Loading screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  font-family: var(--font-accent);
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  animation: pulse 1.5s infinite;
}

.loading-bar {
  width: 200px;
  height: 3px;
  background: var(--dark-bg-3);
  border-radius: 3px;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 3px;
  animation: loadingFill 2s ease forwards;
}

@keyframes loadingFill {
  to { width: 100%; }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.6);
}
