/* Amp Arena - Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    min-height: 100vh;
    font-weight: 400;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Lock Screen Styles */
.lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lock-screen.hidden {
    display: none;
}

.lock-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e0e0e0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.lock-form h2 {
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 800;
}

.lock-form p {
    color: #666666;
    margin-bottom: 30px;
    font-size: 16px;
}

.passcode-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.passcode-input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.1);
}

.passcode-button {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.passcode-button:hover {
    background: #333333;
}

.passcode-error {
    color: #ff4757;
    font-size: 14px;
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.passcode-error.show {
    opacity: 1;
}

/* Header Styles */
header {
    text-align: center;
    padding: 2rem 0 4rem 0;
}

.title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #666666;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.4;
}

.event-info {
    margin-bottom: 3rem;
}

.event-date {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 600;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.prize-container {
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.prize-amount {
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 1rem;
}

.prize-label {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #666666;
    font-weight: 600;
}

/* Countdown Styles */
.countdown-container {
    margin-bottom: 4rem;
}

.countdown-container h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-weight: 700;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.time-unit {
    text-align: center;
    background: #ffffff;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    min-width: 100px;
}

.time-value {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Inter', monospace;
}

.time-label {
    font-size: 0.8rem;
    color: #666666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Registration Section */
.registration-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
    padding: 0;
}

.registration-card {
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    padding: 3rem 2rem;
    text-align: left;
    transition: all 0.2s ease;
}

.registration-card:hover {
    border-color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.registration-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.registration-card p {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.event-details {
    color: #1a1a1a;
    font-weight: 600;
}

/* Form Styles */
.signup-form {
    margin-top: 2rem;
}

.email-input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 500;
}

.email-input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.1);
}

.registration-button {
    display: inline-block;
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.compete-btn {
    background: #1a1a1a;
    color: #ffffff;
}

.attend-btn {
    background: #1a1a1a;
    color: #ffffff;
}

.registration-button:hover {
    background: #333333;
}

.signup-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0.75rem;
    border-radius: 6px;
}

.signup-message.success {
    background: rgba(26, 26, 26, 0.1);
    color: #1a1a1a;
    border: 1px solid rgba(26, 26, 26, 0.2);
}

.signup-message.error {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 4rem 0 3rem 0;
    border-top: 2px solid #e0e0e0;
    margin-top: 5rem;
}

.terms-button {
    display: inline-block;
    color: #666666;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.terms-button:hover {
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.amp-credit {
    color: #666666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.copyright {
    color: #999999;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 48px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .prize-amount {
        font-size: 64px;
    }
    
    .countdown {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .time-unit {
        min-width: 100px;
        padding: 20px 15px;
    }
    
    .time-value {
        font-size: 36px;
    }
    
    .registration-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .registration-card {
        padding: 30px;
    }
    
    .countdown-container h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 36px;
    }
    
    .prize-amount {
        font-size: 48px;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .time-value {
        font-size: 24px;
    }
    
    .time-label {
        font-size: 12px;
    }
}
