/* ===== GENERAL ===== */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(120deg, #0f0c29, #302b63, #24243e);
  color: #f0f0f0;
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background-color: rgba(31, 31, 31, 0.95);
  box-shadow: 0 4px 6px rgba(0,0,0,0.4);
}

header h1 {
  margin: 0;
  font-size: 1.8em;
  color: #ffd700;
  text-shadow: 1px 1px 3px #000;
}

nav a {
  color: #f0f0f0;
  margin-left: 20px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #ffd700;
  transition: width 0.3s;
}

nav a:hover {
  color: #ffd700;
}

nav a:hover::after {
  width: 100%;
}

/* ===== RADIO SECTION ===== */
.radio-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(26, 26, 26, 0.85);
  border-bottom: 2px solid #ffd700;
  transition: background 0.3s;
}

.radio-section select,
.radio-section button {
  margin: 10px 0;
  padding: 8px 12px;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  background-color: #ffd700;
  color: #121212;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.radio-section select:hover,
.radio-section button:hover {
  background-color: #e6c200;
  transform: scale(1.05);
}

/* ===== CHAT WRAPPER TIPO "IFRAME" ===== */
#chatWrapper {
  position: fixed;      
  bottom: 0;            
  right: 20px;          
  width: 350px;         
  height: 500px;        
  z-index: 9999;        
  transition: all 0.5s ease;
}

#chatWrapper.oculto {
  opacity: 0;           
  pointer-events: none; 
}

#chatContainer {
  width: 100%;
  height: 100%;
  border: 2px solid #ffd700;
  border-radius: 10px;
  overflow: hidden;
}

/* ===== FOOTER ===== */
footer {
  padding: 15px 25px;
  background-color: rgba(31, 31, 31, 0.95);
  text-align: center;
  border-top: 2px solid #ffd700;
  box-shadow: 0 -4px 6px rgba(0,0,0,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 10px;
  }

  .radio-section {
    width: 95%;
  }

  #chatWrapper {
    width: 90%;
    height: 400px;
    right: 5%;
    bottom: 10px;
  }
}
