/* CSS Reset and Base Styles */
.page-g28 {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* White text for dark background */
    background-color: #000000; /* Black background as requested */
    padding-top: 10px; /* Small top padding for hero section */
}

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

.page-g28__section {
    padding: 60px 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
}

.page-g28__section--dark {
    background-color: #1a1a1a; /* Slightly lighter black for contrast */
}

.page-g28__title {
    font-size: 2.8em;
    color: #FFD700; /* Yellow title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-g28__subtitle {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 30px;
}

.page-g28__text {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-g28__link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-g28__link:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* Buttons */
.page-g28__btn {
    display: inline-block;
    background-color: #FFD700; /* Yellow button */
    color: #000000; /* Black text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-g28__btn:hover {
    background-color: #e6c200; /* Darker yellow on hover */
    color: #1a1a1a;
}

.page-g28__btn--secondary {
    background-color: #2563eb; /* Blue brand color */
    color: #ffffff;
    margin-left: 15px;
}

.page-g28__btn--secondary:hover {
    background-color: #1e4eaf;
}

.page-g28__cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero Section */
.page-g28__hero-section {
    padding: 10px 0 0;
    text-align: center;
    background-color: #000000;
}

.page-g28__hero-image-wrapper {
    margin-bottom: 30px;
}

.page-g28__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-g28__hero-content {
    padding: 0 20px 60px;
}

/* Game Categories Section */
.page-g28__game-categories {
    padding-top: 40px;
    padding-bottom: 40px;
}

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

.page-g28__game-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-g28__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-g28__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-g28__game-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-g28__game-card-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-g28__game-card-description {
    font-size: 0.95em;
    color: #f0f0f0;
    margin-bottom: 15px;
}

.page-g28__game-card-link {
    display: block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-g28__game-card-link:hover {
    background-color: #1e4eaf;
}

/* Promotions Section */
.page-g28__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-g28__promo-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-g28__promo-card:hover {
    transform: translateY(-5px);
}

.page-g28__promo-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-g28__promo-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-g28__promo-card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-g28__promo-card-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-g28__promo-card-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Why Choose Us / Advantages Section */
.page-g28__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-g28__advantage-item {
    background-color: #1a1a1a;
    border-left: 5px solid #FFD700;
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.page-g28__advantage-title {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-g28__advantage-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-g28__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* FAQ Section */
.page-g28__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-g28__faq-item {
    background-color: #1a1a1a;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}