:root {
  --bg: #0b0b0b;
  --red: #ff2233;
  --dark-red: #8a0f12;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.02);
  --accent: linear-gradient(90deg, var(--red), #ff4d4d);
  --mono: 'Orbitron', sans-serif;
  --sans: 'Inter', sans-serif;
}


/* Reset */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: var(--sans);
  background: url('Error_Roleplay_Red_Banner.png') no-repeat center center fixed;
  background-size: cover; /* γεμίζει όλη την οθόνη */
  color: #eaeaea;
}

/* Scanline overlay */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: overlay;
  opacity: 0.45;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 36px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo .mark {
  font-family: var(--mono);
  font-weight: 900;
  color: var(--red);
  letter-spacing: 1px;
  font-size: 20px;
  text-transform: uppercase;
}

.logo .subtitle {
  font-size: 12px;
  color: #cfcfcf;
  opacity: 0.8;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: #ddd;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.2s;
}

nav a:hover {
  color: var(--red);
}

nav a.cta {
  background: var(--accent);
  box-shadow: 0 6px 30px rgba(255,34,51,0.12);
  color: #0b0b0b;
}

/* Layout */
main {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: start;
  padding: 36px;
}

/* Hero Section */
.hero {
  padding: 40px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.hero h1 {
  position: relative;
  z-index: 5;
  font-family: 'Orbitron', sans-serif;
  font-size: 64px;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(255, 34, 51, 0.9),
    0 0 25px rgba(255, 34, 51, 0.6),
    0 0 45px rgba(255, 34, 51, 0.4);
  background: transparent; /* <-- πολύ σημαντικό */
  mix-blend-mode: normal;  /* <-- αποτρέπει το μαύρο layer effect */
  animation: fadeIn 1.8s ease forwards;
}



/* Glitch effect */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.8;
  pointer-events: none;
}

.glitch::before {
  transform: translateX(-2px);
  clip-path: polygon(0 0,100% 0,100% 45%,0 50%);
  color: var(--red);
  mix-blend-mode: screen;
  filter: blur(0.6px);
}

.glitch::after {
  transform: translateX(2px);
  clip-path: polygon(0 55%,100% 50%,100% 100%,0 100%);
  color: #ff7b7b;
  mix-blend-mode: overlay;
  filter: blur(0.4px);
}

.hero p {
  margin-top: 14px;
  color: #d6d6d6;
  opacity: 0.9;
  font-size: 16px;
}

.actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s;
}

.btn.primary {
  background: var(--accent);
  color: #0b0b0b;
  box-shadow: 0 10px 40px rgba(255,34,51,0.12);
  animation: neon 3.2s ease-in-out infinite;
}

.btn.primary:hover {
  transform: scale(1.05);
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.06);
}

.btn.ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Server Info */
.server-info {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ip {
  margin-top: 8px;
  font-size: 18px;
  font-family: var(--mono);
  font-weight: 700;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  padding: 6px 10px;
  border-radius: 999px;
  color: #32CD32;
  font-weight: 700;
}

/* Sidebar Cards */
.card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--glass), var(--glass-2));
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  margin-top: 40px;
}

/* Status Grid */
.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.feat {
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
  border: 1px solid rgba(255,255,255,0.02);
  font-weight: 600;
}

/* Rules */
.rules li {
  margin: 8px 0;
  padding-left: 8px;
}

/* Footer */
footer {
  padding: 24px 36px;
  border-top: 1px solid rgba(255,255,255,0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.socials {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  z-index: 999;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
}

.socials a:hover {
  background: var(--red);
  color: #000;
}


/* Animations */
@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.floating {
  animation: floaty 5s ease-in-out infinite;
}

@keyframes neon {
  0% { box-shadow: 0 0 0px rgba(255,34,51,0.2); }
  50% { box-shadow: 0 0 40px rgba(255,34,51,0.18); }
  100% { box-shadow: 0 0 0px rgba(255,34,51,0.2); }
}

/* Responsive */
@media (max-width: 980px) {
  main {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hero h1 {
    font-size: 44px;
  }
}



.intro-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.intro-glitch {
  font-family: 'Orbitron', sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: #ff2233;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: glitchAnim 1.0s linear forwards;
}

.intro-glitch::before,
.intro-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.8;
}

.intro-glitch::before {
  left: 2px;
  text-shadow: -4px 0 #ff004c;
  clip-path: polygon(0 0,100% 0,100% 45%,0 50%);
  animation: glitchTop 0.1s infinite linear alternate-reverse;
}

.intro-glitch::after {
  left: -2px;
  text-shadow: 4px 0 #00fff6;
  clip-path: polygon(0 55%,100% 50%,100% 100%,0 100%);
  animation: glitchBottom 0.1s infinite linear alternate-reverse;
}

/* Aggressive Glitch Animations */
@keyframes glitchTop {
  0% { transform: translate(0,0) rotate(0deg); opacity:1; }
  10% { transform: translate(-10px,-4px) rotate(-1deg); opacity:0.8; }
  20% { transform: translate(12px,6px) rotate(1deg); opacity:1; }
  30% { transform: translate(-8px,8px) rotate(-1deg); opacity:0.9; }
  40% { transform: translate(6px,-6px) rotate(1deg); opacity:1; }
  50% { transform: translate(0,0) rotate(0deg); opacity:1; }
  100% { transform: translate(0,0) rotate(0deg); opacity:1; }
}

@keyframes glitchBottom {
  0% { transform: translate(0,0) rotate(0deg); opacity:1; }
  10% { transform: translate(8px,4px) rotate(1deg); opacity:0.8; }
  20% { transform: translate(-12px,-6px) rotate(-1deg); opacity:1; }
  30% { transform: translate(6px,6px) rotate(1deg); opacity:0.9; }
  40% { transform: translate(-6px,-6px) rotate(-1deg); opacity:1; }
  50% { transform: translate(0,0) rotate(0deg); opacity:1; }
  100% { transform: translate(0,0) rotate(0deg); opacity:1; }
}

/* Main Glitch + Zoom Animation */
@keyframes glitchAnim {
  0% { opacity: 0; transform: scale(0.9); }
  10% { opacity: 1; transform: scale(1); }
  30% { transform: scale(1.05) skew(2deg,2deg); }
  50% { transform: scale(0.95) skew(-2deg,-2deg); }
  70% { transform: scale(1.03) skew(1deg,-1deg); }
  90% { transform: scale(0.9) skew(0deg,0deg); }
  100% { opacity: 1; transform: scale(2) skew(0deg,0deg); } /* Zoom out before reveal */
}





.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.logo-img {
  width: 150px; /* ή ό,τι μέγεθος θες (π.χ. 100px, 150px κτλ.) */
  margin-top: 25px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.4));
}

@keyframes logo-glow {
  from {
    filter: drop-shadow(0 0 5px #ff0000);
  }
  to {
    filter: drop-shadow(0 0 25px #ff0000);
  }
}


.subtitle {
  font-size: 14px;
  opacity: 0.8;
  color: #ccc;
}




.credit-link {
  color: #ff2233;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.credit-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #ff2233;
}







.tiktok-buttons-card {
  margin-top: 20px;
  padding: 15px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--glass), var(--glass-2));
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.tiktok-buttons-card h3 {
  margin-top: 5px;
  font-size: 24px;
  margin-bottom: -23px;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.tiktok-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 45px;
}

.tiktok-buttons .btn {
  background: var(--accent);
  color: #000000;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s ease;
}

.tiktok-buttons .btn:hover {
  background-color: #ff5555;
  text-shadow: 0 0 6px #ff2233;
  animation: neon 3.2s ease-in-out infinite;
  transform: scale(1.05);
}









/* Fullscreen overlay after the intro */
.coming-overlay{
  position: fixed; inset: 0;
  background: url('Error_Roleplay_Red_Banner.png') no-repeat center center fixed;
  background-size: cover;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  z-index: 9998; opacity:0; pointer-events:none; transition:opacity .6s ease;
}
.coming-overlay.show{ opacity:1; pointer-events:auto; }

.coming-content h1{
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(34px, 6vw, 72px);
  letter-spacing: .12em; color:#fff; margin:0 0 8px;
  text-shadow: 0 0 12px rgba(255,34,51,.6);
}

.coming-content a {
  color: #ff2233;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.coming-content a:hover {
  text-shadow: 0 0 8px #ff2233;
  color: #fff;
}

.owner-link{
  position: fixed; bottom:16px; left:16px;
  background:transparent; color:#9aa0a6; border:none; padding:0;
  text-decoration: underline; cursor:pointer; font-size:12px;
}
.owner-link:hover{ color:#fff; }

.owner-form{
  position: fixed; bottom:56px; left:16px; display:none;
  gap:8px; align-items:center;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px; padding:8px 10px; backdrop-filter: blur(6px);
}
.owner-form.show{ display:flex; }

.owner-form input{
  background:#0f0f10; border:1px solid rgba(255,255,255,.15);
  color:#fff; padding:8px 10px; border-radius:8px; outline:none; width:180px;
}
.owner-form button{
  background:#ff2233; color:#000; font-weight:700;
  border:none; padding:8px 12px; border-radius:8px; cursor:pointer;
}
.owner-form button:hover{ filter:brightness(1.1); }
.form-msg{ color:#ff6b6b; font-size:12px; margin-left:6px; }

@keyframes shake{
  0%,100%{ transform:translateX(0) }
  25%{ transform:translateX(-6px) }
  50%{ transform:translateX(6px) }
  75%{ transform:translateX(-3px) }
}
.owner-form.shake{ animation: shake .35s linear; }






