/* Games Page - Unique Section Styles */

/* Section 1: Games Hero Banner - Full Width with Overlay */
.games-hero-banner {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
    padding: 80px 20px;
}

.games-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/background.gif') center/cover;
    opacity: 0.1;
    animation: backgroundMove 20s infinite linear;
}

@keyframes backgroundMove {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-20px) translateY(-20px); }
    100% { transform: translateX(0) translateY(0); }
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    color: white;
}

.banner-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.games-hero-banner h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.games-hero-banner p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.banner-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.banner-stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s, background 0.3s;
}

.banner-stat:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.banner-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.banner-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-banner-primary {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255,107,107,0.3);
}

.btn-banner-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,107,0.5);
}

/* Section 2: Game Categories - Tabbed Interface */
.games-categories-tabs {
    padding: 100px 20px;
    background: #f8f9fa;
}

.categories-header {
    text-align: center;
    margin-bottom: 60px;
}

.categories-header h2 {
    font-size: 2.8rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.categories-header p {
    font-size: 1.1rem;
    color: #666;
}

.category-tabs-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.category-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cat-tab-btn {
    padding: 18px 35px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-tab-btn i {
    font-size: 1.2rem;
}

.cat-tab-btn:hover,
.cat-tab-btn.active {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    border-color: #1a1a2e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26,26,46,0.2);
}

.category-tab-content {
    position: relative;
}

.cat-tab-panel {
    display: none;
    animation: fadeIn 0.5s;
}

.cat-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.category-info h3 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.category-info p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.category-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.feature-item span {
    color: #333;
    font-weight: 500;
}

.category-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.game-showcase-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: transform 0.3s;
}

.game-showcase-item:hover {
    transform: translateY(-10px);
}

.game-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 25px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.game-showcase-item:hover .showcase-overlay-content {
    transform: translateY(0);
}

.showcase-overlay-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.showcase-overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.btn-showcase-play {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-showcase-play:hover {
    background: #ee5a6f;
}

/* Section 3: Game Providers - Logo Grid */
.games-providers {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.providers-header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.providers-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.providers-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.provider-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    transition: all 0.3s;
    color: white;
}

.provider-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.provider-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.provider-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.provider-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Section 4: RTP Information - Info Cards */
.games-rtp-info {
    padding: 100px 20px;
    background: #f8f9fa;
}

.rtp-header {
    text-align: center;
    margin-bottom: 60px;
}

.rtp-header h2 {
    font-size: 2.8rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.rtp-header p {
    font-size: 1.1rem;
    color: #666;
}

.rtp-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.rtp-info-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid #ff6b6b;
}

.rtp-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.rtp-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.rtp-card-header i {
    font-size: 2rem;
    color: #ff6b6b;
}

.rtp-card-header h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
}

.rtp-info-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Section 5: Popular Games - Carousel Design */
.games-popular-carousel {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.popular-header {
    text-align: center;
    margin-bottom: 60px;
}

.popular-header h2 {
    font-size: 2.8rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.popular-header p {
    font-size: 1.1rem;
    color: #666;
}

.popular-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.popular-carousel-track {
    display: flex;
    gap: 25px;
    animation: scrollCarousel 30s infinite linear;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.popular-carousel-track:hover {
    animation-play-state: paused;
}

.popular-game-item {
    flex: 0 0 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.popular-game-item:hover {
    transform: scale(1.05);
}

.popular-game-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.popular-game-info {
    padding: 20px;
}

.popular-game-info h4 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.popular-game-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.popular-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffd700;
    font-weight: 600;
}

.popular-rating i {
    font-size: 1.1rem;
}

/* Section 6: Game Features - Feature Grid */
.games-features-grid {
    padding: 100px 20px;
    background: white;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header h2 {
    font-size: 2.8rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.features-header p {
    font-size: 1.1rem;
    color: #666;
}

.features-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-grid-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-grid-item:hover {
    transform: translateY(-10px);
    border-color: #ff6b6b;
    box-shadow: 0 15px 40px rgba(255,107,107,0.2);
}

.feature-grid-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-grid-item h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.feature-grid-item p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Section 7: How to Play - Step Guide */
.games-how-to-play {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.how-to-header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.how-to-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.how-to-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.how-to-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.how-to-step {
    position: relative;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    color: white;
    transition: all 0.3s;
}

.how-to-step:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.how-to-step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.how-to-step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

.how-to-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.how-to-step p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Section 8: Game Tips - Tips Cards */
.games-tips-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.tips-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tips-section-header h2 {
    font-size: 2.8rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.tips-section-header p {
    font-size: 1.1rem;
    color: #666;
}

.tips-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.tip-card-item {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    border-left: 5px solid #ff6b6b;
}

.tip-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.tip-card-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.tip-card-item h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-top: 15px;
    margin-bottom: 15px;
}

.tip-card-item p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Section 9: CTA Section - Split Design */
.games-cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.cta-section-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text-part {
    color: white;
}

.cta-text-part h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.cta-text-part p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 20px;
}

.cta-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.cta-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-highlight i {
    color: #ffd700;
    font-size: 1.2rem;
}

.cta-highlight span {
    font-size: 1rem;
    opacity: 0.9;
}

.btn-cta-games {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255,107,107,0.3);
    margin-top: 20px;
}

.btn-cta-games:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,107,0.5);
}

.cta-visual-part {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.cta-visual-part img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .games-hero-banner h1 {
        font-size: 2.5rem;
    }
    
    .banner-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section-content {
        grid-template-columns: 1fr;
    }
    
    .category-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .games-hero-banner {
        min-height: auto;
        padding: 60px 20px;
    }
    
    .games-hero-banner h1 {
        font-size: 2rem;
    }
    
    .games-hero-banner p {
        font-size: 1rem;
    }
    
    .banner-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-tab-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cat-tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .popular-carousel-track {
        animation-duration: 20s;
    }
    
    .popular-game-item {
        flex: 0 0 250px;
    }
    
    .how-to-steps-container {
        grid-template-columns: 1fr;
    }
    
    .tips-cards-wrapper {
        grid-template-columns: 1fr;
    }
    
    .features-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .rtp-cards-container {
        grid-template-columns: 1fr;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .category-games-grid {
        grid-template-columns: 1fr;
    }
}
