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

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

/* ========================================
   CSS Variables / Color Scheme
   ======================================== */
:root {
    --primary-dark: #1a0a1c;
    --primary-teal: #3a1240;
    --accent-gold: #ff4081;
    --accent-orange: #ff80ab;
    --text-light: #ffe8f0;
    --text-secondary: #b27490;
    --card-bg: #250f28;
    --border-color: #5a1a50;
    --lead-section-gradient-start: #8a1a5a;
    --lead-section-gradient-end: #d42a80;
    --pattern-bg: #d42a80;
    --primary-teal-strong: #04adc0;
    --accent-orange-dark: #ff9c28;
    --welcome-pkg-bg-dark: #000f10;
    --welcome-pkg-bg: #001b1f;
    --welcome-pkg-bg-light: #003036;
    --welcome-pkg-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: 'Figtree', 'Karla', -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
   ======================================== */
.site-top {
    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-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-icon img {
    height: 40px;
    width: auto;
}

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

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

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

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

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

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

.header-ops {
    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-major {
    padding: 16px 32px;
    font-size: 1.1rem;
}

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

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

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

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

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

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

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

.lead-section-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;
}

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

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

.lead-section-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 */
.lead-section-welcome-pkg-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

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

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

.lead-section-welcome-pkg-extra {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 500;
}

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

.lead-section-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) */
.lead-section-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;
}

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

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

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

.group-heading {
    text-align: center;
    margin-bottom: 50px;
}

.group-heading h2 {
    margin-bottom: 15px;
}

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

.divisions-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
   ======================================== */
.company-area-section {
    padding: 80px 0;
    background-color: var(--primary-teal);
}

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

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

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

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

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

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

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

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

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

.ref-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
   ======================================== */
.money-method-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
}

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

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

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

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

/* Unified Payment Methods Block */
.money-method-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);
}

.money-method-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;
}

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

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

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

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

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

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

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

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

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

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

.guidance-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Old ground-bonus styles removed - now using premium .ground-welcome-pkg-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;
}

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

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

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

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

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

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

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

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

.setup-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;
}

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

.setup-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
   ======================================== */
.qualities-section {
    padding: 80px 0;
    background-color: var(--primary-teal);
}

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

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

.quality-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;
}

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

.quality-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;
}

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

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

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

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

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

.champion-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);
}

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

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

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

.champion-perks {
    text-align: left;
}

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

.champion-perks li:last-child {
    border-bottom: none;
}

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

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

.best-deal-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;
}

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

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

.best-deal-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
   ======================================== */
.fix-guide-section {
    padding: 80px 0;
    background-color: var(--primary-teal);
}

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

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

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

.fix-guide-card p {
    margin-bottom: 15px;
}

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

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

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

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

.application-icon {
    width: 50px;
    height: 50px;
}

.application-header h2 {
    margin: 0;
}

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

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

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

.guarantee-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;
}

.guarantee-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) {
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

    .company-area-grid {
        grid-template-columns: 1fr;
    }

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

    .fix-guide-grid {
        grid-template-columns: 1fr;
    }

    .best-deals-grid {
        grid-template-columns: 1fr;
    }
}

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

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

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

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

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

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

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

    .lead-section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}
