/* Game Detail Page Styles - Consistent with Main Site */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* UI UTILITIES */
.hidden {
    display: none !important;
}

/* Global App Header */
.site-header {
    background: #2c3e50;
    color: white;
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    font-size: 1rem;
}

.back-link:hover {
    color: #4CAF50;
}

.back-arrow {
    font-size: 1.2rem;
}

.brand {
    font-weight: bold;
    font-size: 1.2rem;
    color: #4CAF50;
}

/* Layout */
.content-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 2rem auto;
    /* Added top margin since banner is gone */
    gap: 1.5rem;
    padding: 0 1rem;
    align-items: flex-start;
}

/* Sidebar */
.stats-sidebar {
    flex-shrink: 0;
    width: 300px;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
}

/* Center column for Map + Stats */
.map-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Stats moved to horizontal under map */
.stats-bar-horizontal {
    display: flex;
    gap: 1.5rem;
}

.stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4CAF50;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Game Specs Section */
.game-specs h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3em;
    /* Slightly larger as it acts as title now */
    color: #2c3e50;
    border-bottom: 3px solid #4CAF50;
    /* Thicker accent */
    padding-bottom: 0.8rem;
    line-height: 1.3;
}

.game-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.spec-value {
    color: #2c3e50;
    font-weight: 500;
    text-align: right;
}

/* Map */
#map {
    height: 500px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

/* Locations List */
.locations-list {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem 3rem;
}

.locations-list h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5em;
    color: #2c3e50;
    border-bottom: 2px solid #4CAF50;
    display: inline-block;
    padding-bottom: 5px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.location-card {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    border-left: 4px solid #4CAF50;
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-left-color: #2c3e50;
}

.casino-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.casino-address {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.casino-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 0.9rem;
    background: #f9f9f9;
    padding: 0.8rem;
    border-radius: 4px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: #555;
}

.detail-item strong {
    color: #333;
}

.location-card a {
    background: #4CAF50;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: 0.8rem;
    border-radius: 4px;
    margin-top: auto;
    transition: background 0.2s;
    display: block;
}

.location-card a:hover {
    background: #3d8b40;
}

.loading {
    text-align: center;
    padding: 4rem;
    font-size: 1.2rem;
    color: #666;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.error {
    text-align: center;
    padding: 4rem;
    color: #e74c3c;
    font-size: 1.2rem;
}