* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a1a2e;
    --bg-secondary: #162447;
    --accent-teal: #00d4ff;
    --accent-teal-light: #4dd0e1;
    --text-primary: #ffffff;
    --text-secondary: #b0bec5;
    --nav-blue: #2196f3;
    --nav-yellow: #ffc107;
    --nav-red: #f44336;
    --border-radius: 12px;
    --spacing: 20px;
}

body {
    color: #f0f0f0;
    background-color: #101010;
    line-height: 1.4em;
    font-family: 'Rubik', sans-serif;
    background-image: url('https://www.weloveeverygame.com/images/index/tilted_screenshots_background_blurred.jpg');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: center top;
    min-height: 100vh;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.header .row {
    max-width: 1400px;
    margin: 0 auto;
}

.header a {
    transition: opacity 0.2s;
}

.header a:hover {
    opacity: 0.8;
}

.header img {
    transition: transform 0.2s;
}

.header a:hover img {
    transform: scale(1.05);
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing);
}

.spotlights-section {
    padding: 20px 0;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-title .highlight {
    color: var(--accent-teal-light);
    text-shadow: 0 0 20px #1f9ba7;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 800px;
}

.view-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    padding-bottom: 10px;
}

.view-tab {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.view-tab:hover {
    color: var(--accent-teal);
}

.view-tab.active {
    color: var(--accent-teal);
}

.view-tab.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-teal);
}

.view-container {
    display: none;
    margin-bottom: 40px;
}

.view-container.active {
    display: block;
}

.view-container.collapsible {
    display: block;
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-bottom 0.3s ease-out;
}

.view-container.collapsible.collapsed {
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.view-container.collapsible:not(.collapsed) {
    max-height: none;
    margin-bottom: 40px;
    overflow: visible;
}

#map-view {
    display: block;
    margin-bottom: 20px;
}

#map {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

/* Custom map styling to match site theme */
#map .leaflet-container {
    background: var(--bg-secondary);
}

/* Colorize map tiles to Fiord Color style - blue basemap with visible land masses */
/* Set borders of states and countries to #1f9ba7 using CSS filters */
#map .leaflet-tile-container img {
    filter: 
        brightness(1.05) 
        saturate(1.4) 
        hue-rotate(175deg) 
        contrast(1.15)
        sepia(0.2);
    /* Enhance border visibility */
    image-rendering: -webkit-optimize-contrast;
}

/* Enhance border lines by adding a subtle teal glow effect */
#map .leaflet-tile-pane {
    position: relative;
}

#map .leaflet-tile-pane::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: 
        linear-gradient(0deg, rgba(31, 155, 167, 0.08) 0%, transparent 1px),
        linear-gradient(90deg, rgba(31, 155, 167, 0.08) 0%, transparent 1px);
    background-size: 20px 20px;
    mix-blend-mode: screen;
    opacity: 0.6;
}

/* Style map controls to match dark theme */
#map .leaflet-control-zoom a {
    background-color: var(--bg-secondary);
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: var(--accent-teal);
}

#map .leaflet-control-zoom a:hover {
    background-color: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-teal);
    color: var(--accent-teal-light);
}

#map .leaflet-control-attribution {
    background-color: rgba(10, 26, 46, 0.8);
    color: var(--text-secondary);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

#map .leaflet-control-attribution a {
    color: var(--accent-teal);
}

#map .leaflet-control-attribution a:hover {
    color: var(--accent-teal-light);
}

/* SVG marker styling - no custom CSS needed as using SVG file */

/* Fullscreen button */
.map-fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
    background: var(--bg-secondary);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--accent-teal);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.map-fullscreen-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-teal);
    color: var(--accent-teal-light);
}

.map-fullscreen-btn svg {
    width: 20px;
    height: 20px;
}

/* Fullscreen map styling */
#map-view:fullscreen {
    background: var(--bg-primary);
    padding: 20px;
}

#map-view:fullscreen #map {
    height: calc(100vh - 40px);
    width: calc(100vw - 40px);
}

#map-view {
    display: flex;
    flex-direction: column;
}

#map-view:not(.collapsed) {
    height: calc(100vh - 300px);
    min-height: 200px;
    max-height: 400px;
}

#map-view:not(.collapsed) #map {
    flex: 1;
    height: 100%;
}

.genre-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.genre-chip {
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 25px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.genre-chip:hover {
    border-color: var(--accent-teal);
    background: rgba(0, 212, 255, 0.1);
}

.genre-chip.active {
    background: var(--accent-teal);
    color: var(--bg-primary);
    border-color: var(--accent-teal);
}

.filter-panel {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--accent-teal);
}

.filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 4px 12px;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Rubik', sans-serif;
}

.filter-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-teal);
}

.filter-group select {
    width: 100%;
    padding: 12px;
    background: var(--bg-primary);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px 15px;
    background: var(--bg-primary);
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.2s;
}

.checkbox-group label:hover {
    border-color: var(--accent-teal);
    background: rgba(0, 212, 255, 0.1);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-teal);
}

/* Smaller checkboxes for genres */
.checkbox-group-genres {
    gap: 8px;
}

.checkbox-group-genres label {
    padding: 5px 10px;
    font-size: 0.9rem;
    margin: 0;
}

.checkbox-group-genres input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.sort-control-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-controls label {
    font-weight: 600;
    color: var(--accent-teal);
    font-size: 1rem;
}

.sort-controls select {
    padding: 10px 15px;
    background: var(--bg-secondary);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Rubik', sans-serif;
}

.sort-controls select:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.interviews-section-title {
    font-size: 2rem;
    color: var(--text-primary);
}

.interviews-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.interview-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.interview-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.interview-image {
    width: 300px;
    min-width: 580px;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.interview-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.interview-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interview-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--text-primary);
}

.interview-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.interview-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}

.interview-link:hover {
    gap: 10px;
}

.interview-link::after {
    content: '→';
    font-size: 1.2rem;
}

/* Map markers */
.leaflet-popup-content {
    color: var(--bg-primary);
    margin: 8px 13px !important;
    padding: 0;
}

.leaflet-popup-content-wrapper {
    background: var(--text-primary);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.custom-popup .leaflet-popup-content-wrapper {
    padding: 5px 0px;
}

/*
.leaflet-popup-content h3, .leaflet-popup-content p {
    display: inline;
}
.leaflet-popup-content > div > div a {
    position: absolute;
    right: 0px;
    bottom: 5px;
}
.leaflet-popup-content > div > div{
    position:relative;
}
*/

.custom-popup .leaflet-popup-content {
    width: auto !important;
    max-width: 580px !important;
}

.leaflet-popup-tip {
    background: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .interview-card {
        flex-direction: column;
    }

    .interview-image {
        width: 100%;
        min-width: 100%;
        height: 150px;
    }
}


a {
	text-decoration: none;
}

