.big-vote-card {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(100, 200, 255, 0.4);
    border-radius: 25px;
    padding: 3rem;
    margin: 3rem auto;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.big-vote-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(100, 200, 255, 0.3), 
        rgba(100, 200, 255, 0.1), 
        rgba(100, 200, 255, 0.3)
    );
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.big-vote-card:hover::before {
    opacity: 1;
}

/* Carte récompenses avec bordure dorée */
.big-vote-card.rewards-card {
    border-color: rgba(212, 175, 55, 0.4);
}

.big-vote-card.rewards-card::before {
    background: linear-gradient(45deg, 
        rgba(212, 175, 55, 0.3), 
        rgba(212, 175, 55, 0.1), 
        rgba(212, 175, 55, 0.3)
    );
}

/* Titre de la grande carte */
.big-card-title {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: bolder;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.6);
}

.rewards-card .big-card-title {
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* Sous-titre */
.big-card-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

/* Grille des petites cartes à l'intérieur */
.small-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Petites cartes à l'intérieur - "Pourquoi Voter" */
.small-vote-card {
    background: rgba(30, 30, 30, 0.6);
    border: 2px solid rgba(100, 200, 255, 0.3);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.small-vote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 200, 255, 0.1), transparent);
    transition: left 0.5s;
}

.small-vote-card:hover::before {
    left: 100%;
}

.small-vote-card:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 200, 255, 0.6);
    box-shadow: 0 12px 30px rgba(100, 200, 255, 0.3);
}

/* Icône des petites cartes */
.small-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #315879 0%, #3f79a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.small-vote-card:hover .small-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.small-vote-card h3 {
    font-size: 1.5rem;
    color: #64c8ff;
    margin-bottom: 1rem;
    font-weight: bolder;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.small-vote-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Petites cartes de récompenses */
.small-reward-card {
    background: rgba(30, 30, 30, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.small-reward-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.small-reward-card:hover::before {
    left: 100%;
}

.small-reward-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

.reward-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.small-reward-card h4 {
    font-size: 1.4rem;
    color: #d4af37;
    margin-bottom: 0.8rem;
    font-weight: bolder;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.small-reward-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== RESPONSIVE VOTE ===== */
@media (max-width: 768px) {
    .big-vote-card {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
    }

    .big-card-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .big-card-subtitle {
        font-size: 1rem;
    }

    .small-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .small-vote-card,
    .small-reward-card {
        padding: 1.5rem;
    }

    .small-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .small-vote-card h3 {
        font-size: 1.3rem;
    }

    .small-vote-card p,
    .small-reward-card p {
        font-size: 0.95rem;
    }
}

.rewards-card .small-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
    max-width: 800px; /* Limite la largeur totale */
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .rewards-card .small-cards-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .small-reward-card {
        max-width: 100%;
    }
}