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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #667eea;
}

.play-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(238, 90, 36, 0.3);
}

/* Hero Section */
.hero {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 30px 0;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bonus-highlight {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px 30px;
    border-radius: 15px;
    display: inline-block;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Author Section */
.author-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 30px 0;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
}

.author-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.author-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Content Sections */
.content-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 30px 0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* How to Play Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.step {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.step-number {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.step h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Game Stats Table */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stats-table th,
.stats-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.stats-table th {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    font-weight: bold;
}

.stats-table tr:hover {
    background: #f8f9fa;
}

/* Difficulty Cards */
.difficulty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.difficulty-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.difficulty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.difficulty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.difficulty-card h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.difficulty-card .stages {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    color: #666;
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.screenshot {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.05);
}

.screenshot img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.screenshot-caption {
    background: white;
    padding: 15px;
    text-align: center;
    color: #666;
    font-weight: 500;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.back-to-top.show {
    display: flex;
}

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

    .hero p {
        font-size: 1.1rem;
    }

    .hero {
        padding: 30px 20px;
    }

    .content-section {
        padding: 25px 20px;
    }

    .author-section {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        display: none;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Mobile table adaptation */
    .stats-table {
        font-size: 0.85rem;
    }

    .stats-table th,
    .stats-table td {
        padding: 12px 8px;
        word-wrap: break-word;
    }

    .stats-table th:nth-child(3),
    .stats-table td:nth-child(3) {
        font-size: 0.75rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .stats-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 10px;
    }

    .stats-table th,
    .stats-table td {
        padding: 10px 6px;
        min-width: 120px;
    }

    .stats-table th:first-child,
    .stats-table td:first-child {
        min-width: 80px;
    }

    .stats-table th:nth-child(2),
    .stats-table td:nth-child(2) {
        min-width: 90px;
    }

    .stats-table th:nth-child(3),
    .stats-table td:nth-child(3) {
        min-width: 140px;
        font-size: 0.7rem;
    }
}

/* Placeholder styling */
.placeholder {
    background: #f8f9fa;
    color: #6c757d;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px dashed #dee2e6;
    margin: 20px 0;
}
/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 50px;
    padding: 50px 0 30px;
}

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

.footer-section h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
}

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

.footer-disclaimer {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    color: #ecf0f1;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.footer-copyright p {
    color: #95a5a6;
    font-size: 0.85rem;
    margin: 5px 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-disclaimer {
        padding: 15px;
    }
}