/*
Theme Name: Hidden Fifty
Theme URI: 
Description: Thème pour le jeu Hidden Fifty - Trouvez les 50 sportifs cachés
Author: 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hidden-fifty
*/

/* Variables */
:root {
    --primary-color: #ff4b2b;
    --secondary-color: #ff6b3d;
    --yellow-color: #ffab22;
    --font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --text-color: #ffffff;
    --background-color: #1a1a1a;
    --header-icon-size: 24px;

    --max-width: 600px;
    --max-width-small: 300px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.45;
    color: var(--text-color);
    font-size: 1rem;
    background-color: var(--background-color);
    background-image: url('assets/images/brick-texture.png');
    /*background-attachment: fixed;*/
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

img {
    max-width: 100%;
}

/* Utility Classes */
.mb-0 {
    margin-bottom: 0 !important;
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

ul {
    margin-top: 5px;
}

ul li {
    margin-left: 1.25rem;
}

button,
input,
textarea {
    font-size: 1rem;
}


.gap10 {
    gap: 10px;
}

.gap20 {
    gap: 20px;
}



.d-flex {
    display: flex;
}

.d-flex-column {
    flex-direction: column;
}

.d-flex-center {
    align-items: center;
    justify-content: center;
}


.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

/* Styles de la page d'accueil */
body.home {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1rem;
}

.home-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.home-container .logo-container img {
    max-width: 350px;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.home-container .btn {
    animation: fadeIn 0.3s ease;
    animation-delay: 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.home-container .logo-papy {
    animation: fadeIn 0.3s ease;
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.neon-logo {
    width: 100%;
    max-width: 350px;
    font-size: 3.5rem;
    color: var(--primary-color);
    text-shadow: 
        0 0 7px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 21px var(--primary-color),
        0 0 42px var(--secondary-color);
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.game-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.challenge-text {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Base Button Style */
.btn {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 
        0 10px 30px 10px rgba(255, 75, 43, 0.3),
        0 20px 100px 50px rgba(255, 75, 43, 0.1);
}

.btn svg {
    width: 0.8em;
    height: 0.8em;
    fill: currentColor;
    margin-top: -4px;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 
        0 15px 50px 15px rgba(255, 75, 43, 0.4),
        0 30px 150px 60px rgba(255, 75, 43, 0.15);
}

/* Button Variants */

.btn-yellow {
    background-color: var(--yellow-color);
    box-shadow: 
        0 10px 30px 10px rgba(255, 241, 43, 0.3),
        0 20px 100px 50px rgba(255, 251, 43, 0.1);
}
.btn-yellow:hover {
    background-color: #ffb844;
    box-shadow: 
        0 10px 30px 10px rgba(255, 241, 43, 0.4),
        0 20px 100px 50px rgba(255, 251, 43, 0.15);
}

.btn-large {
    font-size: 1.2rem;
}

.btn-lg {
    width: 100%;
    max-width: var(--max-width-small);
    margin-top: 2rem;
}

.btn-full {
    width: 100%;
    margin-top: 2rem;
}

.btn-location {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: none;
    box-shadow: none;
    padding: 1rem;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 400;
    min-height: 80px;
}

.btn-location:hover,
.btn-location.selected {
    background: rgba(255, 75, 43, 0.2);
    border-color: var(--primary-color);
    transform: none;
    box-shadow: none;
}

.btn-location.selected {
    border-color: var(--yellow-color);
    background: rgba(255, 241, 43, 0.2);
}

.site-footer {
    margin-top: 1rem;
    font-size: .6rem;
    opacity: .5;
}

.footer-branding {
    text-align: center;
    color: var(--text-color);
    margin-top: 3rem;
}

.footer-branding img {
    max-width: 150px;
}

.cooked-with-love {
    font-size: .8rem;
    margin-bottom: 0.5rem;
}

/* Game Interface */
.game-interface {
    min-height: 100vh;
    min-height: calc(100vh - 6rem);
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 6rem;
    /*
    padding-left: 1rem;
    padding-right: 1rem;
    */
    overflow: hidden;
    width: 100%;
}

/* Game Progress */
.game-progress {
    display: none;
}

/* Steps Navigation */
.step-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.step-dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: #000;
    border: 5px solid var(--primary-color);
    opacity: 0.5;
    cursor: default;
    transition: all 0.3s ease;
}

.step-dot.active {
    opacity: 1;
}

.step-dot.active ~ .step-dot {
    cursor: default;
}

.step-dot.active,
.step-dot:not(.active) {
    cursor: pointer;
}

.step-dot:hover:not(.active ~ .step-dot) {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 75, 43, 0.3);
}

/* Game Steps */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 1rem 1rem 2rem 1rem;
    width: 100%;
    background-color: var(--background-color);
    background-image: url('assets/images/brick-texture.png');
    /*background-attachment: fixed;*/
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    /*visibility: hidden;*/
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100vw;
}

.step.active {
    /*visibility: visible;*/
    transform: translateX(0);
}

.step.completed {
    /*visibility: visible;*/
    transform: translateX(0);
}

.logo-papy {
    width: 120px;
    height: 120px;
    margin: 0 0 1rem;
    animation: fadeIn 0.3s ease;
}

.step-title {
    color: var(--text-color);
    line-height: 1.35;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 320px;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.step-title .lead {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: .25rem;
}

/* Form Elements */
.game-form input[type="text"],
.game-form input[type="email"] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    color: var(--text-color);
    padding: 1rem;
    width: 100%;
    max-width: var(--max-width);
    text-align: center;
}

.game-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Game Button */
.game-button {
    /* Ces styles seront remplacés par .btn */
}

/* Game Help Text */
.game-help {
    color: var(--text-color);
    /*
    font-size: 0.8rem;
    */
    opacity: 0.7;
    margin-top: 2rem;
    text-align: center;
    max-width: 320px;
}

.game-help strong {
    color: var(--primary-color);
}

/* Hide default step styles */


.score-display {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
}

/* Messages */
.message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.alert-error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.alert-success {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #00ff00;
}

.alert-info {
    background-color: rgba(0, 0, 255, 0.1);
    border: 1px solid rgba(0, 0, 255, 0.2);
    color: #4444ff;
}

/* Notifications */
.alert {
    padding: 15px 25px;
}

.game-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    max-width: 350px;
    animation: slideIn 0.3s ease-out;
}

.alert-info,
.game-notification.info {
    border: 1px solid #007bff;
    background: rgba(0,123,255,.74);
    color: #fff;
}

.alert-error,
.game-notification.error {
    /*
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    color: #ef4444;
    */
    border: 1px solid #ef4444;
    background: rgba(153,27,27,.74);
    color: #fff;
}

.alert-success,
.game-notification.success {
    background-color: #dcfce7;
    border-left: 4px solid #22c55e;
    color: #166534;
    border: 1px solid #22c55e;
    background: rgba(27,153,74,.74);
    color: #fff;
}

.alert-warning,
.game-notification.warning {
    /*
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    */
    border: 1px solid #f59e0b;
    background: rgba(255,239,88,.74);
    color: #fff;
}

.alert-wip {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    max-width: var(--max-width);
    margin: 0 auto;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Step 2 - Zone Selection */
.zone-selection {
    max-width: var(--max-width);
    position: relative;
    perspective: 1000px;
    /*
    margin: 2rem 0;
    padding: 50px 0;
    */
    margin: 0;
    padding: 0;
}

.zone-selection .swiper {
    width: 100%;
    /*padding: 50px 0;*/
    padding: 0;
    overflow: visible;
}

.zone-selection .swiper-wrapper {
    transform-style: preserve-3d;
    align-items: center;
}

.zone-selection .swiper-slide {
    width: 300px;
    background-position: center;
    background-size: cover;
    transform-origin: center;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.zone-selection .swiper-slide-active {
    opacity: 1;
    transform: scale(1.1);
}

.zone-selection .swiper-slide-prev,
.zone-selection .swiper-slide-next {
    opacity: 0.7;
}

.zone-selection .zone-option {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
}

.zone-selection .zone-option.selected {
    border-color: var(--yellow-color);
    box-shadow: 0 0 15px rgba(255, 75, 43, 0.3);
}

.zone-selection .zone-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zone-selection .zone-option-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
}

.zone-selection .swiper-button-next,
.zone-selection .swiper-button-prev {
    color: var(--primary-color);
}

.zone-selection .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.zone-selection .swiper-pagination-bullet {
    background: var(--text-color);
}

.zone-selection .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.hidden {
    display: none;
}

/* Step 3 - Location Selection */
.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: var(--max-width);
    margin: 2rem 0;
}


/* Navigation Buttons */
.step-navigation-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-step {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-step:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Login/Register Form */
.login-register-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.login-register-form h2 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    animation: fadeIn 0.3s ease;
}

.register-form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: bold;
}

.form-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--text-color);
    padding: 1rem;
    font-size: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .form-group input {
        font-size: 1rem;
    }
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 75, 43, 0.2);
}

.register-form .button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    width: 100%;
    box-shadow: 
        0 10px 30px 10px rgba(255, 75, 43, 0.3),
        0 20px 100px 50px rgba(255, 75, 43, 0.1);
}

.register-form .button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 
        0 15px 50px 15px rgba(255, 75, 43, 0.4),
        0 30px 150px 60px rgba(255, 75, 43, 0.15);
}

/* Site Header */
.site-header {
    padding: 0 1rem;
    background-color: rgba(26, 26, 26, 0.92);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /*
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    */
    min-height: 80px;
    display: flex;
    width: 100%;
}

.site-header .container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.site-header .container a.header-25 {
    width: 25%;
    display: flex;
    align-items: center;
}

.site-header .container a:last-child {
    text-align: right;
}

.user-name {
    font-weight: 500;
}

.user-account {
    justify-content: flex-end;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.user-account:hover {
    color: var(--primary-color);
}

.user-account svg {
    width: var(--header-icon-size);
    height: var(--header-icon-size);
}

.user-score {
    justify-content: flex-start;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    text-decoration: none;
}

.user-score:hover {
    color: var(--primary-color);
}

/* Page Score */
.score-page {
    min-height: 100vh;
    padding: 6rem 2rem 2rem;
    padding: 6rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-header {
    text-align: center;
}
.score-header .logo-score {
    max-width: 172px;
}

.score-header h1 {
    color: var(--text-color);
    font-size: 1rem;
    margin-top: 1rem;
    text-transform: uppercase;
    animation: fadeIn 0.3s ease;
}
.score-header h2 {
    color: var(--text-color);
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.score-count {
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-color);
    animation: fadeIn 0.3s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.score-count-number {
    display: inline-block;
    margin-right: .25rem;
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
}

.found-athletes-wrapper {
    width: 100%;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.found-athletes-wrapper .bg-score-top {
    width: 100%;
    display: block;
}

.found-athletes-list {
    background: #fff url('assets/images/bg-score.jpg') repeat-y center top;
    background-size: 100% auto;
    margin-bottom: 3rem;
    width: 100%;
    padding: 0 3.5rem 2rem 4rem;
    /*max-width: 1200px;*/
    /*
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    */
}


.score-athlete {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
}


.score-athlete .athlete-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.score-athlete .athlete-info {
    color: #000;
}
.score-athlete .athlete-info h3,
.score-athlete .score-athlete-number {
    color: #000;
    font-family: "Covered By Your Grace", cursive;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 0;
    font-size: 2rem;
    text-transform: none;
    position: relative;
    top: -.65rem;
    margin-bottom: -1rem;
}

.score-athlete .score-athlete-number {
    top: 0;
    color: var(--primary-color);
}

.score-athlete .athlete-info h3::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 40px;
    background: transparent url(assets/images/check.svg) no-repeat center center;
    background-size: 100% auto;
    background-size: contain;
    position: relative;
    top: 10px;
    margin-right: 12px;
}

.score-athlete .athlete-info p {
    color: #000;
}

.athletes-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.athlete-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.athlete-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 75, 43, 0.3);
}

.athlete-card-nofx:hover {
    transform: none;
}

.athlete-image,
.athlete-image-result {
    /*
    width: 80px;
    height: 80px;
    border-radius: 50%;
    */
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.athlete-image-result {
    width: 180px;
    height: 180px;
    border: 4px solid #fff;
    margin-bottom: 2rem;
}

.athlete-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.athlete-info {
    flex-grow: 1;
    padding: 0;
}

.athlete-info h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}
.athlete-info-result h3 {
    color: var(--yellow-color);
    font-size: 1.8rem;
    text-transform: none;
}

.athlete-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.no-athletes {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-color);
}

.score-actions {
    position: relative;
    text-align: center;
    margin-top: 4rem;
    left: -2rem;
}

/* Style du lien score dans le header */
.user-score {
    text-decoration: none;
    color: inherit;
}

.user-score span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.user-score:hover span {
    transform: scale(1.1);
}

/* Header Logo sur la page Score */
.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    transition: transform 0.3s ease;
}

.header-logo:hover img {
    transform: scale(1.1);
}

.header-logo .logo-hidden-fifty {
    height: 70px;
    width: auto;
}

/* Styles pour l'écran de succès */
.success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: var(--background-color);
}

.success-screen.active {
    display: flex;
}

.success-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

.success-title {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-athlete {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.success-message {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.success-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.success-actions .btn {
    min-width: 200px;
}

/* Form Navigation */
.form-navigation,
.tabs-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 0.5rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.tabs-nav {
    animation: fadeIn 0.3s ease;
    opacity: 0;
    animation-fill-mode: forwards;
}

.form-nav-link,
.tab-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.form-nav-link:hover,
.tab-link:hover {
    opacity: 1;
}

.form-nav-link.active,
.tab-link.active {
    background-color: var(--primary-color);
    opacity: 1;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Form */
.login-form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.login-form .button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    width: 100%;
    box-shadow: 
        0 10px 30px 10px rgba(255, 75, 43, 0.3),
        0 20px 100px 50px rgba(255, 75, 43, 0.1);
}

.login-form .button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 
        0 15px 50px 15px rgba(255, 75, 43, 0.4),
        0 30px 150px 60px rgba(255, 75, 43, 0.15);
}

/* Reset Form */
.reset-form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.reset-form .button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    width: 100%;
    box-shadow: 
        0 10px 30px 10px rgba(255, 75, 43, 0.3),
        0 20px 100px 50px rgba(255, 75, 43, 0.1);
}

.reset-form .button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 
        0 15px 50px 15px rgba(255, 75, 43, 0.4),
        0 30px 150px 60px rgba(255, 75, 43, 0.15);
}

.form-description {
    color: var(--text-color);
    opacity: 0.8;
    text-align: center;
    margin-bottom: 1rem;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.form-link {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.form-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Formulaires de la page Mon Compte */
.account-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-form .form-group {
    margin-bottom: 1rem;
}

.account-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
}

.account-form input[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.account-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 75, 43, 0.2);
}

.athlete-card .athlete-info {
    width: 100%;
    padding: 1rem;
}

.athlete-card .athlete-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}
.score-page .athlete-card .athlete-info h3 {
    margin-bottom: 0.5rem;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Conteneur pour gérer le positionnement absolu des étapes */
.game-form {
    width: 100%;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* Style spécifique pour l'écran de succès */
#success-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    min-height: calc(100vh - 6rem);
    padding-top: 6rem;
    background-color: var(--background-color);
    background-image: url('assets/images/brick-texture.png');
    /*background-attachment: fixed;*/
    z-index: 990;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    display: flex;
    visibility: hidden;
}

#success-screen.active {
    transform: translateX(0);
    visibility: visible;
}

#success-screen img.success-image {
    opacity: 0;
    transform: scale(0.5) translateY(-20px);
    animation: popIn 0.6s ease-out forwards;
    animation-delay: 0.2s; /* Petit délai pour laisser le temps à la transition de slide de se terminer */
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(-20px);
    }
    50% {
        transform: scale(1.1) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#step1 input[type="text"] {
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

#step1 .btn {
    animation: fadeIn 0.3s ease;
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

#step1 .game-help {
    animation: fadeIn 0.3s ease;
    animation-delay: 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.step-back {
    display: block;
    margin-top: 1rem;
}

.step-back:hover {
    opacity: 1;
    color: var(--primary-color);
} 