@font-face {
    font-family: 'eurostile';
    src: url(/asset/font/eurostile.TTF);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'eurostile';
    background: #0a0a0a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 140px;
}

.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
}

.info-text {
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    margin-top: 20px;
}

.gradient-subtitle {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 30px;
}

.presentation-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #ffffff;
  margin-top: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/* 🎯 GLOBAL */
.app {
    max-width: 700px;
    margin: auto;
    padding: 30px 20px;
    width: 100%;
}

/* 🎬 VIDEO */
.player-box {
    border-radius: 25px;
    overflow: hidden;
    background: var(--card);
    backdrop-filter: blur(20px);
    max-height: 550px;
    width: 100%;
}

#player {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
}

/* 🎵 INFOS */
.info {
    text-align: center;
    margin-top: 15px;
}

.info h2 {
    margin: 0;
}

.info p {
    opacity: 0.6;
}

/* ⏱ PROGRESS */
.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

input[type="range"] {
    flex: 1;
    accent-color: var(--accent);
}

/* 🎮 CONTROLS */
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 20px;
}

.controls button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(0, 198, 255, 0.3);
    border-radius: 12px;
    width: 50px;
    height: 50px;
    color: #00c6ff;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(0, 198, 255, 0.6);
    transform: scale(1.05);
}

.controls button:active {
    transform: scale(0.95);
}

.main {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    font-size: 28px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
    transition: all 0.2s ease;
}

.main:hover {
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.6);
    transform: translateY(-2px);
}

.main:active {
    transform: translateY(0);
}

/* 🔊 */
.volume {
    margin-top: 15px;
}

/* 🎞 PLAYLIST */
.playlist {
    margin-top: 20px;
}

.video-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
}

.video-item:hover {
    background: rgba(255,255,255,0.05);
}

.video-item img {
    width: 100px;
    border-radius: 8px;
}

/* 🖥 DESKTOP */
@media (min-width: 900px) {
    .app {
        max-width: 700px;
        padding: 40px 20px;
    }
    
    .player-box {
        max-height: 550px;
    }
}

@media (min-width: 1200px) {
    .app {
        max-width: 700px;
    }
    
    .player-box {
        max-height: 550px;
    }
}

@media (min-width: 1400px) {
    .app {
        max-width: 700px;
    }
    
    .player-box {
        max-height: 550px;
    }
}

/* Footer layout */
footer.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    flex-shrink: 0;
    background: #0a0a0a;
    z-index: 100;
    width: 100%;
}

/* Hide footer on mobile */
@media (max-width: 480px) {
    footer.footer {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
}

/* Padding pour desktop avec footer fixe */
@media (min-width: 769px) {
    body {
        padding-bottom: 130px;
    }
}

/* Tablettes - 769px à 900px */
@media (min-width: 769px) and (max-width: 899px) {
    body {
        padding-bottom: 130px;
    }
    
    .app {
        max-width: 700px;
        padding: 25px 15px;
    }
    
    .player-box {
        max-height: 450px;
    }
    
    .controls button {
        width: 48px;
        height: 48px;
    }
    
    .main {
        width: 65px;
        height: 65px;
    }
}

/* Mobile - 768px et moins */
@media (max-width: 768px) {
    body {
        padding-bottom: 100px;
    }
    
    .info-text {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .gradient-subtitle {
        font-size: 1.8rem;
    }
    
    .app {
        max-width: 100%;
        padding: 20px 12px;
    }
    
    .player-box {
        max-height: 350px;
        border-radius: 20px;
    }
    
    #player {
        width: 100%;
        aspect-ratio: 16/9;
    }
    
    .controls button {
        width: 45px;
        height: 45px;
    }
    
    .main {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
    
    .controls {
        gap: 20px;
    }
    
    .video-item img {
        width: 80px;
    }
    
    .info {
        margin-top: 12px;
    }
    
    .progress-container {
        gap: 8px;
        font-size: 0.85rem;
    }
}

/* Extra small devices - 480px et moins */
@media (max-width: 480px) {
    .gradient-subtitle {
        font-size: 1.5rem;
    }
    
    .app {
        padding: 15px 10px;
    }
    
    .player-box {
        max-height: 300px;
        border-radius: 15px;
    }
    
    .controls button {
        width: 40px;
        height: 40px;
    }
    
    .main {
        width: 55px;
        height: 55px;
        font-size: 16px;
    }
    
    .controls {
        gap: 15px;
    }
    
    .video-item img {
        width: 70px;
    }
    
    .info h2 {
        font-size: 1rem;
    }
    
    .info p {
        font-size: 0.85rem;
    }
    
    .progress-container {
        gap: 6px;
        font-size: 0.75rem;
    }
}