/* Screen: Home - New Design */
@font-face {
    font-family: 'BeaufortW01-Heavy';
    src: url('police%20beaufort/Fonts_Package_Heavy/BeaufortW01-Heavy/web/font/BeaufortW01-Heavy.woff2') format('woff2'),
         url('police%20beaufort/Fonts_Package_Heavy/BeaufortW01-Heavy/web/font/BeaufortW01-Heavy.woff') format('woff'),
         url('police%20beaufort/Fonts_Package_Heavy/BeaufortW01-Heavy/web/font/BeaufortW01-Heavy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BeaufortW01-Regular';
    src: url('police%20beaufort/Fonts_Package_Regular/BeaufortW01-Regular/web/font/BeaufortW01-Regular.woff2') format('woff2'),
         url('police%20beaufort/Fonts_Package_Regular/BeaufortW01-Regular/web/font/BeaufortW01-Regular.woff') format('woff'),
         url('police%20beaufort/Fonts_Package_Regular/BeaufortW01-Regular/web/font/BeaufortW01-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.home-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    padding: var(--spacing-xl) var(--spacing-lg);
    min-height: 100vh;
}

/* Section supérieure - Texte d'introduction */
.home-intro {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.home-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'BeaufortW01-Heavy', sans-serif;
    margin-bottom: var(--spacing-md);
}

.home-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    max-width: 600px;
    font-family: Verdana, sans-serif;
    text-align: left;
}

.home-instruction {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    max-width: 500px;
    font-family: Verdana, sans-serif;
    text-align: left;
}

/* Section centrale - Affiche promotionnelle */
.home-promo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.promo-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}

.promo-image {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}

/* Texte en surimpression */
.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    text-align: center;
    z-index: 2;
}

.promo-title {
    margin-bottom: var(--spacing-md);
}

.beaufort {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.golf-tour {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-date {
    font-size: 24px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.promo-prize {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amount {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

.label {
    font-size: 14px;
    font-weight: 500;
    color: #014035;
}

/* Étiquettes jaunes */
.promo-labels {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    z-index: 3;
}

.promo-label {
    background-color: var(--accent-yellow);
    color: #014035;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    max-width: 120px;
}

/* Éléments en bas */
.promo-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 2;
}

.logo-cameroun,
.beer-can {
    height: 40px;
    width: auto;
}

.promo-slogan {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
}

/* Section inférieure - Bouton d'appel à l'action */
.home-cta {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.btn-cta {
    background-color: #014035;
    color: var(--white);
    border: none;
    padding: 18px 73px;
    font-size: 18px;
    font-weight: 600;
    font-family: Verdana, sans-serif;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-normal);
    min-width: 280px;
    letter-spacing: 1px;
}

.btn-cta:hover {
    background-color: #015a4a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Screen Header */
.screen-header {
    background-color: var(--primary-green);
    padding: var(--spacing-xl) var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* New Profile Header */
.profile-header {
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    display: inline-flex;
    /*padding: 20px 20px;*/
}

.profile-header-top {
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    display: inline-flex;
    margin-bottom: 6px;
}

.back-icon {
    width: 24px;
    height: 16px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.back-icon-inner {
    width: 24px;
    height: 24px;
    left: 0px;
    top: 0px;
    position: absolute;
}

.back-arrow {
    width: 6px;
    height: 12px;
    left: 9px;
    top: 6px;
    position: absolute;
    outline: 2px black solid;
    outline-offset: -1px;
}

.profile-title {
    color: black;
    font-size: 32px;
    font-family: BeaufortW01-Heavy, sans-serif;
    font-weight: 900;
    line-height: 32px;
    word-wrap: break-word;
}

.profile-tabs {
    align-self: stretch;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    display: inline-flex;
}

.profile-tab {
    flex: 1 1 0;
    padding: 2px 20px;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-flex;
    background: #F2F2F2;
}

.profile-tab.active {
    background: #014035;
}

.profile-tab.completed {
    background: #28a745;
}

.profile-tab-number {
    text-align: center;
    font-size: 20px;
    font-family: BeaufortW01-Regular, sans-serif;
    font-weight: 400;
    word-wrap: break-word;
}

.profile-tab.active .profile-tab-number {
    color: white;
}

.profile-tab:not(.active) .profile-tab-number {
    color: #787878;
}

.btn-back {
    background: none;
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.btn-back svg {
    flex-shrink: 0;
}

/* Screen Content */
.screen-content {
    padding: var(--spacing-xl) 0px 0px 0px;
    overflow-y: auto;
    margin: 0 auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.section-title {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.section-title-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-title-with-icon .section-title {
    margin-bottom: 0;
}

.section-title {
    font-family: 'BeaufortW01-Heavy', sans-serif;
}

.section-description {
    color: black;
    font-size: 14px;
    font-family: 'Verdana', sans-serif;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: var(--spacing-lg);
}

.section-description-primary {
    color: black;
    font-size: 16px;
    font-family: 'Verdana', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    margin-bottom: var(--spacing-lg);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--gray-light);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.progress-bar__fill {
    height: 100%;
    background-color: #FEA400;
    width: 0%;
    transition: width 0.3s ease;
}

/* Profile Image Container */
.profile-image-container {
    margin-top: var(--spacing-xl);
    text-align: center;
    display: none;
}

.profile-image-container.active {
    display: block;
}

.profile-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Profile Image */
.profile-image {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.image-placeholder {
    font-size: 80px;
    background-color: var(--gray-light);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin: var(--spacing-xl) auto;
}

/* Reveal Card Component */
.reveal-card {
    outline: 1px #787878 solid;
    /*border-top: 1px solid #787878;*/
    border-radius: 0;
    overflow: hidden;
    margin-top: -17px;
    animation: fadeInSlideUp 200ms ease-out;
    box-shadow: none;
}

.reveal-card__media {
    position: relative;
    height: 360px;
    overflow: hidden;
}

.reveal-card__media_pro {
    position: relative;
    height: 360px;
    overflow: hidden;
}

.reveal-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.reveal-card__media_pro img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.reveal-card__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #002921 67%);
    pointer-events: none;
}

.reveal-card__caption {
    position: absolute;
    bottom: 29%;
    margin-top: 10px;
    left: 0;
    right: 0;
    padding: 20px;
    /*background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);*/
    color: white;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    font-family: 'Verdana', sans-serif;
    word-wrap: break-word;
    /*margin: 0;*/
    text-align: left;
}

.reveal-card__caption_pro {
    position: absolute;
    bottom: 18%;
    margin-top: 10px;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    font-family: 'Verdana', sans-serif;
    word-wrap: break-word;
    /*margin: 0;*/
    text-align: left;
}

.reveal-card__caption_caddie {
    position: absolute;
    bottom: 18%;
    margin-top: 10px;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    font-family: 'Verdana', sans-serif;
    word-wrap: break-word;
    /*margin: 0;*/
    text-align: left;
}

.reveal-card__tags {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #002921 67%);
    padding: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
}

.reveal-card__tags li {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 13px;
    font-family: 'BeaufortW01-Regular', sans-serif;
    font-weight: 400;
    padding: 6px 14px;
    border-radius: 9999px;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Screen Footer */
.screen-footer {
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: var(--spacing-md);
    background-color: var(--white);
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Legal Text */
.legal-text {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

/* Confirmation Screen */
.confirmation-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    background-color: #4CAF50;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--white);
    margin-bottom: var(--spacing-xl);
}

.confirmation-title {
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: var(--spacing-lg);
}

.confirmation-text {
    font-size: 16px;
    color: var(--gray-dark);
    max-width: 400px;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .home-title {
        font-size: 22px;
    }
    
    .home-text {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .size-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .size-btn {
        padding: 9px var(--spacing-sm);
        font-size: 30px;
    }
    
    
    .btn-primary,
    .btn-primary-registration,
    .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .size-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
