/* Google Fonts importálása a szebb betűtípusért */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* CSS Változók a könnyű színezésért */
:root {
  --primary-color: #ffcc00; /* Sárga */
  --dark-bg-overlay: rgba(18, 18, 18, 0.85); /* Sötét háttér átmenettel */
  --card-bg: rgba(30, 30, 30, 0.9); /* Kártya háttér */
  --text-color: #e0e0e0;     /* Szöveg színe */
  --header-footer-bg: rgba(10, 10, 10, 0.8); /* Fejléc/lábléc háttér */
}

/* Alapbeállítások és animált háttér */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes backgroundZoom {
  0% { transform: scale(1.0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1.0); }
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?q=80&w=2070&auto=format&fit=crop'); /* Jogdíjmentes kép az Unsplash-ról */
  background-size: cover;
  background-position: center;
  z-index: -2;
  animation: backgroundZoom 40s infinite ease-in-out;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: var(--dark-bg-overlay);
    z-index: -1;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fejléc és Navigáció */
header {
  background-color: var(--header-footer-bg);
  padding: 15px 0;
  border-bottom: 2px solid var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px); /* Üvegszerű hatás */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
}

.logo-svg {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

nav ul { list-style: none; }
nav ul li { display: inline-block; margin-left: 25px; }
nav a { color: var(--text-color); text-decoration: none; font-size: 16px; font-weight: 700; padding-bottom: 5px; transition: color 0.3s ease, border-color 0.3s ease; }
nav a:hover { color: var(--primary-color); }
nav a.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }

/* Fő tartalom */
main {
  padding: 60px 0;
}

/* === MODERN LEJÁTSZÓ STÍLUSOK === */
.modern-player {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.player-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.player-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.player-logo svg {
    width: 100%;
    height: 100%;
}

.player-text h2 {
    color: var(--primary-color);
    margin: 0 0 5px 0;
    font-size: 1.8rem;
}

.player-text p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

#visualizer {
    width: 100%;
    height: 120px;
    display: block;
    margin: 20px 0;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.play-pause-btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background-color 0.3s;
}

.play-pause-btn:hover {
    transform: scale(1.1);
}

.play-pause-btn svg {
    width: 32px;
    height: 32px;
    fill: #121212;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-control svg {
    width: 24px;
    height: 24px;
    fill: var(--text-color);
}

#volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 5px;
    background: #444;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
}

#volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    border: none;
}

/* Általános kártya dizájn (a többi oldalhoz) */
.card {
  background-color: var(--card-bg);
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
h1, h2 { color: var(--primary-color); margin-bottom: 20px; font-weight: 700; }
h1 { font-size: 2.5rem; text-align: center; }
h2 { font-size: 2rem; }
p { margin-bottom: 15px; }

/* Lábléc */
footer {
  text-align: center;
  padding: 30px;
  margin-top: 40px;
  background-color: var(--header-footer-bg);
  color: #888;
  border-top: 1px solid #333;
  backdrop-filter: blur(8px);
}