:root {
  /* Margin/Padding */
  --PADD-SM: 8px;
  --PADD-BASE: 12px;
  --PADD-MD: 16px;
  --PADD-XL: 24px;

  /* Colors - Tema oscuro minimalista */
  --COLOR-BG: #0a0a0a;
  --COLOR-SURFACE: #1a1a1a;
  --COLOR-BORDER: #2a2a2a;
  --COLOR-TEXT: #e5e5e5;
  --COLOR-TEXT-MUTED: #a3a3a3;
  --COLOR-ACCENT: #ffffff;
  --COLOR-LIVE: #ff4444;

  /* Transitions */
  --TRANSITION: 0.2s ease;

  /* Border Radius */
  --RADIUS: 8px;
  --RADIUS-FULL: 50px;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body,
h1,
h2,
h3,
p {
  margin: 0;
}

img {
  display: inline-block;
  max-width: 100%;
}
/* END OF: RESET */

body {
  background: var(--COLOR-BG);
  color: var(--COLOR-TEXT);
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
}

.container {
  max-width: 450px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  padding: var(--PADD-XL);
}

/* Optimización para PC */
@media (min-width: 1024px) {
  .container {
    max-width: 600px;
    padding: 40px;
  }
}

.content {
  margin-bottom: 50px;
}

/* BASE ELEMENT */
a {
  text-decoration: none;
  color: var(--COLOR-TEXT);
  transition: var(--TRANSITION);
}

a:hover {
  color: var(--COLOR-ACCENT);
}

/* COMPONENTS */
.underline {
  text-decoration: underline;
}

/* END OF: COMPONENTS */

/* BUTTONS */
.btn {
  background: var(--COLOR-SURFACE);
  color: var(--COLOR-TEXT);
  padding: var(--PADD-SM) var(--PADD-MD);
  border-radius: var(--RADIUS);
  border: 1px solid var(--COLOR-BORDER);
  font-size: 14px;
  transition: var(--TRANSITION);
}

.btn:hover {
  background: var(--COLOR-BORDER);
  color: var(--COLOR-ACCENT);
}

.btn-round {
  padding: 0;
  height: 36px;
  width: 36px;
  line-height: 34px;
  border-radius: var(--RADIUS-FULL);
  text-align: center;
}

.btn-icon i {
  margin-right: var(--PADD-SM);
}

.btn.btn-sm {
  font-size: 12px;
  padding: 6px 12px;
}

.btn.btn-black {
  background: var(--COLOR-ACCENT);
  color: var(--COLOR-BG);
  border-color: var(--COLOR-ACCENT);
}

.btn.btn-black:hover {
  background: var(--COLOR-TEXT);
}
/* END OF: BUTTONS */

/* HEADER */
header nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--PADD-XL);
}

/* PROFILE SECTION */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--PADD-XL) 0;
}

.profile__avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--RADIUS-FULL);
  border: 2px solid var(--COLOR-BORDER);
  margin-bottom: var(--PADD-MD);
  transition: var(--TRANSITION);
}

.profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--RADIUS-FULL);
}

.profile__avatar:hover {
  border-color: var(--COLOR-ACCENT);
}

.profile__name {
  font-size: 24px;
  text-align: center;
  line-height: 1.2;
  margin-bottom: var(--PADD-SM);
  color: var(--COLOR-ACCENT);
  font-weight: 600;
}

.profile__desc {
  text-align: center;
  color: var(--COLOR-TEXT-MUTED);
  font-size: 14px;
  max-width: 300px;
}

.profile__social {
  margin-top: var(--PADD-XL);
}

/* Colores específicos para redes sociales usando action-card */
.action-card.twitch:hover { border-color: #9146ff; }
.action-card.youtube:hover { border-color: #ff0000; }
.action-card.kick:hover { border-color: #53fc18; }
.action-card.instagram:hover { border-color: #e4405f; }
.action-card.tiktok:hover { border-color: #000000; }
.action-card.twitter:hover { border-color: #1da1f2; }
.action-card.discord-social:hover { border-color: #5865f2; }

/* Action Cards Section */
.action-cards {
  margin-top: var(--PADD-XL);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--PADD-MD);
  margin-bottom: var(--PADD-MD);
}

.action-card {
  padding: var(--PADD-MD);
  border: 1px solid var(--COLOR-BORDER);
  border-radius: var(--RADIUS);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--TRANSITION);
  background: var(--COLOR-SURFACE);
  cursor: pointer;
  min-height: 80px;
}

.action-card:hover {
  background: var(--COLOR-BORDER);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--PADD-MD);
}

.card-header > i {
  font-size: 16px;
  color: var(--COLOR-TEXT-MUTED);
}

/* SVG Icon para Kick */
.kick-icon {
  width: 16px;
  height: 16px;
  color: var(--COLOR-TEXT-MUTED);
  fill: currentColor;
}

.action-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--COLOR-TEXT);
  margin: 0;
}

.action-card > a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Colores específicos para action cards */
.action-card.schedule:hover { border-color: #fbbf24; }
.action-card.contact:hover { border-color: #3b82f6; }
.action-card.more-contact:hover { border-color: #8b5cf6; }
.action-card.coffee:hover { border-color: #a16207; }
.action-card.donations:hover { border-color: #ec4899; }
.action-card.discord:hover { border-color: #5865f2; }

footer {
  text-align: center;
  font-size: 12px;
  color: var(--COLOR-TEXT-MUTED);
  margin-top: var(--PADD-XL);
}

/* Utilidades */
.hidden {
  display: none !important;
}

/* Indicador de stream en vivo */
.live-status {
  margin-top: var(--PADD-MD);
  text-align: center;
}

.live-indicator {
  background: var(--COLOR-LIVE);
  color: var(--COLOR-ACCENT);
  padding: 4px 8px;
  border-radius: var(--RADIUS);
  font-size: 12px;
  font-weight: 500;
}

/* Sección de stream en vivo */
.live-stream {
  margin: var(--PADD-MD) 0;
  text-align: center;
}

.stream-title {
  font-size: 18px;
  color: var(--COLOR-TEXT);
  margin-bottom: var(--PADD-MD);
  text-align: center;
}

.stream-container {
  background: var(--COLOR-SURFACE);
  border-radius: var(--RADIUS);
  padding: var(--PADD-MD);
  border: 1px solid var(--COLOR-BORDER);
}

.stream-container iframe {
  width: 100%;
  max-width: 100%;
  height: 280px;
  border-radius: var(--RADIUS);
}

/* Details Sections (Schedule & Contact) */
.details-section {
  margin-top: var(--PADD-MD);
  background: var(--COLOR-SURFACE);
  border-radius: var(--RADIUS);
  padding: var(--PADD-MD);
  border: 1px solid var(--COLOR-BORDER);
}

.section-title {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--PADD-MD);
  color: var(--COLOR-TEXT);
}

.details-grid {
  display: flex;
  flex-direction: column;
  gap: var(--PADD-SM);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: var(--PADD-MD);
  padding: var(--PADD-SM);
  background: var(--COLOR-BG);
  border-radius: var(--RADIUS);
  border: 1px solid var(--COLOR-BORDER);
}

.detail-item i {
  font-size: 16px;
  color: var(--COLOR-ACCENT);
  width: 18px;
  text-align: center;
}

.detail-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 12px;
  color: var(--COLOR-TEXT-MUTED);
  font-weight: 500;
}

.detail-value {
  font-size: 14px;
  color: var(--COLOR-TEXT);
  font-weight: 400;
}

/* Optimizaciones adicionales para PC */
@media (min-width: 1024px) {
  .profile__avatar {
    width: 120px;
    height: 120px;
  }
  
  .profile__name {
    font-size: 28px;
  }
  
  .profile__desc {
    font-size: 16px;
    max-width: 400px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--PADD-MD);
  }
  
  .action-card {
    padding: var(--PADD-MD);
    min-height: 100px;
  }
  
  .action-card h3 {
    font-size: 18px;
  }
  
  .stream-container iframe {
    height: 400px;
  }
  
  .details-grid {
    gap: var(--PADD-MD);
  }
}

/* Responsive para móviles */
@media (max-width: 480px) {
  .container {
    padding: var(--PADD-MD);
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .stream-container iframe {
    height: 200px;
  }
  
  .detail-item {
    flex-direction: column;
    text-align: center;
    gap: var(--PADD-SM);
  }
}
