:root {
    --primary: #00ffff;
    --bg-dark: #000;
    --glass: rgba(255, 255, 255, 0.05);
    
    /* --- GOMB SZÍNEK --- */
    --insta-color: #40e0d0;
    --drive-color: #98fb98;
}

* { box-sizing: border-box; margin: 0; padding: 0; cursor: none !important; user-select: none; }

body {
    background: var(--bg-dark);
    color: white;
    font-family: 'Kanit', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

/* --- HÁTTÉR --- */
.sky { position: fixed; width: 100%; height: 100%; background: #000; z-index: -2; }
.stars { position: fixed; width: 100%; height: 100%; background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/stars.png) repeat; opacity: 0.4; z-index: -1; animation: moveStars 150s linear infinite; }
@keyframes moveStars { from {background-position: 0 0;} to {background-position: -1000px 1000px;} }

/* --- HULLÓCSILLAG --- */
.shooting-star {
    position: fixed;
    width: 0; 
    height: 0;
    animation: shoot 3s linear infinite; 
    opacity: 0; 
    z-index: 0; 
    pointer-events: none;
}

.shooting-star::after {
    content: ''; 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    width: 250px; 
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), transparent);
    right: 0;
}

@keyframes shoot {
    0% { transform: rotate(-45deg) translateX(0); opacity: 1; }
    100% { transform: rotate(-45deg) translateX(-1200px); opacity: 0; }
}

/* --- OVERLAY --- */
#start-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; 
    z-index: 5000;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}
#start-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.overlay-content h1 { font-size: 2rem; letter-spacing: 5px; color: white; margin: 0; font-weight: 300; animation: fadeInOut 2s infinite; }
@keyframes fadeInOut { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* --- KURZOR --- */
#cursor-canvas { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999999; }
#custom-cursor { 
    position: fixed; width: 12px; height: 12px; background: white; border-radius: 50%; 
    transform: translate(-50%, -50%); pointer-events: none; z-index: 999999;
    box-shadow: 0 0 20px white; transition: width 0.2s, height 0.2s, background 0.2s;
}
body.active-cursor #custom-cursor { width: 40px; height: 40px; background: transparent; border: 2px solid white; }

/* --- FŐ TARTALOM --- */
.container {
    width: 100%; height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    gap: 80px; 
    padding-bottom: 80px;
    z-index: 10;
}

/* --- CÍM --- */
.title-wrapper { position: relative; }
.main-title {
    font-size: 8rem; line-height: 1; font-weight: 900; letter-spacing: 10px; margin: 0;
    color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
    transition: all 0.5s ease; filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}

.main-title:hover {
    color: white; 
    -webkit-text-stroke: 2px #240042 !important;
    filter: drop-shadow(0 0 20px #240042) drop-shadow(0 0 40px #240042) !important;
    transform: scale(1.05);
}

.glow-line {
    width: 0%; 
    height: 4px; 
    background: #240042 !important;
    margin: 10px auto 0; 
    transition: width 0.5s ease; 
    box-shadow: 0 0 20px #240042 !important;
}
.title-wrapper:hover .glow-line { width: 100%; }

/* --- 3D BUTTONOK --- */
.links-container { 
    display: flex; gap: 40px; 
    perspective: 1000px;
}

.card-link {
    position: relative; width: 220px; height: 300px;
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 20px;
    text-decoration: none; 
    transition: all 0.1s ease-out;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
}

.card-content-3d {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transform: translateZ(50px); 
}

.card-icon svg { width: 60px; height: 60px; fill: white; margin-bottom: 25px; transition: 0.4s; filter: drop-shadow(0 0 5px rgba(255,255,255,0.5)); }
.card-link h2 { color: white; font-size: 1.6rem; margin: 0; font-weight: 700; letter-spacing: 2px; }
.card-link p { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 5px; font-weight: 300; }

/* --- INSTAGRAM BUTTON HOVER --- */
.card-link.instagram:hover { 
    border-color: var(--insta-color); 
    box-shadow: 0 0 60px rgba(64, 224, 208, 0.2); 
}
.card-link.instagram:hover .card-icon svg { fill: var(--insta-color); filter: drop-shadow(0 0 20px var(--insta-color)); }
.card-link.instagram:hover h2 { color: var(--insta-color); }

/* --- DRIVE BUTTON HOVER --- */
.card-link.drive:hover { 
    border-color: var(--drive-color); 
    box-shadow: 0 0 60px rgba(152, 251, 152, 0.2); 
}
.card-link.drive:hover .card-icon svg { fill: var(--drive-color); filter: drop-shadow(0 0 20px var(--drive-color)); }
.card-link.drive:hover h2 { color: var(--drive-color); }


/* --- HANGLEJÁTSZÓ --- */
.player-container {
    position: fixed; 
    bottom: -100px;
    left: 50%; 
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    width: 500px; height: 80px;
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 25px; overflow: hidden; z-index: 10000;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- BELÉPÉS UTÁNI BECSÚSZÁS (HANGLEJÁTSZÓ) --- */
.player-container.show-player {
    bottom: 40px;
    opacity: 1;
    pointer-events: all;
}

.player-container:hover {
    background: rgba(30, 30, 30, 0.85); border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.player-art {
    width: 45px; height: 45px; border-radius: 50%; background: #111;
    position: relative; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.vinyl-disc {
    width: 100%; height: 100%; border-radius: 50%;
    background: conic-gradient(#222 0%, #000 25%, #222 50%, #000 75%, #222 100%);
    position: relative;
}
.vinyl-disc::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 12px; height: 12px; background: var(--primary); border-radius: 50%;
    box-shadow: 0 0 5px var(--primary);
}
.playing .vinyl-disc { animation: spin 3s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.player-info {
    flex-grow: 1; display: flex; flex-direction: column; justify-content: center;
    margin-left: 15px; overflow: hidden;
}
.music-title { color: white; font-size: 1rem; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.music-artist { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.5px; margin-top: 2px; }

.player-controls { display: flex; align-items: center; justify-content: center; }
.play-btn {
    background: white; color: black; border: none; border-radius: 50%;
    width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
.play-btn:hover { transform: scale(1.1); background: var(--primary); box-shadow: 0 0 20px var(--primary); }
.play-btn svg { width: 18px; height: 18px; fill: black; margin-left: 2px; }

.player-volume { width: 100px; margin-left: 20px; display: flex; align-items: center; }
input[type=range] {
    width: 100%; height: 4px; background: rgba(255, 255, 255, 0.1);
    border-radius: 2px; -webkit-appearance: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 12px; height: 12px; background: white;
    border-radius: 50%; box-shadow: 0 0 10px rgba(0,0,0,0.5); transition: 0.2s;
}
input[type=range]:hover::-webkit-slider-thumb { background: var(--primary); transform: scale(1.2); }

.progress-bar-bg {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
    background: rgba(255, 255, 255, 0.05);
}
.progress-bar-fill {
    height: 100%; width: 0%; background: var(--primary);
    box-shadow: 0 0 10px var(--primary); transition: width 0.1s linear;
}
.playing .progress-bar-fill { animation: progressAnim 180s linear forwards; }
@keyframes progressAnim { from { width: 0%; } to { width: 100%; } }

/* --- MOBIL NÉZET --- */
@media (max-width: 768px) {

    body {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
    }

    .main-title { font-size: 4rem; letter-spacing: 5px; }
    
    .links-container { 
        flex-direction: column; 
        gap: 30px; 
    }
    
    .card-link { 
        width: 260px; height: 180px; 
    }

    /* --- HANGLEJÁTSZÓ MOBILON --- */
    .player-container { 
        width: 90%; 
        height: auto;
        min-height: 140px;
        bottom: 20px; 
        padding: 20px; 
        
        flex-direction: column;
        gap: 15px;
    }
    
    /* --- ZENE INFÓJA --- */
    .player-info {
        margin: 0;
        text-align: center;
        align-items: center;
    }
    
    .player-volume { 
        display: flex; 
        width: 100%; 
        margin: 0;
    }

    input[type=range]::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
        box-shadow: 0 0 15px rgba(0,0,0,0.8);
    }
}