/* Wowcoolatras - World of Warcraft Guild Family Portal Stylesheet */
:root {
  --bg-dark: #0a0c11;
  --bg-card: #141824;
  --bg-card-hover: #1b2131;
  --bg-wa: #0b141a;
  --wa-bubble-in: #202c33;
  --wa-bubble-out: #005c4b;
  --gold-primary: #f5c451;
  --gold-glow: rgba(245, 196, 81, 0.4);
  --gold-dark: #b8861d;
  --text-main: #f0eae1;
  --text-muted: #9aa1b2;
  --text-gold: #ffd666;
  --border-gold: #382e1d;
  --border-card: #262c3e;
  --green-wa: #25d366;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-red: #ef4444;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(245, 196, 81, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 50%, rgba(184, 134, 29, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(37, 211, 102, 0.05) 0%, transparent 50%);
}

h1, h2, h3, h4, .font-wow {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 17, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
  object-fit: cover;
}

.brand-text h1 {
  font-size: 1.4rem;
  color: var(--gold-primary);
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(245, 196, 81, 0.3);
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
}

.site-nav a:hover {
  color: var(--gold-primary);
  text-shadow: 0 0 8px var(--gold-glow);
}

.btn-wa-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #0b141a;
  padding: 10px 18px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-wa-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-gold);
}

.three-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(10, 12, 17, 0.4) 0%, rgba(10, 12, 17, 0.95) 85%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 196, 81, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(245, 196, 81, 0.2);
}

.pulse-amber {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffaa00;
  box-shadow: 0 0 8px #ffaa00;
  animation: pulse 1.8s infinite;
}

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

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-title span.gold {
  color: var(--gold-primary);
  text-shadow: 0 0 25px rgba(245, 196, 81, 0.4);
}

.hero-desc {
  font-size: 1.15rem;
  color: #c9d1df;
  margin-bottom: 30px;
  max-width: 620px;
}

/* Live Time Counter Box */
.guild-counter-box {
  background: rgba(20, 24, 36, 0.75);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 20px 24px;
  backdrop-filter: blur(10px);
  margin-bottom: 34px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.counter-header {
  font-size: 0.85rem;
  color: var(--text-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.counter-item {
  background: #0f131c;
  border: 1px solid #2d261b;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.counter-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-primary);
  font-family: 'Cinzel', serif;
}

.counter-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-secondary-taverna {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 196, 81, 0.1);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.btn-secondary-taverna:hover {
  background: rgba(245, 196, 81, 0.2);
  transform: translateY(-2px);
}

/* Hero Right: Tavern Showcase Card */
.hero-card-frame {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(245, 196, 81, 0.15);
}

.hero-card-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.hero-card-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 12, 17, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-info h4 {
  font-size: 0.95rem;
  color: var(--gold-primary);
}

.badge-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* SECTION COMMON */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: #0e1119;
  border-top: 1px solid #1f2536;
  border-bottom: 1px solid #1f2536;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px auto;
}

.section-tag {
  display: inline-block;
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* SECTION: WHATSAPP TAVERN FEED (MURAL) */
.wa-feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.wa-phone-window {
  background: var(--bg-wa);
  border: 2px solid #202c33;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
}

.wa-top-bar {
  background: #202c33;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2a3942;
}

.wa-group-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  object-fit: cover;
}

.wa-group-meta h3 {
  font-size: 1.05rem;
  color: #e9edef;
  font-family: inherit;
  font-weight: 600;
}

.wa-group-meta span {
  font-size: 0.8rem;
  color: #8696a0;
}

.wa-messages-container {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 520px;
  overflow-y: auto;
  background-image: radial-gradient(#1a242c 1px, transparent 1px);
  background-size: 16px 16px;
}

/* WhatsApp Message Bubbles */
.wa-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.wa-bubble.incoming {
  align-self: flex-start;
  background: var(--wa-bubble-in);
  color: #d1d7db;
  border-top-left-radius: 2px;
}

.wa-bubble.outgoing {
  align-self: flex-end;
  background: var(--wa-bubble-out);
  color: #e9edef;
  border-top-right-radius: 2px;
}

.bubble-author {
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-pala { color: #f5c451; }
.author-mage { color: #3b82f6; }
.author-rogue { color: #eab308; }
.author-shaman { color: #06b6d4; }
.author-gm { color: #ec4899; }

.bubble-time {
  font-size: 0.7rem;
  color: #8696a0;
  text-align: right;
  margin-top: 4px;
}

.wa-audio-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.25);
  border-radius: 20px;
  padding: 6px 12px;
  margin-top: 6px;
}

.wa-audio-play {
  background: var(--green-wa);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #0b141a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.wa-audio-waveform {
  flex: 1;
  height: 4px;
  background: #8696a0;
  border-radius: 2px;
  position: relative;
}

.wa-audio-progress {
  width: 45%;
  height: 100%;
  background: var(--green-wa);
  border-radius: 2px;
}

/* Sound Generator Tavern Ambience */
.sound-synthesizer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-top: 24px;
}

.sound-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sound-card-header h3 {
  font-size: 1.15rem;
  color: var(--gold-primary);
}

.btn-toggle-tavern-sound {
  background: #b8861d;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-toggle-tavern-sound.playing {
  background: #25d366;
}

/* Memories & Quotes Column */
.memories-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.memory-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.memory-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
}

.memory-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.memory-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-raid { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid #ef4444; }
.tag-churras { background: rgba(245, 196, 81, 0.15); color: #f5c451; border: 1px solid #f5c451; }
.tag-meme { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid #3b82f6; }

.memory-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.memory-card h4 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.memory-card p {
  color: #b5bdd0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* SECTION: AZEROTH VS VIDA REAL */
.split-avatars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 36px;
}

.split-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.split-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
}

.split-card-img-wrap {
  position: relative;
  width: 100%;
}

.split-card-img-wrap img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.split-labels-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: rgba(10, 12, 17, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid #2d261b;
}

.split-lbl {
  flex: 1;
  padding: 8px 12px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.split-lbl.game {
  color: var(--gold-primary);
  border-right: 1px solid #2d261b;
}

.split-lbl.real {
  color: var(--green-wa);
}

.split-card-body {
  padding: 24px;
}

.split-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.split-card-body h3 {
  font-size: 1.3rem;
  color: #ffffff;
}

.split-card-body span.years {
  font-size: 0.85rem;
  color: var(--text-gold);
  font-weight: 600;
}

.split-roles {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.role-badge {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 4px;
  background: #1d2334;
  border: 1px solid #2f3852;
  color: #9cb3db;
}

.split-quote {
  font-style: italic;
  color: #c0c8db;
  font-size: 0.92rem;
  border-left: 3px solid var(--gold-primary);
  padding-left: 14px;
  margin-top: 14px;
}

/* SECTION: TIMELINE */
.timeline-list {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, var(--gold-primary), #202c33);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
  padding: 0 35px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 15px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 4px solid var(--bg-dark);
  box-shadow: 0 0 12px var(--gold-primary);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
}

.timeline-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 22px;
  transition: transform 0.2s;
}

.timeline-box:hover {
  transform: scale(1.02);
  border-color: var(--gold-primary);
}

.timeline-year {
  font-size: 0.85rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-box h4 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.timeline-box p {
  font-size: 0.9rem;
  color: #aab2c4;
}

/* FOOTER */
.site-footer {
  background: #06080c;
  border-top: 1px solid var(--border-gold);
  padding: 60px 0 30px 0;
}

.footer-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.footer-crest {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  margin-bottom: 16px;
}

.footer-content h3 {
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-bottom {
  border-top: 1px solid #1a1e29;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 30px auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .wa-feed-grid {
    grid-template-columns: 1fr;
  }
  .timeline-list::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-dot {
    left: 11px !important;
  }
}
