/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body - Parchment-like background */
body {
    font-family: Montserrat, "Open Sans", sans-serif;
    background: #fafaf7;  /* Warm off-white, parchment-like */
    color: rgb(54, 62, 82);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

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

.section {
    padding: 50px 0;
}

.section--grey {
    background: #f5f3ed;  /* Warm grey, like aged paper */
}

/* Header */
header {
    padding: 30px 0 20px 0;
    margin-bottom: 20px;
    text-align: center;
}

/* Typography */
h1 {
    color: rgb(19, 20, 28);
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 700;
}

h2 {
    color: rgb(19, 20, 28);
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 600;
}

h3 {
    color: rgb(19, 20, 28);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
}

.tagline {
    color: rgb(54, 62, 82);
    font-size: 20px;
    margin-bottom: 15px;
}

.rating {
    display: inline-block;
    color: rgb(54, 62, 82);
    padding: 5px 0;
    font-weight: 600;
    margin: 10px 0;
}

/* Game Container */
.game-container {
    background: white;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgb(235, 237, 243);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    background: rgb(235, 237, 243);
}

.game-info {
    margin-top: 20px;
    text-align: center;
    color: rgb(65, 74, 94);
    font-size: 14px;
}

.game-info span {
    margin: 0 5px;
}

/* Content Sections */
.content-section {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
    margin-bottom: 20px;
}

.content-section h3 {
    color: rgb(19, 20, 28);
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 15px;
}

/* Game Variations (More Games) */
.game-variations {
    padding: 20px 0;
    margin-bottom: 30px;
}

.variation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.game-card {
    background: white;
    border: 1px solid rgb(235, 237, 243);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.game-card-image {
    width: 100%;
    height: 150px;
    background: rgb(235, 237, 243);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(125, 127, 133);
    font-size: 14px;
}

.game-card-content {
    padding: 15px;
}

.game-card h3 {
    color: rgb(19, 20, 28);
    font-size: 18px;
    margin-bottom: 8px;
    margin-top: 0;
}

.game-card p {
    color: rgb(65, 74, 94);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.play-button {
    display: inline-block;
    background: rgb(235, 237, 243);
    color: rgb(65, 74, 94);
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.play-button:hover {
    background: rgb(225, 227, 233);
    text-decoration: none;
}

/* FAQ Section */
.faq {
    padding: 0;
}

.faq h2 {
    margin-bottom: 30px;
}

.faq ol {
    counter-reset: faq-counter;
    padding-left: 0;
    list-style: none;
}

.faq li {
    counter-increment: faq-counter;
    margin-bottom: 20px;
    padding: 25px;
    padding-left: 55px;
    position: relative;
    background: white;
    border-radius: 12px;
    border: 1px solid rgb(235, 237, 243);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq li::before {
    content: counter(faq-counter) ".";
    position: absolute;
    left: 25px;
    top: 25px;
    font-weight: 700;
    font-size: 20px;
    color: rgb(19, 20, 28);
}

.faq h3 {
    color: rgb(19, 20, 28);
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
}

.faq p {
    color: rgb(54, 62, 82);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Links */
a {
    color: rgb(0, 0, 238);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    color: rgb(65, 74, 94);
    border-top: 1px solid rgb(235, 237, 243);
}

.footer a {
    color: rgb(0, 0, 238);
    text-decoration: none;
    margin: 0 15px;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .game-iframe {
        height: 400px;
    }
    
    .variation-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .faq li {
        padding: 20px;
        padding-left: 45px;
    }
    
    .faq li::before {
        left: 15px;
        top: 20px;
    }
}