/**
 * ROYALE LOUNGE CLUB BARCELONA - LINKS HUB / LINK-IN-BIO
 * Estilo visual oficial basado en la guía de diseño de Royale Lounge Club
 * Noir Obsidiana • Carmesí Royale • Oro Champán • Cristal Translúcido
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800;900&display=swap');

:root {
  --color-bg-base: #050507;
  --color-bg-surface: #0c0c10;
  --color-bg-surface-hover: #14141c;
  --color-bg-glass: rgba(14, 14, 18, 0.78);
  --color-bg-glass-card: rgba(18, 18, 24, 0.88);

  --color-primary: #d32d0b;
  --color-primary-hover: #e63910;
  --color-primary-light: #ff5426;
  --color-primary-glow: rgba(211, 45, 11, 0.28);
  --color-primary-subtle: rgba(211, 45, 11, 0.12);

  --color-gold: #dfba73;
  --color-gold-hover: #edd195;
  --color-gold-light: #f5e4bd;
  --color-gold-glow: rgba(223, 186, 115, 0.22);
  --color-gold-subtle: rgba(223, 186, 115, 0.1);

  --color-text-main: #f4f4f6;
  --color-text-muted: #9494a0;
  --color-text-dim: #606070;

  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(211, 45, 11, 0.45);
  --color-border-gold: rgba(223, 186, 115, 0.35);

  --color-whatsapp: #25d366;

  --font-family-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-body: 'Outfit', system-ui, -apple-system, sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Atmosphere */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: 
    radial-gradient(circle at 50% 80px, rgba(211, 45, 11, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 50% 600px, rgba(223, 186, 115, 0.08) 0%, transparent 55%),
    #050507;
  padding: 48px 16px 64px;
}

/* Starfield Animation */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

#stars1 {
  width: 1px;
  height: 1px;
  background: transparent;
  animation: animStar 120s linear infinite;
  box-shadow: 779px 1331px #fff, 324px 42px rgba(223,186,115,0.7), 303px 586px #fff,
      1312px 276px #fff, 451px 625px #fff, 521px 1931px rgba(255,84,38,0.7), 1087px 1871px #fff,
      36px 1546px #fff, 132px 934px #fff, 1698px 901px #fff, 1418px 664px rgba(223,186,115,0.8),
      1448px 1157px #fff, 1084px 232px #fff, 347px 1776px #fff, 1722px 243px #fff,
      1629px 835px #fff, 479px 969px #fff, 1231px 960px #fff, 586px 384px #fff,
      164px 527px #fff, 8px 646px #fff, 1150px 1126px #fff, 665px 1357px #fff,
      1556px 1982px #fff, 1260px 1961px #fff, 1675px 1741px #fff,
      1843px 1514px #fff, 718px 1628px #fff, 242px 1343px #fff, 1497px 1880px #fff,
      1364px 230px #fff, 1739px 1302px #fff, 636px 959px #fff, 304px 686px #fff;
}
#stars1:after {
  content: '';
  position: absolute;
  top: 2000px;
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow: inherit;
}

#stars2 {
  width: 2px;
  height: 2px;
  background: transparent;
  animation: animStar 180s linear infinite;
  box-shadow: 1448px 320px #fff, 1775px 1663px #fff, 332px 1364px rgba(223,186,115,0.7),
      878px 340px #fff, 569px 1832px #fff, 1422px 1684px #fff, 1946px 1907px #fff,
      121px 979px #fff, 1044px 1069px #fff, 463px 381px rgba(255,84,38,0.8), 423px 112px #fff,
      523px 1179px #fff, 779px 654px #fff, 1398px 694px #fff, 1085px 1464px #fff,
      1599px 1869px #fff, 801px 1882px #fff, 779px 1231px #fff, 552px 932px #fff,
      1057px 1196px #fff, 282px 1280px #fff, 496px 1986px #fff, 1833px 1120px #fff,
      1802px 1293px #fff, 6px 1696px #fff, 412px 1902px #fff, 605px 438px #fff,
      24px 1212px #fff, 234px 1320px #fff, 544px 344px #fff, 1107px 170px #fff,
      1603px 196px #fff, 905px 648px #fff, 68px 1458px #fff, 649px 1969px #fff;
}
#stars2:after {
  content: '';
  position: absolute;
  top: 2000px;
  width: 2px;
  height: 2px;
  background: transparent;
  box-shadow: inherit;
}

#stars3 {
  width: 3px;
  height: 3px;
  background: transparent;
  animation: animStar 240s linear infinite;
  box-shadow: 387px 1878px #fff, 760px 1564px rgba(223,186,115,0.9), 1487px 999px #fff,
      948px 1828px #fff, 1977px 1001px #fff, 1284px 1963px #fff, 656px 284px #fff,
      1268px 1635px #fff, 1820px 598px #fff, 642px 1900px #fff, 296px 57px #fff,
      921px 1620px #fff, 476px 1858px #fff, 658px 613px #fff, 1171px 1363px #fff,
      1419px 283px #fff, 1037px 731px #fff, 503px 663px #fff, 1562px 463px #fff;
}
#stars3:after {
  content: '';
  position: absolute;
  top: 2000px;
  width: 3px;
  height: 3px;
  background: transparent;
  box-shadow: inherit;
}

@keyframes animStar {
  from { transform: translateY(0px); }
  to { transform: translateY(-2000px); }
}

/* Main Container */
.page-full-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header & Profile */
.profile-header {
  text-align: center;
  margin-bottom: 28px;
  width: 100%;
}

.display-image-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}

.display-image {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: block;
  object-fit: contain;
  background: radial-gradient(circle, rgba(223, 186, 115, 0.12) 0%, rgba(12, 12, 16, 0.95) 75%);
  border: 2px solid var(--color-border-gold);
  box-shadow: 0 0 25px rgba(223, 186, 115, 0.22), 0 8px 30px rgba(0, 0, 0, 0.8);
  padding: 8px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.display-image:hover {
  transform: scale(1.04);
  border-color: var(--color-gold);
  box-shadow: 0 0 35px rgba(223, 186, 115, 0.4), 0 10px 35px rgba(211, 45, 11, 0.25);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  background: rgba(223, 186, 115, 0.1);
  border: 1px solid var(--color-border-gold);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.brand-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 8px var(--color-primary-light);
}

.page-title {
  font-family: var(--font-family-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.page-title .gold-accent {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-gold) 60%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-description {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 12px;
  line-height: 1.5;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--color-gold);
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 6px;
}

/* Links Container */
.links-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

/* Link Cards */
.link-card-wrap {
  width: 100%;
  position: relative;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 18px;
  background: var(--color-bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--color-text-main);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.link-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.link-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.28s ease;
}

.link-icon-box img,
.link-icon-box svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.link-text-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.link-title {
  font-family: var(--font-family-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.link-subtitle {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.link-action-arrow {
  color: var(--color-text-dim);
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

/* Hover States */
.link-card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: var(--color-border-hover);
  background: var(--color-bg-surface-hover);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.7), 0 0 18px rgba(211, 45, 11, 0.22);
}

.link-card:hover .link-icon-box {
  background: rgba(211, 45, 11, 0.15);
  border-color: rgba(211, 45, 11, 0.4);
  transform: scale(1.05);
}

.link-card:hover .link-title {
  color: var(--color-primary-light);
}

.link-card:hover .link-action-arrow {
  color: var(--color-primary-light);
  transform: translateX(4px);
}

/* Highlight / Featured Card - Gold & Carmesí */
.link-card.featured-gold {
  border-color: var(--color-border-gold);
  background: linear-gradient(135deg, rgba(223, 186, 115, 0.08) 0%, rgba(14, 14, 18, 0.95) 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 14px rgba(223, 186, 115, 0.15);
}

.link-card.featured-gold .link-icon-box {
  background: rgba(223, 186, 115, 0.12);
  border-color: var(--color-border-gold);
}

.link-card.featured-gold:hover {
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.8), 0 0 24px rgba(223, 186, 115, 0.35);
}

.link-card.featured-gold:hover .link-title {
  color: var(--color-gold-light);
}

.link-card.featured-gold:hover .link-action-arrow {
  color: var(--color-gold);
}

/* Highlight Card - WhatsApp */
.link-card.featured-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.6);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(37, 211, 102, 0.25);
}
.link-card.featured-whatsapp:hover .link-icon-box {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.5);
}
.link-card.featured-whatsapp:hover .link-title {
  color: #38ef7d;
}
.link-card.featured-whatsapp:hover .link-action-arrow {
  color: #38ef7d;
}

/* Interactive Badge inside Link */
.pill-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.pill-badge-gold {
  background: rgba(223, 186, 115, 0.18);
  color: var(--color-gold-light);
  border: 1px solid var(--color-border-gold);
}
.pill-badge-red {
  background: rgba(211, 45, 11, 0.2);
  color: #ff6b4a;
  border: 1px solid rgba(211, 45, 11, 0.4);
}

/* Section Separator */
.section-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 2px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}
.section-divider span {
  font-family: var(--font-family-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-dim);
}

/* Map Card Section */
.map-container-wrap {
  width: 100%;
  background: var(--color-bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 28px;
}

.map-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
}

.map-header-info h4 {
  font-family: var(--font-family-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.map-header-info p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.map-iframe-box {
  width: 100%;
  height: 260px;
  position: relative;
  background: #000;
}

.map-iframe-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(105%) brightness(90%);
}

.map-footer-action {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.015);
  font-size: 0.8rem;
}

.map-footer-action a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.map-footer-action a:hover {
  color: var(--color-gold-hover);
  text-decoration: underline;
}

/* Footer */
.page-footer {
  text-align: center;
  width: 100%;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.78rem;
}

.footer-hours strong {
  color: var(--color-gold-light);
}

.footer-copy {
  color: var(--color-text-dim);
  font-size: 0.75rem;
}

.footer-copy a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--color-gold);
}

/* Mobile Optimizations */
@media (max-width: 480px) {
  .page-wrapper {
    padding: 32px 12px 48px;
  }
  .display-image {
    width: 95px;
    height: 95px;
  }
  .page-title {
    font-size: 1.45rem;
  }
  .link-card {
    padding: 12px 14px;
  }
  .link-icon-box {
    width: 38px;
    height: 38px;
  }
  .link-title {
    font-size: 0.92rem;
  }
  .link-subtitle {
    font-size: 0.72rem;
  }
}
