/* ==========================================================================
   EA SPORTS FC MOBILE - HIGH QUALITY LIGHT ORANGE & GREEN LANDING PAGE
   ========================================================================== */

:root {
    --orange-primary: #FF5500;
    --orange-hover: #E64C00;
    --orange-soft: #FFF3EC;
    
    --green-neon: #00FF66;
    --green-dark: #00CC52;
    --green-glow: rgba(0, 255, 102, 0.4);
    
    --bg-light: #FFF9F5;
    --card-white: #FFFFFF;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    
    --border-color: #F1F5F9;
    --radius: 24px;
    --shadow: 0 20px 45px rgba(255, 85, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-light);
    background-image: radial-gradient(rgba(255, 85, 0, 0.1) 1px, transparent 1px);
    background-size: 28px 28px;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.page-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

/* Header & Custom Logo */
.logo-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fifa-logo-img {
    max-width: 240px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

/* Main Points Card */
.main-card-wrapper {
    perspective: 1000px;
}

.points-card {
    background: var(--card-white);
    border: 3px solid var(--orange-primary);
    border-radius: var(--radius);
    padding: 36px 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: floatCard 4s ease-in-out infinite alternate;
}

@keyframes floatCard {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-6px); }
}

.points-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--orange-primary), #FFAA00, var(--orange-primary));
}

/* Center FC Points Icon / Gem Logo */
.fc-points-wrapper {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fc-points-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 255, 102, 0.35));
    animation: pulseLogo 3s ease-in-out infinite alternate;
}

@keyframes pulseLogo {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Points Title */
.points-amount {
    font-size: 40px;
    font-weight: 900;
    color: #00E65B;
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.points-subtitle {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

/* 24-Hour Timer Box */
.timer-box {
    background: var(--orange-soft);
    border: 2px dashed rgba(255, 85, 0, 0.4);
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.timer-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.timer-values {
    font-size: 26px;
    font-weight: 900;
    color: var(--orange-primary);
    letter-spacing: 2px;
    font-family: 'Outfit', monospace;
}

/* Claim Button */
.btn-claim {
    width: 100%;
    background: linear-gradient(135deg, var(--orange-primary), #FF7700);
    color: #FFFFFF;
    border: none;
    border-radius: 16px;
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 28px rgba(255, 85, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-claim:hover {
    background: linear-gradient(135deg, var(--orange-hover), var(--orange-primary));
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(255, 85, 0, 0.5);
}

.btn-claim:active {
    transform: translateY(0);
}

/* Modal Overlay & Card */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #FFFFFF;
    border-radius: var(--radius);
    padding: 35px 25px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    left: 18px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--orange-soft);
    color: var(--orange-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.modal-icon.icon-success {
    background: #DEF7EC;
    color: #0E9F6E;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.input-group {
    margin-bottom: 20px;
}

.email-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    text-align: center;
}

.email-input:focus {
    border-color: var(--orange-primary);
    box-shadow: 0 0 12px rgba(255, 85, 0, 0.2);
}

.email-input.invalid {
    border-color: #EF4444 !important;
    background-color: #FEF2F2;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.3) !important;
}

.email-error-msg {
    color: #EF4444;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    animation: shake 0.3s ease;
}

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

.btn-submit, .btn-cpa-action {
    width: 100%;
    background: var(--orange-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.btn-submit:hover, .btn-cpa-action:hover {
    background: var(--orange-hover);
}

.hidden {
    display: none !important;
}

.modal-step.hidden {
    display: none;
}

.highlight-email {
    color: var(--orange-primary);
    font-weight: 700;
    word-break: break-all;
}

.modal-cpa-info {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
