/* ============================================
   HARM GODS — Global Styles
   ============================================ */

:root {
  --blood: #8b0000;
  --blood-bright: #dc143c;
  --blood-dark: #4a0000;
  --blood-glow: rgba(220, 20, 60, 0.6);
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --text-pale: #c9c0c0;
  --text-white: #e8e0e0;
  --text-muted: #665858;
  --gold: #c9a84c;
  --gold-glow: rgba(201, 168, 76, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-pale);
  overflow-x: hidden;
  min-height: 100vh;
  cursor: default;
}

::selection {
  background: var(--blood);
  color: #fff;
}

.hidden {
  display: none !important;
}

/* ============================================
   FOG / ATMOSPHERE
   ============================================ */

.fog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.fog-1 {
  background: radial-gradient(ellipse at 20% 50%, rgba(139, 0, 0, 0.08) 0%, transparent 60%);
  animation: fogDrift1 12s ease-in-out infinite;
}

.fog-2 {
  background: radial-gradient(ellipse at 80% 50%, rgba(139, 0, 0, 0.06) 0%, transparent 60%);
  animation: fogDrift2 15s ease-in-out infinite;
}

@keyframes fogDrift1 {
  0%, 100% { transform: translateX(0) scale(1); opacity: 0.6; }
  50% { transform: translateX(30px) scale(1.1); opacity: 1; }
}

@keyframes fogDrift2 {
  0%, 100% { transform: translateX(0) scale(1.1); opacity: 0.5; }
  50% { transform: translateX(-40px) scale(1); opacity: 0.9; }
}

/* ============================================
   BLOOD DRIPS (top of screen)
   ============================================ */

.blood-drips {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

.blood-drip {
  position: absolute;
  top: -10px;
  width: 6px;
  background: linear-gradient(to bottom, var(--blood-bright), var(--blood-dark));
  border-radius: 0 0 50% 50%;
  animation: drip var(--drip-speed, 4s) ease-in var(--drip-delay, 0s) infinite;
  opacity: 0.85;
  filter: blur(0.3px);
}

.blood-drip::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--blood-bright);
  border-radius: 50%;
}

@keyframes drip {
  0% { height: 0; opacity: 0; }
  10% { opacity: 0.85; }
  60% { height: 120px; opacity: 0.85; }
  80% { height: 120px; opacity: 0.4; }
  100% { height: 120px; opacity: 0; }
}

/* ============================================
   PARTICLES
   ============================================ */

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--blood-bright);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle var(--p-speed, 6s) ease-in-out var(--p-delay, 0s) infinite;
}

@keyframes floatParticle {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-200px) scale(1.5); }
}

/* ============================================
   GLITCH TEXT EFFECT
   ============================================ */

.glitch {
  position: relative;
  animation: glitchShift 4s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  color: var(--blood-bright);
  animation: glitch1 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  transform: translate(-2px);
}

.glitch::after {
  color: #ff6666;
  animation: glitch2 3s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  transform: translate(2px);
}

@keyframes glitch1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(3px, -1px); }
  60% { transform: translate(-1px, 1px); }
}

@keyframes glitch2 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(3px, -2px); }
  40% { transform: translate(-2px, 1px); }
  60% { transform: translate(1px, -1px); }
}

@keyframes glitchShift {
  0%, 95%, 100% { opacity: 1; }
  96% { opacity: 0.8; transform: skewX(-2deg); }
  97% { opacity: 1; transform: skewX(0); }
}

.glitch-small {
  position: relative;
}

.glitch-small::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: -1px;
  color: var(--blood-bright);
  opacity: 0;
  animation: miniGlitch 5s infinite;
}

@keyframes miniGlitch {
  0%, 94%, 100% { opacity: 0; }
  95% { opacity: 0.7; transform: translate(-2px, 1px); }
  96% { opacity: 0; }
  97% { opacity: 0.5; transform: translate(2px, -1px); }
  98% { opacity: 0; }
}

/* ============================================
   GATE SCREEN
   ============================================ */

.gate-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-darker);
  z-index: 50;
}

.gate-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.pentagram-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 0, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.gate-title {
  font-family: 'Nosifer', cursive;
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--blood-bright);
  text-shadow:
    0 0 20px var(--blood-glow),
    0 0 60px rgba(139, 0, 0, 0.4),
    0 0 100px rgba(139, 0, 0, 0.2);
  margin-bottom: 0.5rem;
  letter-spacing: 4px;
}

.gate-subtitle {
  font-family: 'Creepster', cursive;
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.5s both;
}

.gate-question {
  animation: fadeInUp 1s ease 1s both;
}

.question-text {
  font-family: 'Creepster', cursive;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--text-white);
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(139, 0, 0, 0.3);
}

.gate-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  font-family: 'Creepster', cursive;
  font-size: 1.4rem;
  letter-spacing: 3px;
  padding: 1rem 3rem;
  border: 2px solid var(--blood);
  background: transparent;
  color: var(--text-white);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-transform: uppercase;
}

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

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

.btn:hover {
  border-color: var(--blood-bright);
  box-shadow:
    0 0 15px var(--blood-glow),
    inset 0 0 15px rgba(139, 0, 0, 0.2);
  transform: scale(1.05);
  text-shadow: 0 0 10px var(--blood-glow);
}

.btn:active {
  transform: scale(0.98);
}

.btn-icon {
  margin-right: 0.3rem;
}

.btn-yes {
  border-color: var(--blood);
}

.btn-yes:hover {
  background: rgba(139, 0, 0, 0.2);
}

.btn-no {
  border-color: #444;
}

.btn-no:hover {
  border-color: var(--blood-bright);
  background: rgba(139, 0, 0, 0.15);
}

.btn-crawl {
  margin-top: 2rem;
  border-color: var(--blood-dark);
  font-size: 1rem;
}

/* ============================================
   REJECT SCREEN
   ============================================ */

.reject-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-darker);
  z-index: 50;
}

.reject-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  animation: shakeIn 0.6s ease;
}

@keyframes shakeIn {
  0% { transform: translateX(0); opacity: 0; }
  10% { transform: translateX(-20px); }
  20% { transform: translateX(20px); }
  30% { transform: translateX(-15px); }
  40% { transform: translateX(15px); }
  50% { transform: translateX(-10px); }
  60% { transform: translateX(10px); opacity: 1; }
  70% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

.skull-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: skullPulse 2s ease-in-out infinite;
}

@keyframes skullPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.1); filter: brightness(1.3) drop-shadow(0 0 20px var(--blood-glow)); }
}

.reject-title {
  font-family: 'Nosifer', cursive;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--blood-bright);
  text-shadow:
    0 0 20px var(--blood-glow),
    0 0 60px rgba(139, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.reject-sub {
  font-family: 'Creepster', cursive;
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.ip-reveal {
  margin: 2rem 0;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.ip-label {
  font-family: 'Creepster', cursive;
  font-size: 1.5rem;
  color: var(--text-pale);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
}

.ip-box {
  display: inline-block;
  background: rgba(139, 0, 0, 0.15);
  border: 1px solid var(--blood);
  padding: 1rem 2.5rem;
  font-family: 'Inter', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  box-shadow:
    0 0 20px rgba(139, 0, 0, 0.3),
    inset 0 0 20px rgba(139, 0, 0, 0.1);
  animation: ipGlow 2s ease-in-out infinite;
}

@keyframes ipGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 0, 0, 0.3), inset 0 0 20px rgba(139, 0, 0, 0.1); }
  50% { box-shadow: 0 0 40px rgba(139, 0, 0, 0.5), inset 0 0 30px rgba(139, 0, 0, 0.2); }
}

.ip-prefix {
  color: var(--text-muted);
  margin-right: 0.5rem;
}

.ip-address {
  color: var(--blood-bright);
  font-weight: 700;
  text-shadow: 0 0 10px var(--blood-glow);
}

.reject-warning {
  font-family: 'Creepster', cursive;
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 2rem;
  animation: fadeInUp 1s ease 1s both;
  letter-spacing: 2px;
}

/* ============================================
   MAIN SITE
   ============================================ */

.main-site {
  min-height: 100vh;
  position: relative;
  padding-bottom: 4rem;
}

/* Blood splatters */
.blood-splatter {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}

.splatter-1 {
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse at 30% 30%, var(--blood-bright) 0%, transparent 70%);
  border-radius: 60% 40% 50% 70%;
}

.splatter-2 {
  bottom: 10%;
  left: -30px;
  width: 200px;
  height: 250px;
  background: radial-gradient(ellipse at 50% 50%, var(--blood) 0%, transparent 70%);
  border-radius: 40% 60% 70% 30%;
}

.splatter-3 {
  top: 40%;
  right: 5%;
  width: 150px;
  height: 150px;
  background: radial-gradient(ellipse at 50% 50%, var(--blood-dark) 0%, transparent 70%);
  border-radius: 50% 50% 30% 70%;
}

/* HEADER */

.site-header {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 4rem 2rem 3rem;
  animation: fadeInDown 1s ease both;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-title {
  font-family: 'Nosifer', cursive;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--blood-bright);
  text-shadow:
    0 0 20px var(--blood-glow),
    0 0 60px rgba(139, 0, 0, 0.4),
    0 0 100px rgba(139, 0, 0, 0.2);
  letter-spacing: 4px;
  margin-bottom: 0.5rem;
}

.site-tagline {
  font-family: 'Creepster', cursive;
  font-size: 1.1rem;
  color: var(--text-muted);
  letter-spacing: 6px;
  text-transform: uppercase;
}

.header-line {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blood), transparent);
  margin: 1.5rem auto 0;
  box-shadow: 0 0 10px var(--blood-glow);
}

/* MEMBERS SECTION */

.members-section {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.section-title {
  font-family: 'Creepster', cursive;
  font-size: 2rem;
  text-align: center;
  color: var(--text-white);
  letter-spacing: 8px;
  margin-bottom: 3rem;
  text-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

/* MEMBER CARDS */

.member-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(145deg, rgba(20, 10, 10, 0.9), rgba(10, 5, 5, 0.95));
  border: 1px solid rgba(139, 0, 0, 0.3);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  transition: all 0.5s ease;
  overflow: hidden;
  animation: fadeInUp 0.8s ease both;
}

.member-card:nth-child(1) { animation-delay: 0.2s; }
.member-card:nth-child(2) { animation-delay: 0.5s; }

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

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.05) 0%, transparent 30%);
  pointer-events: none;
}

.member-card:hover {
  border-color: var(--blood);
  transform: translateY(-5px);
  box-shadow:
    0 10px 40px rgba(139, 0, 0, 0.2),
    0 0 30px rgba(139, 0, 0, 0.1);
}

.card-blood-drip {
  position: absolute;
  top: 0;
  left: 20%;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--blood-bright), transparent);
  border-radius: 0 0 50% 50%;
  transition: height 1s ease;
}

.member-card:hover .card-blood-drip {
  height: 60px;
}

/* Featured card (CYBER) */

.member-featured {
  border-color: rgba(201, 168, 76, 0.3);
  background: linear-gradient(145deg, rgba(30, 15, 10, 0.95), rgba(15, 8, 5, 0.98));
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.05);
}

.member-featured:hover {
  border-color: var(--gold);
  box-shadow:
    0 10px 40px rgba(201, 168, 76, 0.15),
    0 0 30px rgba(139, 0, 0, 0.15);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 50%);
  pointer-events: none;
  animation: cardGlowPulse 4s ease-in-out infinite;
}

@keyframes cardGlowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.crown-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'Creepster', cursive;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 3px;
  padding: 4px 12px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.08);
  text-shadow: 0 0 10px var(--gold-glow);
}

/* AVATARS */

.member-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--blood);
  border-radius: 50%;
  animation: ringPulse 3s ease-in-out infinite;
}

.member-featured .avatar-ring {
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.avatar-letter {
  font-family: 'Nosifer', cursive;
  font-size: 2.5rem;
  color: var(--blood-bright);
  text-shadow: 0 0 15px var(--blood-glow);
}

.member-featured .avatar-letter {
  color: var(--gold);
  text-shadow: 0 0 15px var(--gold-glow);
}

.member-name {
  font-family: 'Nosifer', cursive;
  font-size: 1.5rem;
  color: var(--text-white);
  letter-spacing: 4px;
  margin-bottom: 0.3rem;
}

.member-featured .member-name {
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
}

.member-role {
  font-family: 'Creepster', cursive;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.member-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* SOCIALS */

.member-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(139, 0, 0, 0.3);
  background: rgba(139, 0, 0, 0.08);
  color: var(--text-pale);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
  transition: filter 0.3s ease;
}

.social-link:hover {
  border-color: var(--blood-bright);
  background: rgba(139, 0, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
  color: #fff;
}

.social-link:hover svg {
  filter: drop-shadow(0 0 5px var(--blood-glow));
}

.member-featured .social-link {
  border-color: rgba(201, 168, 76, 0.2);
  background: rgba(201, 168, 76, 0.05);
}

.member-featured .social-link:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.15);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.2);
}

/* FOOTER */

.site-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 3rem 2rem 2rem;
  margin-top: 3rem;
}

.footer-line {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blood-dark), transparent);
  margin: 0 auto 1.5rem;
}

.footer-text {
  font-family: 'Creepster', cursive;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 5px;
}

.footer-sub {
  font-size: 0.75rem;
  color: rgba(102, 88, 88, 0.5);
  margin-top: 0.5rem;
  letter-spacing: 3px;
}

/* ============================================
   SCREEN TRANSITION
   ============================================ */

.screen-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--blood-dark);
  z-index: 999;
  animation: screenFlash 0.8s ease both;
  pointer-events: none;
}

@keyframes screenFlash {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .gate-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    width: 220px;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }

  .ip-box {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gate-title, .site-title {
    font-size: 2rem;
  }

  .reject-title {
    font-size: 1.8rem;
  }

  .member-card {
    padding: 2rem 1.2rem 1.5rem;
  }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--blood-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blood);
}
