/* TIPMORA Dark Mode Style */

body {
    background-color: #111 !important;
    color: #eee;
    font-family: "Segoe UI", sans-serif;
}

/* Cards */
.card {
    background-color: #1b1b1b;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* Gold accent */
.text-gold {
    color: #f5c518;
}

.btn-gold {
    background-color: #f5c518;
    color: #000;
    border-radius: 10px;
    font-weight: 600;
}

.btn-gold:hover {
    opacity: 0.8;
}

/* Headings */
h1, h2, h3 {
    color: #f5c518;
}

/* Navbar */
.navbar {
    border-bottom: 1px solid #222;
}

/* Mobile */
@media(max-width: 576px) {
    .card {
        margin-bottom: 20px;
    }
}

/* Footer  */
footer small {
    color: #f5c518 !important;
    opacity: 0.9;
}

/* Testimonial Card   */
/* TESTIMONIAL WRAPPER */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

/* DIE 3 TESTIMONIAL-CARDS */
.testimonial-group {
    display: flex;
    gap: 20px;
    transition: transform 1s ease;
}

/* EINZELCARD */
.testimonial-card {
    background-color: #1b1b1b;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 25px;
    flex: 1;
    min-width: 30%;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.05);
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* AVATARE */
.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f5c518;
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.5);
}

/* NAMEN */
.testimonial-name {
    color: #f5c518;
    font-weight: 700;
    font-size: 18px;
}

/* TEXT */
.testimonial-text {
    color: #ccc;
    font-size: 15px;
}

/* FADE IN EFFECT */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

.testimonial-card {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease;
}

.testimonial-card.show {
    opacity: 1;
    transform: translateY(0);
}


/* WRAPPER */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

/* GROUP CONTAINER */
.testimonial-group {
    display: flex;
    gap: 20px;
    transition: opacity 0.8s ease;
    opacity: 0;
}

/* SHOW STATE (für Fade-In) */
.testimonial-group.show {
    opacity: 1;
}

/* CARD */
.testimonial-card {
    background-color: #1b1b1b;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 25px;
    flex: 1;
    min-width: 32%;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.07);
    transition: all 0.5s ease;
}

/* AVATAR */
.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f5c518;
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.4);
}

/* NAME */
.testimonial-name {
    color: #f5c518;
    font-weight: 700;
    font-size: 18px;
}

/* TEXT */
.testimonial-text {
    color: #ccc;
    font-size: 15px;
}

/* ARROWS */
.testimonial-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #f5c518;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(0,0,0,0.4);
    transition: 0.2s;
}

.testimonial-arrow:hover {
    background: rgba(255,255,255,0.15);
}

/* LEFT / RIGHT */
.arrow-left { left: -10px; }
.arrow-right { right: -10px; }

/* DOTS */
.testimonial-dots {
    margin-top: 15px;
    text-align: center;
}

.testimonial-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background-color: #444;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.testimonial-dot.active {
    background-color: #f5c518;
}

/* ----usa canad mexico flags-------- */
.host-flags-png {
    text-align: center;
}

.flag-png {
    height: 45px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255,255,255,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flag-png:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(245,197,24,0.4);
}

/* ------------ GRUPPEN --------------- */

.group-card {
    background-color: #1b1b1b;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.group-title {
    font-size: 20px;
    color: #f5c518;
    font-weight: 700;
    margin-bottom: 10px;
}

.team-row {
    display: flex;
    align-items: center;
    margin: 6px 0;
}

.team-flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    margin-right: 10px;
}

.team-name {
    color: #ddd;
    font-size: 15px;
}

/* GROUP CARD HOVER EFFECT */
.group-card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.25s ease-in-out;
}

.group-card:hover {
    transform: scale(1.02);
    border-color: #f5c518; /* Gold Glow */
    box-shadow: 0 0 12px rgba(245, 197, 24, 0.35);
}

/* Team Row Hover */
.team-row {
    padding: 6px 0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.team-row:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 6px;
}

/* ------ Einzele Gruppe--------------- */
/* ----------- MODAL BACKDROP ----------- */
.modal-backdrop-custom {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ----------- MODAL BOX ----------- */
.modal-box {
    background: #111;
    padding: 25px;
    border-radius: 14px;
    width: 95%;
    max-width: 600px;
    border: 1px solid #f5c518;
    box-shadow: 0 0 20px rgba(245,197,24,0.4);
    transform: scale(0.8);
    opacity: 0;
    transition: all .3s ease;
}

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

/* Close Button */
.modal-close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: #f5c518;
}

/* Spielblock */
.match-block {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #333;
    transition: 0.2s;
}

.match-block:hover {
    border-color: #f5c518;
    transform: scale(1.01);
}

/* Header Row */
.match-info {
    font-size: 15px;
    color: #ddd;
    margin-bottom: 10px;
}

.match-divider {
    border-top: 1px solid #333;
    margin: 10px 0;
}

.team-row-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
}

.modal-flag {
    width: 35px;
    height: auto;
    border-radius: 5px;
}
/* ------------------------ */
/* ----- Text im index.php ganz oben ----*/
.hero-card p.text-muted {
    color: #cccccc !important; /* hellgrau */
}

/* MODERN HERO AREA */
.hero-modern {
    background: linear-gradient(145deg, #1b1b1b, #111);
    border: 1px solid #2a2a2a;
    padding: 55px 30px;
    border-radius: 20px;
    box-shadow: 0 0 35px rgba(0,0,0,0.45);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Leichtes Glow oben */
.hero-modern:before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245,197,24,0.2), transparent 70%);
    z-index: 0;
}

/* Text Styling */
.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #f5c518;
    letter-spacing: 1px;
    z-index: 1;
}

.hero-sub {
    font-size: 22px;
    color: #e6e6e6;
    margin-top: 10px;
    z-index: 1;
}

.hero-subtext {
    color: #d1d1d1;
    font-size: 18px;
    margin-top: 10px;
    opacity: 0.85;
    z-index: 1;
}

/* Flags */
.flag-png {
    width: 90px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
    transition: transform 0.25s;
}

.flag-png:hover {
    transform: scale(1.08);
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1.4s ease-in-out forwards;
}

.fade-in-slow {
    opacity: 0;
    animation: fadeIn 1.9s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Ultra Premium Affiliate Section */
.affiliate-info {
    color: #bbb;
    font-size: 18px;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255,255,255,0.08);
}

.ultra-affiliate-row {
    margin-top: 25px;
}

/* CARD */
.ultra-card {
    position: relative;
    padding: 40px;
    border-radius: 22px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(20,20,20,0.6);
    backdrop-filter: blur(22px);
    box-shadow:
        0 0 25px rgba(0,0,0,0.4),
        0 0 12px rgba(245,197,24,0.25);
    transition: all 0.35s ease;
    overflow: hidden;
}

/* ANIMATED GRADIENT BORDER */
.ultra-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(245,197,24,0.65), rgba(255,255,255,0.1));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* ICONS */
.ultra-icon {
    font-size: 50px;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 10px rgba(245,197,24,0.4));
    animation: floatingIcon 3s ease-in-out infinite;
}

@keyframes floatingIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* TITLES */
.ultra-card h3 {
    color: #f5c518;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(245,197,24,0.3);
}

/* TEXT */
.ultra-card p {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 20px;
}

/* BUTTON */
.ultra-btn {
    background: linear-gradient(90deg, #f5c518, #ffd364);
    color: #000;
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.25s ease;
    box-shadow: 0 0 10px rgba(245,197,24,0.4);
}

/* HOVER EFFECTS */
.ultra-card:hover {
    transform: translateY(-10px) scale(1.035);
    box-shadow:
        0 0 35px rgba(245,197,24,0.45),
        0 0 60px rgba(245,197,24,0.25),
        0 0 25px rgba(0,0,0,0.8);
}

.ultra-btn:hover {
    transform: scale(1.07);
    filter: brightness(1.1);
}

/* =============================== */
/* PREMIUM SPIELPLAN LAYOUT v1.0  */
/* =============================== */

/* Basic match card layout */
.match-block {
    background: linear-gradient(145deg, #1b1b1b, #141414);
    border: 1px solid #2d2d2d;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 18px;
    box-shadow: 0 0 20px rgba(0,0,0,0.55);
    transition: all 0.25s ease;
}

.match-block:hover {
    transform: translateY(-3px);
    border-color: #f5c518;
    box-shadow: 0 0 25px rgba(245,197,24,0.30);
}

/* Match header (Date, time, stadium) */
.match-info {
    font-size: 15px;
    color: #ccc;
    line-height: 1.35;
}

/* Divider */
.match-divider {
    border-top: 1px solid #333;
    margin: 12px 0;
}

/* Team row (desktop) */
.team-row-modal {
    display: flex;
    flex-wrap: wrap;                /* IMPORTANT FIX */
    justify-content: center;
    align-items: center;
    gap: 10px 14px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.modal-flag {
    width: 40px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.35);
}

/* =============================== */
/* MOBILE FIX */
/* =============================== */
@media (max-width: 480px) {

    .match-block {
        padding: 16px;
        border-radius: 14px;
    }

    .match-info {
        font-size: 14px;
        line-height: 1.4;
    }

    .team-row-modal {
        flex-direction: column;     /* <<< FIX: stacked */
        gap: 6px;
        font-size: 18px;
    }

    .modal-flag {
        width: 42px;
    }
}
/* MOBILE SCROLL FIX FOR MATCH MODAL */
.modal-backdrop-custom {
    overflow-y: auto !important;   /* Modal darf scrollen */
}

.modal-box {
    max-height: 90vh;              /* begrenzt Box-Höhe */
    overflow-y: auto;              /* Inhalt scrollt */
}

.modal-box {
    transition: transform .25s ease, opacity .25s ease;
}

.modal-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.modal-nav-btn {
    background: #f5c518;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    color: #000;
    box-shadow: 0 0 10px rgba(245,197,24,0.4);
    transition: 0.25s ease;
}

.modal-nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(245,197,24,0.6);
}

.lang-switch{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
    font-size:14px;
    margin-left:15px;
}

.lang-link{
    color:#ddd;
    text-decoration:none;
    opacity:.75;
    transition:.2s;
}

.lang-link:hover{
    opacity:1;
    color:#f5c518;
}

.lang-active{
    color:#f5c518;
    text-decoration:none;
    opacity:1;
}

.lang-sep{
    color:#666;
}


/* Affiliate list (Flights) */
.aff-list{
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aff-item{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);

  color: var(--text);
  text-decoration: none;
  transition: all .18s ease;
}

.aff-item:hover{
  border-color: rgba(245,197,24,.75);
  box-shadow:
    0 0 0 1px rgba(245,197,24,.25),
    0 0 24px rgba(245,197,24,.25);
  transform: translateY(-2px);
}

.aff-name{
  font-weight: 700;
  color: #fff;
}

.aff-benefit{
  font-size: 13px;
  color: var(--muted);
}

.aff-arrow{
  font-size: 18px;
  color: var(--gold);
  font-weight: 800;
}
/* END Affiliate list (Flights) */


/* =========================
   WELCOME MODAL (Tipmora style)
========================= */
.welcome-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.80);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 120000;
  padding: 16px;
}

.welcome-box{
  width: min(520px, 92vw);
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 0 35px rgba(0,0,0,0.55);
  position: relative;
  text-align: center;
  animation: welcomePop .22s ease-out;
}

@keyframes welcomePop{
  from{ transform: translateY(10px) scale(.98); opacity: 0; }
  to{ transform: translateY(0) scale(1); opacity: 1; }
}

.welcome-close{
  position: absolute;
  top: 14px;
  right: 14px;
  cursor: pointer;
  color: #bbb;
  font-size: 18px;
}
.welcome-close:hover{ color:#fff; }

.welcome-icon{
  font-size: 34px;
  margin-bottom: 8px;
}

.welcome-title{
  margin: 0 0 10px;
  color: #f5c518;
  font-weight: 800;
  font-size: 26px;
}

.welcome-text{
  margin: 0 0 12px;
  color: #ddd;
  font-size: 16px;
}

.welcome-list{
  margin: 0 auto 16px;
  padding: 0;
  list-style: none;
  text-align: left;
  max-width: 420px;
  color: #ccc;
  font-size: 15px;
}
.welcome-list li{ margin: 8px 0; }

.welcome-btn{
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #f5c518, #ffd56a);
  color: #121212;
  cursor: pointer;
}
.welcome-btn:hover{ opacity: .92; }

/* =========================
   ENDE WELCOME MODAL (Tipmora style)
========================= */

/* =========================
   FIX Mobile: long team names in match modal
========================= */
.team-row-modal{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.team-row-modal span{
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

/* Optional: slightly smaller on small screens */
@media (max-width: 480px){
  .team-row-modal{
    font-size: 14px;
    gap: 8px;
  }
}

/* =========================
   END FIX Mobile: long team names in match modal
========================= */

/* Welcome Modal - spacing fix */
.welcome-list li{
  margin: 8px 0;
}

/* Extra blank line after the "Submitting..." bullet */
.welcome-list li.welcome-gap-after{
  margin-bottom: 18px;
}

/* Red bold test notice */
.welcome-notice {
    margin-top: 18px;
    margin-bottom: 28px;   /* 👉 Abstand zum Button */
    padding: 14px 16px;

    background: rgba(22, 163, 74, 0.15); /* soft green */
    border: 1px solid rgba(34, 197, 94, 0.6);
    border-radius: 12px;

    color: #4ade80;        /* grün, gut lesbar */
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}


@keyframes softPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(34,197,94,0); }
  50% { transform: scale(1.03); box-shadow: 0 0 18px rgba(34,197,94,0.45); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(34,197,94,0); }
}

.welcome-notice.pulse-once {
  animation: softPulse 0.9s ease-out 1;
}
