/* ============================================
   جام جهانی 2026 - استایل‌های مشترک
   رنگ‌بندی رسمی: سورمهای (آبی تیره) با borderهای سبز، سفید و زرد
   ============================================ */

/* متغیرهای رنگ */
:root {
    --wc2026-bg-primary: linear-gradient(-45deg, #000000, #000235); /* گرادیان مشکی به سورمهای */
    --wc2026-bg-secondary: rgba(0, 2, 53, 0.95);
    --wc2026-bg-card: rgba(0, 2, 53, 0.4);
    --wc2026-border-green: #4caf50; /* سبز */
    --wc2026-border-white: #ffffff; /* سفید */
    --wc2026-border-yellow: #ffd700; /* زرد */
    --wc2026-text-primary: #ffd700; /* زرد */
    --wc2026-text-white: #ffffff;
    --wc2026-text-muted: rgba(255, 255, 255, 0.95); /* روشن‌تر */
    --wc2026-radius-card: 2rem 0 2rem 0; /* الگوی اصلی: بالا راست و پایین چپ */
    --wc2026-radius-card-alt: 0 2rem 0 2rem; /* الگوی جایگزین: بالا چپ و پایین راست */
    --wc2026-radius-card-3: 2rem 0 0 2rem; /* الگوی سوم: بالا راست و پایین راست */
    --wc2026-radius-card-4: 0 2rem 2rem 0; /* الگوی چهارم: بالا چپ و پایین چپ */
    --wc2026-radius-small: 2rem 0 2rem 0; /* کارت‌های کوچک: بالا راست و پایین چپ */
    --wc2026-radius-small-alt: 0 2rem 0 2rem; /* کارت‌های کوچک جایگزین */
    --wc2026-radius-small-3: 2rem 0 0 2rem; /* کارت‌های کوچک سوم */
    --wc2026-radius-small-4: 0 2rem 2rem 0; /* کارت‌های کوچک چهارم */
    --wc2026-radius-button: 2rem 0 2rem 0; /* دکمه‌ها: بالا راست و پایین چپ */
    --wc2026-radius-button-alt: 0 2rem 0 2rem; /* دکمه‌های جایگزین */
    --wc2026-radius-button-3: 2rem 0 0 2rem; /* دکمه‌های سوم */
    --wc2026-radius-button-4: 0 2rem 2rem 0; /* دکمه‌های چهارم */
    --wc2026-border-width: 2px; /* عرض border */
}

/* body {
    background: linear-gradient(-45deg, #000000, #000235) !important;
} */
/* پس‌زمینه اصلی */
body.world-cup-2026,
body[class*="worldcup2026"],
body[class*="world-cup-2026"],
.draw-page {
    background: linear-gradient(-45deg, #000000, #000235) !important;
    position: relative;
}

body.world-cup-2026::after,
body[class*="worldcup2026"]::after,
body[class*="world-cup-2026"]::after,
.draw-page::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
.world-cup-2026 .bg-white,
body[class*="worldcup2026"] .bg-white,
body[class*="world-cup-2026"] .bg-white {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
}

.world-cup-2026 .bg-white .my-nav2 li a,
.world-cup-2026 .bg-white .my-nav2 li i,
body[class*="worldcup2026"] .bg-white .my-nav2 li a,
body[class*="worldcup2026"] .bg-white .my-nav2 li i {
    color: var(--wc2026-text-white) !important;
}

/* کارت‌ها */
.world-cup-2026 .card,
body[class*="worldcup2026"] .card,
body[class*="world-cup-2026"] .card,
.draw-page .card {
    background: var(--wc2026-bg-secondary) !important;
    border: var(--wc2026-border-width) solid transparent;
    border-radius: var(--wc2026-radius-card) !important;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
}

/* کارت‌های جایگزین (برای تنوع) */
.world-cup-2026 .card:nth-child(even),
body[class*="worldcup2026"] .card:nth-child(even),
body[class*="world-cup-2026"] .card:nth-child(even),
.draw-page .card:nth-child(even) {
    border-radius: var(--wc2026-radius-card-alt) !important;
}

.world-cup-2026 .card:nth-child(3n),
body[class*="worldcup2026"] .card:nth-child(3n),
body[class*="world-cup-2026"] .card:nth-child(3n),
.draw-page .card:nth-child(3n) {
    border-radius: var(--wc2026-radius-card-3) !important;
}

.world-cup-2026 .card:nth-child(4n),
body[class*="worldcup2026"] .card:nth-child(4n),
body[class*="world-cup-2026"] .card:nth-child(4n),
.draw-page .card:nth-child(4n) {
    border-radius: var(--wc2026-radius-card-4) !important;
}

/* استفاده از ::before برای border gradient */
.world-cup-2026 .card::before,
body[class*="worldcup2026"] .card::before,
body[class*="world-cup-2026"] .card::before,
.draw-page .card::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

/* کارت‌های کوچک‌تر */
.world-cup-2026 .match-card,
body[class*="worldcup2026"] .match-card,
body[class*="world-cup-2026"] .match-card,
.world-cup-2026 .info-box,
body[class*="worldcup2026"] .info-box,
body[class*="world-cup-2026"] .info-box,
.world-cup-2026 .standing-item,
body[class*="worldcup2026"] .standing-item,
body[class*="world-cup-2026"] .standing-item {
    background: var(--wc2026-bg-card);
    border: var(--wc2026-border-width) solid transparent;
    border-radius: var(--wc2026-radius-small);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

/* info-box الگوهای مختلف */
.world-cup-2026 .info-box:nth-child(even),
body[class*="worldcup2026"] .info-box:nth-child(even),
body[class*="world-cup-2026"] .info-box:nth-child(even) {
    border-radius: var(--wc2026-radius-small-alt);
}

.world-cup-2026 .info-box:nth-child(3n),
body[class*="worldcup2026"] .info-box:nth-child(3n),
body[class*="world-cup-2026"] .info-box:nth-child(3n) {
    border-radius: var(--wc2026-radius-small-3);
}

.world-cup-2026 .info-box:nth-child(4n),
body[class*="worldcup2026"] .info-box:nth-child(4n),
body[class*="world-cup-2026"] .info-box:nth-child(4n) {
    border-radius: var(--wc2026-radius-small-4);
}

/* کارت‌های کوچک جایگزین */
.world-cup-2026 .match-card:nth-child(even),
body[class*="worldcup2026"] .match-card:nth-child(even),
body[class*="world-cup-2026"] .match-card:nth-child(even),
.world-cup-2026 .standing-item:nth-child(even),
body[class*="worldcup2026"] .standing-item:nth-child(even),
body[class*="world-cup-2026"] .standing-item:nth-child(even) {
    border-radius: var(--wc2026-radius-small-alt);
}

.world-cup-2026 .match-card:nth-child(3n),
body[class*="worldcup2026"] .match-card:nth-child(3n),
body[class*="world-cup-2026"] .match-card:nth-child(3n),
.world-cup-2026 .standing-item:nth-child(3n),
body[class*="worldcup2026"] .standing-item:nth-child(3n),
body[class*="world-cup-2026"] .standing-item:nth-child(3n) {
    border-radius: var(--wc2026-radius-small-3);
}

.world-cup-2026 .match-card:nth-child(4n),
body[class*="worldcup2026"] .match-card:nth-child(4n),
body[class*="world-cup-2026"] .match-card:nth-child(4n),
.world-cup-2026 .standing-item:nth-child(4n),
body[class*="worldcup2026"] .standing-item:nth-child(4n),
body[class*="world-cup-2026"] .standing-item:nth-child(4n) {
    border-radius: var(--wc2026-radius-small-4);
}

.world-cup-2026 .match-card::before,
body[class*="worldcup2026"] .match-card::before,
body[class*="world-cup-2026"] .match-card::before,
.world-cup-2026 .info-box::before,
body[class*="worldcup2026"] .info-box::before,
body[class*="world-cup-2026"] .info-box::before,
.world-cup-2026 .standing-item::before,
body[class*="worldcup2026"] .standing-item::before,
body[class*="world-cup-2026"] .standing-item::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.world-cup-2026 .match-card:hover::before,
body[class*="worldcup2026"] .match-card:hover::before,
body[class*="world-cup-2026"] .match-card:hover::before,
.world-cup-2026 .standing-item:hover::before,
body[class*="worldcup2026"] .standing-item:hover::before,
body[class*="world-cup-2026"] .standing-item:hover::before {
    background: linear-gradient(135deg, var(--wc2026-border-yellow), var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow));
}

.world-cup-2026 .match-card:hover,
body[class*="worldcup2026"] .match-card:hover,
body[class*="world-cup-2026"] .match-card:hover,
.world-cup-2026 .standing-item:hover,
body[class*="worldcup2026"] .standing-item:hover,
body[class*="world-cup-2026"] .standing-item:hover {
    background: rgba(0, 2, 53, 0.6);
    box-shadow: 0 12px 22px rgba(76, 175, 80, 0.4);
    transform: translateY(-3px);
}

/* کارت پیش‌بینی */
.prediction-card {
    background: var(--wc2026-bg-secondary);
    border-radius: var(--wc2026-radius-card-alt);
    border: var(--wc2026-border-width) solid transparent;
    padding: 2.5rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    color: var(--wc2026-text-white);
    position: relative;
}

.prediction-card::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

/* دکمه‌ها */
.world-cup-2026 .btn,
body[class*="worldcup2026"] .btn,
body[class*="world-cup-2026"] .btn,
.draw-page .btn,
.world-cup-2026 button,
body[class*="worldcup2026"] button,
body[class*="world-cup-2026"] button,
.draw-page button {
    border: var(--wc2026-border-width) solid transparent;
    border-radius: var(--wc2026-radius-button);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1.5rem !important; /* padding بیشتر */
    font-weight: 600;
}

/* دکمه‌های جایگزین */
.world-cup-2026 .btn:nth-child(even),
body[class*="worldcup2026"] .btn:nth-child(even),
body[class*="world-cup-2026"] .btn:nth-child(even),
.draw-page .btn:nth-child(even),
.world-cup-2026 button:nth-child(even),
body[class*="worldcup2026"] button:nth-child(even),
body[class*="world-cup-2026"] button:nth-child(even),
.draw-page button:nth-child(even) {
    border-radius: var(--wc2026-radius-button-alt);
}

.world-cup-2026 .btn:nth-child(3n),
body[class*="worldcup2026"] .btn:nth-child(3n),
body[class*="world-cup-2026"] .btn:nth-child(3n),
.draw-page .btn:nth-child(3n),
.world-cup-2026 button:nth-child(3n),
body[class*="worldcup2026"] button:nth-child(3n),
body[class*="world-cup-2026"] button:nth-child(3n),
.draw-page button:nth-child(3n) {
    border-radius: var(--wc2026-radius-button-3);
}

.world-cup-2026 .btn:nth-child(4n),
body[class*="worldcup2026"] .btn:nth-child(4n),
body[class*="world-cup-2026"] .btn:nth-child(4n),
.draw-page .btn:nth-child(4n),
.world-cup-2026 button:nth-child(4n),
body[class*="worldcup2026"] button:nth-child(4n),
body[class*="world-cup-2026"] button:nth-child(4n),
.draw-page button:nth-child(4n) {
    border-radius: var(--wc2026-radius-button-4);
}

.world-cup-2026 .btn::before,
body[class*="worldcup2026"] .btn::before,
body[class*="world-cup-2026"] .btn::before,
.draw-page .btn::before,
.world-cup-2026 button::before,
body[class*="worldcup2026"] button::before,
body[class*="world-cup-2026"] button::before,
.draw-page button::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.world-cup-2026 .btn:hover::before,
body[class*="worldcup2026"] .btn:hover::before,
body[class*="world-cup-2026"] .btn:hover::before,
.draw-page .btn:hover::before,
.world-cup-2026 button:hover::before,
body[class*="worldcup2026"] button:hover::before,
body[class*="world-cup-2026"] button:hover::before,
.draw-page button:hover::before {
    background: linear-gradient(135deg, var(--wc2026-border-yellow), var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow));
}

.world-cup-2026 .btn:hover,
body[class*="worldcup2026"] .btn:hover,
body[class*="world-cup-2026"] .btn:hover,
.draw-page .btn:hover,
.world-cup-2026 button:hover,
body[class*="worldcup2026"] button:hover,
body[class*="world-cup-2026"] button:hover,
.draw-page button:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 8px 16px rgba(76, 175, 80, 0.4);
}

/* متن‌ها */
.world-cup-2026 .text-black,
body[class*="worldcup2026"] .text-black,
body[class*="world-cup-2026"] .text-black,
.draw-page .text-black {
    color: var(--wc2026-text-white) !important;
}

.world-cup-2026 .text-primary,
body[class*="worldcup2026"] .text-primary,
body[class*="world-cup-2026"] .text-primary,
.draw-page .text-primary {
    color: var(--wc2026-text-primary) !important;
}

.world-cup-2026 .text-muted,
body[class*="worldcup2026"] .text-muted,
body[class*="world-cup-2026"] .text-muted,
.draw-page .text-muted {
    color: var(--wc2026-text-muted) !important;
}

.world-cup-2026 .text-white,
body[class*="worldcup2026"] .text-white,
body[class*="world-cup-2026"] .text-white,
.draw-page .text-white {
    color: var(--wc2026-text-white) !important;
}

/* هدر جام جهانی */
.worldcup-header,
.team-header,
.world-cup-hero {
    background: linear-gradient(120deg, #ff6f61, #ffa726);
    padding: 3rem 2rem;
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border-bottom: 10px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.worldcup-header::after,
.team-header::after,
.world-cup-hero::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 55%);
    bottom: -160px;
    left: calc(50% - 160px);
}

.worldcup-header h1,
.team-header h1,
.world-cup-hero h1 {
    color: var(--wc2026-text-white);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* گروه‌ها و تیم‌ها */
.group-item {
    margin-bottom: 0.5rem;
    border: var(--wc2026-border-width) solid transparent;
    border-radius: var(--wc2026-radius-small);
    overflow: hidden;
    background: rgba(0, 2, 53, 0.3);
    position: relative;
}

.group-item:nth-child(even) {
    border-radius: var(--wc2026-radius-small-alt);
}

.group-item:nth-child(3n) {
    border-radius: var(--wc2026-radius-small-3);
}

.group-item:nth-child(4n) {
    border-radius: var(--wc2026-radius-small-4);
}

.group-item::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--wc2026-bg-card);
    border: var(--wc2026-border-width) solid transparent;
    border-radius: var(--wc2026-radius-button);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.team-item:nth-child(even) {
    border-radius: var(--wc2026-radius-button-alt);
}

.team-item:nth-child(3n) {
    border-radius: var(--wc2026-radius-button-3);
}

.team-item:nth-child(4n) {
    border-radius: var(--wc2026-radius-button-4);
}

.team-item::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.team-item:hover::before {
    background: linear-gradient(135deg, var(--wc2026-border-yellow), var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow));
}

.team-item:hover {
    background: rgba(0, 2, 53, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(76, 175, 80, 0.4);
}

.team-option {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.92));
    border: var(--wc2026-border-width) solid transparent;
    border-radius: var(--wc2026-radius-button);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.25s;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    color: #333;
    position: relative;
}

.team-option:nth-child(even) {
    border-radius: var(--wc2026-radius-button-alt);
}

.team-option:nth-child(3n) {
    border-radius: var(--wc2026-radius-button-3);
}

.team-option:nth-child(4n) {
    border-radius: var(--wc2026-radius-button-4);
}

.team-option::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.team-option:hover::before {
    background: linear-gradient(135deg, var(--wc2026-border-yellow), var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow));
}

/* کارت‌های Swiper */
.worldcup-matches-swiper-card {
    background: var(--wc2026-bg-secondary) !important;
    border: var(--wc2026-border-width) solid transparent;
    border-radius: var(--wc2026-radius-card-alt) !important;
    position: relative;
    /*box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);*/
    backdrop-filter: blur(10px);
}

.worldcup-matches-swiper-card::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.match-card-swiper {
    background: var(--wc2026-bg-card);
    border: var(--wc2026-border-width) solid transparent;
    border-radius: var(--wc2026-radius-small);
    padding: 1rem;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    transition: all 0.3s ease;
    height: 100%;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    position: relative;
}

.match-card-swiper:nth-child(even) {
    border-radius: var(--wc2026-radius-small-alt);
}

.match-card-swiper:nth-child(3n) {
    border-radius: var(--wc2026-radius-small-3);
}

.match-card-swiper:nth-child(4n) {
    border-radius: var(--wc2026-radius-small-4);
}

.match-card-swiper::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.match-card-swiper:hover::before {
    background: linear-gradient(135deg, var(--wc2026-border-yellow), var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow));
}

.match-card-swiper:hover {
    background: rgba(0, 2, 53, 0.6);
    box-shadow: 0 12px 22px rgba(76, 175, 80, 0.4);
    transform: translateY(-3px);
}

.match-card-swiper .match-row-1 .group-name {
    color: var(--wc2026-text-primary);
}

.match-card-swiper .match-score-display {
    color: var(--wc2026-text-primary);
}

.matches-filter-tab {
    border: var(--wc2026-border-width) solid transparent;
    border-radius: var(--wc2026-radius-button);
    transition: all 0.3s ease;
    position: relative;
    padding: 0 1rem;
}

.matches-filter-tab:nth-child(even) {
    border-radius: var(--wc2026-radius-button-alt);
}

.matches-filter-tab:nth-child(3n) {
    border-radius: var(--wc2026-radius-button-3);
}

.matches-filter-tab:nth-child(4n) {
    border-radius: var(--wc2026-radius-button-4);
}

.matches-filter-tab::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.matches-filter-tab:hover::before {
    background: linear-gradient(135deg, var(--wc2026-border-yellow), var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow));
}

.matches-filter-tab.active {
    background: linear-gradient(120deg, #ff6f61, #ffa726);
    border-color: transparent;
    color: var(--wc2026-text-white);
    box-shadow: 0 4px 12px rgba(255, 167, 38, 0.4);
}

.matches-swiper-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.matches-swiper-nav {
    border: var(--wc2026-border-width) solid transparent;
    border-radius: 2rem 0 2rem 0;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matches-swiper-nav.prev {
    border-radius: 0 2rem 0 2rem;
}

.matches-swiper-nav::before {
    content: '';
    position: absolute;
    inset: calc(-1 * var(--wc2026-border-width));
    border-radius: inherit;
    padding: var(--wc2026-border-width);
    background: linear-gradient(135deg, var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow), var(--wc2026-border-green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.matches-swiper-nav:hover::before {
    background: linear-gradient(135deg, var(--wc2026-border-yellow), var(--wc2026-border-green), var(--wc2026-border-white), var(--wc2026-border-yellow));
}

.matches-swiper-nav:hover {
    background: linear-gradient(120deg, #ff6f61, #ffa726);
}

/* Hover effects */
.news2:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* روشن‌تر کردن رنگ متن‌ها در کارت‌ها */
.world-cup-2026 .card p,
body[class*="worldcup2026"] .card p,
body[class*="world-cup-2026"] .card p,
.draw-page .card p,
.world-cup-2026 .card span,
body[class*="worldcup2026"] .card span,
body[class*="world-cup-2026"] .card span,
.draw-page .card span,
.world-cup-2026 .card div,
body[class*="worldcup2026"] .card div,
body[class*="world-cup-2026"] .card div,
.draw-page .card div {
    color: rgba(255, 255, 255, 0.95) !important;
}

.world-cup-2026 .card h1,
.world-cup-2026 .card h2,
.world-cup-2026 .card h3,
.world-cup-2026 .card h4,
body[class*="worldcup2026"] .card h1,
body[class*="worldcup2026"] .card h2,
body[class*="worldcup2026"] .card h3,
body[class*="worldcup2026"] .card h4,
body[class*="world-cup-2026"] .card h1,
body[class*="world-cup-2026"] .card h2,
body[class*="world-cup-2026"] .card h3,
body[class*="world-cup-2026"] .card h4,
.draw-page .card h1,
.draw-page .card h2,
.draw-page .card h3,
.draw-page .card h4 {
    color: #FFFFFF !important;
}

/* padding بیشتر برای دکمه‌های خاص */
.world-cup-2026 .btn-primary,
body[class*="worldcup2026"] .btn-primary,
body[class*="world-cup-2026"] .btn-primary,
.draw-page .btn-primary,
.world-cup-2026 .btn-success,
body[class*="worldcup2026"] .btn-success,
body[class*="world-cup-2026"] .btn-success,
.draw-page .btn-success,
.world-cup-2026 .btn-warning,
body[class*="worldcup2026"] .btn-warning,
body[class*="world-cup-2026"] .btn-warning,
.draw-page .btn-warning {
    padding: 0.875rem 2rem !important;
}

/* استایل شخصی اسکرول برای فیلتر گروه‌ها - هماهنگ با تم جام جهانی 2026 */
.matches-filter-tabs {
    scrollbar-width: thin !important;
    scrollbar-color: #4caf50 rgba(255, 255, 255, 0.15) !important;
}

.matches-filter-tabs::-webkit-scrollbar {
    height: 8px !important;
    display: block !important;
    visibility: visible !important;
    -webkit-appearance: none !important;
}

.matches-filter-tabs::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1) !important;
}

.matches-filter-tabs::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2) !important;
}

.matches-filter-tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.matches-filter-tabs::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4caf50, #ffd700, #ffffff, #4caf50) !important;
    background-size: 200% 100% !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    min-height: 8px !important;
}

.matches-filter-tabs::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #66bb6a, #ffeb3b, #ffffff, #66bb6a) !important;
    background-size: 200% 100% !important;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.5) !important;
    transform: scaleY(1.1) !important;
}

.matches-filter-tabs::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #388e3c, #fbc02d, #ffffff, #388e3c) !important;
    background-size: 200% 100% !important;
}

/* برای Firefox */
.matches-filter-tabs {
    scrollbar-width: thin !important;
    scrollbar-color: #4caf50 rgba(255, 255, 255, 0.15) !important;
}

/* Responsive */
@media (max-width: 575px) {
    .match-card-swiper {
        width: 260px;
        min-width: 260px;
        max-width: 260px;
    }
}
.swiper-pagination .swiper-pagination-bullet{
    background: var(--wc2026-text-primary) !important;
}
