/*=============== OUTBACK HOSTING RADIO - MAIN STYLES ===============*/

/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --first-color: #3b82f6;
  --first-color-alt: #1e40af;
  --first-color-light: #60a5fa;
  --accent-color: #f59e0b;
  --title-color: #f8fafc;
  --text-color: #cbd5e1;
  --text-color-light: #94a3b8;
  --body-color: #0f172a;
  --container-color: #1e293b;
  --border-color: #334155;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, var(--first-color), var(--first-color-alt));

  /*========== Font and typography ==========*/
  --body-font: 'Inter', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /*========== Transitions ==========*/
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1.125rem;
    --small-font-size: 1rem;
    --smaller-font-size: 0.875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: var(--transition);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

input, button, textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.section {
  padding-block: 5rem 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.main {
  overflow: hidden;
}

/*=============== BUTTONS ===============*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
  color: #fff;
  background: #0f172a;
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--first-color);
  border: 2px solid var(--first-color);
}

.btn--secondary:hover {
  background: var(--first-color);
  color: white;
}

.btn--outline {
  border: 1px solid var(--border-color);
}

.btn--outline:hover {
  background: var(--first-color);
  border-color: var(--first-color);
  color: white;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-fixed);
  transition: var(--transition);
}

.header--scrolled {
  background-color: rgba(15, 23, 42, 0.98);
  box-shadow: 0 2px 20px var(--shadow-color);
}



.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-size: var(--h3-font-size);
}

.nav__logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--first-color);
}

.nav__menu {
  position: fixed;
  top: -100%;
  left: 0;
  background-color: var(--container-color);
  width: 100%;
  padding: 4rem 0 3rem;
  transition: var(--transition);
  z-index: var(--z-fixed);
}

.nav__list {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--first-color);
}

.nav__link.active-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--first-color);
  border-radius: 1px;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__toggle {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}

.show-menu {
  top: 0;
}



/*=============== MOBILE PLAYER ===============*/
.mobile-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--container-color);
  border-top: 1px solid var(--border-color);
  z-index: var(--z-fixed);
  transform: translateY(100%);
  transition: var(--transition);
}

.mobile-player.show {
  transform: translateY(0);
}

.mobile-player__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.mobile-player__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.mobile-player__artwork {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.25rem;
  object-fit: cover;
}

.mobile-player__text {
  flex: 1;
  min-width: 0;
}

.mobile-player__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-player__artist {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-player__play {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--first-color);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-player__play:hover {
  background: var(--first-color-alt);
  transform: scale(1.05);
}

.mobile-player__play svg {
  width: 1rem;
  height: 1rem;
}

.mobile-player__progress {
  height: 2px;
  background: var(--border-color);
  position: relative;
}

.mobile-player__progress-bar {
  height: 100%;
  background: var(--first-color);
  width: 0%;
  transition: width 0.3s ease;
}

/*=============== HERO ===============*/
.hero {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--body-color) 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero__container {
  display: grid;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero__content {
  text-align: center;
}

.hero__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero__accent {
  background: linear-gradient(135deg, var(--first-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--first-color);
}

.stat__label {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

/*=============== PLAYER ===============*/
.player {
  background: var(--container-color);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 40px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.player::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.player__artwork {
  position: relative;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.player__artwork-img {
  width: 200px;
  height: 200px;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.player__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border: 2px solid var(--first-color);
  border-radius: 1rem;
  opacity: 0;
  animation: playerPulse 2s infinite;
}

@keyframes playerPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0;
  }
}

.player__info {
  text-align: center;
  margin-bottom: 1.5rem;
}

.player__track {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.player__artist {
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
}

.player__controls {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.player__btn {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  pointer-events: auto;
  z-index: 10;
  position: relative;
}

.player__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.player__btn svg {
  width: 1.5rem;
  height: 1.5rem;
  pointer-events: none;
}

.player__volume {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.player__volume-btn {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.player__volume-btn:hover {
  background: var(--border-color);
  color: var(--title-color);
}

.player__volume-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.volume-range {
  flex: 1;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--first-color);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

/*=============== WAVEFORM ===============*/
.player__waveform {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 2px;
  height: 40px;
}

.waveform-bar {
  width: 3px;
  background: var(--first-color);
  border-radius: 2px;
  animation: waveform 1.5s ease-in-out infinite;
  opacity: 0.7;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; height: 20px; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; height: 35px; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; height: 15px; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; height: 40px; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; height: 25px; }
.waveform-bar:nth-child(6) { animation-delay: 0.5s; height: 30px; }
.waveform-bar:nth-child(7) { animation-delay: 0.6s; height: 18px; }
.waveform-bar:nth-child(8) { animation-delay: 0.7s; height: 32px; }

@keyframes waveform {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

/*=============== NOW PLAYING ===============*/
.now-playing {
  background: var(--container-color);
}

.now-playing__grid {
  display: grid;
  gap: 2rem;
}

.now-playing__subtitle {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.recent-tracks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/*=============== TRACK CARDS ===============*/
.track-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--body-color);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.track-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-color);
  border-color: var(--first-color);
}

.track-card--large {
  padding: 1.5rem;
  flex-direction: column;
  text-align: center;
}

.track-card--large .track-card__artwork {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1rem;
}

.track-card__artwork {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
}

.track-card--no-image {
  padding-left: 1rem;
}

.track-card--no-image .track-card__info {
  margin-left: 0;
}

.track-card__info {
  flex: 1;
  min-width: 0;
}

.track-card__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--title-color);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-card__artist {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-card__time {
  font-size: var(--smaller-font-size);
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-top: 0.25rem;
  display: block;
}

.no-history {
  text-align: center;
  color: var(--text-color-light);
  font-style: italic;
  padding: 2rem;
  background: var(--body-color);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
}

.track-card__status {
  font-size: var(--smaller-font-size);
  color: var(--accent-color);
  font-weight: var(--font-medium);
}

/*=============== LIBRARY ===============*/
.library__search {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-inline: auto;
}

.search-input {
  flex: 1;
  padding: 1rem;
  background: var(--container-color);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-color);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--first-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-btn {
  padding: 1rem;
  background: var(--first-color);
  border: none;
  border-radius: 0.5rem;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--first-color-alt);
}

.search-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.library__grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.library-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--container-color);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.library-item:hover {
  border-color: var(--first-color);
  transform: translateY(-2px);
}

.library-item__artwork {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  object-fit: cover;
  background: var(--border-color);
}

.library-item--no-image {
  padding-left: 1rem;
}

.library-item--no-image .library-item__info {
  margin-left: 0;
}

.library-error {
  text-align: center;
  color: var(--text-color-light);
  font-style: italic;
  padding: 3rem;
  background: var(--container-color);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  grid-column: 1 / -1;
}

.library-item__info {
  flex: 1;
  min-width: 0;
}

.library-item__title {
  font-weight: var(--font-medium);
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.library-item__artist {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.library-item__actions {
  display: flex;
  gap: 0.5rem;
}

.library-item__btn {
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.library-item__btn:hover {
  background: var(--first-color);
  border-color: var(--first-color);
  color: white;
}

.library-item__btn svg {
  width: 1rem;
  height: 1rem;
}

/*=============== SHOWS ===============*/
.shows__grid {
  display: grid;
  gap: 2rem;
}

.show-card {
  background: var(--container-color);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.show-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--shadow-color);
  border-color: var(--first-color);
}

.show-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.show-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.show-card__status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--accent-color);
  color: white;
  border-radius: 1rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.show-card__content {
  padding: 1.5rem;
}

.show-card__title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.show-card__host {
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-bottom: 0.5rem;
}

.show-card__time {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin-bottom: 1rem;
}

.show-card__description {
  color: var(--text-color);
  line-height: 1.6;
}

/*=============== SCHEDULE ===============*/
.schedule__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--container-color);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.schedule-item:hover {
  border-color: var(--first-color);
  transform: translateX(4px);
}

.schedule-item--current {
  border-color: var(--first-color);
  background: rgba(59, 130, 246, 0.05);
}

.schedule-item__time {
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  color: var(--first-color);
  min-width: 80px;
}

.schedule-item__content {
  flex: 1;
}

.schedule-item__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.schedule-item__host {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.schedule-item__status {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  background: var(--border-color);
  color: var(--text-color);
}

.schedule-item__status--live {
  background: var(--accent-color);
  color: white;
  animation: livePulse 2s infinite;
}

/*=============== NEWSLETTER ===============*/
.newsletter {
  background: var(--gradient-primary);
  color: white;
}

.newsletter__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1rem;
  color: white;
}

.newsletter__description {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter__form {
  max-width: 400px;
  margin: 0 auto;
}

.newsletter__input-group {
  display: flex;
  gap: 0.5rem;
  background: white;
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.newsletter__input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: none;
  background: transparent;
  color: var(--body-color);
  font-size: var(--normal-font-size);
}

.newsletter__input::placeholder {
  color: var(--text-color-light);
}

.newsletter__btn {
  background: var(--first-color-alt);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: var(--transition);
}

.newsletter__btn:hover {
  background: var(--body-color);
}

/*=============== CONTACT ===============*/
.contact__grid {
  display: grid;
  gap: 3rem;
}

.contact__subtitle {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 2rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--first-color);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact__item h4 {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 0.25rem;
}

.contact__item p {
  color: var(--text-color);
}

/*=============== FORMS ===============*/
.contact__form {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 1rem;
  background: var(--body-color);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-color);
  transition: var(--transition);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--first-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-color-light);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/*=============== FOOTER ===============*/
.footer {
  background: var(--container-color);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
}

.footer__content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand {
  text-align: center;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.footer__logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--first-color);
}

.footer__description {
  color: var(--text-color);
  max-width: 300px;
  margin: 0 auto 1.5rem;
}

.footer__links {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.footer__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  margin-bottom: 1rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: var(--text-color);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer__social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--body-color);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: var(--transition);
}

.footer__social-link:hover {
  background: var(--first-color);
  border-color: var(--first-color);
  color: white;
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer__copyright {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}

.footer__legal {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer__legal-link {
  color: var(--text-color);
  font-size: var(--small-font-size);
  transition: var(--transition);
}

.footer__legal-link:hover {
  color: var(--first-color);
}

/*=============== UTILITIES ===============*/
.loading {
  opacity: 0.6;
}

.player__btn.loading {
  pointer-events: auto;
}

.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 350px) {
  .container {
    padding-inline: 0.5rem;
  }
  
  .hero__stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .newsletter__input-group {
    flex-direction: column;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .hero__container {
    grid-template-columns: 1fr;
  }
  
  .now-playing__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  
  .shows__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .library__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer__content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  
  .footer__brand {
    text-align: left;
  }
  
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
  
  .footer__social {
    justify-content: flex-start;
  }
  
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* For large devices */
@media screen and (min-width: 768px) {
  .nav__menu {
    position: static;
    background: transparent;
    padding: 0;
    width: auto;
  }
  
  .nav__list {
    flex-direction: row;
    gap: 2rem;
  }
  
  .nav__close,
  .nav__toggle {
    display: none;
  }
  
  .hero__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
  
  .hero__content {
    text-align: left;
  }
  
  .mobile-player {
    display: none;
  }
  
  .footer__content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  
  .footer__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .section {
    padding-block: 7rem 3rem;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + 3rem);
  }
  
  .hero__container {
    gap: 6rem;
  }
  
  .player {
    padding: 3rem;
  }
  
  .shows__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}