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

:root {
    --primary-color: #333333;
    --secondary-color: #666666;
    --accent-color: #ff6b35;
    --dark-bg: #121212;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --border-radius: 8px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.back-home-btn {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-home-btn:hover {
    color: var(--accent-color);
    background-color: rgba(255, 107, 53, 0.1);
}

/* Hero Section with Sundown Theme */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 60px;
    background: linear-gradient(to bottom, #ffd89b 0%, #19547b 100%);
    position: relative;
    overflow: hidden;
}

/* Sundown atmospheric effects */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 200, 100, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 35% 40%, rgba(255, 180, 80, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 60% 30%, rgba(255, 220, 120, 0.35) 0%, transparent 28%),
        radial-gradient(circle at 80% 50%, rgba(255, 190, 90, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 25% 70%, rgba(255, 210, 110, 0.25) 0%, transparent 22%);
    pointer-events: none;
}

/* Setting sun in bottom right corner */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: 100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #ff6b35 0%, #f7931e 30%, #fdc830 60%, rgba(253, 200, 48, 0) 100%);
    border-radius: 50%;
    box-shadow:
        0 0 80px rgba(255, 107, 53, 0.6),
        0 0 120px rgba(247, 147, 30, 0.4),
        0 0 160px rgba(253, 200, 48, 0.3);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Warning Box */
.warning-box {
    background: rgba(255, 107, 53, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin: 0 auto 3rem;
    max-width: 700px;
}

.warning-box p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-dark);
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 200, 100, 0.4);
}

.option-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.option-card h2 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.option-card p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Separator Bar */
.separator-bar {
    margin: 3rem auto;
    text-align: center;
    position: relative;
}

.separator-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 107, 53, 0.3), transparent);
    transform: translateY(-50%);
}

.separator-bar span {
    position: relative;
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    border: 2px solid rgba(255, 107, 53, 0.4);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testing Phase Grid - slightly dimmed */
.options-grid.testing-phase .option-card {
    opacity: 0.85;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.options-grid.testing-phase .option-card:hover {
    opacity: 1;
}

/* Footer Styles */
footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

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

.footer-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.footer-links a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .warning-box {
        padding: 1rem;
    }

    .warning-box p {
        font-size: 1rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .option-card {
        padding: 25px;
    }

    .footer-links {
        gap: 0.8rem;
    }

    .footer-links a {
        font-size: 1rem;
    }

    .back-home-btn {
        font-size: 0.9rem;
        padding: 0.55rem 1rem;
    }

    .separator-bar {
        margin: 2rem auto;
    }

    .separator-bar span {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }

    /* Adjust sun position for mobile */
    .hero::after {
        right: 20px;
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .warning-box {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .option-card {
        padding: 20px;
    }

    .icon {
        font-size: 3rem;
    }

    .option-card h2 {
        font-size: 1.3rem;
    }

    .separator-bar {
        margin: 1.5rem auto;
    }

    .separator-bar span {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        letter-spacing: 0.5px;
    }

    .option-card p {
        font-size: 0.85rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .back-home-btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.9rem;
    }

    /* Further adjust sun for small screens */
    .hero::after {
        right: 10px;
        bottom: -30px;
        width: 120px;
        height: 120px;
    }
}
