:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --accent-color: #DC143C;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-light: #F8F8F8;
    --bg-dark: #1A2E47;
}

.page-da-ga {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

.page-da-ga .text-center {
    text-align: center;
}

.page-da-ga .section {
    padding: 60px 0;
}

.page-da-ga .section:nth-of-type(even) {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-da-ga .section:nth-of-type(even) h2,
.page-da-ga .section:nth-of-type(even) h3 {
    color: var(--secondary-color);
}

.page-da-ga .section:nth-of-type(even) a {
    color: var(--secondary-color);
}

.page-da-ga h1,
.page-da-ga h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: bold;
}

.page-da-ga .section:nth-of-type(even) h1,
.page-da-ga .section:nth-of-type(even) h2 {
    color: var(--secondary-color);
}

.page-da-ga h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-da-ga p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-da-ga a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-da-ga a:hover {
    color: var(--accent-color);
}

.page-da-ga .cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-da-ga .cta-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-da-ga .primary-cta {
    background: var(--accent-color);
    color: var(--text-light);
}

.page-da-ga .primary-cta:hover {
    background: #A00B2B;
    color: var(--text-light);
}

.page-da-ga .secondary-cta {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.page-da-ga .secondary-cta:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Hero Section */
.page-da-ga .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
}

.page-da-ga .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-da-ga .hero-image {
    width: 100%;
    margin-bottom: 30px;
    order: 1; /* Image first on mobile */
}

.page-da-ga .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-da-ga .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    order: 2; /* Content second on mobile */
}

.page-da-ga .hero-content h1 {
    color: var(--secondary-color);
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-da-ga .hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-da-ga .hero-section .cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-da-ga .hero-section .cta-button:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Intro Section */
.page-da-ga .intro-section h2,
.page-da-ga .intro-section h3 {
    text-align: left;
}

.page-da-ga .intro-section p {
    text-align: justify;
}

.page-da-ga .content-image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-da-ga .content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-da-ga .why-choose-section h2 {
    color: var(--secondary-color);
}

.page-da-ga .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-da-ga .feature-item {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--text-light);
}

.page-da-ga .feature-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-da-ga .feature-item p {
    font-size: 1em;
    color: #E0E0E0;
}

.page-da-ga .cta-box {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-da-ga .cta-box p {
    font-size: 1.2em;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Game Types Section */
.page-da-ga .game-types-section h2 {
    color: var(--primary-color);
}

.page-da-ga .game-types-section p {
    text-align: center;
    margin-bottom: 40px;
}

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

.page-da-ga .type-card {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-da-ga .type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-da-ga .type-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-da-ga .type-card h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin: 20px 15px 10px;
}

.page-da-ga .type-card p {
    font-size: 0.95em;
    color: var(--text-dark);
    padding: 0 15px 20px;
    text-align: justify;
}

/* How to Play Section */
.page-da-ga .how-to-play-section ol {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.page-da-ga .how-to-play-section li {
    margin-bottom: 30px;
    position: relative;
    padding-left: 60px;
}

.page-da-ga .how-to-play-section li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-da-ga .how-to-play-section li h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

.page-da-ga .how-to-play-section li p {
    text-align: justify;
}

/* Strategy Section */
.page-da-ga .strategy-section ul {
    list-style: none;
    padding: 0;
}

.page-da-ga .strategy-section li {
    margin-bottom: 25px;
    padding-left: 30px;
    position: relative;
}

.page-da-ga .strategy-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2em;
}

.page-da-ga .strategy-section li h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

.page-da-ga .strategy-section li p {
    text-align: justify;
    color: #E0E0E0;
}

/* FAQ Section */
.page-da-ga .faq-section h2 {
    color: var(--primary-color);
}

.page-da-ga .faq-list {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 25px;
    border-top: 1px solid #e0e0e0;
}

.faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    text-align: justify;
}

/* Final CTA Section */
.page-da-ga .cta-final-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 20px;
}

.page-da-ga .cta-final-section h2 {
    color: var(--secondary-color);
    font-size: 2.8em;
}

.page-da-ga .cta-final-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0;
}

.page-da-ga .cta-final-section .final-cta {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 18px 45px;
    font-size: 1.3em;
}

.page-da-ga .cta-final-section .final-cta:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-da-ga .hero-content h1 {
        font-size: 3em;
    }
    .page-da-ga h2 {
        font-size: 2.2em;
    }
    .page-da-ga h3 {
        font-size: 1.6em;
    }
    .page-da-ga .feature-grid, .page-da-ga .type-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-da-ga .section {
        padding: 40px 0;
    }
    .page-da-ga .hero-section {
        padding: 60px 15px;
    }
    .page-da-ga .hero-content h1 {
        font-size: 2.5em;
    }
    .page-da-ga .hero-content p {
        font-size: 1.1em;
    }
    .page-da-ga .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-da-ga h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }
    .page-da-ga h3 {
        font-size: 1.4em;
    }
    .page-da-ga .how-to-play-section li {
        padding-left: 50px;
    }
    .page-da-ga .how-to-play-section li::before {
        width: 35px;
        height: 35px;
        font-size: 1.3em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 20px;
    }
    .page-da-ga .cta-final-section h2 {
        font-size: 2.2em;
    }
    .page-da-ga .cta-final-section p {
        font-size: 1.1em;
    }
    .page-da-ga .cta-final-section .final-cta {
        padding: 15px 35px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-da-ga .hero-content h1 {
        font-size: 2em;
    }
    .page-da-ga h2 {
        font-size: 1.8em;
    }
    .page-da-ga h3 {
        font-size: 1.2em;
    }
    .page-da-ga .feature-item, .page-da-ga .type-card {
        padding: 20px;
    }
    .page-da-ga .cta-box {
        padding: 30px 20px;
    }
    .page-da-ga .cta-final-section h2 {
        font-size: 1.8em;
    }
}