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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

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

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.primary-btn {
    background-color: #e74c3c;
    color: white;
}

.primary-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: #3498db;
    color: white;
}

.secondary-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.secondary-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.snake-animation {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    background-image: url('../images/snake-animation.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Features Section */
.features {
    padding: 100px 0;
    text-align: center;
}

.features h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

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

.card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* How to Play Section */
.how-to-play {
    background-color: #ecf0f1;
    padding: 100px 0;
}

.how-to-play h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
}

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

.step {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
}

.step-number {
    background-color: #e74c3c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.testimonials h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.quote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 15px;
}

.author {
    font-weight: bold;
}

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

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

.cta p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* Team Section */
.team-section {
    margin-top: 100px;
    text-align: center;
}

.team-section h3 {
    font-size: 28px;
    margin-bottom: 50px;
}

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

.team-member {
    text-align: center;
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #ecf0f1;
    margin: 0 auto 20px;
}

.team-member h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 18px;
}

.contact-email {
    display: inline-block;
    font-size: 20px;
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-email:hover {
    color: #c0392b;
}

/* Privacy Policy and Terms Sections */
.privacy-section, .terms-section {
    padding: 100px 0;
    background-color: #ecf0f1;
}

.privacy-section h2, .terms-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.privacy-content, .terms-content {
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.privacy-content h3, .terms-content h3 {
    font-size: 24px;
    margin: 30px 0 20px;
    color: #2c3e50;
}

.privacy-content h4, .terms-content h4 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #34495e;
}

.privacy-content p, .terms-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.privacy-content ul, .terms-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-content li, .terms-content li {
    margin-bottom: 10px;
}

.privacy-content a, .terms-content a {
    color: #e74c3c;
    text-decoration: none;
}

.privacy-content a:hover, .terms-content a:hover {
    text-decoration: underline;
}

/* Data Table */
.data-table {
    overflow-x: auto;
    margin-bottom: 30px;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.data-table th {
    background-color: #2c3e50;
    color: white;
    font-weight: bold;
}

.data-table tr:hover {
    background-color: #f5f5f5;
}

/* Third-Party Section */
.third-party {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 5px solid #3498db;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

.social-media {
    display: flex;
    gap: 20px;
}

.social-media a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #3498db;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .features h2, .how-to-play h2, .testimonials h2, .cta h2, .about-section h2, .contact-section h2, .privacy-section h2, .terms-section h2 {
        font-size: 28px;
    }
    
    .privacy-content, .terms-content {
        padding: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}