/* Bootstrap Override és Custom Stílusok */

/* CSS Változók */
:root {
  --primary-color: #e10600;
  --primary-hover: #c20500;
  --dark-bg: #121212;
  --card-bg: #1f1f1f;
  --navbar-bg: #1c1c1c;
  --text-muted: #d5d5d5;
}

/* ===== ÚJ FONT STRATÉGIA ===== */
/* Alapértelmezett szöveg - Titillium Web */
body {
  background-color: var(--dark-bg);
  color: #fff;
  margin: 0;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 400;
  padding-top: 108px; /* Navbar (76px) + Ticker (32px) */
}

/* Logó, branding - Orbitron */
.logo h1 {
  font-family: 'Orbitron', 'Arial Black', Impact, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
}

.sidebar-brand,
.brand-text {
  font-family: 'Orbitron', 'Arial Black', Impact, sans-serif;
  font-weight: 600;
}

/* Logo span osztályok */
.logo-full,
.logo-short {
  font-family: 'Orbitron', 'Arial Black', Impact, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

.logo-full {
  display: inline;
}

.logo-short {
  display: none;
}

/* Közepes eszközök - tablet, Nest Hub (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .logo small {
    font-size: 0.7rem;
  }
}

/* Nagy tablet, iPad Pro, Nest Hub Max (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .logo h1 {
    font-size: 1.3rem;
  }
  
  .logo small {
    font-size: 0.75rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0.7rem;
    font-size: 0.95rem;
  }
}

/* Galaxy Z Fold unfolded és hasonló keskeny tabletok (768px - 900px) */
@media (min-width: 768px) and (max-width: 900px) {
  .logo h1 {
    font-size: 1.15rem;
  }
  
  .logo small {
    font-size: 0.68rem;
  }
}

/* Mobil - kis képernyők (<576px) */
@media (max-width: 576px) {
  .logo h1 {
    font-size: 1.1rem;
  }
  .logo small {
    font-size: 0.65rem;
    margin-top: 3px;
  }
  
  .logo-full {
    display: none;
  }
  
  .logo-short {
    display: inline;
  }
}

/* Extra kicsi eszközök - Galaxy S8/S8+ (360px), Z Fold 5 folded (344px) */
@media (max-width: 400px) {
  .logo h1 {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }
  
  .logo small {
    font-size: 0.55rem;
    margin-top: 2px;
  }
  
  .navbar-brand.logo {
    max-width: calc(100% - 50px);
  }
  
  .navbar-toggler {
    padding: 0.35rem 0.55rem;
    margin-left: 0.5rem;
  }
  
  .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
  }
}

/* Navbar, navigáció - Rajdhani */
.navbar,
.nav-link,
.navbar-nav .nav-link,
.dropdown-menu {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 500;
}

/* Címek H1-H3 - Rajdhani/Oxanium */
h1, h2 {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600;
}

h3, h4, h5, h6 {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600;
}

/* Hírek, hosszabb tartalom - Titillium Web */
p, li, span, div,
.news-content,
.news-description,
.championship-description,
.race-description,
.card-text,
.regulations-content,
.server-item,
.text-muted,
article p,
.content-text,
.alert {
  font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

/* Számok, időeredmények - Oxanium */
.race-time,
.lap-time,
.points,
.position,
.standings-number,
.countdown,
.timer,
tbody td.number,
.stat-number {
  font-family: 'Oxanium', 'Courier New', monospace, sans-serif;
  font-weight: 600;
}

/* Táblázatok - Oxanium számok, Rajdhani fejléc */
table thead th {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600;
}

tbody td {
  font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Input és form elemek - Rajdhani */
input, textarea, select, button, .btn {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
}

/* Text-muted Bootstrap override - jobb olvashatóság */
.text-muted {
  color: var(--text-muted) !important;
}

small.text-muted {
  color: var(--text-muted) !important;
}

.lead {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 500;
}

.logo small {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted) !important;
  font-weight: 400;
  letter-spacing: 0.8px;
  display: block;
  margin-top: 5px;
  line-height: 1.2;
}

/* Hero szekció */
.hero {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
  z-index: 1;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero h1 {
  font-family: 'Oxanium', 'Courier New', monospace, sans-serif;
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h2 {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero .lead {
  font-size: 1.3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  white-space: pre-line;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Hero Háttérképek */
/* Desktop (1200px+) - Default nagy kép marad */
@media (max-width: 1199.98px) {
  .modern-hero .hero-image,
  .modern-hero section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('/assets/images/hero-tablet.webp') !important;
  }
}

/* Tablet (768px - 1199px) */
@media (max-width: 991.98px) {
  .modern-hero .hero-image,
  .modern-hero section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('/assets/images/hero-tablet.webp') !important;
  }
}

/* Mobil (767px alatt) */
@media (max-width: 767.98px) {
  .modern-hero .hero-image,
  .modern-hero section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('/assets/images/hero-mobile.webp') !important;
  }
}

/* Gombok */
button,
.btn {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  cursor: pointer;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 4px;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
}

/* Hover animációk csak desktop-on (hover-képes eszközök) */
@media (hover: hover) and (pointer: fine) {
  button,
  .btn {
    transition: all 0.3s ease;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
  }

  .btn-outline-light:hover {
    transform: translateY(-2px);
  }
}

/* Navbar stílusok */
.navbar {
  height: 76px;
  min-height: 76px;
  background-color: #1c1c1c !important;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1920px;
  width: 100%;
}

.navbar .container-fluid {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

.navbar-brand.logo {
  flex-shrink: 0;
  margin-right: auto;
  max-width: calc(100% - 60px);
  overflow: hidden;
}

.navbar-toggler {
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(225,6,0,0.4);
}

.navbar-nav .nav-link {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 12px;
  margin: 0 2px;
  border-radius: 6px;
  background: transparent;
  color: #fff !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #fff !important;
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: #fff !important;
  background-color: var(--primary-color);
}

/* Mobil hamburger menü */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #1c1c1c;
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 8px;
  }
  
  .navbar-nav {
    text-align: right;
  }
  
  .navbar-nav .nav-link {
    text-align: right;
    padding: 10px 16px;
    margin: 0.25rem 0;
  }
  
  .navbar-nav .nav-link:hover {
    transform: none;
  }
}

/* Szekció címek */
.section-title {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

/* Kártya stílusok */
.race-card,
.championship-card,
.news-card,
.race-card-archived,
.championship-card-archived {
  background-color: var(--card-bg);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.race-image,
.championship-image {
  height: 200px;
  object-fit: cover;
  background-color: var(--card-bg);
}

/* Hover animációk csak desktop-on */
@media (hover: hover) and (pointer: fine) {
  .race-card,
  .championship-card,
  .news-card,
  .race-card-archived,
  .championship-card-archived {
    transition: all 0.3s ease;
  }
  
  .race-image,
  .championship-image {
    transition: transform 0.3s ease;
  }
  
  .race-card:hover,
  .championship-card:hover,
  .news-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.3) !important;
  }

  /* Specifikus news kártya hover */
  .news-card.card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.3) !important;
  }

  .race-card:hover .race-image,
  .championship-card:hover .championship-image,
  .news-card:hover .card-img-top {
    transform: scale(1.05);
  }
}

.card-body {
  background-color: var(--card-bg);
  color: #fff;
}

.card-title {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.card-text {
  font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: #e0e0e0;
}

/* Badge elemek */
.badge {
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Gomb hover fix - kék háttér kijavítása */
.championship-card .btn-danger:hover,
.championship-card .btn-danger:focus,
.championship-card .btn-danger:active {
  background-color: #c20500 !important;
  border-color: #c20500 !important;
}

/* Szekciók */
section {
  padding: 40px 20px;
}

.races-and-server {
  background-color: #1a1a1a;
}

.championships {
  background-color: var(--dark-bg) !important;
}

/* Szerver és közösségi kártyák */
.server-card,
.community-card,
.support-card,
.modern-sidebar-card,
.sidebar-card {
  background-color: var(--card-bg);
  border: none;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hover animációk csak desktop-on */
@media (hover: hover) and (pointer: fine) {
  .server-card,
  .community-card,
  .support-card,
  .modern-sidebar-card,
  .sidebar-card {
    transition: all 0.3s ease;
  }
  
  .server-card:hover,
  .community-card:hover,
  .support-card:hover,
  .modern-sidebar-card:hover,
  .sidebar-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 8px 25px rgba(225, 6, 0, 0.3) !important;
  }

  /* Specifikus szabályok a sidebar kártyákhoz */
  .sidebar-card.card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 8px 25px rgba(225, 6, 0, 0.3) !important;
  }
}

/* Kompakt szerver info */
.server-compact-info {
  font-size: 0.9rem;
}

.server-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid #333;
}

.server-item:last-child {
  border-bottom: none;
}

.server-item code {
  background: #000;
  color: var(--primary-color);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.8rem;
}

/* Közösségi gombok */
.social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.btn-social {
  font-size: 0.85rem;
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: white;
}

.btn-discord { background-color: #5865F2; }
.btn-discord:hover { background-color: #4752C4; color: white; }

.btn-youtube { background-color: #FF0000; }
.btn-youtube:hover { background-color: #CC0000; color: white; }

.btn-facebook { background-color: #1877F2; }
.btn-facebook:hover { background-color: #166FE5; color: white; }

.btn-twitch { background-color: #9146FF; }
.btn-twitch:hover { background-color: #7928CA; color: white; }

.btn-instagram { background-color: #E4405F; }
.btn-instagram:hover { background-color: #D13A54; color: white; }

.btn-tiktok { background-color: #000000; }
.btn-tiktok:hover { background-color: #333333; color: white; }

.btn-x { background-color: #000000; }
.btn-x:hover { background-color: #333333; color: white; }

/* Támogatói/Reklám terület */
.ad-placeholder {
  min-height: 120px;
  background: linear-gradient(45deg, #222, #333);
  border: 2px dashed #555;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ad-placeholder:hover {
  border-color: var(--primary-color);
}

.ad-content {
  text-align: center;
  color: #b0b0b0;
}

.ad-content i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Támogatói/Partner terület */
.sponsors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sponsor-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

/* Hover animációk csak desktop-on */
@media (hover: hover) and (pointer: fine) {
  .sponsor-item {
    transition: all 0.3s ease;
  }
  
  .sponsor-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    background: rgba(225, 6, 0, 0.1);
  }
}

.sponsor-logo {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.sponsor-item:hover .sponsor-logo {
  filter: brightness(1.1);
}

.partner-info {
  padding-top: 0.5rem;
  border-top: 1px solid #333;
}

.partner-info .text-muted {
  color: #e0e0e0 !important;
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-size: 0.85rem;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Kép hibakezelés */
.image-placeholder {
  background: linear-gradient(135deg, #1f1f1f 0%, #e10600 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
}

/* Hover animációk csak desktop-on */
@media (hover: hover) and (pointer: fine) {
  .image-placeholder {
    transition: all 0.3s ease;
  }
  
  .image-placeholder:hover {
    transform: scale(1.02);
  }
}

/* Footer közösségi ikonok */
.social-icon {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  min-width: 80px;
}

/* Hover animációk csak desktop-on */
@media (hover: hover) and (pointer: fine) {
  .social-icon {
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
  }

  .discord-icon:hover {
    background: rgba(88, 101, 242, 0.2);
  }

  .youtube-icon:hover {
    background: rgba(255, 0, 0, 0.2);
  }

  .facebook-icon:hover {
    background: rgba(24, 119, 242, 0.2);
  }

  .twitch-icon:hover {
    background: rgba(145, 70, 255, 0.2);
  }

  .instagram-icon:hover {
    background: rgba(228, 64, 95, 0.2);
  }

  .tiktok-icon:hover {
    background: rgba(0, 0, 0, 0.8);
  }

  .x-icon:hover {
    background: rgba(0, 0, 0, 0.8);
  }
}

.social-icon i {
  display: block;
  margin-bottom: 5px;
}

.social-icon span {
  font-weight: 600;
  font-size: 0.85rem;
}

.discord-icon {
  color: #5865F2 !important;
}

.youtube-icon {
  color: #FF0000 !important;
}

.facebook-icon {
  color: #1877F2 !important;
}

.twitch-icon {
  color: #9146FF !important;
}

.instagram-icon {
  color: #E4405F !important;
}

.tiktok-icon {
  color: #ffffff !important;
  background: #000000;
  border-radius: 8px;
  padding: 8px;
}

.x-icon {
  color: #ffffff !important;
  background: #000000;
  border-radius: 8px;
  padding: 8px;
}

/* Loading képek */
img.loading {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

img:not(.loading) {
  opacity: 1;
}

/* Reszponzív design */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2em; }
  .hero h2 { font-size: 2.5rem; }
  .hero .lead { font-size: 1.1rem; }
  
  section { padding: 30px 15px; }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .social-buttons {
    grid-template-columns: 1fr;
  }
  
  .server-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

@media (max-width: 576px) {
  body { padding-top: 70px; }
  .hero h2 { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
}

/* Hírek futószalag */
.news-ticker {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 15px;
  overflow: hidden;
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1920px;
  width: 100%;
  z-index: 1029;
  margin: 0;
  border: none;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ticker-move {
  display: flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}

/* Hover pause csak desktop-on */
@media (hover: hover) and (pointer: fine) {
  .ticker-move:hover {
    animation-play-state: paused;
  }
  
  .ticker-item a {
    transition: opacity 0.3s;
  }
  
  .ticker-item a:hover {
    color: var(--primary-hover);
    opacity: 0.8;
    text-decoration: underline !important;
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
  font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.ticker-item a {
}

/* Hover már kezelve fent a @media blokkban */

.ticker-separator {
  margin-left: 30px;
  font-size: 1.2rem;
  opacity: 0.7;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Reszponzív futószalag */
@media (max-width: 768px) {
  body {
    padding-top: 128px; /* Növeljük mobil nézetben: Navbar (76px) + Ticker (~52px) */
  }
  
  /* Mobil optimalizáció - kevesebb animáció */
  .card,
  .race-card,
  .news-card,
  .championship-card {
    transition: none !important; /* Kikapcsoljuk a kártya animációkat */
  }
  
  .card:hover,
  .race-card:hover,
  .news-card:hover,
  .championship-card:hover {
    transform: none !important; /* Nincs transform mobilon */
  }
  
  /* Ticker gyorsítás mobilon */
  .ticker-move {
    animation: ticker 25s linear infinite; /* Gyorsabb, kevésbé terheli */
  }
  
  .ticker-item {
    font-size: 0.85rem;
    padding: 0 15px;
  }
  
  .ticker-separator {
    margin-left: 15px;
  }
}

/* Hero Carousel stílusok */
#heroCarousel {
  position: relative;
}

#heroCarousel .carousel-item {
  aspect-ratio: 16/9;
  width: 100%;
  min-height: 500px;
}

#heroCarousel .carousel-item section.modern-hero {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

/* Tablet nézet - magasabb aspect ratio */
@media (max-width: 991.98px) {
  #heroCarousel .carousel-item {
    aspect-ratio: 4/3;
    min-height: 550px;
  }
  
  #heroCarousel .hero-content h1.display-3 {
    font-size: 2.5rem !important;
  }
  
  #heroCarousel .hero-content .lead {
    font-size: 1.1rem !important;
  }
  
  #heroCarousel .hero-content .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
}

/* Mobil nézet - még magasabb */
@media (max-width: 767.98px) {
  #heroCarousel .carousel-item {
    aspect-ratio: 3/4;
    min-height: 450px;
  }
  
  #heroCarousel .carousel-item section.modern-hero {
    padding: 40px 0;
  }
  
  #heroCarousel .hero-content h1.display-3 {
    font-size: 1.75rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Leírás elrejtése mobilon */
  #heroCarousel .hero-content .lead {
    display: none !important;
  }
  
  #heroCarousel .hero-content .hero-badge {
    font-size: 0.7rem !important;
    padding: 0.5rem 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  #heroCarousel .hero-content .btn-lg {
    padding: 0.65rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
}

/* Nagyon kis mobil */
@media (max-width: 576px) {
  #heroCarousel .carousel-item {
    min-height: 400px;
  }
  
  #heroCarousel .hero-content h1.display-3 {
    font-size: 1.5rem !important;
  }
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 5%;
  z-index: 10;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  background-color: transparent;
  width: 40px;
  height: 40px;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Villogó pont animáció (élő verseny) */
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Versenykiírás tartalom formázása a modalban */
.regulations-content {
  color: #333;
  line-height: 1.8;
}

.regulations-content h1,
.regulations-content h2,
.regulations-content h3,
.regulations-content h4,
.regulations-content h5,
.regulations-content h6 {
  color: #e10600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.regulations-content h1 { font-size: 2rem; }
.regulations-content h2 { font-size: 1.75rem; }
.regulations-content h3 { font-size: 1.5rem; }

.regulations-content p {
  margin-bottom: 1rem;
}

.regulations-content ul,
.regulations-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.regulations-content li {
  margin-bottom: 0.5rem;
}

.regulations-content table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.regulations-content table th,
.regulations-content table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

.regulations-content table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.regulations-content blockquote {
  border-left: 4px solid #e10600;
  padding-left: 1rem;
  margin-left: 0;
  color: #b8b8b8;
  font-style: italic;
}

.regulations-content a {
  color: #e10600;
  text-decoration: underline;
}

.regulations-content a:hover {
  color: #c20500;
}

/* Partner Cards */
.partner-card {
}

.partner-logo {
}

/* Hover animációk csak desktop-on */
@media (hover: hover) and (pointer: fine) {
  .partner-card {
    transition: all 0.3s ease;
  }

  .partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.3) !important;
  }

  .partner-logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.3) !important;
  }

  .partner-logo {
    transition: filter 0.3s ease;
  }
}

/* Partners Carousel Animation */
@keyframes scroll-partners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partners-carousel-wrapper {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.partners-carousel {
  will-change: transform;
}

/* Hover pause csak desktop-on */
@media (hover: hover) and (pointer: fine) {
  .partners-carousel:hover {
    animation-play-state: paused;
  }

/* NAVBAR BACKDROP FIX - Mon Feb 23 20:34:54 CET 2026 */
