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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 16px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Buttons */
.btn-text {
    color: var(--text-dark);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.btn-text:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.features h2 {
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Why Play Section */
.why-play {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.why-play h2 {
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.why-card {
    padding: 32px;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-light);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 32px;
}

.link-text {
    font-size: 14px;
    margin-top: 16px;
}

.link-text a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

/* Content Section */
.content {
    padding: 60px 0;
    min-height: 60vh;
}

.content-wrapper {
    max-width: 900px;
}

.content h2 {
    font-size: 32px;
    margin-bottom: 32px;
    margin-top: 48px;
}

.content h2:first-child {
    margin-top: 0;
}

.step-card {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-light);
}

/* Scoring Table */
.scoring-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.scoring-table th,
.scoring-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.scoring-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.scoring-table tr:hover {
    background-color: var(--bg-light);
}

/* Info Box */
.info-box {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.info-box p {
    color: var(--text-light);
}

.info-box ul {
    margin-left: 20px;
    color: var(--text-light);
}

.info-box li {
    margin-bottom: 8px;
}

/* FAQ Section */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
}

.faq-question {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-answer {
    color: var(--text-light);
    display: block;
}

/* About Section */
.about-section {
    margin-bottom: 48px;
}

.about-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.about-section p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.mission-list,
.features-list {
    margin-left: 20px;
    color: var(--text-light);
}

.mission-list li,
.features-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.value-card {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
}

.value-card h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.95;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.contact-form-section,
.contact-info-section {
    padding: 32px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.contact-form-section h2,
.contact-info-section h2 {
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 4px;
    color: var(--text-light);
    font-size: 12px;
}

.form-group.checkbox {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 4px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.form-group.checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-group.checkbox a:hover {
    text-decoration: underline;
}

/* Auth Page */
.auth-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.auth-form-container {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    border: 1px solid var(--border-color);
}

.auth-form-container h1 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 14px;
}

.auth-form {
    margin-bottom: 24px;
}

.auth-links {
    text-align: center;
    font-size: 14px;
}

.auth-links p {
    margin-bottom: 12px;
    color: var(--text-light);
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Legal Content */
.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--text-light);
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .why-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .cta h2 {
        font-size: 28px;
    }
}
