/* 
 * Game Analysis Page Styles
 * 
 * Custom styles specific to the game analysis page
 * These styles complement the design system and Tailwind CSS
 * Brand Colors: Navy (#04192C), Steel Blue (#184973), Red (#B8030D)
 */

/* ==========================================
   PAGE ANIMATIONS & EFFECTS
   ========================================== */

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-analysis-page-main {
    animation: fadeInUp 0.8s ease-out;
}

/* ==========================================
   FORM STYLING
   ========================================== */

/* Form sections with elegant styling */
.game-analysis-page-main .bg-\[\#EDEFF0\] {
    box-shadow: 0 2px 8px rgba(24, 73, 115, 0.08);
    transition: all 0.3s ease;
}

.game-analysis-page-main .bg-\[\#EDEFF0\]:hover {
    box-shadow: 0 4px 16px rgba(24, 73, 115, 0.12);
}

/* Form input enhancements */
.game-analysis-page-main input[type="text"],
.game-analysis-page-main input[type="email"],
.game-analysis-page-main input[type="tel"],
.game-analysis-page-main input[type="url"],
.game-analysis-page-main input[type="date"],
.game-analysis-page-main input[type="time"],
.game-analysis-page-main select,
.game-analysis-page-main textarea {
    transition: all 0.2s ease;
}

.game-analysis-page-main input:focus,
.game-analysis-page-main select:focus,
.game-analysis-page-main textarea:focus {
    background-color: #ffffff;
    border-color: #184973;
    box-shadow: 0 0 0 3px rgba(24, 73, 115, 0.1);
    transform: translateY(-1px);
}

/* Radio button styling */
.game-analysis-page-main input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #184973;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.game-analysis-page-main input[type="radio"]:hover {
    border-color: #B8030D;
    background-color: #f0f0f0;
}

.game-analysis-page-main input[type="radio"]:checked {
    background: radial-gradient(circle, #184973 0%, #184973 40%, #ffffff 40%, #ffffff 100%);
    border-color: #184973;
    box-shadow: 0 0 0 2px rgba(24, 73, 115, 0.2);
}

.game-analysis-page-main input[type="radio"]:checked:hover {
    background: radial-gradient(circle, #B8030D 0%, #B8030D 40%, #ffffff 40%, #ffffff 100%);
    border-color: #B8030D;
    box-shadow: 0 0 0 2px rgba(184, 3, 13, 0.2);
}

/* ==========================================
   FILE UPLOAD AREA
   ========================================== */

#upload-zone {
    background-color: #ffffff;
    border: 2px dashed #184973;
    border-opacity: 0.3;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#upload-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(24, 73, 115, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

#upload-zone:hover {
    border-color: #184973;
    border-opacity: 0.6;
    background-color: #f8f9fa;
}

#upload-zone.active {
    border-color: #B8030D;
    background-color: rgba(184, 3, 13, 0.02);
}

#upload-zone svg {
    transition: all 0.3s ease;
}

#upload-zone:hover svg {
    color: #184973;
    transform: scale(1.1);
}

#file-info {
    background-color: #f0fdf4;
    border-left: 4px solid #22c55e;
    animation: slideDown 0.3s ease-out;
}

/* ==========================================
   FORM SECTION HEADERS
   ========================================== */

.game-analysis-page-main h2 {
    position: relative;
    color: #04192C;
    font-weight: bold;
}

.game-analysis-page-main h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #184973, #B8030D);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.game-analysis-page-main > div > div > .space-y-8 > div:hover h2::after {
    width: 60px;
}

/* ==========================================
   BUTTONS
   ========================================== */

.game-analysis-page-main button[type="submit"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.game-analysis-page-main button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.game-analysis-page-main button[type="submit"]:hover::before {
    width: 300px;
    height: 300px;
}

.game-analysis-page-main button[type="submit"]:active {
    transform: scale(0.98);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.game-analysis-page-main section:first-child {
    position: relative;
}

/* Exclusive access banner */
.game-analysis-page-main .bg-\[\#B8030D\]\/10 {
    animation: slideDown 0.6s ease-out;
    animation-fill-mode: both;
}

/* Info cards */
.game-analysis-page-main .bg-white\/5 {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.game-analysis-page-main .bg-white\/5:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(184, 3, 13, 0.15);
}

/* ==========================================
   ANIMATION DELAYS
   ========================================== */

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-600 { animation-delay: 0.6s; }
.animate-delay-800 { animation-delay: 0.8s; }
.animate-delay-1000 { animation-delay: 1s; }
.animate-delay-1200 { animation-delay: 1.2s; }
.animate-delay-2000 { animation-delay: 2s; }

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

@media (max-width: 768px) {
    .game-analysis-page-main {
        padding: 0;
    }
    
    .game-analysis-page-main h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .game-analysis-page-main h2 {
        font-size: 1.25rem;
    }
    
    .game-analysis-page-main input,
    .game-analysis-page-main select,
    .game-analysis-page-main textarea {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }
    
    #upload-zone {
        padding: 1.5rem;
    }
    
    .game-analysis-page-main button[type="submit"] {
        width: 100%;
        max-width: none;
    }
    
    /* Larger tap targets on mobile */
    .game-analysis-page-main label {
        padding: 0.5rem 0;
    }
    
    .game-analysis-page-main input[type="radio"],
    .game-analysis-page-main input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .game-analysis-page-main {
        font-size: 14px;
    }
    
    .game-analysis-page-main h1 {
        font-size: 1.5rem;
    }
    
    .game-analysis-page-main section {
        padding: 2rem 1rem;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

/* High contrast mode support */
@media (prefers-contrast: more) {
    .game-analysis-page-main input:focus,
    .game-analysis-page-main select:focus,
    .game-analysis-page-main textarea:focus {
        outline: 3px solid #04192C;
        outline-offset: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .game-analysis-page-main,
    .game-analysis-page-main * {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================
   DARK MODE SUPPORT (Future)
   ========================================== */

@media (prefers-color-scheme: dark) {
    .game-analysis-page-main input[type="text"],
    .game-analysis-page-main input[type="email"],
    .game-analysis-page-main input[type="tel"],
    .game-analysis-page-main input[type="url"],
    .game-analysis-page-main input[type="date"],
    .game-analysis-page-main input[type="time"],
    .game-analysis-page-main select,
    .game-analysis-page-main textarea {
        background-color: #1a1a1a;
        color: #ffffff;
        border-color: #444;
    }
}
