:root {
  --color-primary: #FF0644;
  --color-primary-hover: #E36586;
  --color-background: #0E69B2;
  --color-text: #ffffff;
  --color-button-text: #ffffff;
  --button-size: 50px;
  --border-radius-button: 25px;
  --font-family-main: "Graduate", serif;
  --spacing-small: 10px;
  --spacing-medium: 20px;
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-family-main);
  color: var(--color-text);
  background-color: var(--color-background);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: cover;
}

.layout-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: var(--spacing-medium);
  padding-bottom: 80px;
  box-sizing: border-box;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--spacing-medium);
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logoimg {
  max-width: 75px;
  height: auto;
  margin-bottom: 8px;
  margin-top: 24px;
  border-radius: 50%;
}

.radio-title {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  text-align: center;
}

.preciosastext {
  font-family: "Love Light", cursive;
  font-size: 32px;
}

.content-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.bottombar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-background);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
  z-index: 10;
}

.btn-custom {
  background-color: var(--color-primary);
  border: none;
  color: var(--color-button-text);
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-custom:hover,
.btn-custom:focus {
  background-color: var(--color-primary-hover);
  transform: scale(1.05);
}

.btn-circle {
  width: var(--button-size);
  height: var(--button-size);
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.toast {
  background: transparent;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.toast-header {
  background-color: var(--color-primary);
  color: var(--color-text);
  font-family: var(--font-family-main);
  border-top-left-radius: var(--border-radius-button);
  border-top-right-radius: var(--border-radius-button);
}

.toast-body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family-main);
  border-bottom-left-radius: var(--border-radius-button);
  border-bottom-right-radius: var(--border-radius-button);
}

@media (max-width: 767.98px) {
  .video-background iframe {
    width: 150vw;
    height: 150vh;
    transform: translate(-50%, -50%) scale(1.5);
  }

  .radio-title {
    font-size: 24px;
  }

  .preciosastext {
    font-size: 18px;
  }

  .logoimg {
    max-width: 55px;
    margin-top: 12px;
  }

  .btn-circle {
    width: calc(var(--button-size) * 0.8);
    height: calc(var(--button-size) * 0.8);
  }
}

@supports (-webkit-touch-callout: none) {
  .layout-container {
    padding-bottom: 100px;
  }
}