/* Variables CSS pour la cohérence */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --boy-color: #4a90e2;
    --girl-color: #e24a90;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --background-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.3);
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-gradient);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title i {
    font-size: 2rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 400;
}

.header-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
    border: 2px solid transparent;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.header-btn:not(.special) {
    background: linear-gradient(135deg, var(--secondary-color), #95a5a6);
    color: white;
}

.header-btn.special {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    position: relative;
    overflow: hidden;
}

.header-btn.special::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.header-btn.special:hover::before {
    left: 100%;
}

.admin-actions {
    margin-top: 20px;
}

.logout-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Main content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Formulaire de prédiction */
.prediction-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.prediction-form:hover {
    box-shadow: var(--shadow-hover);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--warning-color);
    font-weight: 500;
}

/* Groupes de formulaire */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* Options de genre */
.gender-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.gender-option {
    position: relative;
}

.gender-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gender-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    border: 3px solid #e0e0e0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    background: white;
    text-align: center;
}

.gender-label:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.gender-label i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.gender-label span {
    font-weight: 600;
    font-size: 1.1rem;
}

.gender-label.boy i {
    color: var(--boy-color);
}

.gender-label.girl i {
    color: var(--girl-color);
}

.gender-option input[type="radio"]:checked + .gender-label {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gender-option input[type="radio"]:checked + .gender-label i {
    color: white;
}

/* Champ de saisie */
.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Bouton de soumission */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Prédiction déjà faite */
.prediction-done {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    text-align: center;
}

.done-header {
    margin-bottom: 30px;
}

.done-header i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 15px;
}

.done-header h2 {
    color: var(--success-color);
    font-size: 1.8rem;
}

.prediction-display {
    background: #f8f9fa;
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.prediction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.prediction-item:last-child {
    border-bottom: none;
}

.prediction-label {
    font-weight: 600;
    color: var(--text-dark);
}

.prediction-value {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.boy-color {
    color: var(--boy-color);
}

.girl-color {
    color: var(--girl-color);
}

.name-value {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.date-value {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.anti-cheat-message {
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Section statistiques */
.stats-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    text-align: center;
}

.stats-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stats-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--secondary-color), #45b7aa);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.stats-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Page des statistiques */
.stats-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stats-overview {
    display: flex;
    justify-content: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-card.total {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-icon {
    font-size: 3rem;
}

.stat-content {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 5px;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-header i {
    font-size: 2rem;
}

.stat-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.stat-card.boy {
    border-left: 5px solid var(--boy-color);
}

.stat-card.girl {
    border-left: 5px solid var(--girl-color);
}

.stat-card.boy .stat-header i,
.stat-card.boy .stat-header h3 {
    color: var(--boy-color);
}

.stat-card.girl .stat-header i,
.stat-card.girl .stat-header h3 {
    color: var(--girl-color);
}

.stat-details {
    text-align: center;
}

.stat-percentage {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 10px 0;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    transition: width 1s ease-in-out;
    border-radius: 5px;
}

.boy-bg {
    background: linear-gradient(90deg, var(--boy-color), #6bb6ff);
}

.girl-bg {
    background: linear-gradient(90deg, var(--girl-color), #ff6bb6);
}

.prediction-summary {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    text-align: center;
}

.prediction-summary h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.trend-text {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.trend-text i {
    font-size: 1.5rem;
}

.no-predictions {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    text-align: center;
}

.no-predictions i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.back-section {
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer p {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Messages d'alerte */
.message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    z-index: 1000;
    min-width: 300px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.message.success {
    background: var(--success-color);
    color: white;
}

.message.error {
    background: var(--danger-color);
    color: white;
}

.message.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
    pointer-events: none;
}

/* Notification de résultat */
.result-notification {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-dark);
}

.notification-content i {
    font-size: 2.5rem;
    color: var(--warning-color);
}

.notification-text {
    flex: 1;
}

.notification-text h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.notification-text p {
    margin: 0;
    opacity: 0.8;
}

.notification-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Styles pour l'administration */
.admin-login-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
}

.admin-login-form .form-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-login-form .form-header i {
    font-size: 3rem;
    color: var(--warning-color);
    margin-bottom: 15px;
}

.admin-form {
    margin-bottom: 30px;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input {
    flex: 1;
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.password-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

.admin-btn {
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
}

.admin-info {
    margin-bottom: 30px;
}

.info-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--secondary-color);
    display: flex;
    gap: 15px;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.info-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.info-content li {
    margin-bottom: 5px;
}

.flash-message {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.flash-message.success {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.flash-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.flash-message.info {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border: 1px solid #3498db;
}

/* Styles pour le tableau de bord admin */
.admin-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.section-header h2 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.no-result {
    text-align: center;
    padding: 40px;
}

.no-result i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.result-form {
    max-width: 600px;
    margin: 30px auto 0;
}

.form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:last-child {
    grid-template-columns: 1fr 1fr;
}

.result-btn {
    background: linear-gradient(135deg, var(--success-color), #27ae60);
    width: 100%;
    margin-top: 20px;
}

.result-display {
    display: grid;
    gap: 30px;
}

.result-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--success-color);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.result-header i {
    font-size: 1.5rem;
    color: var(--success-color);
}

.result-header h3 {
    color: var(--success-color);
    margin: 0;
}

.result-details {
    margin-bottom: 25px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: var(--text-dark);
}

.result-value {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.danger-btn {
    background: linear-gradient(135deg, var(--danger-color), #c0392b);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
}

.danger-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.view-results-btn {
    background: linear-gradient(135deg, var(--secondary-color), #45b7aa);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-results-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Section de réinitialisation */
.reset-section {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.1));
    border: 2px solid #e74c3c;
}

.danger-header h2 {
    color: #e74c3c !important;
}

.danger-warning {
    color: #e74c3c;
    font-weight: bold;
    margin: 5px 0 0 0;
    font-size: 0.95rem;
}

.reset-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.reset-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e74c3c;
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reset-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
}

.reset-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.reset-content h3 {
    color: #e74c3c;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.reset-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.reset-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

.reset-btn.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.reset-btn.danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    animation: pulse-danger 2s infinite;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

@keyframes pulse-danger {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
}

/* Section des gagnants */
.winners-section {
    margin-top: 30px;
}

.winners-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.winners-header i {
    font-size: 1.5rem;
    color: var(--warning-color);
}

.winners-header h3 {
    color: var(--warning-color);
    margin: 0;
}

.winners-list {
    display: grid;
    gap: 15px;
}

.winner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.winner-info {
    flex: 1;
}

.winner-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.winner-details {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 3px;
}

.winner-id {
    font-size: 0.8rem;
    color: #888;
    font-family: monospace;
}

.winner-badge {
    font-size: 1.5rem;
    color: var(--warning-color);
}

/* Tableau des prédictions */
.predictions-table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table-header {
    display: grid;
    grid-template-columns: 150px 1fr 1fr 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 0;
    font-weight: 600;
}

.table-header.with-result {
    grid-template-columns: 150px 1fr 1fr 150px 120px;
}

.table-row {
    display: grid;
    grid-template-columns: 150px 1fr 1fr 150px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: var(--transition);
}

.table-row.with-result {
    grid-template-columns: 150px 1fr 1fr 150px 120px;
}

.table-row:hover {
    background: rgba(78, 205, 196, 0.1);
}

.table-row.winner-row {
    background: rgba(255, 215, 0, 0.2);
    border-left: 5px solid #ffd700;
}

.table-col {
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.id-col {
    font-family: monospace;
    font-size: 0.9rem;
    color: #666;
}

.user-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.fingerprint-id {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #888;
    opacity: 0.7;
}

.gender-col .gender-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.gender-badge.boy {
    background: rgba(74, 144, 226, 0.2);
    color: var(--boy-color);
}

.gender-badge.girl {
    background: rgba(226, 74, 144, 0.2);
    color: var(--girl-color);
}

.name-col {
    font-weight: 600;
    color: var(--primary-color);
}

.date-col {
    font-size: 0.9rem;
}

.date {
    font-weight: 600;
}

.time {
    color: #666;
    font-size: 0.8rem;
}

.result-col {
    text-align: center;
}

.winner-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #d4926f;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.loser-badge {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Navigation admin */
.admin-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Fonctionnalité de recherche */
.search-container {
    margin-left: auto;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 35px 8px 35px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    width: 250px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.search-box i:first-child {
    position: absolute;
    left: 12px;
    color: #666;
}

.clear-search {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.clear-search:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .gender-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .prediction-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-content,
    .prediction-form,
    .prediction-done,
    .stats-section {
        padding: 25px;
    }
    
    .admin-section {
        padding: 20px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .table-col {
        padding: 5px 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .admin-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .form-row:last-child {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .search-input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .header-content,
    .prediction-form,
    .prediction-done,
    .stats-section {
        padding: 20px;
    }
}

/* Styles pour le jeu de course */
.game-status {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.status-header {
    text-align: center;
    margin-bottom: 25px;
}

.status-header h2 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.status-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    border-left: 5px solid var(--secondary-color);
    transition: var(--transition);
}

.status-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.status-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.status-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.status-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.status-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 5px;
}

/* Règles du jeu */
.game-rules {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.rules-header h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.rule-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* Actions du joueur */
.player-actions {
    margin-bottom: 30px;
}

.action-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 25px;
}

.action-card.warning {
    border-left: 5px solid var(--warning-color);
}

.action-card.success {
    border-left: 5px solid var(--success-color);
}

.action-card.primary {
    border-left: 5px solid var(--primary-color);
}

.action-card.special {
    border-left: 5px solid #9b59b6;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(142, 68, 173, 0.1));
    position: relative;
    overflow: hidden;
}

.action-card.special::before {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: sparkle 2s infinite ease-in-out;
}

.card-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.action-card.warning .card-icon {
    color: var(--warning-color);
}

.action-card.success .card-icon {
    color: var(--success-color);
}

.action-card.primary .card-icon {
    color: var(--primary-color);
}

.action-card.special .card-icon {
    color: #9b59b6;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
    margin-top: 15px;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.action-btn.success {
    background: linear-gradient(135deg, var(--success-color), #27ae60);
    color: white;
}

.action-btn.special {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    position: relative;
    overflow: hidden;
}

.action-btn.special::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.action-btn.special:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Classement aperçu */
.leaderboard-preview {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.leaderboard-header h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.leaderboard-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.leaderboard-item.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
}

.leaderboard-item.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #e5e5e5);
}

.leaderboard-item.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #d4926f);
}

.player-rank {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.player-info {
    flex: 1;
}

.player-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.player-details {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gender-icon {
    font-size: 1.2rem;
}

.player-progress {
    min-width: 120px;
    text-align: right;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 1s ease-in-out;
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Navigation du jeu */
.game-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Page de course */
.game-finished {
    background: linear-gradient(135deg, var(--success-color), #27ae60);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.finish-content i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.finish-content h2 {
    margin-bottom: 15px;
}

.player-sperm {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.sperm-header h2 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.sperm-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--border-radius);
}

.sperm-avatar {
    text-align: center;
    margin-bottom: 25px;
}

.sperm-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.sperm-icon.boy {
    color: var(--boy-color);
}

.sperm-icon.girl {
    color: var(--girl-color);
}

.sperm-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.sperm-status {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.sperm-status.winner {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: var(--text-dark);
}

.sperm-status.active {
    background: linear-gradient(135deg, var(--success-color), #27ae60);
    color: white;
}

.sperm-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    display: block;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-content .stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-content .stat-label {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Couleurs spécifiques pour chaque stat */
.stat-item:nth-child(1) {
    border-left: 4px solid #3498db; /* Position - Bleu */
}

.stat-item:nth-child(1) .stat-value {
    color: #3498db;
}

.stat-item:nth-child(2) {
    border-left: 4px solid #f1c40f; /* Énergie - Jaune */
}

.stat-item:nth-child(2) .stat-value {
    color: #f39c12;
}

.stat-item:nth-child(3) {
    border-left: 4px solid #e74c3c; /* Vitesse - Rouge */
}

.stat-item:nth-child(3) .stat-value {
    color: #e74c3c;
}

.stat-item:nth-child(4) {
    border-left: 4px solid #9b59b6; /* Endurance - Violet */
}

.stat-item:nth-child(4) .stat-value {
    color: #9b59b6;
}

.stat-item:nth-child(5) {
    border-left: 4px solid #27ae60; /* Chance - Vert */
}

.stat-item:nth-child(5) .stat-value {
    color: #27ae60;
}

/* Styles pour les stats du mini-jeu */
.minigame-stats {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(142, 68, 173, 0.1));
    border: 2px solid #9b59b6;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
}

.minigame-stats::before {
    content: '✨';
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 1.5rem;
    animation: sparkle 2s infinite ease-in-out;
}

.minigame-header {
    margin-bottom: 15px;
}

.minigame-header h4 {
    color: #9b59b6;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bonus-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.bonus-icon {
    font-size: 1.1rem;
}

.bonus-label {
    flex: 1;
    font-size: 0.9rem;
    color: #666;
}

.bonus-value {
    font-weight: bold;
    color: #9b59b6;
    font-size: 0.9rem;
}

.minigame-record {
    text-align: center;
    color: #666;
    border-top: 1px solid rgba(155, 89, 182, 0.2);
    padding-top: 10px;
    margin-top: 10px;
}

.minigame-record i {
    color: #9b59b6;
}

/* Bouton d'action pour le mini-jeu */
.minigame-action {
    margin-bottom: 25px;
}

.minigame-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.minigame-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
    color: white;
}

.minigame-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.minigame-btn:hover::before {
    left: 100%;
}

.minigame-btn .fas:first-child {
    font-size: 1.5rem;
    opacity: 0.9;
}

.minigame-btn .btn-text {
    flex: 1;
    text-align: left;
}

.minigame-btn .btn-text strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 3px;
}

.minigame-btn .btn-text small {
    font-size: 0.85rem;
    opacity: 0.9;
}

.minigame-btn .fas:last-child {
    font-size: 1.2rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.minigame-btn:hover .fas:last-child {
    transform: translateX(5px);
}

.progress-section {
    margin-bottom: 25px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.progress-percent {
    color: var(--primary-color);
}

.race-track {
    position: relative;
    height: 50px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: visible;
    margin: 20px 0;
    border-right: 15px solid transparent; /* Space for finish line */
}

.track-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 2s ease-in-out;
    position: relative;
    border-radius: 15px;
    z-index: 1;
}

.track-finish {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    z-index: 15;
    animation: eggPulse 2s ease-in-out infinite;
}

.player-position {
    position: absolute;
    top: -15px;
    height: calc(100% + 30px);
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 2s ease-in-out;
    z-index: 10;
    transform: translateX(-50%);
    cursor: pointer;
    pointer-events: all;
}

.player-position:hover {
    filter: drop-shadow(0 0 12px rgba(102, 126, 234, 0.6));
}

.sperm-runner {
    position: relative;
    font-size: 1.5rem;
    animation: wiggle 1s ease-in-out infinite;
    transform: scaleX(-1);
    z-index: 10;
}

@keyframes wiggle {
    0%, 100% { transform: scaleX(-1) rotate(0deg); }
    25% { transform: scaleX(-1) rotate(5deg); }
    75% { transform: scaleX(-1) rotate(-5deg); }
}

.sperm-runner.current-player {
    animation: wiggle 1s ease-in-out infinite, pulse-current 2s ease-in-out infinite;
    font-size: 1.8rem;
}

@keyframes pulse-current {
    0%, 100% { transform: scaleX(-1) scale(1); }
    50% { transform: scaleX(-1) scale(1.1); }
}

.other-player-marker {
    font-size: 1.2rem;
    opacity: 0.6;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleX(-1) scale(0.9);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.player-position:hover .other-player-marker {
    opacity: 1;
    font-size: 1.5rem;
    transform: scaleX(-1) scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: playerGlow 1.5s ease-in-out infinite;
}

.player-name-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    pointer-events: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 20px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5), 
                0 0 30px rgba(102, 126, 234, 0.3),
                0 0 0 3px rgba(255, 255, 255, 0.3) inset;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.player-name-tooltip.boy-runner {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    box-shadow: 0 12px 40px rgba(74, 144, 226, 0.6), 
                0 0 30px rgba(74, 144, 226, 0.4),
                0 0 0 3px rgba(255, 255, 255, 0.3) inset;
}

.player-name-tooltip.girl-runner {
    background: linear-gradient(135deg, #e24a90 0%, #c9255a 100%);
    box-shadow: 0 12px 40px rgba(226, 74, 144, 0.6), 
                0 0 30px rgba(226, 74, 144, 0.4),
                0 0 0 3px rgba(255, 255, 255, 0.3) inset;
}

.player-name-tooltip .runner-icon {
    font-size: 1.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: tooltipIconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.player-position:hover .player-name-tooltip {
    opacity: 1 !important;
    transform: translateX(-50%) scale(1) !important;
    animation: tooltipBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    z-index: 15;
}

.daily-action {
    text-align: center;
}

.move-btn {
    background: linear-gradient(135deg, var(--success-color), #27ae60);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.move-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.move-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.already-moved {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--success-color);
}

.already-moved i {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.wait-message {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}

/* Historique des mouvements */
.movement-history {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.history-header h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.history-day {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
}

.history-content {
    flex: 1;
}

.movement-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    font-weight: 600;
}

.energy-cost {
    color: #e74c3c;
    font-size: 0.9rem;
}

.event-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--warning-color);
    font-style: italic;
}

/* Classement complet */
.full-leaderboard {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.refresh-btn {
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.refresh-btn:hover {
    background: #45b7aa;
    transform: translateY(-1px);
}

.leaderboard-table {
    overflow-x: auto;
}

.table-header {
    display: grid;
    grid-template-columns: 60px 2fr 1fr 2fr 1fr;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin-bottom: 10px;
}

.table-row {
    display: grid;
    grid-template-columns: 60px 2fr 1fr 2fr 1fr;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    margin-bottom: 8px;
    transition: var(--transition);
    align-items: center;
}

.table-row:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

.table-row.current-player {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.col-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-gender {
    font-size: 1.2rem;
}

.mini-progress {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 1s ease-in-out;
}

.podium-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.8); }
}

/* Responsive pour le jeu */
@media (max-width: 768px) {
    .status-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .action-card {
        flex-direction: column;
        text-align: center;
    }
    
    .sperm-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .table-header > div,
    .table-row > div {
        padding: 5px;
        text-align: center;
    }
    
    .history-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .leaderboard-header {
        flex-direction: column;
        gap: 15px;
    }
}

/* Styles pour les nouveaux encarts statistiques */
.stats-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 30px 0;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.section-header {
    margin-bottom: 25px;
    text-align: center;
}

.section-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.popular-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 10px;
}

.popular-date strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Agenda des dates */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.date-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.date-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.popular-date-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    border-color: #f59e0b;
    position: relative;
}

.popular-date-card::before {
    content: '👑';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 1.5rem;
    background: #f59e0b;
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid white;
}

.date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.date-display {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.vote-count {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.voters-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 4px solid transparent;
}

.voter-item:nth-child(odd) {
    border-left-color: var(--primary-color);
}

.voter-name {
    font-weight: 500;
    color: var(--text-primary);
}

.voter-prediction {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Courbe de poids */
.weight-stats-summary {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.stat-item {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.weight-chart-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.weight-chart {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    position: relative;
    min-height: 350px;
}

.chart-y-axis {
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 60px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 10px;
}

.y-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.chart-area {
    margin-left: 60px;
    height: 300px;
    position: relative;
    background: linear-gradient(to top, 
        rgba(124, 58, 237, 0.1) 0%, 
        rgba(124, 58, 237, 0.05) 50%, 
        transparent 100%);
    border-radius: 8px;
}

.weight-predictions-list {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    border: 2px solid #e5e7eb;
}

.weight-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.weight-item:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateX(5px);
}

.weight-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.weight-value {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
}

.weight-user {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.weight-gender i {
    font-size: 1.2rem;
}

/* Responsive pour les nouveaux encarts */
@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .weight-chart-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .weight-stats-summary {
        gap: 10px;
    }
    
    .stat-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .chart-y-axis {
        width: 50px;
    }
    
    .chart-area {
        margin-left: 50px;
    }
    
    .date-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Styles pour la page de recherche de prédiction */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.search-info {
    margin-bottom: 30px;
}

.info-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.search-form {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.search-btn {
    background: linear-gradient(135deg, #7C3AED, #9333EA);
    width: 100%;
    margin-top: 20px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #6D28D9, #7C3AED);
    transform: translateY(-2px);
}

.search-result {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    animation: slideIn 0.5s ease;
}

.search-result.success {
    border-left: 4px solid var(--success-color);
}

.search-result.error {
    border-left: 4px solid var(--error-color);
}

.success-result {
    text-align: center;
}

.success-result i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 15px;
}

.success-result h3 {
    color: var(--success-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.prediction-details {
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    line-height: 1.8;
}

.error-result {
    text-align: center;
}

.error-result i {
    font-size: 3rem;
    color: var(--error-color);
    margin-bottom: 15px;
}

.error-result h3 {
    color: var(--error-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.help-text {
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    margin-top: 20px;
}

.help-text strong {
    color: var(--error-color);
    display: block;
    margin-bottom: 10px;
}

.help-text ul {
    margin: 0;
    padding-left: 20px;
}

.help-text li {
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.action-buttons {
    background: rgba(124, 58, 237, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid var(--primary-color);
}

.action-buttons h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.restore-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.restore-btn {
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
}

.restore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.game-btn {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
}

.game-btn:hover {
    background: linear-gradient(135deg, #ff5252, #26c6da);
}

.minigame-btn {
    background: linear-gradient(135deg, #ffd93d, #ff6b6b);
}

.minigame-btn:hover {
    background: linear-gradient(135deg, #ffcc02, #ff5252);
}

.restore-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.restore-info i {
    color: var(--primary-color);
}

/* Styles pour le dialogue d'avertissement mini-jeu */
.minigame-warning-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.minigame-warning-modal.show {
    opacity: 1;
}

.minigame-warning-modal .modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.minigame-warning-modal.show .modal-content {
    transform: translateY(0);
}

.warning-header {
    text-align: center;
    margin-bottom: 20px;
    color: #f39c12;
}

.warning-header i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.warning-header h3 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--text-primary);
}

.warning-body {
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
}

.warning-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.warning-actions button {
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.btn-play-minigame {
    background: linear-gradient(135deg, #ffd93d, #ff6b6b);
    color: white;
}

.btn-play-minigame:hover {
    background: linear-gradient(135deg, #ffcc02, #ff5252);
    transform: translateY(-2px);
}

.btn-skip-minigame {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.btn-skip-minigame:hover {
    background: linear-gradient(135deg, #0984e3, #0770d4);
    transform: translateY(-2px);
}

.btn-cancel {
    background: #95a5a6;
    color: white;
}

.btn-cancel:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Responsive pour le dialogue */
@media (max-width: 768px) {
    .minigame-warning-modal .modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .warning-actions {
        flex-direction: column;
    }
    
    .warning-actions button {
        min-width: auto;
    }
}

.navigation-section {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn {
    background: var(--card-bg);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour la recherche */
@media (max-width: 768px) {
    .search-container {
        padding: 15px;
    }
    
    .search-form {
        padding: 20px;
    }
    
    .navigation-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-btn {
        justify-content: center;
    }
}

/* Animation pour les éléments spéciaux */
@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes tooltipIconBounce {
    0% {
        transform: scale(0) rotate(-20deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Animation pour l'apparition des noms des joueurs */
@keyframes tooltipBounce {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
        filter: blur(8px);
    }
    50% {
        transform: scale(1.15) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
}

@keyframes playerGlow {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
    50% {
        filter: drop-shadow(0 4px 12px rgba(100, 200, 255, 0.5));
    }
}

@keyframes eggPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 200, 100, 0.4));
    }
    50% {
        transform: translateY(-50%) scale(1.15);
        filter: drop-shadow(0 0 20px rgba(255, 200, 100, 0.8));
    }
}

/* Styles pour les 3 compétences principales */
.main-stats {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.main-stats h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.main-stats i {
    color: var(--primary-color);
}

.competences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.competence-item {
    background: white;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.competence-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.competence-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    color: var(--primary-color);
}

.competence-value {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.competence-label {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .competences-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .main-stats {
        padding: 15px;
    }
    
    .competence-item {
        padding: 15px;
    }
    
    .competence-icon {
        font-size: 1.8rem;
    }
    
    .competence-value {
        font-size: 1.4rem;
    }
}

/* Styles pour la modal personnalisée */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.modal.visible .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-header i {
    font-size: 1.8rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.modal-body {
    padding: 25px;
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.confirmation-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.confirm-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
}

.confirm-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.confirm-label {
    font-weight: 600;
    color: #666;
}

.confirm-value {
    font-weight: 700;
    color: var(--text-dark);
}

.warning-text {
    color: var(--warning-color) !important;
    font-weight: 600;
    font-size: 0.9rem !important;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(243, 156, 18, 0.1);
    padding: 10px;
    border-radius: 8px;
}

.modal-footer {
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid #e0e0e0;
}

.modal-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.modal-btn.secondary {
    background: #e0e0e0;
    color: var(--text-dark);
}

.modal-btn.secondary:hover {
    background: #d0d0d0;
}
/* Birth List Banner */
.birth-list-banner {
    margin: 20px 0;
    text-align: center;
}

.birth-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.birth-list-btn::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: left 0.6s;
}

.birth-list-btn:hover::before {
    left: 100%;
}

.birth-list-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 165, 0, 0.6);
}

.birth-list-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.birth-list-btn i:first-child {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
