/* Demo Oyun Detay Sayfası - Yeni Tasarım */

.demo-game-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Game Header Section */
.game-header-section {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(17, 24, 39, 0.9));
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.game-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
    min-width: 300px;
}

.game-logo {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.game-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-details h1 {
    color: #3b82f6;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-details .provider {
    color: #9ca3af;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.game-details .provider span {
    color: #10b981;
    font-weight: 600;
}

.game-details .description {
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
}

.game-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(17, 24, 39, 0.8);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.stat-value {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: block;
}

.stat-value.high { color: #ef4444; }
.stat-value.medium-high { color: #f59e0b; }
.stat-value.medium { color: #3b82f6; }
.stat-value.low { color: #10b981; }

/* Game Player Section */
.game-player-section {
    margin-bottom: 40px;
}

.game-iframe-wrapper {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(17, 24, 39, 0.9));
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.game-controls {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.fullscreen-btn,
.refresh-btn {
    background: rgba(59, 130, 246, 0.8);
    border: none;
    border-radius: 8px;
    padding: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fullscreen-btn:hover,
.refresh-btn:hover {
    background: rgba(59, 130, 246, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border-radius: 15px;
    border: none;
    background: #000;
}

/* Fullscreen Mode */
.game-iframe-wrapper.fullscreen-mode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: #000;
}

.game-iframe-wrapper.fullscreen-mode .game-iframe {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.game-iframe-wrapper.fullscreen-mode .game-controls {
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
}

.game-iframe-wrapper.fullscreen-mode .fullscreen-btn,
.game-iframe-wrapper.fullscreen-mode .refresh-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.game-iframe-wrapper.fullscreen-mode .fullscreen-btn:hover,
.game-iframe-wrapper.fullscreen-mode .refresh-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Enhanced CTA Section */
.game-cta {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 20px;
    padding: 40px;
    border: 2px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 40px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-header {
    text-align: center;
    margin-bottom: 30px;
}

.cta-header .cta-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.cta-header h3 {
    color: #10b981;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.cta-feature {
    background: rgba(16, 185, 129, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cta-feature .feature-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 5px;
}

.cta-feature .feature-text h4 {
    color: #10b981;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.cta-feature .feature-text p {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn.primary {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6);
}

.cta-btn.secondary {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.cta-btn.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.6);
}

.btn-icon {
    font-size: 18px;
}

/* SEO Content Section */
.seo-content-section {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(17, 24, 39, 0.9));
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.game-info-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.game-info-header h1 {
    color: #3b82f6;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.provider-badge,
.rtp-badge,
.volatility-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.provider-badge {
    background: linear-gradient(45deg, #10b981, #059669);
}

.rtp-badge {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
}

.volatility-badge {
    background: linear-gradient(45deg, #f59e0b, #d97706);
}

.volatility-badge.high {
    background: linear-gradient(45deg, #ef4444, #dc2626);
}

.volatility-badge.low {
    background: linear-gradient(45deg, #10b981, #059669);
}

.game-description h2 {
    color: #3b82f6;
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px 0;
}

.game-description h3 {
    color: #10b981;
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.game-description p {
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.game-features-info {
    background: rgba(59, 130, 246, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.feature-item {
    background: rgba(16, 185, 129, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    color: #e5e7eb;
    font-size: 14px;
}

.feature-item strong {
    color: #10b981;
}

.how-to-play ol {
    padding-left: 20px;
}

.how-to-play li {
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.how-to-play li strong {
    color: #3b82f6;
}

.why-play-demo ul {
    list-style: none;
    padding: 0;
}

.why-play-demo li {
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 0;
}

.why-play-demo li strong {
    color: #10b981;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(16, 185, 129, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.tip-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-item p {
    color: #e5e7eb;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.tip-item strong {
    color: #10b981;
}

/* Related Games Section */
.related-games-section {
    margin-top: 50px;
}

.related-games-section h2 {
    color: #3b82f6;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-game-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    aspect-ratio: 3/4;
}

.related-game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.related-game-card .game-image {
    width: 100%;
    height: 60%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.related-game-card:hover .game-image {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    color: white;
}

.game-overlay .game-info h3 {
    color: #3b82f6;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.game-overlay .game-info p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.game-stats-mini {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.game-stats-mini .rtp,
.game-stats-mini .volatility {
    background: rgba(59, 130, 246, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.game-stats-mini .volatility.high { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.game-stats-mini .volatility.medium-high { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.game-stats-mini .volatility.medium { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.game-stats-mini .volatility.low { background: rgba(16, 185, 129, 0.2); color: #10b981; }

.play-btn {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.related-game-card:hover .play-btn {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Game Not Found */
.game-not-found {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(17, 24, 39, 0.9));
    border-radius: 20px;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.not-found-icon {
    font-size: 80px;
    margin-bottom: 30px;
    display: block;
    opacity: 0.7;
}

.game-not-found h1 {
    color: #ef4444;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 20px 0;
}

.game-not-found p {
    color: #9ca3af;
    font-size: 18px;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.back-btn {
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .game-header-section {
        flex-direction: column;
        text-align: center;
    }
    
    .game-info {
        flex-direction: column;
        text-align: center;
        min-width: auto;
    }
    
    .game-details .description {
        max-width: none;
    }
    
    .game-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .demo-game-detail {
        padding: 15px;
    }
    
    .game-iframe-wrapper {
        padding: 15px;
    }
    
    .game-controls {
        top: 25px;
        right: 25px;
        gap: 8px;
    }
    
    .fullscreen-btn,
    .refresh-btn {
        padding: 8px;
    }
    
    .game-iframe {
        height: 400px;
    }
    
    .game-cta {
        padding: 25px 20px;
    }
    
    .cta-header h3 {
        font-size: 22px;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .cta-feature {
        padding: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .seo-content-section {
        padding: 25px 20px;
    }
    
    .game-info-header h1 {
        font-size: 24px;
    }
    
    .game-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .game-description h2 {
        font-size: 20px;
    }
    
    .game-description h3 {
        font-size: 18px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .game-features-info {
        padding: 20px 15px;
    }
    
    .tip-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    
    .related-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .related-games-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .game-header-section {
        padding: 15px;
    }
    
    .game-details h1 {
        font-size: 20px;
    }
    
    .game-logo {
        width: 80px;
        height: 80px;
    }
    
    .stat-card {
        padding: 15px;
        min-width: 100px;
    }
    
    .game-iframe {
        height: 300px;
    }
    
    .game-cta {
        padding: 20px;
    }
    
    .cta-text h3 {
        font-size: 18px;
    }
    
    .cta-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .related-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .game-overlay {
        padding: 15px;
    }
    
    .game-overlay .game-info h3 {
        font-size: 16px;
    }
    
    .play-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}
