/*
Theme Name: Clover Casino
Theme URI: https://clovercasino.com
Description: Custom theme for Clover Casino
Version: 1.0
Author: Developer
Text Domain: clovercasino
*/

/* Google Fonts - Outfit loaded via functions.php wp_enqueue_style */

/* ========================================
   CSS Variables / Color Scheme
   ======================================== */
:root {
    --primary-dark: #1a0a0e;
    --primary-teal: #3d1522;
    --accent-gold: #ff2d55;
    --accent-orange: #ff6b8a;
    --text-light: #fff0f3;
    --text-secondary: #c4899a;
    --card-bg: #2a0f18;
    --border-color: #5a1a30;
    --showcase-gradient-start: #8a1a30;
    --showcase-gradient-end: #d42a50;
    --pattern-bg: #d42a50;
    --primary-teal-strong: #04adc0;
    --accent-orange-dark: #ff9c28;
    --reward-bg-dark: #000f10;
    --reward-bg: #001b1f;
    --reward-bg-light: #003036;
    --reward-bg-rgb: 0,27,31;
    --btn-bg: #ffd800;
    --btn-bg-dark: #d9b800;
    --btn-bg-light: #ffde26;
    --btn-bg-rgb: 255,216,0;
    --btn-text: #1a1a2e;
    --text-muted: #5b8889;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
    letter-spacing: 0.015em;
    word-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

/* ========================================
   Header Styles
   ======================================== */
.top-bar {
    background-color: var(--primary-dark);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-logo img {
    height: 40px;
    width: auto;
}

.page-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-items {
    display: flex;
    gap: 25px;
}

.nav-items a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-items a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-items a:hover::after,
.nav-items a.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    gap: 12px;
}

/* ========================================
   Button Styles
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--btn-bg);
    color: var(--btn-text);
}

.btn-primary:hover {
    background-color: var(--btn-bg-dark);
    color: var(--btn-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--btn-bg-rgb), 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--accent-orange);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--accent-orange-dark);
    color: var(--primary-dark);
}

.btn-jumbo {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ========================================
   Hero Section
   ======================================== */

/* Hero Pattern Color Variables (customize per brand) */
:root {
    --showcase-pattern-color: rgba(0, 0, 0, 0.12);
}

.showcase-section {
    background: var(--primary-dark);
    padding: 100px 0 40px;
    min-height: auto;
    position: relative;
}

.showcase-section > .container {
    display: block;
    width: 100%;
}

/* Hero Pattern Container - Rounded box with gradient + pattern */
.showcase-pattern-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    overflow: hidden;
    /* Gradient background */
    background: linear-gradient(135deg, var(--showcase-gradient-start) 0%, var(--showcase-gradient-end) 100%);
    /* Pattern will be applied via JS */
    background-repeat: repeat;
}

/* Pattern icon color layer */
.showcase-pattern-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: inherit;
    color: var(--showcase-pattern-color);
}

.showcase-inner {
    position: relative;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px;
    width: 100%;
}

.showcase-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 50px;
    min-height: 500px;
}

.showcase-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.showcase-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.showcase-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* New inline bonus styles matching reference */
.showcase-reward-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.reward-icon-inline {
    font-size: 2rem;
}

.reward-text-inline {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
}

.showcase-reward-extra {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 500;
}

/* Hero image wrapper */
.showcase-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.showcase-image {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Legacy bonus box styles (keeping for backward compatibility) */
.showcase-bonus {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-strong) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.reward-text {
    font-size: 1.4rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 15px;
}

.reward-details {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ========================================
   Game Categories Section
   ======================================== */
.game-categories {
    padding: 80px 0;
    background-color: var(--primary-dark);
}

.area-title {
    text-align: center;
    margin-bottom: 50px;
}

.area-title h2 {
    margin-bottom: 15px;
}

.area-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.genres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--primary-teal) 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 50px;
    height: 50px;
}

.category-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--accent-gold);
}

.category-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* ========================================
   About Section / Info Table
   ======================================== */
.details-section {
    padding: 80px 0;
    background-color: var(--primary-teal);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.details-content p {
    margin-bottom: 25px;
}

.detail-table {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.detail-table table {
    width: 100%;
    border-collapse: collapse;
}

.detail-table tr {
    border-bottom: 1px solid var(--border-color);
}

.detail-table tr:last-child {
    border-bottom: none;
}

.detail-table td {
    padding: 18px 25px;
}

.detail-table td:first-child {
    color: var(--text-secondary);
    font-weight: 500;
    width: 40%;
}

.detail-table td:last-child {
    color: var(--text-light);
    font-weight: 600;
}

/* ========================================
   Game Sections (Slots, Roulette, etc.)
   ======================================== */
.game-section {
    padding: 80px 0;
}

.game-section:nth-child(even) {
    background-color: var(--primary-teal);
}

.game-section:nth-child(odd) {
    background-color: var(--primary-dark);
}

.game-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.game-grid.reverse {
    direction: rtl;
}

.game-grid.reverse > * {
    direction: ltr;
}

.game-content h2 {
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.game-content p {
    margin-bottom: 20px;
}

.game-features {
    margin-bottom: 25px;
}

.game-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.game-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.game-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-image img {
    width: 100%;
    display: block;
}

/* ========================================
   Payment Methods Section
   ======================================== */
.deposit-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
}

.deposit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.deposit-box {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.deposit-box h3 {
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.deposit-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

/* Unified Payment Methods Block */
.deposit-methods-unified {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.deposit-method {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-dark);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    border: none;
}

.deposit-method svg {
    width: 40px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 4px;
}

.deposit-info {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.deposit-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.deposit-info strong {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .deposit-methods-unified {
        padding: 20px 15px;
        gap: 10px;
    }

    .deposit-method {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .deposit-method svg {
        width: 32px;
        height: 22px;
    }
}

/* ========================================
   FAQ Section
   ======================================== */
.questions-section {
    padding: 40px 0 50px;
    background-color: var(--primary-dark);
}

.questions-list {
    max-width: 800px;
    margin: 0 auto;
}

.questions-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

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

.questions-question:hover {
    background-color: var(--primary-teal);
    border-radius: 12px;
}

/* When FAQ item is open and hovered, only round top corners */
.questions-item.active .questions-question:hover {
    border-radius: 11px 11px 0 0;
}

/* FAQ toggle button styling */
.questions-toggle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.questions-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.questions-item.active .questions-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.questions-answer p {
    color: var(--text-secondary);
}

/* ========================================
   Footer Styles
   ======================================== */
.bottom-bar {
    background-color: var(--primary-dark);
    padding: 60px 0 100px;
    border-top: 1px solid var(--border-color);
}

.base-area-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.base-area-column h4,
.base-area-column .base-area-title {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
}

.base-area-column ul li {
    margin-bottom: 12px;
}

.base-area-column ul li a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.base-area-column ul li a:hover {
    color: var(--accent-gold);
}

/* Old base-area-bonus styles removed - now using premium .base-area-reward-box in custom.css */

.provider-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.provider-logos img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.provider-logos img:hover {
    opacity: 1;
}

.base-area-bottom {
    text-align: center;
    padding-top: 20px;
}

.base-area-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.maturity-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--card-bg);
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.maturity-badge {
    background-color: #c00;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
}

/* ========================================
   Steps Section (Registration, Login, etc.)
   ======================================== */
.instructions-section {
    padding: 80px 0;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.instructions-grid.four-steps {
    grid-template-columns: repeat(4, 1fr);
}

.instruction-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
}

.instruction-number {
    width: 40px;
    height: 40px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 20px;
}

.instruction-card h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.instruction-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.step-image {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* ========================================
   Features Grid
   ======================================== */
.advantages-section {
    padding: 80px 0;
    background-color: var(--primary-teal);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.advantages-grid.five-cols {
    grid-template-columns: repeat(5, 1fr);
}

.advantage-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: var(--primary-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--accent-gold);
}

.advantage-card h4 {
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   Loyalty / VIP Section
   ======================================== */
.member-perks-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
}

.premium-ranks {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.premium-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--primary-teal) 100%);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.premium-card.featured {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.premium-badge {
    font-size: 2rem;
    margin-bottom: 15px;
}

.premium-card h4 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.premium-benefits {
    text-align: left;
}

.premium-benefits li {
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.premium-benefits li:last-child {
    border-bottom: none;
}

/* ========================================
   Special Offers Section
   ======================================== */
.promotions-section {
    padding: 80px 0;
    background-color: var(--primary-teal);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.promotion-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.promotion-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promotion-content h4 {
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.promotion-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ========================================
   Promo Code Section
   ======================================== */
.promo-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
}

.promo-box {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-strong) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.promo-box h3 {
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.promo-box p {
    margin-bottom: 25px;
}

.promo-input {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.promo-input input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-size: 1rem;
}

.promo-input input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* ========================================
   Troubleshooting Section
   ======================================== */
.resolve-issue-section {
    padding: 80px 0;
    background-color: var(--primary-teal);
}

.resolve-issue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.resolve-issue-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.resolve-issue-card h4 {
    color: var(--accent-orange);
    margin-bottom: 15px;
}

.resolve-issue-card p {
    margin-bottom: 15px;
}

/* ========================================
   Platform Guides (Android/iOS)
   ======================================== */
.system-guide-section {
    padding: 80px 0;
}

.system-guide-section.android {
    background-color: var(--primary-dark);
}

.system-guide-section.ios {
    background-color: var(--primary-teal);
}

.system-guide-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.system-guide-icon {
    width: 50px;
    height: 50px;
}

.system-guide-header h2 {
    margin: 0;
}

/* ========================================
   Trust Section
   ======================================== */
.safety-section {
    padding: 80px 0;
    background-color: var(--primary-teal);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.safety-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.safety-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-card h4 {
    margin-bottom: 12px;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-orange { color: var(--accent-orange); }
.text-light { color: var(--text-light); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* ========================================
   Responsive Adjustments (Desktop Focus)
   ======================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .genres-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid,
    .advantages-grid.five-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .premium-ranks {
        grid-template-columns: repeat(3, 1fr);
    }

    .instructions-grid,
    .instructions-grid.four-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .base-area-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resolve-issue-grid {
        grid-template-columns: 1fr;
    }

    .promotions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .genres-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid,
    .advantages-grid.five-cols {
        grid-template-columns: 1fr;
    }

    .premium-ranks {
        grid-template-columns: 1fr;
    }

    .premium-card.featured {
        transform: none;
    }

    .instructions-grid,
    .instructions-grid.four-steps {
        grid-template-columns: 1fr;
    }

    .base-area-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .safety-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .showcase-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .showcase-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}
