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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: 700;
}

.tagline {
    font-size: 1.2em;
    opacity: 0.9;
    font-weight: 300;
}

/* Main Content */
main {
    padding: 60px 0;
}

/* Hero Section */
.hero {
    background: white;
    padding: 80px 0;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 60px;
}

.hero h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.cta-button,
.btn {
    padding: 12px 30px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Features Section */
.features {
    background: white;
    padding: 60px 0;
    margin-bottom: 60px;
}

.features h2 {
    text-align: center;
    font-size: 2.2em;
    color: #333;
    margin-bottom: 50px;
}

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

.feature-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.5em;
    color: #667eea;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 0.95em;
}

/* How to Play Section */
.how-to-play {
    background: white;
    padding: 60px 0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 60px;
}

.how-to-play h2 {
    text-align: center;
    font-size: 2.2em;
    color: #333;
    margin-bottom: 40px;
}

.how-to-play ol {
    list-style-position: inside;
    max-width: 600px;
    margin: 0 auto;
}

.how-to-play li {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Footer Content Section */
.footer-content {
    background: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.footer-content h2 {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 20px;
}

.footer-content p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Footer Styles */
footer {
    background: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

footer nav {
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .features h2,
    .how-to-play h2,
    .footer-content h2 {
        font-size: 1.8em;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
