.game-detail-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 15px;
}

.game-detail-content {
    max-width: 1200px;
    margin: 0 auto;
}

.game-hero-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid var(--mt-gold);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.game-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

.game-hero-content {
    position: relative;
    z-index: 1;
}

.game-player-wrapper {
    background: #000;
    border: 2px solid var(--mt-gold);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.game-player-header {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-bottom: 1px solid var(--mt-gold);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-info-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid var(--mt-gold);
    border-radius: 15px;
    padding: 25px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--mt-gray-light);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--mt-text-muted);
    font-size: 0.9rem;
}

.stat-label i {
    color: var(--mt-gold);
    width: 16px;
}

.stat-value {
    color: var(--mt-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.description-box {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid var(--mt-gray);
    border-left: 4px solid var(--mt-gold);
    border-radius: 10px;
    padding: 25px;
    color: var(--mt-text);
    line-height: 1.8;
    font-size: 1rem;
}

.description-box p {
    margin-bottom: 15px;
}

.description-box p:last-child {
    margin-bottom: 0;
}

.info-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid var(--mt-gray);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    transition: border-color 0.3s ease;
}

.info-card:hover {
    border-color: var(--mt-gold);
}

.info-card-title {
    color: var(--mt-gold);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--mt-gray);
}

.info-card-content {
    min-height: 100px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
    border-bottom: none;
}

.theme-badge {
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.feature-badge {
    background: var(--mt-gray-light);
    color: var(--mt-text);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.no-data-text {
    color: var(--mt-text-muted);
    font-style: italic;
    font-size: 0.9rem;
    margin: 20px 0;
}

.game-player-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 10000 !important;
    background: #000 !important;
}

.game-player-fullscreen .game-player-header {
    display: none !important;
}

.game-player-fullscreen #gameContainer {
    width: 100vw !important;
    height: 100vh !important;
    border: none !important;
    border-radius: 0 !important;
}

.game-player-fullscreen #gameFrame {
    width: 100vw !important;
    height: 100vh !important;
    display: block !important;
}

.game-player-fullscreen #gamePlaceholder {
    height: 100vh !important;
}

.loading-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;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #333;
    border-top-color: var(--mt-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
