/* Game Demo Styles */
.game-demo-section {
    padding: 40px 0 80px;
}

.demo-notice {
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.notice-content h2 {
    color: #ff6b9d;
    margin-bottom: 0.5rem;
}

.notice-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.game-demo-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.game-interface {
    position: relative;
    background: linear-gradient(135deg, #2a1810 0%, #1a0f08 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid #8b4513;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.game-screen {
    background: linear-gradient(135deg, #3a2518 0%, #2a1810 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #654321;
}

.game-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #654321;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.game-balance {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #ffd700;
    font-weight: 600;
    color: #ffd700;
}

.currency {
    font-size: 0.875rem;
    opacity: 0.8;
}

.game-reels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #654321;
}

.reel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1a0f08 0%, #0f0804 100%);
    padding: 1rem 0.5rem;
    border-radius: 8px;
    border: 1px solid #444;
    position: relative;
    overflow: hidden;
}

.reel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, transparent 50%, rgba(255, 215, 0, 0.1) 100%);
    pointer-events: none;
}

.symbol {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.symbol.active {
    opacity: 1;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 70%);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    animation: symbolGlow 2s infinite alternate;
}

@keyframes symbolGlow {
    from {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    }
    to {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    }
}

.symbol.spinning {
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.game-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.bet-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bet-controls label {
    color: #ffd700;
    font-weight: 500;
}

.bet-controls select {
    background: rgba(0, 0, 0, 0.5);
    color: #ffd700;
    border: 1px solid #654321;
    border-radius: 4px;
    padding: 0.5rem;
    font-family: inherit;
}

.spin-button {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.4);
    position: relative;
    overflow: hidden;
}

.spin-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.6);
}

.spin-button:active {
    transform: scale(0.95);
}

.spin-button.spinning {
    animation: spinButton 1s linear infinite;
}

@keyframes spinButton {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin-text {
    position: relative;
    z-index: 2;
}

.auto-controls {
    display: flex;
    gap: 0.5rem;
}

.auto-button,
.max-bet-button {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: not-allowed;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.game-info {
    display: flex;
    justify-content: space-between;
    color: #ffd700;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #654321;
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: opacity 0.3s ease;
}

.demo-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.demo-message {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.demo-message h3 {
    color: #ff6b9d;
    margin-bottom: 1rem;
}

.demo-message p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.demo-message small {
    color: rgba(255, 255, 255, 0.7);
}

.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.game-info-panel,
.demo-features,
.social-reminder {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.game-info-panel h3,
.demo-features h3,
.social-reminder h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.game-info-panel ul {
    list-style: none;
    padding: 0;
}

.game-info-panel li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-info-panel li:last-child {
    border-bottom: none;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
    font-size: 1.25rem;
}

.social-reminder p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.demo-faq {
    background: rgba(0, 0, 0, 0.2);
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.faq-item h3 {
    color: #ff6b9d;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.demo-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(196, 69, 105, 0.1) 100%);
}

/* Game Filters */
.games-filters {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ff6b9d;
    color: #ffffff;
    border-color: #ff6b9d;
    transform: translateY(-2px);
}

.games-info {
    margin-top: 4rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-item h3 {
    color: #ff6b9d;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive Game Demo */
@media (max-width: 768px) {
    .game-demo-container {
        grid-template-columns: 1fr;
    }
    
    .game-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .auto-controls {
        order: -1;
    }
    
    .game-reels {
        gap: 0.5rem;
    }
    
    .symbol {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .spin-button {
        width: 80px;
        height: 80px;
        font-size: 1rem;
    }
    
    .game-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}