/* ===============================
   GAMES SECTION STYLES
   =============================== */

/* Games Section */
.games-section {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px rgba(232, 199, 66, 0.5));
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Games Tabs */
.games-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.games-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--muted-text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    font-family: var(--primary-font);
}

.games-tab:hover {
    background: rgba(232, 199, 66, 0.1);
    border-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 199, 66, 0.2);
}

.games-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 600;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 199, 66, 0.3);
}

.games-tab span:first-child {
    font-size: 1.2rem;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Game Cards */
.game-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 199, 66, 0.05), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(232, 199, 66, 0.2);
}

.game-card:hover::before {
    left: 100%;
}

.game-card.hovered .game-overlay,
.game-card.show-overlay .game-overlay {
    opacity: 1;
    visibility: visible;
}

/* Game Image */
.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

/* Game Overlay */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Game Badges */
.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.game-badge.hot {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    animation: pulse 2s infinite;
}

.game-badge.new {
    background: linear-gradient(135deg, var(--primary-color), var(--golden-color));
    color: var(--dark-bg);
}

.game-badge.popular {
    background: linear-gradient(135deg, #5352ed, #3742fa);
    color: white;
}

.game-badge.live {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    animation: blink 1.5s infinite;
}

.game-badge.jackpot {
    background: linear-gradient(135deg, #ffa502, #ff6348);
    color: white;
    animation: glow 2s infinite alternate;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(255, 165, 2, 0.5); }
    100% { box-shadow: 0 0 20px rgba(255, 165, 2, 0.8); }
}

/* Game Actions */
.game-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.game-actions .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    min-width: auto;
    border-radius: 10px;
}

.game-actions .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Game Favorite */
.game-favorite {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.game-favorite:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.game-favorite.active {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.game-favorite span {
    font-size: 1.2rem;
}

/* Game Info */
.game-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.game-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.game-provider {
    font-size: 0.9rem;
    color: var(--muted-text);
    margin-bottom: 1rem;
}

/* Game Stats */
.game-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    background: rgba(232, 199, 66, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(232, 199, 66, 0.2);
}

.stat-label {
    color: var(--muted-text);
    font-weight: 500;
}

.stat-value {
    color: var(--primary-color);
    font-weight: 600;
}

/* Loading Games */
.loading-games {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: var(--muted-text);
}

/* No Games */
.no-games {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--muted-text);
}

.no-games-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-games h3 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

/* Game Categories Section */
.game-categories {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 199, 66, 0.05), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(232, 199, 66, 0.2);
}

.category-card:hover::before {
    left: 100%;
}

.category-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 15px rgba(232, 199, 66, 0.3));
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.category-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.category-desc {
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.category-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-stats .stat-item {
    background: rgba(232, 199, 66, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(232, 199, 66, 0.2);
}

.category-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}

.category-card:hover .category-arrow {
    transform: translateX(5px);
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid transparent;
    border-radius: 15px;
    font-family: var(--primary-font);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--golden-color));
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--golden-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 199, 66, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--light-text);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-width: auto;
}

.btn-full {
    width: 100%;
}

/* ===============================
   PROMOTIONS SECTION STYLES
   =============================== */

/* Promotions Section */
.promotions-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, var(--darker-bg) 100%);
    position: relative;
    overflow: hidden;
}

.promotions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.promotions-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 199, 66, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Promotions Grid */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* Promotion Cards */
.promotion-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 199, 66, 0.05), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.promotion-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(232, 199, 66, 0.2);
}

.promotion-card:hover::before {
    left: 100%;
}

/* Featured Promotion Card */
.promotion-card.featured {
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.promotion-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(232, 199, 66, 0.3);
}

/* Promotion Badge */
.promotion-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Promotion Icon */
.promotion-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 20px rgba(232, 199, 66, 0.5));
    z-index: 2;
    position: relative;
}

/* Promotion Content */
.promotion-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.promotion-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.promotion-desc {
    font-size: 1rem;
    color: var(--muted-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Promotion Details */
.promotion-details {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.detail-item {
    background: rgba(232, 199, 66, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(232, 199, 66, 0.2);
    white-space: nowrap;
}

/* Promotion Button */
.promotion-card .btn {
    z-index: 2;
    position: relative;
    align-self: center;
    min-width: 150px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(232, 199, 66, 0.2);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.testimonial-text {
    color: var(--light-text);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-bg);
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    color: var(--light-text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-date {
    color: var(--muted-text);
    font-size: 0.85rem;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(232, 199, 66, 0.05);
}

.faq-question h3 {
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted-text);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--golden-color) 100%);
    color: var(--dark-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="3" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="%23ffffff" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    animation: floatPatterns 20s linear infinite;
}

@keyframes floatPatterns {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(10, 10, 10, 0.8);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn {
    color: var(--dark-bg);
    border-color: var(--dark-bg);
}

.cta-section .btn-primary {
    background: var(--dark-bg);
    color: var(--primary-color);
    border-color: var(--dark-bg);
}

.cta-section .btn-primary:hover {
    background: rgba(10, 10, 10, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-section .btn-outline {
    background: transparent;
    color: var(--dark-bg);
    border-color: var(--dark-bg);
}

.cta-section .btn-outline:hover {
    background: var(--dark-bg);
    color: var(--primary-color);
}

/* Icon Fallback - เปลี่ยนจาก Emoji เป็น Text Icons */
.title-icon,
.promotion-icon,
.game-icon,
.feature-icon,
.category-icon {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(232, 199, 66, 0.5);
    display: inline-block;
    font-size: inherit;
}

/* Text Icon Replacements */
.title-icon::before {
    content: attr(data-icon);
}

/* Specific Icon Styles */
.section-title .title-icon {
    background: var(--primary-color);
    color: var(--dark-bg);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.promotion-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--golden-color));
    color: var(--dark-bg);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto;
}

.feature-icon {
    background: rgba(232, 199, 66, 0.1);
    color: var(--primary-color);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid rgba(232, 199, 66, 0.3);
}

.category-icon {
    background: var(--primary-color);
    color: var(--dark-bg);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .games-section {
        padding: 4rem 0;
    }
    
    .game-categories {
        padding: 4rem 0;
    }
    
    .promotions-section {
        padding: 4rem 0;
    }
    
    .testimonials-section {
        padding: 4rem 0;
    }
    
    .faq-section {
        padding: 4rem 0;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .title-icon {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .games-tabs {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .games-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .promotion-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .promotion-icon {
        font-size: 2.5rem;
    }
    
    .promotion-title {
        font-size: 1.2rem;
    }
    
    .promotion-desc {
        font-size: 0.9rem;
    }
    
    .detail-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .games-section {
        padding: 3rem 0;
    }
    
    .game-categories {
        padding: 3rem 0;
    }
    
    .promotions-section {
        padding: 3rem 0;
    }
    
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .faq-section {
        padding: 3rem 0;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .games-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .games-tab {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .game-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .game-actions .btn {
        width: 100%;
    }
    
    .promotion-card {
        padding: 1rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .category-desc {
        font-size: 0.85rem;
    }
    
    .category-stats {
        justify-content: center;
    }
    
    .detail-item {
        width: 100%;
        text-align: center;
        max-width: 150px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

/* Animation preferences */
@media (prefers-reduced-motion: reduce) {
    .game-card,
    .game-overlay,
    .game-image img,
    .games-tab,
    .category-card,
    .btn {
        transition: none;
    }
    
    .game-badge.hot,
    .game-badge.live,
    .game-badge.jackpot {
        animation: none;
    }
    
    .game-card::before,
    .category-card::before,
    .btn::before {
        display: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .game-card,
    .category-card {
        border-width: 2px;
    }
    
    .game-badge {
        border: 2px solid currentColor;
    }
    
    .games-tab,
    .btn {
        border-width: 2px;
    }
}

/* Print styles */
@media print {
    .games-section,
    .game-categories {
        background: white;
        color: black;
    }
    
    .game-overlay,
    .game-actions {
        display: none;
    }
    
    .game-card,
    .category-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* Focus styles for accessibility */
.games-tab:focus,
.game-card:focus,
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 199, 66, 0.5);
}