/* ============================================
   PHANTOM Theme - Main Stylesheet (moban-57)
   Ghost/Phantom Translucent Dark Theme
   ============================================ */

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --phantom-bg: #0a0a0a;
  --phantom-bg-alt: #0f0f0f;
  --phantom-dark: #1a1a1a;
  --phantom-dark-2: #2a2a2a;
  --phantom-card: rgba(255, 255, 255, 0.05);
  --phantom-card-hover: rgba(255, 255, 255, 0.08);
  --phantom-border: rgba(255, 255, 255, 0.1);
  --phantom-text: #E8E8E8;
  --phantom-text-dim: rgba(232, 232, 232, 0.6);
  --phantom-text-muted: rgba(232, 232, 232, 0.4);
  --phantom-accent: #E8E8E8;
  --phantom-glow: rgba(232, 232, 232, 0.15);
  --phantom-blur: 20px;
  --phantom-blur-sm: 10px;
  --phantom-font-heading: "Spectral", serif;
  --phantom-font-body: "Roboto", sans-serif;
  --phantom-transition: 0.3s ease;
  --phantom-radius: 12px;
  --phantom-radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--phantom-font-body);
  background: var(--phantom-bg);
  color: var(--phantom-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255,255,255,0.015) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 50%, #0a0a0a 100%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--phantom-text);
  text-decoration: none;
  transition: var(--phantom-transition);
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--phantom-font-heading);
  font-weight: 600;
  line-height: 1.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== KEYFRAMES ===== */
@keyframes breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1.0; }
}

@keyframes breatheSlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1.0; }
}

@keyframes phantomFade {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes ghostAppear {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes whisperFloat {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(-5px); }
}

@keyframes ghostPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(232,232,232,0.05); }
  50% { box-shadow: 0 0 40px rgba(232,232,232,0.15); }
}

@keyframes floatGhost {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(2deg); }
  75% { transform: translateY(5px) rotate(-2deg); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes notificationScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes ghostCirclePulse {
  0%, 100% { transform: scale(1); opacity: 0.05; }
  50% { transform: scale(1.1); opacity: 0.12; }
}

@keyframes particleDrift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

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

@keyframes breatheText {
  0%, 100% { opacity: 0.3; text-shadow: 0 0 5px rgba(232,232,232,0.1); }
  50% { opacity: 1.0; text-shadow: 0 0 20px rgba(232,232,232,0.3); }
}

/* ===== UTILITY CLASSES ===== */
.breathe-slow {
  animation: breathe 5s ease-in-out infinite;
}

.breathe-fast {
  animation: breathe 3s ease-in-out infinite;
}

.phantom-text {
  text-shadow:
    1px 0 rgba(255,255,255,0.5),
    2px 0 rgba(255,255,255,0.3),
    4px 0 rgba(255,255,255,0.1),
    -1px 0 rgba(255,255,255,0.5),
    -2px 0 rgba(255,255,255,0.3),
    -4px 0 rgba(255,255,255,0.1);
}

.phantom-trail-text {
  text-shadow:
    1px 0 rgba(255,255,255,0.5),
    2px 0 rgba(255,255,255,0.3),
    4px 0 rgba(255,255,255,0.1),
    6px 0 rgba(255,255,255,0.05),
    -1px 0 rgba(255,255,255,0.5),
    -2px 0 rgba(255,255,255,0.3),
    -4px 0 rgba(255,255,255,0.1),
    -6px 0 rgba(255,255,255,0.05),
    0 1px rgba(255,255,255,0.3),
    0 2px rgba(255,255,255,0.15),
    0 -1px rgba(255,255,255,0.3),
    0 -2px rgba(255,255,255,0.15);
}

.phantom-trail-icon {
  filter: drop-shadow(1px 0 3px rgba(255,255,255,0.4))
          drop-shadow(2px 0 6px rgba(255,255,255,0.2))
          drop-shadow(4px 0 10px rgba(255,255,255,0.1));
}

.ghost-card {
  background: var(--phantom-card);
  backdrop-filter: blur(var(--phantom-blur));
  -webkit-backdrop-filter: blur(var(--phantom-blur));
  border: 1px solid var(--phantom-border);
  border-radius: var(--phantom-radius);
  transition: all 0.4s ease;
}

.ghost-card:hover {
  background: var(--phantom-card-hover);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(232,232,232,0.05);
  transform: translateY(-3px);
}

.ghost-subtitle {
  color: var(--phantom-text-dim);
  font-style: italic;
  animation: whisperFloat 6s ease-in-out infinite;
}

.ghost-description {
  color: var(--phantom-text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

.ghost-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--phantom-text-dim);
}

/* ===== BUTTONS ===== */
.btn-ghost-primary {
  display: inline-block;
  padding: 14px 36px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

.btn-ghost-primary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 30px rgba(232,232,232,0.15);
  transform: translateY(-2px);
}

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

.btn-ghost-outline {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  color: var(--phantom-text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn-ghost-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  box-shadow: 0 0 20px rgba(232,232,232,0.1);
}

.btn-login {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  color: var(--phantom-text);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--phantom-transition);
}

.btn-login:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.btn-register {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--phantom-transition);
}

.btn-register:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
}

.btn-demo {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: var(--phantom-text-dim);
  font-size: 0.85rem;
  transition: var(--phantom-transition);
}

.btn-demo:hover {
  background: rgba(255,255,255,0.05);
  color: var(--phantom-text);
}

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-family: var(--phantom-font-heading);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.section-title i {
  margin-right: 10px;
  font-size: 1.6rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 50px;
}

/* ===== ANNOUNCEMENT MODAL ===== */
.announcement-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.announcement-modal.active {
  opacity: 1;
  visibility: visible;
}

.announcement-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
}

.announcement-content {
  position: relative;
  max-width: 500px;
  width: 90%;
  padding: 40px 30px;
  z-index: 1;
  animation: ghostAppear 0.5s ease forwards;
}

.announcement-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--phantom-text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--phantom-transition);
}

.announcement-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

.announcement-header-icon {
  text-align: center;
  font-size: 2.5rem;
  color: var(--phantom-text);
  margin-bottom: 15px;
  animation: floatGhost 4s ease-in-out infinite;
}

.announcement-title {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: var(--phantom-font-heading);
  letter-spacing: 2px;
}

.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--phantom-radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--phantom-transition);
}

.announcement-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.announcement-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.announcement-badge.hot {
  background: rgba(255,80,80,0.2);
  color: #ff5050;
  border: 1px solid rgba(255,80,80,0.3);
}

.announcement-badge.new {
  background: rgba(80,200,255,0.2);
  color: #50c8ff;
  border: 1px solid rgba(80,200,255,0.3);
}

.announcement-badge.info {
  background: rgba(255,255,255,0.1);
  color: var(--phantom-text);
  border: 1px solid rgba(255,255,255,0.15);
}

.announcement-text {
  flex: 1;
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
}

.announcement-item i {
  color: var(--phantom-text-muted);
  font-size: 0.8rem;
}

.announcement-footer {
  text-align: center;
}

.announcement-cta {
  display: inline-block;
  padding: 12px 40px;
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
  opacity: 0.9;
}

.logo-ghost-text {
  font-family: var(--phantom-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow:
    1px 0 rgba(255,255,255,0.5),
    2px 0 rgba(255,255,255,0.3),
    4px 0 rgba(255,255,255,0.1);
}

.header-time {
  color: var(--phantom-text-dim);
  font-size: 0.85rem;
  font-family: monospace;
}

.header-btn-group {
  display: flex;
  gap: 10px;
}

/* ===== NAVIGATION ===== */
.main-navigation {
  background: rgba(26,26,26,0.9);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.main-navigation .container {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--phantom-text);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.nav-item .nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--phantom-text-dim);
  transition: var(--phantom-transition);
  position: relative;
  letter-spacing: 0.5px;
}

.nav-item .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.nav-item .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: rgba(255,255,255,0.5);
  transition: width 0.3s ease;
}

.nav-item .nav-link:hover::after {
  width: 60%;
}

.nav-item .nav-link i {
  margin-right: 6px;
  font-size: 0.8rem;
}

/* ===== NOTIFICATION BAR ===== */
.notification-bar {
  background: rgba(26,26,26,0.6);
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.notification-content {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: notificationScroll 30s linear infinite;
}

.notification-content span {
  font-size: 0.8rem;
  color: var(--phantom-text-dim);
}

/* ===== PHANTOM HERO ===== */
.phantom-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: -20px -20px 60px;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 30%, #2a2a2a 60%, #0a0a0a 100%);
}

.phantom-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ghost-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  animation: ghostCirclePulse 8s ease-in-out infinite;
}

.ghost-circle-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
}

.ghost-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  animation-delay: 2s;
}

.ghost-circle-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}

.ghost-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.gp {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: particleDrift 10s linear infinite;
}

.gp-1 { left: 10%; bottom: 0; animation-delay: 0s; animation-duration: 8s; }
.gp-2 { left: 25%; bottom: 0; animation-delay: 1.5s; animation-duration: 12s; }
.gp-3 { left: 40%; bottom: 0; animation-delay: 3s; animation-duration: 9s; }
.gp-4 { left: 55%; bottom: 0; animation-delay: 0.5s; animation-duration: 11s; }
.gp-5 { left: 70%; bottom: 0; animation-delay: 2s; animation-duration: 10s; }
.gp-6 { left: 80%; bottom: 0; animation-delay: 4s; animation-duration: 13s; }
.gp-7 { left: 90%; bottom: 0; animation-delay: 1s; animation-duration: 7s; }
.gp-8 { left: 35%; bottom: 0; animation-delay: 3.5s; animation-duration: 14s; }

.phantom-hero-inner {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 800px;
}

.phantom-hero-title {
  margin-bottom: 20px;
}

.phantom-hero-title .phantom-trail-text {
  display: block;
  font-size: 4rem;
  font-family: var(--phantom-font-heading);
  font-weight: 700;
  letter-spacing: 15px;
  line-height: 1;
}

.phantom-hero-divider {
  display: block;
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 15px auto;
}

.phantom-hero-tagline {
  display: block;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 5px;
  color: var(--phantom-text-dim);
}

.phantom-hero-desc {
  font-size: 1rem;
  color: var(--phantom-text-dim);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.phantom-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.phantom-hero-stat {
  text-align: center;
}

.phantom-hero-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-family: var(--phantom-font-heading);
  font-weight: 700;
  letter-spacing: 1px;
}

.phantom-hero-stat .stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--phantom-text-muted);
  margin-top: 4px;
}

.phantom-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ===== PHANTOM GAMES SECTION ===== */
.phantom-games {
  padding: 80px 0;
}

.phantom-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.phantom-game-card {
  padding: 35px 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.phantom-game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.phantom-game-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s ease;
}

.phantom-game-card:hover .phantom-game-icon {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 30px rgba(255,255,255,0.08);
}

.phantom-game-card h3 {
  font-family: var(--phantom-font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.phantom-game-card p {
  font-size: 0.88rem;
  color: var(--phantom-text-dim);
  line-height: 1.6;
  margin-bottom: 15px;
}

.ghost-card-link {
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
  font-weight: 500;
  transition: var(--phantom-transition);
}

.ghost-card-link:hover {
  color: #fff;
  letter-spacing: 1px;
}

.ghost-card-link i {
  margin-left: 5px;
  transition: transform 0.3s;
}

.ghost-card-link:hover i {
  transform: translateX(5px);
}

/* ===== SPECTRAL FEATURES ===== */
.spectral-features {
  padding: 80px 0;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.spectral-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.spectral-feature-item {
  text-align: center;
  padding: 30px 20px;
}

.spectral-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s ease;
  color: var(--phantom-text);
}

.spectral-feature-item:hover .spectral-icon {
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 30px rgba(255,255,255,0.1);
  transform: scale(1.05);
}

.spectral-feature-item h3 {
  font-family: var(--phantom-font-heading);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

/* ===== GHOST STATS ===== */
.ghost-stats {
  padding: 80px 0;
}

.ghost-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.ghost-stat-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--phantom-card);
  backdrop-filter: blur(var(--phantom-blur));
  border: 1px solid var(--phantom-border);
  border-radius: var(--phantom-radius);
}

.ghost-stat-number {
  font-size: 2.5rem;
  font-family: var(--phantom-font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow:
    1px 0 rgba(255,255,255,0.5),
    2px 0 rgba(255,255,255,0.3),
    4px 0 rgba(255,255,255,0.1);
  margin-bottom: 8px;
}

.ghost-stat-label {
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
  letter-spacing: 1px;
}

/* ===== WHISPERS SECTION ===== */
.whispers-section {
  padding: 80px 0;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.whispers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.whisper-card {
  padding: 30px 25px;
  position: relative;
  animation: whisperFloat 6s ease-in-out infinite;
}

.whisper-card:nth-child(2) {
  animation-delay: 2s;
}

.whisper-card:nth-child(3) {
  animation-delay: 4s;
}

.whisper-quote {
  font-size: 1.5rem;
  color: var(--phantom-text-muted);
  margin-bottom: 15px;
}

.whisper-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--phantom-text-dim);
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.8;
}

.whisper-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.whisper-info {
  display: flex;
  flex-direction: column;
}

.whisper-name {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.whisper-role {
  font-size: 0.75rem;
  color: var(--phantom-text-muted);
  margin-top: 2px;
}

/* ===== FOOTER CTA SECTION ===== */
.phantom-footer-cta {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 -20px;
}

.ghost-circle-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  animation: ghostCirclePulse 6s ease-in-out infinite;
}

.phantom-cta-title {
  font-size: 2.5rem;
  font-family: var(--phantom-font-heading);
  letter-spacing: 8px;
  margin-bottom: 15px;
  position: relative;
}

.phantom-cta-desc {
  font-size: 1rem;
  color: var(--phantom-text-dim);
  max-width: 500px;
  margin: 0 auto 30px;
  position: relative;
}

.phantom-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 0 0;
  margin-top: 40px;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand-logo {
  margin-bottom: 15px;
}

.footer-brand-logo img {
  height: 35px;
  opacity: 0.8;
}

.footer-brand-text {
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-18plus {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(255,80,80,0.3);
  border-radius: 4px;
  color: #ff5050;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  color: var(--phantom-text-dim);
  font-size: 0.9rem;
  transition: var(--phantom-transition);
}

.footer-social-links a:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.footer-col h4 {
  font-family: var(--phantom-font-heading);
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 2px;
  color: var(--phantom-text);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
  transition: var(--phantom-transition);
}

.footer-col ul li a:hover {
  color: var(--phantom-text);
  padding-left: 5px;
}

.footer-license-bar {
  padding: 30px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-license-bar h4 {
  font-family: var(--phantom-font-heading);
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.license-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.license-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--phantom-radius-sm);
  transition: var(--phantom-transition);
}

.license-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.license-item i {
  font-size: 1.5rem;
  color: var(--phantom-text-dim);
}

.license-item span {
  font-size: 0.75rem;
  color: var(--phantom-text-muted);
  font-weight: 500;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--phantom-text-muted);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--phantom-text-muted);
  font-style: italic;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 30px;
}

.breadcrumb a {
  color: var(--phantom-text-dim);
}

.breadcrumb a:hover {
  color: var(--phantom-text);
}

.breadcrumb span {
  color: var(--phantom-text-muted);
}

/* ===== CONTENT AREA ===== */
.content-area {
  display: flex;
  gap: 30px;
  padding: 20px 0;
}

.main-content {
  flex: 1;
  min-width: 0;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 300px;
  flex-shrink: 0;
}

.sidebar-widget {
  padding: 25px;
  margin-bottom: 25px;
}

.sidebar-title {
  font-family: var(--phantom-font-heading);
  font-size: 1rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-title i {
  margin-right: 8px;
  color: var(--phantom-text-dim);
}

.sidebar-search-input {
  width: 100%;
  padding: 10px 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--phantom-radius-sm);
  color: var(--phantom-text);
  font-size: 0.85rem;
  outline: none;
  transition: var(--phantom-transition);
}

.sidebar-search-input:focus {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}

.sidebar-search-btn {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--phantom-radius-sm);
  color: var(--phantom-text);
  cursor: pointer;
  transition: var(--phantom-transition);
}

.sidebar-search-btn:hover {
  background: rgba(255,255,255,0.12);
}

.sidebar-categories li {
  margin-bottom: 8px;
}

.sidebar-categories li a {
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.sidebar-categories li a:hover {
  color: var(--phantom-text);
}

.sidebar-recent-posts li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.sidebar-recent-posts li a {
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
  display: block;
  margin-bottom: 4px;
}

.sidebar-recent-posts li a:hover {
  color: var(--phantom-text);
}

.sidebar-post-date {
  font-size: 0.75rem;
  color: var(--phantom-text-muted);
}

/* ===== ARTICLE CARDS ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.article-card {
  overflow: hidden;
  padding: 0;
}

.article-card-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--phantom-radius) var(--phantom-radius) 0 0;
}

.article-card-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-thumb img {
  transform: scale(1.05);
}

.article-card-title {
  padding: 15px 20px 8px;
  font-size: 1rem;
  font-family: var(--phantom-font-heading);
}

.article-card-title a {
  color: var(--phantom-text);
}

.article-card-title a:hover {
  color: #fff;
}

.article-card-meta {
  padding: 0 20px;
  display: flex;
  gap: 15px;
  font-size: 0.75rem;
  color: var(--phantom-text-muted);
}

.article-card-meta i {
  margin-right: 4px;
}

.article-card-excerpt {
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
  line-height: 1.6;
}

.article-card-more {
  display: inline-block;
  padding: 10px 20px 20px;
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
  font-weight: 500;
  transition: var(--phantom-transition);
}

.article-card-more:hover {
  color: var(--phantom-text);
  letter-spacing: 1px;
}

.article-card-more i {
  margin-left: 5px;
  transition: transform 0.3s;
}

.article-card-more:hover i {
  transform: translateX(5px);
}

/* ===== SINGLE ARTICLE ===== */
.single-article {
  padding: 40px;
  margin-bottom: 40px;
}

.article-header {
  margin-bottom: 30px;
}

.article-title {
  font-size: 1.8rem;
  font-family: var(--phantom-font-heading);
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--phantom-text-dim);
}

.article-meta i {
  margin-right: 5px;
}

.article-featured-img {
  margin-bottom: 30px;
  border-radius: var(--phantom-radius);
  overflow: hidden;
}

.article-featured-img img {
  width: 100%;
  height: auto;
}

.article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--phantom-text-dim);
  margin-bottom: 30px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content h2,
.article-content h3 {
  color: var(--phantom-text);
  margin: 25px 0 15px;
}

.article-content img {
  border-radius: var(--phantom-radius-sm);
  margin: 20px 0;
}

.article-content a {
  color: var(--phantom-text);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.article-content a:hover {
  border-bottom-color: rgba(255,255,255,0.5);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.article-tags i {
  color: var(--phantom-text-dim);
}

.article-tags span {
  padding: 4px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--phantom-text-dim);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  margin-top: 10px;
}

.article-nav a {
  color: var(--phantom-text-dim);
  font-size: 0.9rem;
}

.article-nav a:hover {
  color: var(--phantom-text);
}

/* ===== RELATED POSTS ===== */
.related-posts {
  margin-bottom: 40px;
}

.related-posts-title {
  font-family: var(--phantom-font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

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

.related-item {
  overflow: hidden;
  border-radius: var(--phantom-radius-sm);
}

.related-item-thumb {
  height: 120px;
  overflow: hidden;
}

.related-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-item:hover .related-item-thumb img {
  transform: scale(1.08);
}

.related-item-title {
  padding: 10px;
  font-size: 0.85rem;
  font-family: var(--phantom-font-heading);
  color: var(--phantom-text-dim);
}

.related-item:hover .related-item-title {
  color: var(--phantom-text);
}

/* ===== PAGE ARTICLE ===== */
.page-article {
  padding: 40px;
}

.page-title {
  font-size: 1.8rem;
  font-family: var(--phantom-font-heading);
  margin-bottom: 25px;
}

.page-featured-img {
  margin-bottom: 25px;
  border-radius: var(--phantom-radius);
  overflow: hidden;
}

.page-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--phantom-text-dim);
}

.page-content p {
  margin-bottom: 18px;
}

/* ===== CATEGORY/ARCHIVE HEADER ===== */
.category-header,
.archive-header,
.search-header {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
}

.category-title,
.archive-title,
.search-title {
  font-size: 1.8rem;
  font-family: var(--phantom-font-heading);
  letter-spacing: 2px;
}

.category-desc,
.archive-desc {
  font-size: 0.9rem;
  color: var(--phantom-text-dim);
  margin-top: 10px;
}

/* ===== PROVIDER TABS ===== */
.provider-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.provider-tab {
  padding: 8px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  color: var(--phantom-text-dim);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--phantom-transition);
}

.provider-tab:hover,
.provider-tab.active {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 30px 0;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--phantom-radius-sm);
  color: var(--phantom-text-dim);
  font-size: 0.9rem;
  transition: var(--phantom-transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

/* ===== 404 PAGE ===== */
.error-404-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 0;
}

.error-404-content {
  text-align: center;
  padding: 60px 40px;
  max-width: 500px;
}

.error-404-icon {
  font-size: 5rem;
  color: var(--phantom-text-dim);
  margin-bottom: 20px;
  animation: floatGhost 4s ease-in-out infinite;
}

.error-404-title {
  font-size: 6rem;
  font-family: var(--phantom-font-heading);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.error-404-subtitle {
  font-family: var(--phantom-font-heading);
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.error-404-desc {
  font-size: 0.9rem;
  color: var(--phantom-text-dim);
  line-height: 1.7;
  margin-bottom: 30px;
}

.error-404-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* ===== NO POSTS ===== */
.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 30px;
}

.no-posts .ghost-icon {
  color: var(--phantom-text-dim);
  margin-bottom: 20px;
  animation: floatGhost 4s ease-in-out infinite;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SWIPER OVERRIDES ===== */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.3);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: rgba(255,255,255,0.8);
}

.swiper-button-next,
.swiper-button-prev {
  color: rgba(255,255,255,0.5);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: rgba(255,255,255,0.8);
}
