/* Alapstílusok + Tipográfia + Linkek */
:root {
  --bg-main: #0e0e11;
  --bg-card: #1c1c22;
  --color-text: #f4f4f4;
  --color-muted: #a0a0a7;
  --color-soft-muted: #888;
  --color-accent: #ffd700;
  --color-cta: #2a2a32;
  --color-cta-hover: #3c3c44;
  --font-base: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-main);
  color: var(--color-text);
  overflow-x: hidden;
}

/* Elrejtés single-cards oldalon */
body.single-cards header,
body.single-cards .category-menu-wrapper,
body.single-cards .site-header {
  display: none !important;
}

.logo {
  height: 50px;
}

.section {
  background-color: var(--bg-main);
}

h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h1, .display-5 {
  font-size: 1.75rem;
  font-weight: 700;
}

h2, .h4 {
  font-size: 1.5rem;
}

h2,
.modal-header h5 {
  background-image: linear-gradient(45deg, #57BAA5, #F6C644);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.review-slide h3 {
  color: var(--color-muted);
}

p, li, small,
p.lead, .card-text, .card-body p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-muted);
}


p.lead {
  font-size: 1.3rem;
  color: white;
  padding: 10px 0 20px 0;
}

.small, .text-muted, .card-meta {
  font-size: 0.8rem;
  color: var(--color-soft-muted);
}

a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}

/* Kártyák és CTA gombok */
.card-item {
  background-color: var(--bg-card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  flex-shrink: 0;
  min-width: 80vw;
  max-width: 85vw;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.card-item:hover {
  transform: translateY(-4px);
  background-color: #83E3F8;
  box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

.card-item:hover .card-body .card-title,
.card-item:hover .card-body .card-text {
  color: #1C1C22;
}

.card-body {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-text);
}

.card-body h3,
.card-body .card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #fff;
}

.card-body .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.card-body .btn,
.controller .btn {
  width: 150px;
  background-color: var(--color-cta);
  color: #fff;
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 2;
}

.card-body .btn:hover {
  background-color: var(--color-cta-hover);
  transform: scale(1.02);
  opacity: 0.9;
}

.card-body .fa-solid,
.controller .fa-solid,
.reviewBtn .fa-solid {
  padding-right: 5px;
}

/* Kép és overlay */
.card-img-top {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* .card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} */

.card-img-top img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: inherit !important;
}

.connection-link .track-click {
  line-height: 2.6rem;
    font-size: 1.2rem;
}

.card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Meta, értékelés és ár */
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  color: var(--color-text);
}

.card-meta .rating {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.rating,
.card-meta .rating {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.price,
.card-meta .price {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

/* Badge és lebegő értékelés */
.card-rating-badge,
.card-rating-floating {
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.card-rating-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.card-rating-floating {
  position: absolute;
  top: -0.75rem;
  right: 1.25rem;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
}

.card-rating-badge .star,
.card-rating-floating .star {
  color: var(--color-accent);
  font-size: 0.85rem;
  line-height: 1;
}

/* Swipe – vízszintes scroll konténerek */
.swipe-x {
  margin: 0;
  padding: 0 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.swipe-x::-webkit-scrollbar {
  display: none;
}

.swipe-x .card-item {
  min-width: 75vw;
  max-width: 78vw;
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .swipe-x .card-item {
    min-width: 340px;
    max-width: 360px;
  }
}

/* Kategória menü (sticky) */
.category-menu-wrapper {
  background-color: var(--bg-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.category-scroll {
  overflow-x: auto;
  display: flex;
  gap: 1.5rem;
  padding: 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-scroll .fa-solid {
  font-size: 1em;
}

.category-link {
  scroll-snap-align: start;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex: 0 0 auto;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  max-width: 150px;
  word-break: break-word;
  white-space: normal;
}

.category-link:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.category-link i,
.category-link img {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
  color: #fff;
}

.category-link.active {
  font-weight: 600;
  border-bottom: 2px solid #fff;
}

.category-link .category-label {
  font-size: 0.75rem;
  word-break: break-word;
  line-height: 1.2;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.75rem;
  color: #aaa;
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
  z-index: 10;
  font-weight: bold;
  padding: 0 0.25rem;
}

.scroll-arrow.left {
  left: 0.5rem;
}

.scroll-arrow.right {
  right: 0.5rem;
}

@media (min-width: 576px) {
  .scroll-arrow {
    font-size: 2rem;
    opacity: 0.7;
  }
  .scroll-arrow.left {
    left: 2rem;
  }
  .scroll-arrow.right {
    right: 2rem;
  }
}

/* Keresődoboz */
.search-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.search-form .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: none;
  color: #fff;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}

.search-form .form-control::placeholder {
  color: #aaa;
  font-weight: 300;
}

.search-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
  box-shadow: none;
}

/* Hero szekció */
.hero-image-bg {
  height: 50vh;
  overflow: hidden;
  position: relative;
}

.hero-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.card-content-wrapper {
  position: relative;
  background-color: var(--bg-card);
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  margin-top: -3rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
}

/* Review idézetek és csillagok */
.review-track {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide {
  position: relative;
}

.review-slide::before {
  content: "“";
  position: absolute;
  top: 0.5rem;
  left: 1.75rem;
  font-size: 10rem;
  color: rgba(0, 0, 0, 0.05);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
  z-index: 20;
}

#star-rating .star {
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Modal / Lightbox */
.modal-content {
  background-color: #1A2230;
}

.btn-close {
  filter: invert(1);
}

.modal.fade .modal-dialog {
  transform: scale(0.96);
  transition: transform 0.25s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  width: 3rem;
  height: 3rem;
  transition: background-color 0.2s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Sponsored kártya és ribbon */
.card-sponsored {
  box-shadow: 0 0 0 3px #69B6C5 inset, 0 4px 20px rgba(105, 182, 197, 0.4);
  background-color: #17282C;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-sponsored:hover {
  transform: scale(1.03);
  z-index: 20;
}

.card-sponsored .card-img-top img {
  border: 3px solid #69B6C5;
  /* border-top: none; */
  border-bottom: none;
  border-radius: 0;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  display: block;
  width: 100%;
  height: auto;
}

.card-sponsored:hover .card-img-top img {
  border: none;
}

.card-sponsored .btn {
  background-color: #69B6C5;
  color: #fff;
  border: none;
  animation: sponsoredBtnFlash 3s ease-in-out infinite;
}

@keyframes sponsoredBtnFlash {
  0%, 100% { box-shadow: 0 0 0 transparent; }
  50% { box-shadow: 0 0 12px #69B6C5; }
}

.ribbon {
  position: absolute;
  top: 60px;
  left: 15px;
  width: 100px;
  height: 100px;
  pointer-events: none;
  z-index: 10;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 140px;
  background: #69B6C5;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 0.7rem;
  padding: 6px 0;
  transform: rotate(-45deg);
  transform-origin: 0 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  top: 14px;
  left: -40px;
  line-height: 1;
  letter-spacing: 0.5px;
  animation: pulseRibbon 2s infinite;
}

@keyframes pulseRibbon {
  0% { transform: rotate(-45deg) scale(1); opacity: 1; }
  50% { transform: rotate(-45deg) scale(1.05); opacity: 0.9; }
  100% { transform: rotate(-45deg) scale(1); opacity: 1; }
}

/* Cookie consent banner */
#cookie-consent {
  display: none;
}

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #69B6C5;
  color: var(--color-text);
  padding: 1rem;
  z-index: 9999;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.3);
}

.cookie-consent-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.cookie-consent-inner p {
  color: black;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Sikeres kapcsolatfelvétel üzenet */
.contact-success-message {
  background-color: rgba(40, 167, 69, 0.05);
  border: 1px solid #28a745;
  border-radius: 8px;
}

.contact-success-message h5 {
  font-weight: 600;
}

.contact-success-message p {
  font-size: 1rem;
  color: #aaa;
}

/* Bloglist kártyák képei */
.blog-list .card img {
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

/* Reszponzív szabályok – mobil optimalizálás */
@media (max-width: 768px) {
  .section {
    padding-right: 1rem;
  }

  .blog .section {
    padding-left: 0.3rem;
    padding-right: 1rem;
  }

  .featured-cards .card-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .card-item {
    margin-left: 0;
    min-width: 85vw;
    max-width: 90vw;
  }

  .card-img-top {
    aspect-ratio: 16/9;
  }

  .category-link {
    font-size: 0.8rem;
    padding: 0 0.25rem;
  }

  .category-link i {
    font-size: 1.3rem;
  }

  .hero-image-bg {
    height: 40vh;
  }

  .card-content-wrapper {
    margin-top: -2rem;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    padding-top: 2rem;
  }
}

@media (max-width: 576px) {
  .category-link {
    max-width: 72px;
  }

  .category-link .category-label {
    font-size: 0.9rem;
  }

  h1, .display-5 {
    font-size: 1.5rem;
  }

  p, .card-text, .lead {
    font-size: 0.9rem;
  }

  .card-body .card-text {
    max-height: 6em;
    margin-bottom: 0;
  }

  .card-body .btn {
    width: 100%;
    padding: 0.65rem 1rem;
  }

  .search-box {
    padding: 0.75rem;
  }

  .search-form .form-control {
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
  }
}

@media (min-width: 769px) {
  .hero-image-bg {
    height: 70vh;
  }
}



/* === TTDB – Cookie Consent A-verzió: félképernyős, nem blokkoló === */

.cookie-consent-banner.prominent {
  background: rgba(12, 12, 18, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 -12px 32px rgba(0,0,0,0.45);
  border-top: 1px solid rgba(255,255,255,0.08);
  min-height: 50vh;        /* mobilon kb fél képernyő */
  display: block;          /* biztos ami biztos */
}

@media (min-width: 992px) {
  .cookie-consent-banner.prominent {
    min-height: 40vh;      /* desktopon arányos */
  }
}

.cookie-consent-banner.prominent .cookie-consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  height: 100%;
}

.cookie-consent-banner.prominent p {
  color: #f2f2f5;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  margin: 0;
}

.cookie-consent-banner.prominent .cookie-buttons .btn {
  font-weight: 700;
  border-radius: 14px;
  padding: 0.9rem 1.4rem;
  min-width: 170px;
}

/* háttér enyhe "hátrébb tolása" – de kattintható marad */
body.consent-banner-visible main,
body.consent-banner-visible #content,
body.consent-banner-visible .site-content {
  filter: saturate(0.85) brightness(0.9);
  transition: filter 200ms ease;
}




/* === TTDB – Cookie Consent: azonnali "prominent" stílus döntés hiányában === */
/* UGYANAZOK a szabályok, mint .cookie-consent-banner.prominent esetén,
   csak a html.cc-needs-decision #cookie-consent célzással, hogy már 1. festéskor érvényesüljön. */

   html.cc-needs-decision #cookie-consent {
    display: block !important; /* felülírja a korábbi display:none-t */
    background: rgba(12, 12, 18, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    box-shadow: 0 -12px 32px rgba(0,0,0,0.45);
    border-top: 1px solid rgba(255,255,255,0.08);
    min-height: 50vh;              /* mobilon kb fél képernyő */
  }
  
  @media (min-width: 992px) {
    html.cc-needs-decision #cookie-consent {
      min-height: 40vh;            /* desktopon arányosabb */
    }
  }
  
  html.cc-needs-decision #cookie-consent .cookie-consent-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    height: 100%;
  }
  
  html.cc-needs-decision #cookie-consent p {
    color: #f2f2f5 !important;     /* biztosan ne a régi fekete szöveg szín öröklődjön */
    font-size: clamp(1.125rem, 1.6vw, 1.5rem);
    line-height: 1.5;
    margin: 0;
  }
  
  html.cc-needs-decision #cookie-consent .cookie-buttons .btn {
    font-weight: 700;
    border-radius: 14px;
    padding: 0.9rem 1.4rem;
    min-width: 170px;
  }
  
  /* A-verzió: háttér az első pillanattól halványul, de kattintható marad */
  html.cc-needs-decision body main,
  html.cc-needs-decision body #content,
  html.cc-needs-decision body .site-content {
    filter: saturate(0.85) brightness(0.9);
    transition: none;  /* ne villogjon az első frame-ekben */
  }
  

  /* =========================================
   FOOTBALL HERO SECTION
========================================= */

.football-hero-section {
  position: relative;
  min-height: 85vh;
  padding: 120px 20px 80px 20px;

  background-image: url('images/football-hero.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  overflow: hidden;

  display: flex;
}

.football-hero-overlay {
  position: absolute;
  inset: 0;

  background:
      linear-gradient(
          to bottom,
          rgba(0, 0, 0, 0.55),
          rgba(0, 0, 0, 0.45),
          rgba(0, 0, 0, 0.70)
      );

  z-index: 1;
}

.football-hero-section .container {
  position: relative;
  z-index: 2;
}

.football-hero-title {
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;

  margin-bottom: 24px;

  text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.football-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.7;

  max-width: 850px;
  margin: 0 auto 40px auto;

  color: rgba(255,255,255,0.92);

  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.football-hero-buttons {
  gap: 16px;
}

.football-hero-buttons .btn {
  min-width: 220px;
  padding: 14px 26px;

  font-weight: 700;
  border-radius: 12px;
}

/* =========================================
 MOBILE
========================================= */

@media (max-width: 767px) {

  .football-hero-section {
      min-height: 78vh;

      padding-top: 110px;
      padding-bottom: 70px;

      background-position: center center;
  }

  .football-hero-buttons .btn {
      width: 100%;
  }

}

.football-mini-card {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 100%;

  text-align: center;
}