@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    color: #1a1a1a;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: #ffffff;
    padding: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #2563eb;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
}

main {
    padding: 4rem 0;
}

.hero {
    text-align: center;
    padding: 3rem 0 4rem;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.lead {
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2rem;
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.info-card p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.warning-card {
    background: #fffbeb;
    border: 2px solid #fbbf24;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.warning-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: #92400e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.warning-card ul {
    list-style: none;
}

.warning-card li {
    color: #78350f;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid #fde68a;
    font-size: 0.95rem;
}

.warning-card li:last-child {
    border-bottom: none;
}

.warning-card li::before {
    content: '• ';
    color: #f59e0b;
    font-weight: bold;
    margin-right: 0.5rem;
}

.game-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.game-wrapper iframe {
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    width: 100%;
    max-width: 900px;
    height: 700px;
    margin-top: 1.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.grid-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.2s ease;
}

.grid-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.grid-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 1rem;
    font-weight: 600;
}

.grid-item p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.7;
}

footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-content p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.modal-content p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-buttons button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    border: 2px solid;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-confirm {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.btn-confirm:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-cancel {
    background: #ffffff;
    border-color: #d1d5db;
    color: #6b7280;
}

.btn-cancel:hover {
    border-color: #9ca3af;
    color: #4b5563;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 72px;
        left: -100%;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        padding: 2rem;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        transition: left 0.3s ease;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav li {
        padding: 1rem 0;
        border-bottom: 1px solid #f3f4f6;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    main {
        padding: 2rem 0;
    }
    
    .game-wrapper iframe {
        height: 500px;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}
