:root {
  --primary-color: #ff1493; /* Hot pink */
  --secondary-color: #ff69b4; /* Bright pink */
  --accent-color: #ff00ff; /* Magenta */
  --bg-color: rgba(26, 26, 26, 0.95);
  --text-color: #ffffff;
  --border-radius: 8px;
}

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

body {
  font-family: 'Arial', sans-serif;
  color: #ffffff; 
  line-height: 1.6;
  background: url('iloveyouradio.co-discord-icon.webp') center center fixed;
  background-size: cover;
  min-height: 100vh;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
  background: rgba(26, 26, 26, 0.3);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

.logo {
  margin-bottom: 1rem;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 77, 77, 0.2) 0%, transparent 70%);
  z-index: -1;
  animation: pulse 2s infinite;
}

.logo-text {
  fill: #ff69b4; /* Light pink */
  font-size: 28px;
  font-weight: 900;
  text-shadow: 0 0 10px var(--accent-color);
  dominant-baseline: middle;
  paint-order: stroke fill;
  stroke: #fff;
  stroke-width: 1px;
  position: relative;
  z-index: 2;
}

.pulse {
  animation: pulse 2s infinite;
  fill: #ff1493; /* Hot pink */
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
    0 0 10px var(--primary-color),
    0 0 20px var(--accent-color);
  letter-spacing: 2px;
  -webkit-text-stroke: 1px white;
}

h2, h3, h4 {
  font-weight: 800;
  color: var(--secondary-color);
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
    0 0 5px var(--secondary-color),
    0 0 10px var(--accent-color);
  -webkit-text-stroke: 0.5px white;
}

.membership-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.toggle-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  background-color: #333;
  color: var(--text-color);
  cursor: pointer;
}

.toggle-btn.active {
  background-color: var(--primary-color);
}

.submit-form {
  background-color: rgba(42, 42, 42, 0.3);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #444;
  border-radius: var(--border-radius);
  background-color: #333;
  color: #ffffff; 
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

textarea {
  height: 100px;
  resize: vertical;
}

.tags-container {
  margin-bottom: 1.5rem;
}

.tags-input {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid #444;
  border-radius: var(--border-radius);
  background-color: #333;
}

.tag {
  background-color: var(--primary-color);
  padding: 0.3rem 0.6rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tag-remove {
  cursor: pointer;
  font-weight: bold;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

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

.stream-feed {
  background-color: rgba(42, 42, 42, 0.3);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.streams-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stream-card {
  background-color: rgba(51, 51, 51, 0.3);
  backdrop-filter: blur(5px);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stream-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.stream-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 800;
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
    2px 2px 4px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 0.5px white;
}

.stream-description {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #ffffff; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stream-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stream-tag {
  background-color: var(--primary-color);
  padding: 0.2rem 0.5rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  animation: fadeIn 0.3s ease-in;
}

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

.share-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

.share-button svg {
  stroke: var(--primary-color);
  stroke-width: 3;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.modal-content {
  background-color: rgba(42, 42, 42, 0.8);
  backdrop-filter: blur(15px);
  margin: 15% auto;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  background-color: #333;
  border: none;
  border-radius: var(--border-radius);
  color: var(--text-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.share-btn:hover {
  background-color: var(--primary-color);
}

.share-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab-container {
  display: none;
}

.section {
  display: none;
}

.section.active {
  display: block;
}

.wallet-status {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
  backdrop-filter: blur(5px);
}

.wallet-btn {
  padding: 0.5rem 1rem;
  background-color: #4CAF50;
  border: none;
  border-radius: var(--border-radius);
  color: white;
  cursor: pointer;
}

.wallet-address {
  display: none;
  padding: 0.5rem;
  background-color: #333;
  border-radius: var(--border-radius);
  font-family: monospace;
}

.upload-progress {
  margin-top: 0.5rem;
  height: 4px;
  background-color: #333;
  border-radius: var(--border-radius);
}

.upload-progress::before {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  transition: width 0.3s ease;
}

.demo-card {
  background-color: #333;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.demo-card .nft-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background-color: #4CAF50;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.demo-player {
  width: 100%;
  margin: 1rem 0;
}

.time-widgets {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  z-index: 100;
}

.time-widget {
  background: rgba(0, 0, 0, 0.7);
  padding: 0.8rem;
  border-radius: var(--border-radius);
  text-align: center;
  min-width: 200px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.time-widget .time {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Courier New', monospace;
  color: var(--primary-color);
  text-shadow: 
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
    0 0 10px var(--primary-color);
  margin-bottom: 0.2rem;
}

.time-widget .date {
  font-size: 1rem;
  color: var(--primary-color);
  text-shadow: 
    -0.5px -0.5px 0 #fff,  
     0.5px -0.5px 0 #fff,
    -0.5px  0.5px 0 #fff,
     0.5px  0.5px 0 #fff,
    0 0 5px var(--primary-color);
  margin-bottom: 0.2rem;
}

.time-widget .label {
  font-size: 0.8rem;
  color: #ffffff; 
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

@keyframes timeUpdate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.time-widget .time.updating {
  animation: timeUpdate 0.3s ease-in-out;
}

.audio-player-container {
  background: rgba(26, 26, 26, 0.8);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.2);
  position: relative;
}

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

.player-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 20, 147, 0.2);
  transition: all 0.3s ease;
}

.player-btn:hover {
  background: rgba(255, 20, 147, 0.4);
}

.player-btn svg {
  width: 100%;
  height: 100%;
}

.play-shape, .pause-shape rect {
  fill: var(--primary-color);
  filter: drop-shadow(0 0 5px var(--primary-color));
}

.volume-control {
  flex: 1;
}

.volume-control input[type="range"] {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-color);
}

#visualizer {
  width: 100%;
  height: 150px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius);
}

.header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.header-btn {
  padding: 0.8rem 1.2rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: var(--border-radius);
  color: var(--text-color);
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.header-btn:hover::before {
  left: 100%;
}

.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--primary-color);
}

.social-share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, #ff1493, #ff69b4);
}

.social-share-btn svg {
  width: 20px;
  height: 20px;
}

p, span, div {
  color: #ffffff; 
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.lazy-load {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.lazy-load.loaded {
  opacity: 1;
}

.qr-code-container {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.qr-left {
  left: -180px;
  top: 50%;
  transform: translateY(-50%);
}

.qr-right {
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
}

.qr-visible {
  opacity: 1;
}

@media (max-width: 1200px) {
  .header-actions {
    justify-content: center;
  }
  
  .nav-buttons {
    justify-content: center;
  }
  
  .wallet-status {
    order: -1;
    width: 100%;
    margin-bottom: 1rem;
  }
  .qr-code-container {
    display: none; /* Hide QR on smaller screens */
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .time-widgets {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: static;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
  }

  .time-widget {
    width: 100%;
    max-width: 300px;
  }

  header {
    margin-top: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .nav-buttons {
    flex-direction: column;
    width: 100%;
  }

  .header-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .wallet-status {
    width: 100%;
  }

  .audio-player-container {
    margin: 1rem 0;
  }

  .player-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .player-btn {
    align-self: center;
  }

  #visualizer {
    height: 100px;
  }

  .stream-card {
    margin: 1rem 0;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
    padding: 1rem;
  }

  .share-options {
    grid-template-columns: 1fr;
  }

  .submit-form {
    padding: 1rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .tags-input {
    flex-direction: column;
  }

  .streams-container {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (hover: none) {
  .header-btn:hover {
    transform: none;
  }

  .stream-card:hover {
    transform: none;
  }
}

@media (prefers-contrast: high) {
  :root {
    --primary-color: #ff0000;
    --secondary-color: #ff00ff;
    --text-color: #ffffff;
    --bg-color: #000000;
  }
}