:root {
    --primary-color: #00f0ff;
    --secondary-color: #ff00ea;
    --bg-color: #0a0a12;
    --text-main: #ffffff;
    --text-muted: #b0b0c0;
    --glass-bg: rgba(15, 15, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background layers */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('bg_mountain_edm.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.05);
    animation: slowZoom 30s infinite alternate linear;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(10,10,20,0.7) 100%);
    z-index: -1;
}

/* Layout */
.content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem 1rem;
    align-items: center;
    justify-content: space-between;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.glitch {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Player Container (Glassmorphism) */
.player-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    animation: zoomIn 1s cubic-bezier(0.1, 0.8, 0.3, 1) 0.3s forwards;
    opacity: 0;
    transform: scale(0.9);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.2);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.player-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.player-header h2 i {
    color: var(--primary-color);
}

.pulse-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-indicator span {
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary-color);
    animation: pulse 1.5s infinite;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

/* Footer */
.footer {
    text-align: center;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.social-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-nav a:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.4);
    border-color: var(--primary-color);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.copyright a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.copyright a:hover {
    color: var(--text-main);
    text-shadow: 0 0 5px var(--primary-color);
}

/* Unmute Overlay */
.unmute-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.4s ease, visibility 0.4s;
    border-radius: 12px;
}

.unmute-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.unmute-content {
    text-align: center;
    color: var(--text-main);
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
    transition: transform 0.3s ease;
}

.unmute-overlay:hover .unmute-content {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.4);
}

.pulse-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: iconPulse 2s infinite;
}

.unmute-content h3 {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* Ensure Plyr inherits radius and fills wrapper */
.video-wrapper .plyr {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

/* Animations */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes fadeInDown {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 234, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 0, 234, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 234, 0); }
}

@keyframes iconPulse {
    0% { transform: scale(1); text-shadow: 0 0 0 rgba(0, 240, 255, 0.7); }
    50% { transform: scale(1.1); text-shadow: 0 0 20px rgba(0, 240, 255, 1); }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(0, 240, 255, 0); }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .glitch { font-size: 2.5rem; }
    .subtitle { font-size: 0.85rem; padding: 0 1rem; }
    .glass-panel { padding: 1rem; }
    .social-nav gap { gap: 1rem; }
}
