/* styles.css - basic responsive styles for the player */

:root{
  --bg: #0f1724;
  --card: #0b1220aa;
  --accent: #00a3ff;
  --glass: rgba(255,255,255,0.04);
  --muted: #9aa7b2;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, #071027 0%, #07121a 100%);
  color: #e6eef6;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

/* Layout */
.player-wrapper{
  width:100%;
  max-width:980px;
}

.player-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.player-header h1{
  margin:0;
  font-size:20px;
  letter-spacing:0.2px;
}

.status{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

/* Video card */
.video-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.04);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
  backdrop-filter: blur(6px);
}

.video{
  width:100%;
  height: calc(100vw * 9 / 16);
  max-height: 66vh;
  background: black;
  display:block;
  border-radius:8px;
  outline: none;
}

/* Keep 16:9 ratio on large screens */
@media(min-width:640px){
  .video{height: 56vh}
}

.controls-row{
  display:flex;
  gap:10px;
  margin-top:10px;
  align-items:center;
}

.btn{
  background:var(--glass);
  border:1px solid rgba(255,255,255,0.04);
  color:var(--muted);
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  font-size:13px;
}

.btn:hover{ color: #fff; transform: translateY(-1px) }

.link{
  text-decoration:none;
  display:inline-block;
}

/* Footer */
.credits{
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}