.can-preview-section {
    position: relative;
    background: linear-gradient(135deg, 
                rgba(193, 32, 39, 0.05) 0%,
                rgba(0, 98, 51, 0.05) 50%,
                rgba(255, 204, 0, 0.03) 100%);
    border-top: 8px solid;
    border-bottom: 8px solid;
    border-image: linear-gradient(90deg, #c12027, #006233, #ffcc00) 1;
    overflow: hidden;
    isolation: isolate; 
}

/* Effet de lignes de terrain de football */
.can-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, transparent 95%, rgba(0, 98, 51, 0.05) 100%),
        linear-gradient(to right, transparent 95%, rgba(0, 98, 51, 0.05) 100%),
        linear-gradient(to right, transparent 95%, rgba(0, 98, 51, 0.05) 100%);
    background-size: 100% 33.33%;
    background-position: 0 0, 0 50%, 0 100%;
    background-repeat: no-repeat;
    pointer-events: none;
       z-index: -1; /* au lieu de 0 */

}

.can-preview-content {
    position: relative;
    z-index: 2;
    padding-right: 40px;
}

.can-preview-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c12027 0%, #006233 50%, #ffcc00 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 35px;
    box-shadow: 0 10px 25px rgba(193, 32, 39, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.can-preview-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.can-preview-badge:hover::before {
    left: 100%;
}

.can-preview-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.can-preview-title::after {
    content: '2025';
    position: absolute;
    top: -15px;
    right: -45px;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
    font-weight: 800;
    transform: rotate(15deg);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(15deg) translateY(0); }
    50% { transform: rotate(15deg) translateY(-10px); }
}

.can-preview-title .text-highlight {
    background: linear-gradient(135deg, #c12027, #006233);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 5px;
}

.can-preview-title .text-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c12027, #006233);
    border-radius: 2px;
}

.can-preview-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 35px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border-left: 5px solid #ffcc00;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.can-preview-description::before {
    content: '⚽';
    position: absolute;
    top: -15px;
    left: -15px;
    font-size: 2rem;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.can-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #c12027, #006233);
    transition: width 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(193, 32, 39, 0.15);
}

.highlight-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.highlight-item i {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #c12027, #006233);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.highlight-item:hover i {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, #ffcc00, #ff9900);
}

.highlight-item div {
    position: relative;
    z-index: 2;
}

.highlight-item h5 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.highlight-item:hover h5 {
    color: #c12027;
}

.highlight-item p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Boutons CAN améliorés */
.can-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.btn-can-primary {
    background: linear-gradient(135deg, #c12027 0%, #006233 100%);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(193, 32, 39, 0.3);
    border: 2px solid transparent;
}

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

.btn-can-primary:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(193, 32, 39, 0.5);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-can-outline {
    background: transparent;
    border: 3px solid #006233;
    color: #006233;
    padding: 18px 45px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-can-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 98, 51, 0.1), transparent);
    transition: 0.5s;
}

.btn-can-outline:hover {
    background: #006233;
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 98, 51, 0.3);
    border-color: #006233;
}

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

/* Image container amélioré */
.can-preview-image {
    position: relative;
    perspective: 1000px;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    border: 5px solid white;
}

.image-container:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(193, 32, 39, 0.1), rgba(0, 98, 51, 0.1));
    z-index: 1;
    border-radius: 20px;
}

.image-container img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: saturate(1.1) contrast(1.1);
}

.image-container:hover img {
    transform: scale(1.1) rotate(1deg);
    filter: saturate(1.3) contrast(1.2);
}

/* Drapeaux flottants améliorés */
.floating-flag {
    position: absolute;
    font-size: 3rem;
    animation: floatFlag 8s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    z-index: 2;
    cursor: pointer;
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.flag-1 {
    top: 30px;
    left: 30px;
    animation-delay: 0s;
    background: linear-gradient(135deg, #c12027, #ff6b6b);
}

.flag-2 {
    top: 30px;
    right: 30px;
    animation-delay: 2s;
    background: linear-gradient(135deg, #006233, #2a9d8f);
}

.flag-3 {
    bottom: 80px;
    left: 30px;
    animation-delay: 4s;
    background: linear-gradient(135deg, #0033cc, #0077b6);
}

.flag-4 {
    bottom: 80px;
    right: 30px;
    animation-delay: 6s;
    background: linear-gradient(135deg, #ffcc00, #ff9900);
}

@keyframes floatFlag {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-20px) rotate(10deg) scale(1.1);
    }
    75% {
        transform: translateY(10px) rotate(-5deg) scale(0.9);
    }
}

.floating-flag:hover {
    animation-play-state: paused;
    transform: scale(1.5) rotate(20deg) !important;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.floating-flag span {
    font-size: 2.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}
.floating-flag,
.football-ball {
    pointer-events: none;
}

/* Mini classement amélioré */
.mini-standing {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 25px;
    padding: 35px 30px;
    margin-top: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid #ffcc00;
    position: relative;
    overflow: hidden;
}

.mini-standing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #c12027, #ffcc00, #006233);
}

.mini-standing h6 {
    color: #ffcc00;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.mini-standing h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c12027, #ffcc00, #006233);
    border-radius: 2px;
}

.standing-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 10px;
}

.standing-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.standing-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-left: 5px solid #ffcc00;
}

.standing-item .position {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #c12027, #ff6b6b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(193, 32, 39, 0.3);
}

.standing-item:nth-child(2) .position {
    background: linear-gradient(135deg, #006233, #2a9d8f);
}

.standing-item:nth-child(3) .position {
    background: linear-gradient(135deg, #0033cc, #0077b6);
}

.standing-item .flag {
    font-size: 2rem;
    margin-right: 20px;
    width: 40px;
    text-align: center;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.standing-item .team {
    flex: 1;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.standing-item .odds {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #1a1a1a;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1.1rem;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
    transition: all 0.3s ease;
}

.standing-item:hover .odds {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ff9900, #ff6600);
}

/* Note informative */
.can-preview-content > p.text-muted {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(0, 98, 51, 0.1));
    border-radius: 12px;
    border-left: 4px solid #ffcc00;
    font-size: 0.95rem;
    margin-top: 20px;
}

.can-preview-content > p.text-muted i {
    color: #ffcc00;
    margin-right: 8px;
}

/* Effet de ballon de football qui bouge */
.football-ball {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
    animation: rollFootball 20s linear infinite;
    opacity: 0.7;
}

.football-ball::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, #1a1a1a 5%, transparent 5.5%),
        radial-gradient(circle at 70% 30%, #1a1a1a 5%, transparent 5.5%),
        radial-gradient(circle at 30% 70%, #1a1a1a 5%, transparent 5.5%),
        radial-gradient(circle at 70% 70%, #1a1a1a 5%, transparent 5.5%),
        radial-gradient(circle at 50% 50%, #1a1a1a 5%, transparent 5.5%);
    border-radius: 50%;
}

@keyframes rollFootball {
    0% {
        top: 10%;
        left: -100px;
        transform: rotate(0deg);
    }
    25% {
        top: 40%;
        left: 25%;
        transform: rotate(90deg);
    }
    50% {
        top: 10%;
        left: 50%;
        transform: rotate(180deg);
    }
    75% {
        top: 60%;
        left: 75%;
        transform: rotate(270deg);
    }
    100% {
        top: 10%;
        left: 100%;
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .can-preview-title {
        font-size: 3rem;
    }
    
    .can-preview-title::after {
        font-size: 1.5rem;
        right: -40px;
    }
}

@media (max-width: 992px) {
    .can-preview-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .can-preview-title {
        font-size: 2.5rem;
    }
    
    .can-preview-title::after {
        display: none;
    }
    
    .football-ball {
        display: none;
    }
}

@media (max-width: 768px) {
    .can-preview-section {
        padding: 60px 0;
    }
    
    .can-preview-title {
        font-size: 2.2rem;
    }
    
    .can-preview-description {
        font-size: 1.1rem;
        padding: 15px;
    }
    
    .highlight-item {
        padding: 20px;
    }
    
    .highlight-item i {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .btn-can-primary,
    .btn-can-outline {
        padding: 15px 30px;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .can-cta {
        flex-direction: column;
    }
    
    .floating-flag {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .floating-flag span {
        font-size: 1.8rem;
    }
    
    .image-container img {
        height: 350px;
    }
    
    .standing-item {
        padding: 15px;
    }
    
    .standing-item .position {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .standing-item .flag {
        font-size: 1.8rem;
    }
    
    .standing-item .team {
        font-size: 1rem;
    }
    
    .standing-item .odds {
        padding: 6px 15px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .can-preview-title {
        font-size: 1.8rem;
    }
    
    .can-preview-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .can-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-flag {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .floating-flag span {
        font-size: 1.3rem;
    }
    
    .image-container img {
        height: 280px;
    }
    
    .mini-standing {
        padding: 25px 20px;
    }
}

/* Hero Section CAN */
.can-hero-section {
    position: relative;
    padding: 180px 0 120px;
    color: white;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.can-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.can-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.can-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(193, 32, 39, 0.85) 0%,     /* Rouge Maroc */
                rgba(0, 98, 51, 0.85) 50%,      /* Vert Maroc */
                rgba(255, 255, 255, 0.8) 100%); /* Blanc */
    z-index: -1;
}

/* Drapeaux animés */
.flag {
    position: absolute;
    z-index: -1;
    opacity: 0.2;
    animation: floatFlag 20s ease-in-out infinite;
}

.flag img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.flag-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.flag-2 {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.flag-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes floatFlag {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(5deg);
    }
    66% {
        transform: translateY(30px) rotate(-5deg);
    }
}

.can-hero-content {
    position: relative;
    z-index: 2;
}

.can-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c12027, #006233);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(193, 32, 39, 0.4);
    animation: badgePulse 3s infinite;
}

.can-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.can-hero-title .text-highlight {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.can-hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 150px;
    transition: var(--transition);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2rem;
    color: #ffd700;
}

.info-card span {
    font-size: 1rem;
    font-weight: 500;
}

/* N C */

.can-nav-section {
    background: white;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.can-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-item {
    padding: 0;           /* Bootstrap gère */
    min-width: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 25px;
    border-radius: 10px;
    color: #fff;
    transition: var(--transition);
    min-width: 100px;
}
.nav-item:hover,
.nav-item.active {
    background: linear-gradient(135deg, #c12027, #006233);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(193, 32, 39, 0.3);
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.nav-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Group Cards */
.group-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.group-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.group-header {
    padding: 20px;
    color: white;
    text-align: center;
    font-weight: 700;
}

.group-a { background: linear-gradient(135deg, #c12027, #e63946); }
.group-b { background: linear-gradient(135deg, #006233, #2a9d8f); }
.group-c { background: linear-gradient(135deg, #0033cc, #0077b6); }
.group-d { background: linear-gradient(135deg, #ff6b6b, #ff9e00); }
.group-e { background: linear-gradient(135deg, #7209b7, #9d4edd); }
.group-f { background: linear-gradient(135deg, #38b000, #80b918); }

.group-teams {
    padding: 20px;
}

.team-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.team-item:hover {
    background: #f8f9fa;
    padding-left: 25px;
}

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

.team-item.winner {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
}

.team-item.eliminated {
    background: rgba(220, 53, 69, 0.05);
    opacity: 0.7;
}

.team-flag {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.team-name {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.team-points {
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: #006233;
    font-size: 0.9rem;
}

.group-matches {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
}

/* Stadium Cards */
.stadium-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.stadium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stadium-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.stadium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.stadium-capacity {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stadium-info {
    padding: 25px;
}

.stadium-info h4 {
    color: #c12027;
    font-weight: 600;
}

.stadium-matches {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.other-stadiums {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.stadium-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--radius);
    transition: var(--transition);
}

.stadium-mini:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.stadium-mini i {
    font-size: 1.5rem;
}

/* Tourism Cards */
.tourism-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.tourism-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tourism-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tourism-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.tourism-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(193, 32, 39, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tourism-info {
    padding: 25px;
}

.tourism-attractions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tourism-attractions .badge {
    padding: 5px 10px;
    font-weight: 500;
}

.practical-info {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.info-box {
    text-align: center;
    padding: 20px;
}

.info-box i {
    font-size: 2.5rem;
}

.info-box h5 {
    color: #c12027;
    margin-bottom: 10px;
}

/* Culture Cards */
.culture-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    gap: 20px;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.culture-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c12027, #006233);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.culture-icon i {
    font-size: 24px;
    color: white;
}

.culture-content {
    flex: 1;
}

.culture-content h4 {
    color: #c12027;
    margin-bottom: 15px;
}

.culture-content ul {
    list-style: none;
    padding-left: 0;
}

.culture-content li {
    padding: 5px 0;
    color: #666;
}

.culture-content li:before {
    content: "•";
    color: #c12027;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.cuisine-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cuisine-item {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.art-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

.art-item i {
    color: #c12027;
    font-size: 1.2rem;
}

.hospitality-tips {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tip {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .can-hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .can-hero-section {
        padding: 160px 0 100px;
        min-height: auto;
    }
    
    .can-hero-title {
        font-size: 2.5rem;
    }
    
    .can-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .can-hero-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .info-card {
        padding: 15px 20px;
        min-width: 120px;
    }
    
    .can-nav {
        gap: 5px;
    }
    
    .nav-item {
        padding: 10px 15px;
        min-width: 80px;
    }
    
    .nav-item i {
        font-size: 1.2rem;
    }
    
    .nav-item span {
        font-size: 0.8rem;
    }
    
    .flag {
        display: none;
    }
}

@media (max-width: 576px) {
    .can-hero-title {
        font-size: 2rem;
    }
    
    .can-hero-subtitle {
        font-size: 1rem;
    }
    
    .info-card {
        min-width: 100px;
        padding: 10px 15px;
    }
    
    .can-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        width: 100%;
        max-width: 200px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .nav-item i {
        margin-bottom: 0;
    }
}

