@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-red: #ff0000;
    --dark-red: #af0000;
    --accent-red: #aa0000;
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #333333;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-red: rgba(255, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #ff0000, #af0000);
    --gradient-dark: linear-gradient(135deg, #0a0a0a, #000000);
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--gradient-dark);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    min-height: 100vh;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 1) 50%);
    pointer-events: none;
    z-index: -1;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 6rem);
    min-height: calc(100vh - 80px);
    position: relative;
}

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}
h1, h1 a {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    color: var(--primary-red);
    font-size: clamp(2.5rem, 8vw, 4rem);
    text-align: center;
    margin: clamp(2rem, 5vw, 4rem) 0 1rem;
    letter-spacing: -0.02em;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 20px var(--shadow-red);
    outline: none !important;
    border: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--shadow-red);
}

h1:hover::after {
    opacity: 1;
    width: 120px;
}

h1:hover, h1 a:hover, h1:focus, h1 a:focus {
    transform: translateY(-2px);
    text-decoration: none;
    border: none;
    color: #ff3333;
    filter: drop-shadow(0 4px 20px var(--shadow-red));
}

h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h3 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-bottom: 2px dotted rgba(255, 0, 0, 0.6);
    padding-bottom: 2px;
}

a:hover,
a:focus {
    color: #ff3333;
    text-shadow: 0 0 10px var(--shadow-red);
    border-bottom: 2px dotted #ff3333;
}

a:focus, a:active, a:visited, a:hover {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.menu {
    text-align: center;
    margin-bottom: 3rem;
}

.menu a, .artists a {
    font-family: 'Orbitron', monospace;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    margin: 0 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.menu a::before, .artists a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.menu a:hover::before, .artists a:hover::before {
    left: 0;
}

.menu a:hover, .artists a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

#content {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    text-align: left;
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

#content div {
    padding: 1rem 0;
    line-height: 1.7;
}

#content strong {
    font-weight: 600;
    color: var(--primary-red);
}

/* Video wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 2rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.artists {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.artists-name {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
}

.artist-description {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.artist-description:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.artist-description span {
    display: block;
    padding: 0.5rem 0;
    line-height: 1.6;
}

#death-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.95) 70%);
    backdrop-filter: blur(20px);
    z-index: 9999;
    animation: fadeInScreen 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#death-screen.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

#death-screen span {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInText 4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    text-shadow: 0 0 50px var(--shadow-red);
}

@keyframes fadeInScreen {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
        font-size: 3rem;
        transform: scale(0.5) rotate(-5deg);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }
    100% {
        opacity: 1;
        font-size: clamp(4rem, 15vw, 10rem);
        transform: scale(1) rotate(0deg);
    }
}

.footer {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.9rem;
    padding: 2rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.footer span {
    color: var(--bg-tertiary);
}

#map {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

#map svg {
    width: 100%;
    height: auto;
}

#map g {
    cursor: pointer;
    transition: all 0.3s ease;
}

#map g:hover {
    fill: var(--primary-red);
    filter: drop-shadow(0 0 10px var(--shadow-red));
}

.radioactive-1 {
    color: var(--primary-red);
    filter: drop-shadow(0 0 20px var(--shadow-red));
    animation: pulse 2s infinite;
}

.radioactive-2 {
    color: var(--primary-red);
    filter: drop-shadow(0 0 15px var(--shadow-red));
    animation: pulse 2s infinite 0.5s;
}

.radioactive-3 {
    color: var(--primary-red);
    filter: drop-shadow(0 0 10px var(--shadow-red));
    animation: pulse 2s infinite 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.radioactive-active, .radioactive:hover {
    position: relative;
    color: var(--primary-red);
}

.radioactive-active::before, .radioactive a:hover::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, var(--shadow-red) 0%, transparent 70%);
    z-index: -1;
    filter: blur(20px);
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .wrapper {
        padding: 0 1.5rem;
    }

    .menu a, .artists a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0.25rem;
    }

    #content {
        font-size: 1rem;
    }

    .artists {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .glass-container {
        animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

*:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

::selection {
    background: var(--primary-red);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--primary-red);
    color: var(--text-primary);
}
