/* style/da-ga.css */

/* Base styles for the page-da-ga content */
.page-da-ga {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color, #FFF3E6); /* Default text color for dark background */
    background-color: var(--background-color, #0D0E12); /* Inherit from shared or use default */
    line-height: 1.6;
    padding-bottom: 40px;
}

.page-da-ga__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-da-ga__section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    color: var(--main-color, #FF8C1A);
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
}

.page-da-ga__section-description {
    font-size: 18px;
    color: var(--text-main-color, #FFF3E6);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-da-ga__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above text in DOM order */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--background-color, #0D0E12);
}

.page-da-ga__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-da-ga__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-da-ga__hero-content {
    text-align: center;
    padding: 30px 20px 0;
    max-width: 900px;
    z-index: 2;
    color: var(--text-main-color, #FFF3E6);
}

.page-da-ga__hero-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    color: var(--main-color, #FF8C1A);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
}

.page-da-ga__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-main-color, #FFF3E6);
}

.page-da-ga__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width for responsive buttons */
    max-width: 600px; /* Limit overall button group width */
    margin: 0 auto;
    box-sizing: border-box;
}

/* General Button Styles */
.page-da-ga__btn-primary,
.page-da-ga__btn-secondary,
.page-da-ga__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-da-ga__btn-primary {
    background: linear-gradient(180deg, var(--aux-color, #FFA53A) 0%, var(--deep-orange-color, #D96800) 100%);
    color: var(--text-main-color, #FFF3E6);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-da-ga__btn-primary:hover {
    background: linear-gradient(180deg, var(--glow-color, #FFB04D) 0%, var(--main-color, #FF8C1A) 100%);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
    transform: translateY(-2px);
}

.page-da-ga__btn-secondary {
    background: var(--card-bg-color, #17191F);
    color: var(--main-color, #FF8C1A);
    border: 2px solid var(--border-color, #A84F0C);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-da-ga__btn-secondary:hover {
    background: var(--main-color, #FF8C1A);
    color: var(--text-main-color, #FFF3E6);
    border-color: var(--main-color, #FF8C1A);
    box-shadow: 0 6px 15px rgba(255, 140, 26, 0.4);
    transform: translateY(-2px);
}

.page-da-ga__btn-link {
    background: none;
    color: var(--main-color, #FF8C1A);
    border: 1px solid var(--border-color, #A84F0C);
    padding: 8px 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    margin-top: 15px;
}

.page-da-ga__btn-link:hover {
    color: var(--text-main-color, #FFF3E6);
    background: var(--main-color, #FF8C1A);
    border-color: var(--main-color, #FF8C1A);
}

/* Intro Section */
.page-da-ga__intro-section {
    padding: 60px 0;
    background-color: var(--card-bg-color, #17191F);
    border-bottom: 1px solid var(--border-color, #A84F0C);
}

.page-da-ga__intro-text {
    font-size: 18px;
    text-align: justify;
    color: var(--text-main-color, #FFF3E6);
    margin-bottom: 0;
}

/* Features Section */
.page-da-ga__features-section {
    padding: 60px 0;
    background-color: var(--background-color, #0D0E12);
}

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

.page-da-ga__feature-card {
    background-color: var(--card-bg-color, #17191F);
    border: 1px solid var(--border-color, #A84F0C);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-da-ga__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-da-ga__feature-icon {
    width: 100%; /* Image takes full width of card */
    height: auto;
    max-height: 200px; /* Max height for feature image */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #A84F0C);
    display: block; /* Ensure no extra space below image */
}

.page-da-ga__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--main-color, #FF8C1A);
    margin-bottom: 15px;
}

.page-da-ga__feature-description {
    font-size: 16px;
    color: var(--text-main-color, #FFF3E6);
}

/* How To Play Section */
.page-da-ga__how-to-play-section {
    padding: 60px 0;
    background-color: var(--card-bg-color, #17191F);
}

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