/* Games Page Specific Styles */

/* Hero Section for Games Page */
.hero {
    background: linear-gradient(135deg, #382511 0%, #1a0f08 50%, #0a0502 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(248, 204, 84, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(248, 204, 84, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-image {
    position: relative;
    z-index: 3;
    margin-top: 2rem;
}

/* Why Play Section */
.why-play {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.why-play::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="games-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="%23F8CA50" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23games-pattern)"/></svg>');
    opacity: 0.5;
}

.why-play .container {
    position: relative;
    z-index: 2;
}

.player-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.player-type {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(248, 204, 84, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(248, 204, 84, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.player-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(248, 204, 84, 0.1), transparent);
    transition: left 0.5s ease;
}

.player-type:hover::before {
    left: 100%;
}

.player-type:hover {
    transform: translateY(-8px);
    background: rgba(248, 204, 84, 0.1);
    box-shadow: 0 15px 35px rgba(248, 204, 84, 0.15);
}

.player-icon {
    font-size: 3.5rem;
    color: #F8CA50;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.player-type h3 {
    color: #F8CA50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.player-type p {
    color: #e0e0e0;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Casino Games Section */
.casino-games {
    background: linear-gradient(135deg, rgba(248, 204, 84, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    position: relative;
}

.casino-games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="casino-pattern" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="%23F8CA50" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23casino-pattern)"/></svg>');
    opacity: 0.3;
}

.casino-games .container {
    position: relative;
    z-index: 2;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.game-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(248, 204, 84, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(248, 204, 84, 0.1), transparent);
    transition: left 0.5s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-8px);
    background: rgba(248, 204, 84, 0.1);
    box-shadow: 0 15px 35px rgba(248, 204, 84, 0.15);
}

.game-icon {
    font-size: 3rem;
    color: #F8CA50;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.game-card h3 {
    color: #F8CA50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.game-card p {
    color: #e0e0e0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.games-note {
    text-align: center;
    margin: 2rem 0;
    font-style: italic;
    color: #F8CA50;
}

/* Live Casino Section */
.live-casino {
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.live-casino::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(248, 204, 84, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(248, 204, 84, 0.03) 0%, transparent 50%);
}

.live-casino .container {
    position: relative;
    z-index: 2;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text {
    padding: 2rem 0;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Game Categories Table */
.game-categories {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(56, 37, 17, 0.2) 100%);
}

.categories-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.categories-table th,
.categories-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(248, 204, 84, 0.2);
}

.categories-table th {
    background: linear-gradient(135deg, rgba(248, 204, 84, 0.2) 0%, rgba(248, 204, 84, 0.1) 100%);
    color: #F8CA50;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.categories-table th i {
    margin-right: 0.5rem;
    color: #F8CA50;
}

.categories-table td {
    color: #e0e0e0;
    font-size: 1rem;
}

.categories-table tr:nth-child(even) {
    background: rgba(248, 204, 84, 0.02);
}

.categories-table tr:hover {
    background: rgba(248, 204, 84, 0.08);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* Top Games Table */
.top-games {
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.top-games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="top-games-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23F8CA50" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23top-games-pattern)"/></svg>');
    opacity: 0.5;
}

.top-games .container {
    position: relative;
    z-index: 2;
}

.top-games-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.top-games-table th,
.top-games-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(248, 204, 84, 0.2);
}

.top-games-table th {
    background: linear-gradient(135deg, rgba(248, 204, 84, 0.2) 0%, rgba(248, 204, 84, 0.1) 100%);
    color: #F8CA50;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-games-table td {
    color: #e0e0e0;
    font-size: 0.9rem;
}

.top-games-table tr:nth-child(even) {
    background: rgba(248, 204, 84, 0.02);
}

.top-games-table tr:hover {
    background: rgba(248, 204, 84, 0.08);
    transform: scale(1.005);
    transition: all 0.3s ease;
}

.top-games-table td:first-child {
    font-weight: 600;
    color: #F8CA50;
}

.top-games-table td:nth-child(3) {
    color: #F8CA50;
    font-weight: 600;
}

/* Responsive Design for Games Page */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .player-types {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .player-types {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .player-type {
        padding: 2rem 1.5rem;
    }
    
    .player-icon {
        font-size: 3rem;
    }
    
    .player-type h3 {
        font-size: 1.25rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .game-card {
        padding: 2rem 1.5rem;
    }
    
    .game-icon {
        font-size: 2.5rem;
    }
    
    .game-card h3 {
        font-size: 1.25rem;
    }
    
    .categories-table,
    .top-games-table {
        font-size: 0.9rem;
    }
    
    .categories-table th,
    .categories-table td,
    .top-games-table th,
    .top-games-table td {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .player-type {
        padding: 1.5rem 1rem;
    }
    
    .player-icon {
        font-size: 2.5rem;
    }
    
    .player-type h3 {
        font-size: 1.1rem;
    }
    
    .game-card {
        padding: 1.5rem 1rem;
    }
    
    .game-icon {
        font-size: 2rem;
    }
    
    .game-card h3 {
        font-size: 1.1rem;
    }
    
    .categories-table,
    .top-games-table {
        font-size: 0.8rem;
    }
    
    .categories-table th,
    .categories-table td,
    .top-games-table th,
    .top-games-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Animation Enhancements */
.player-type {
    animation: fadeInUp 0.6s ease-out;
}

.player-type:nth-child(1) { animation-delay: 0.1s; }
.player-type:nth-child(2) { animation-delay: 0.2s; }
.player-type:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: zoomIn 0.6s ease-out;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Special Effects for Games Page */
.player-type::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #F8CA50, transparent, #F8CA50);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.player-type:hover::after {
    opacity: 0.3;
}

.game-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #F8CA50, transparent, #F8CA50);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::after {
    opacity: 0.2;
}
