/* === GAME CONTAINER REFONTE === */
.game-wrapper {
    max-width: 1400px;
    margin: 1rem auto;
    padding: 1rem;
    box-sizing: border-box;
}

.simple-game {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    height: 600px;
    max-height: 600px;
}

@media (max-width: 1024px) {
    .simple-game {
        grid-template-columns: 1fr;
        grid-template-rows: auto 400px;
        height: auto;
        max-height: none;
    }
}

/* === SECTION TITRE === */
.title-section {
    text-align: center;
    margin: 8rem auto 4rem;
    max-width: 800px;
    padding: 0 2rem;
}

.game-title {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    opacity: 0.6;
}

.game-status {
    margin-top: 1.5rem;
}

.status-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
    animation: gentle-pulse 3s infinite;
}

@keyframes gentle-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
}

/* === SECTION PHOTO === */
.photo-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
    overflow-y: auto;
}


/* === EN-TÊTE FUSIONNÉ === */
.game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 0.75rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    gap: 1rem;
}

.country-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
    text-align: left;
}

.score-display-horizontal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
    min-width: 80px;
    justify-content: center;
}

.score-display-horizontal.updated {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.score-value {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.score-value.updated {
    transform: scale(1.2);
}

.score-separator {
    opacity: 0.8;
    font-size: 1.1rem;
}

.score-total {
    opacity: 0.9;
    font-size: 1.1rem;
}

@media (max-width: 640px) {
    .game-header {
        align-items: center;
    }
    
    .country-question {
        font-size: 1rem;
        text-align: center;
    }
    
    .score-display-horizontal {
        padding: 0rem 0rem;
    }
    
    .score-value {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .simple-game {
        grid-template-rows: 300px auto;
    }
    
    .map-section {
        height: 300px;
    }
    
    #world-map {
        height: 300px;
    }
}

.photo-section:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 
        0 15px 50px rgba(124, 58, 237, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: translateY(-2px);
}

.current-photo {
    text-align: center;
    position: relative;
}

.photo-counter {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    z-index: 10;
}

#current-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

#current-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

@media (max-width: 1024px) {
    #current-image {
        height: 200px;
    }
}

@media (max-width: 640px) {
    #current-image {
        height: 180px;
    }
}

.image-zoom-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.current-photo:hover .image-zoom-hint {
    opacity: 1;
}

/* === FORMULAIRE === */
.country-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

#country-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-section-alt);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 0.75rem;
}

#country-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

@media (max-width: 640px) {
    #country-input {
        padding: 0.6rem 0.75rem;
        font-size: 0.95rem;
    }
}

#country-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* === SUGGESTIONS === */
.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-section-alt);
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.suggestion:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
}

.suggestion:last-child {
    border-bottom: none;
}

.suggestion:last-child {
    border-bottom: none;
}

/* === BOUTONS === */
.validate-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 640px) {
    .validate-btn {
        padding: 0.65rem 0.75rem;
        font-size: 0.95rem;
    }
}

.validate-btn .validate-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.validate-btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.validate-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.validate-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.validate-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* === EFFET DE SUCCÈS === */
.validate-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important; /* Garder vert pour succès — feedback visuel clair */
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6) !important;
}

.validate-btn.success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: success-sweep 0.6s ease-out;
}

@keyframes success-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.validate-btn.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}


/* === BOUTON SCORE FINAL === */
.final-score-section {
    text-align: center;
    margin-top: 1rem;
}

.final-score-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
        transform: scale(1.02);
    }
}

.final-score-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
}

/* === EFFET PARTICULES SUCCES === */
.success-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particle-burst 0.8s ease-out forwards;
}

@keyframes particle-burst {
    0% {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
    100% {
        opacity: 0;
        transform: scale(0) translate(var(--dx), var(--dy));
    }
}

/* === NAVIGATION PHOTOS === */
.photo-navigation {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

@media (max-width: 640px) {
    .photo-navigation {
        gap: 0.5rem;
    }
}

.nav-btn {
    flex: 1;
    padding: 0.6rem 0.75rem;
    background: var(--bg-section-alt);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    white-space: nowrap;
    min-width: 0;
}

@media (max-width: 640px) {
    .nav-btn {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
}

.nav-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* === BOUTONS D'ACTION === */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.submit-partial-btn {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    animation: gentle-pulse 3s infinite;
}

.submit-partial-btn.submit-enabled {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: pulse 2s infinite;
}

.submit-partial-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.submit-partial-btn.submit-enabled:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.submit-partial-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    animation: none;
}

.control-buttons {
    display: flex;
    gap: 0.75rem;
}

.control-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.undo-btn {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.undo-btn:hover:not(:disabled) {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    transform: translateY(-2px);
}

.reset-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.reset-btn:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: translateY(-2px);
}

.control-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* === SECTION CARTE REFONTE === */
.map-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
    contain: layout size;
}

#world-map {
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .map-section {
        height: 400px;
    }
    
    #world-map {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .map-section {
        height: 350px;
    }
    
    #world-map {
        height: 350px;
    }
}



/* === UTILITAIRES === */
.hidden {
    display: none !important;
}

/* === MAPLIBRE OVERRIDES === */
.maplibregl-canvas {
    outline: none;
}

.maplibregl-ctrl-group {
    border-radius: 0.5rem !important;
    overflow: hidden;
    box-shadow: var(--shadow-card) !important;
    border: 1px solid var(--border-color) !important;
}

.maplibregl-ctrl-group button {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

.maplibregl-ctrl-group button:hover {
    background: var(--bg-section-alt) !important;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.photo-section {
    animation: fadeInUp 0.6s ease-out;
}

.map-section {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.validate-btn:not(:disabled):hover {
    animation: pulse 2s infinite;
}

/* === RESPONSIVE REFONTE === */
@media (max-width: 1024px) {
    .game-wrapper {
        padding: 0.75rem;
    }
    
    .simple-game {
        gap: 1rem;
    }
    
    .photo-section {
        height: auto;
        overflow-y: visible;
    }
}

@media (max-width: 640px) {
    .game-wrapper {
        padding: 0.5rem;
    }
    
    .simple-game {
        gap: 0.75rem;
        grid-template-rows: 350px auto;
    }
}

@media (max-width: 768px) {
    .game-title {
        font-size: 2rem;
    }

    .game-description {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .title-section {
        margin: 10 auto 1.5rem;
        padding: 0 1rem;
    }

    .game-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .game-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .status-badge {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .game-wrapper {
        margin: 0.5rem;
        padding: 0.5rem;
    }
    
    .simple-game {
        gap: 0.75rem;
    }
    
    .photo-section {
        padding: 1rem;
    }
}

/* === SCROLLBAR CUSTOM === */
.suggestions::-webkit-scrollbar {
    width: 6px;
}

.suggestions::-webkit-scrollbar-track {
    background: var(--bg-section-alt);
}

.suggestions::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.suggestions::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* === MODALS === */
.results-modal,
.completion-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: -1;
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 1.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    animation: modalAppear 0.3s ease-out;
    margin: auto;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.close:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.modal-body {
    padding: 2rem;
}

#results-content {
    text-align: center;
    margin-bottom: 2rem;
}

/* === AFFICHAGE DU SCORE === */
.score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.score-circle {
    background: var(--gradient-primary);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.score-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
}

.score-total {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.score-percentage {
    font-size: 2rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.score-percentage.perfect {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.score-percentage.excellent {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.score-percentage.good {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.score-percentage.average {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.score-percentage.beginner {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.score-percentage.learning {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

/* === MESSAGE DE PERFORMANCE === */
.performance-message {
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.performance-message.perfect {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.performance-message.excellent {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.performance-message.good {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
}

.performance-message.average {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.performance-message.beginner {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.performance-message.learning {
    background: rgba(107, 114, 128, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.3);
    color: #6b7280;
}

/* === DÉTAILS DU SCORE === */
.score-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    background: var(--bg-section-alt);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.detail-icon {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

/* === SECTION NFT === */
.nft-eligible-section {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.nft-eligible-section h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.nft-tier {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.no-nft-section {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.no-nft-section p {
    color: #f59e0b;
    font-weight: 600;
    margin: 0;
}

.nft-coming-soon-section {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.nft-coming-soon-section h3 {
    color: #10b981;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.nft-coming-soon-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.wallet-form {
    background: var(--bg-section-alt);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.wallet-form h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.wallet-input-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

#wallet-address {
    flex: 1;
    padding: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

#wallet-address:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.claim-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* === RESPONSIVE MODAL === */
@media (max-width: 640px) {
    .results-modal,
    .completion-modal {
        padding: 1rem;
    }
    
    .modal-content {
        max-width: 100%;
        width: 100%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .wallet-input-group {
        flex-direction: column;
    }
    
    .claim-btn {
        width: 100%;
    }
}

/* === MODAL DE FIN DE JEU === */
.completion-modal .modal-content {
    max-width: 600px;
}

.completion-modal h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.completion-modal p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    margin: 1rem 0;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-submit {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-submit.btn-secondary {
    background: var(--bg-section-alt);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-submit.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

@media (max-width: 640px) {
    .modal-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-submit {
        width: 100%;
        max-width: 250px;
    }
}

/* === MODAL ZOOM IMAGE === */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-zoom-modal.active {
    opacity: 1;
    visibility: visible;
}

.zoom-container {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.zoom-image {
    display: block;
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: grab;
}

.zoom-image:active {
    cursor: grabbing;
}

.zoom-image.zoomed {
    cursor: move;
}

.zoom-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.zoom-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: rgba(124, 58, 237, 0.8);
    transform: scale(1.1);
}

.zoom-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(239, 68, 68, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-close:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.1);
}

.zoom-info {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-zoom-modal.active .zoom-info {
    opacity: 1;
}

/* === RESPONSIVE ZOOM === */
@media (max-width: 768px) {
    .zoom-controls {
        top: 0.5rem;
        right: 0.5rem;
        gap: 0.25rem;
    }
    
    .zoom-close {
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .zoom-btn,
    .zoom-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .zoom-info {
        bottom: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* === ANIMATIONS ZOOM === */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.zoom-container {
    animation: zoomIn 0.3s ease-out;
}

/* === SECTION RECOMPENSES (REPLIABLE) === */
.nft-rewards-section {
    margin: 6rem auto 4rem;
    padding: 0 2rem;
    max-width: 1800px;
}

.rewards-header {
    cursor: pointer;
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 1rem;
}

.rewards-header:hover {
    background: rgba(124, 58, 237, 0.03);
}

.rewards-toggle-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(124, 58, 237, 0.08);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(124, 58, 237, 0.15);
    transition: all 0.3s ease;
}

.rewards-header:hover .rewards-toggle-hint {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.3);
}

.rewards-toggle-hint .toggle-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.rewards-open .toggle-arrow {
    transform: rotate(180deg);
}

.rewards-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.rewards-open .rewards-collapsible {
    max-height: 3000px;
}

.rewards-container {
    background: var(--bg-card);
    border-radius: 2rem;
    padding: 4rem 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* === NFT LAUNCH INFO === */
.nft-launch-info {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.nft-launch-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.1) 50%, transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: rocket-bounce 2s infinite;
}

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

.nft-launch-info h3 {
    color: #10b981;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.participate-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.participate-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.rewards-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.rewards-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.reward-card {
    background: var(--bg-section-alt);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reward-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reward-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.reward-card:hover::before {
    transform: scaleX(1);
}

.reward-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reward-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reward-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.reward-requirement {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

/* Couleurs spéciales pour certaines cartes */
.reward-card.final {
    border-color: #f59e0b;
    background: linear-gradient(145deg, var(--bg-section-alt) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.reward-card.final::before {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.reward-card.final .reward-requirement {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.reward-card.tier-193 {
    border-color: #7c3aed;
    background: linear-gradient(145deg, var(--bg-section-alt) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.reward-card.tier-193::before {
    background: linear-gradient(90deg, #7c3aed 0%, #8b5cf6 100%);
}

.reward-card.tier-193 .reward-requirement {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.3);
}

.rewards-note {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.rewards-note p {
    margin: 0;
    font-size: 1rem;
}

.rewards-note strong {
    color: #f59e0b;
}

/* === RESPONSIVE REWARDS === */
@media (max-width: 768px) {
    .nft-rewards-section {
        margin: 4rem auto 3rem;
        padding: 0 1rem;
    }
    
    .rewards-container {
        padding: 1rem 1rem;
        border-radius: 1.5rem;
    }
    
    .rewards-title {
        font-size: 2rem;
    }
    
    .rewards-subtitle {
        font-size: 1.1rem;
    }
    
    .rewards-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .reward-card {
        padding: 1.5rem;
    }
    
    .reward-icon {
        font-size: 2.5rem;
    }
}
