/* ==========================================================================
   VOIDCORE.cz - Modern Dark Theme & Responsive Design Tokens
   ========================================================================== */

:root {
  --bg-black: #060303;
  --card-bg: rgba(18, 9, 9, 0.94);
  --red-dark: #620000;
  --red-mid: #990e0e;
  --red-bright: #ff0000;
  --red-light: #ff4d4d;
  --red-accent: #cc0000;
  
  --text-main: #e5e7eb;
  --text-muted: #a39999;
  --text-dim: #666666;

  --nav-height: 76px;
  --max-width: 1300px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-catamaran: 'Catamaran', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-main);
  font-family: var(--font-catamaran);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

/* Custom Sleek Dark Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
  background: var(--red-dark);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-mid);
}

/* Canvas Background */
#void-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Main Layout Wrapper */
.maj-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.maj-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .maj-content {
    padding: 0 1rem;
  }
}

/* Header & Navigation */
.maj-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(6, 3, 3, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(153, 14, 14, 0.35);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.maj-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-logo-img:hover {
  transform: scale(1.04);
}

/* Desktop Navigation Links */
.main-nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
}

.maj-header__link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.4rem 0.5rem;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.maj-header__link:hover, .maj-header__link.active {
  color: #ffffff;
}

.maj-header__link-indicator {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--red-bright);
  transition: transform 0.25s ease;
}

.maj-header__link:hover .maj-header__link-indicator,
.maj-header__link.active .maj-header__link-indicator {
  transform: translateX(-50%) scaleX(1);
}

/* Prominent Whitelist Button in Nav */
.nav-btn-whitelist {
  background: var(--red-mid);
  border: 1px solid var(--red-bright);
  color: #ffffff;
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-btn-whitelist:hover {
  background: var(--red-bright);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
  transform: translateY(-2px);
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.35);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 1002;
}

.mobile-menu-toggle .icon-menu-close {
  display: none;
}

.mobile-menu-toggle.active .icon-menu-open {
  display: none;
}

.mobile-menu-toggle.active .icon-menu-close {
  display: block;
}

/* Mobile Drawer Styles (< 900px) */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .header-logo-img {
    height: 34px;
  }

  .main-nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(6, 3, 3, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--red-mid);
    padding: 2rem 1.5rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.95);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }

  .main-nav-menu.mobile-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
  }

  .maj-header__link {
    font-size: 1.15rem;
    padding: 0.5rem 1rem;
  }

  .nav-btn-whitelist {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    margin-top: 0.5rem;
  }
}

/* HERO SECTION (IP Bar Pinned to Bottom Edge) */
.maj-hero-banner {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 1rem) 1rem 6rem;
  position: relative;
}

.hero-logo-box {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  max-width: 760px;
  width: 92%;
  height: auto;
  filter: drop-shadow(0 0 45px rgba(255, 0, 0, 0.5));
  animation: heroPulse 4s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.35)); }
  100% { transform: scale(1.02); filter: drop-shadow(0 0 50px rgba(255, 0, 0, 0.6)); }
}

/* Clean IP Bar Pinned to Bottom Edge of Hero Screen */
.clean-ip-bar {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  background: rgba(18, 9, 9, 0.94);
  border: 1px solid var(--red-mid);
  border-radius: 50px;
  padding: 0.45rem 0.5rem 0.45rem 1.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 0, 0, 0.25);
  gap: 1.25rem;
  z-index: 10;
  white-space: nowrap;
}

.clean-ip-text {
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.clean-btn-copy {
  background: var(--red-mid);
  border: 1px solid var(--red-bright);
  color: #ffffff;
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.clean-btn-copy:hover {
  background: var(--red-bright);
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .clean-ip-bar {
    bottom: 1.75rem;
    padding: 0.35rem 0.4rem 0.35rem 1.1rem;
    gap: 0.75rem;
    max-width: 94%;
  }
  .clean-ip-text {
    font-size: 0.92rem;
  }
  .clean-btn-copy {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
}

/* Enchant.cz Inspired Story About Section */
.maj-section-about {
  padding: calc(var(--nav-height) + 2.5rem) 0 4rem;
}

.about-enchant-wrapper {
  background: rgba(18, 10, 10, 0.95);
  border: 1px solid var(--red-mid);
  border-radius: 16px;
  padding: 3.5rem 3rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 0, 0, 0.15);
  position: relative;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: start;
}

@media (max-width: 1050px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-enchant-wrapper {
    padding: 2.25rem 1.35rem;
  }
}

.about-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.35);
  color: var(--red-bright);
  padding: 0.35rem 0.95rem;
  border-radius: 20px;
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}

.story-title {
  font-family: var(--font-outfit);
  font-size: 2.75rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

@media (max-width: 600px) {
  .story-title {
    font-size: 1.95rem;
  }
}

.text-highlight-red {
  color: var(--red-bright);
  position: relative;
  display: inline-block;
}

.story-paragraph {
  font-size: 1.1rem;
  color: #d1c7c7;
  line-height: 1.8;
  margin-bottom: 1.15rem;
}

.story-paragraph strong {
  color: #ffffff;
  font-weight: 700;
}

.story-highlights-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
}

/* How to Connect Guide Box */
.about-connect-guide-box {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(153, 14, 14, 0.5);
  border-radius: 16px;
  padding: 1.6rem 1.6rem 1.35rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.connect-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.connect-guide-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.guide-header-icon {
  width: 24px;
  height: 24px;
  color: var(--red-bright);
}

.connect-guide-header h3 {
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
}

.guide-version-clean {
  color: var(--text-muted);
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 0.85rem;
}

.connect-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.35rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.15rem;
}

.connect-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 0.4rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.connect-tab-btn:hover {
  color: #ffffff;
}

.connect-tab-btn.active {
  background: var(--red-mid);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.guide-steps-group {
  min-height: 155px;
  height: auto;
  flex-shrink: 0;
  box-sizing: border-box;
}

.guide-steps-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guide-step-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.45rem;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-num {
  width: 24px;
  height: 24px;
  background: var(--red-mid);
  border: 1px solid var(--red-bright);
  color: #ffffff;
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.guide-ip-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 0, 0, 0.3);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  margin-top: 0.2rem;
  width: 100%;
  box-sizing: border-box;
  height: 36px;
}

.guide-ip-box code {
  font-family: monospace;
  color: var(--red-bright);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy-mini {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.btn-copy-mini:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
}

.connect-guide-content {
  display: none;
  height: 310px;
  min-height: 310px;
  max-height: 310px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: space-between;
}

.connect-guide-content.active {
  display: flex !important;
}

.step-desc {
  color: #a39999;
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.guide-img-container {
  margin-top: auto;
  height: 140px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(153, 14, 14, 0.4);
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.guide-img-placeholder {
  height: 130px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px dashed rgba(255, 0, 0, 0.3);
  border-radius: 8px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.5rem;
  box-sizing: border-box;
}

.guide-showcase-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(153, 14, 14, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.guide-img-placeholder {
  height: 185px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px dashed rgba(255, 0, 0, 0.3);
  border-radius: 10px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.5rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .about-connect-guide-box {
    padding: 1.2rem 0.85rem;
    margin-top: 1rem;
  }

  .connect-tab-btn {
    font-size: 0.82rem;
    padding: 0.5rem 0.2rem;
  }

  .connect-guide-content {
    min-height: 290px;
  }

  .guide-ip-box code {
    font-size: 0.85rem;
  }

  .btn-copy-mini {
    padding: 0.25rem 0.5rem;
    font-size: 0.72rem;
  }
}
  .info-title {
    font-size: 1.85rem;
  }
  .about-lead {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
}

.feature-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(153, 14, 14, 0.35);
  border-radius: 10px;
  padding: 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-bright);
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.2);
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(153, 14, 14, 0.45) 0%, rgba(255, 0, 0, 0.12) 100%);
  border: 1px solid rgba(255, 0, 0, 0.45);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-bright);
  margin-bottom: 1.25rem;
}

.feature-icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #a39999;
  line-height: 1.6;
  margin: 0;
}

.about-cta-box {
  margin-top: 1.5rem;
}

/* Hráči & Komunita Section */
.maj-section-clenove {
  padding: calc(var(--nav-height) + 2.5rem) 0 4rem;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-title {
  font-family: var(--font-outfit);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

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

@media (max-width: 600px) {
  .page-title {
    font-size: 2rem;
  }
  .page-subtitle {
    font-size: 0.9rem;
  }
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.member-card {
  background: rgba(18, 9, 9, 0.9);
  border: 1px solid rgba(153, 14, 14, 0.3);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.member-card:hover {
  transform: translateY(-5px);
  border-color: var(--red-bright);
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.25);
}

.owner-card {
  border-color: var(--red-bright);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.rank-owner-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--red-mid);
  border: 1px solid var(--red-bright);
  color: #ffffff;
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 25;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.member-avatar-wrapper {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0.85rem auto 1.25rem;
  z-index: 2;
}

.member-avatar {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  image-rendering: pixelated;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #120909;
}

.is-online {
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.is-offline {
  background-color: #ef4444;
}

.member-name {
  font-family: var(--font-outfit);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.playtime-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(153, 14, 14, 0.4);
  color: #e5e7eb;
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  margin-bottom: 0.65rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 12px rgba(255, 0, 0, 0.15);
}

.playtime-pill i,
.playtime-pill svg {
  color: var(--red-bright);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.playtime-pill .pt-val,
.playtime-pill strong {
  color: var(--red-bright);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
  vertical-align: baseline;
}

.last-seen {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Whitelist Modal Backdrop Overlay */
.whitelist-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 2, 2, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Whitelist Modal Window Container */
.whitelist-modal-container {
  background: #120909;
  border: 1px solid var(--red-mid);
  border-radius: 12px;
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 20px rgba(255, 0, 0, 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: var(--red-dark) #060303;
}

.whitelist-modal-backdrop.active .whitelist-modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: static;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.modal-close-btn:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  transform: rotate(90deg);
}

.modal-top-banner {
  background: linear-gradient(180deg, rgba(153, 14, 14, 0.35) 0%, rgba(18, 9, 9, 0.98) 100%);
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(153, 14, 14, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.modal-top-right-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-banner-logo {
  height: 58px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.modal-user-preview {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 0, 0, 0.3);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  width: 190px;
  min-width: 190px;
  max-width: 190px;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
}

.modal-head-preview {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  image-rendering: pixelated;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.modal-user-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.modal-label {
  font-size: 0.7rem;
  color: #a39999;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.modal-nick-display {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--red-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

.modal-body-content {
  padding: 2rem;
}

/* Mobile Phone Responsive Adjustments (< 600px) */
@media (max-width: 600px) {
  .modal-top-banner {
    padding: 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    gap: 0.85rem;
  }
  
  .modal-banner-logo {
    height: 44px;
    max-width: 75%;
  }

  .modal-top-right-group {
    width: 100%;
  }

  .modal-user-preview {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }

  .modal-body-content {
    padding: 1.25rem 1rem;
  }

  .modal-q-input {
    font-size: 16px; /* Prevents iOS auto-zoom */
    padding: 0.75rem 1rem;
  }

  .modal-btn-submit {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
  }
}

.modal-whitelist-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.modal-q-group {
  display: flex;
  flex-direction: column;
}

.modal-q-label {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.icon-label {
  width: 16px;
  height: 16px;
  color: var(--red-bright);
  flex-shrink: 0;
}

.modal-q-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(153, 14, 14, 0.35);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-catamaran);
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.modal-q-input:focus {
  border-color: var(--red-bright);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.25);
}

.modal-textarea {
  resize: vertical;
  min-height: 85px;
}

.modal-btn-submit {
  background: var(--red-mid);
  border: 1px solid var(--red-bright);
  color: #ffffff;
  padding: 0.95rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  transition: all 0.25s ease;
}

.modal-btn-submit:hover {
  background: var(--red-bright);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
  transform: translateY(-2px);
}

.modal-alert {
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.6;
}

.modal-alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
}

.modal-alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

.modal-alert-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Footer Styles (Fully Responsive Layout) */
.maj-footer {
  background: rgba(4, 2, 2, 0.96);
  border-top: 1px solid rgba(153, 14, 14, 0.3);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.discord-red-svg {
  width: 28px;
  height: 28px;
  transition: transform 0.25s ease;
}

.discord-icon-link:hover .discord-red-svg {
  transform: scale(1.15);
}

.maj-footer-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.maj-text-medium {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.maj-text-medium:hover {
  color: #ffffff;
}

.admin-discreet-link {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.reek-logo-img {
  height: 32px;
  width: auto;
  vertical-align: middle;
  margin-left: 6px;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.reek-logo-img:hover {
  transform: scale(1.08);
}

/* Footer Mobile Responsiveness (< 768px) */
@media (max-width: 768px) {
  .footer-middle {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.75rem;
  }
  .footer-col-brand {
    align-items: center;
  }
  .maj-footer-menu {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
  .footer-provozuje {
    text-align: center !important;
  }
}

/* Toast Notifications */
.toast-box {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-item {
  background: rgba(18, 9, 9, 0.95);
  border: 1px solid var(--red-mid);
  border-left: 4px solid var(--red-bright);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  animation: toastSlideIn 0.3s ease forwards;
  pointer-events: auto;
}

.toast-item.fade-out {
  animation: toastFadeOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastFadeOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* Helpers */
.hidden {
  display: none !important;
}

.text-right {
  text-align: right;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

/* Hide Chrome, Safari, Edge, Opera number spinners */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide Firefox number spinner */
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* ==========================================================================
   Site Preloader Screen (Prevents FOUT & Page Load Flickering)
   ========================================================================== */
#site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #090404;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
  overflow: hidden;
}

#site-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
}

.preloader-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo-img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(255, 0, 0, 0.6));
  animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader-spinner {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 2px solid rgba(255, 0, 0, 0.15);
  border-top-color: #ff2222;
  border-radius: 50%;
  animation: preloaderSpin 0.9s linear infinite;
}

.preloader-bar-wrap {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #990e0e, #ff2222, #990e0e);
  background-size: 200% 100%;
  animation: preloaderBarMove 1.5s linear infinite;
  border-radius: 3px;
}

.preloader-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #a39999;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 24px rgba(255, 0, 0, 0.9)); }
}

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

/* FAQ Sekce */
.about-faq-wrapper {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(153, 14, 14, 0.35);
}

.faq-header-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.faq-title-icon {
  width: 28px;
  height: 28px;
  color: var(--red-bright);
}

.faq-section-title {
  font-family: var(--font-outfit);
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 850px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .faq-section-title {
    font-size: 1.6rem;
  }
}

.faq-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(153, 14, 14, 0.4);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.faq-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(255, 0, 0, 0.2);
}

.faq-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--red-bright);
  flex-shrink: 0;
}

.faq-card-header h3 {
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0;
}

.faq-answer {
  font-size: 0.98rem;
  color: #c7bcbc;
  line-height: 1.7;
  margin: 0;
}

.faq-answer strong {
  color: #ffffff;
  font-weight: 700;
}

/* Live Admin Pulse Indicator */
.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-outfit);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); opacity: 0.7; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); opacity: 0.7; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Pravidla Serveru */
.maj-section-pravidla {
  padding: 7.5rem 0 5rem;
}

@media (max-width: 900px) {
  .maj-section-pravidla {
    padding: 5.5rem 0 3.5rem;
  }
}

.rules-search-wrap .form-input {
  border-radius: 12px;
  font-size: 0.95rem;
  color: #fff;
  transition: all 0.3s ease;
}

.rules-search-wrap .form-input:focus {
  border-color: var(--red-bright);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .rules-grid, .admin-rules-form-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

.rules-category-card {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(153, 14, 14, 0.45);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.rules-category-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-bright);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 0, 0, 0.18);
}

.rules-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(153, 14, 14, 0.3);
}

.rules-cat-icon-wrap {
  width: 42px;
  height: 42px;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-bright);
  flex-shrink: 0;
}

.rules-cat-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.rules-card-header h2 {
  font-family: var(--font-outfit);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #d1c7c7;
  font-size: 0.98rem;
  line-height: 1.65;
  transition: opacity 0.25s ease;
}

.rule-chevron {
  width: 18px;
  height: 18px;
  color: var(--red-bright);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.rule-item strong {
  color: #ffffff;
  font-weight: 700;
}

.rule-inline-link {
  color: var(--red-bright);
  text-decoration: underline;
  font-weight: 700;
}

.rules-updated-footer {
  margin-top: 3.5rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px dashed rgba(255, 0, 0, 0.35);
  border-radius: 12px;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #a39999;
  font-size: 0.95rem;
  text-align: center;
}

.rules-updated-footer svg {
  width: 20px;
  height: 20px;
  color: var(--red-bright);
}

/* Čistá ne-AI stránka Pravidel (/pravidla) */
.rules-clean-main {
  padding: 7.5rem 1.5rem 4rem;
  min-height: 75vh;
}

.rules-clean-container {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-catamaran), sans-serif;
  color: #d8cece;
}

.rules-clean-page-title {
  font-family: var(--font-catamaran), sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: #ffffff;
  margin: 0 0 2rem 0;
  border-bottom: 2px solid var(--red-bright);
  padding-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.rules-clean-section {
  margin-bottom: 2.25rem;
}

.rules-clean-heading {
  font-family: var(--font-catamaran), sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.rules-clean-list {
  list-style-type: disc;
  padding-left: 1.6rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rules-clean-list li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d4c9c9;
}

.rules-clean-list li strong {
  color: #ffffff;
  font-weight: 700;
}

.rules-clean-sublist {
  list-style-type: circle;
  padding-left: 1.75rem;
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rule-clean-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.2s ease;
}

.rule-clean-link:hover {
  color: var(--red-bright);
}

.rules-clean-updated {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a39999;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .rules-clean-main {
    padding: 6rem 1rem 3rem;
  }

  .rules-clean-page-title {
    font-size: 1.65rem;
    margin-bottom: 1.5rem;
  }
  
  .rules-clean-heading {
    font-size: 1.25rem;
  }
  
  .rules-clean-list {
    padding-left: 1.25rem;
    gap: 0.55rem;
  }
  
  .rules-clean-list li {
    font-size: 0.98rem;
    line-height: 1.65;
  }
}

/* Styling pro nový Přehledný Admin Editor Pravidel */
.admin-rules-help-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px dashed rgba(153, 14, 14, 0.45);
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: #c7bcbc;
}

.admin-help-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.admin-help-grid code {
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.25);
  color: #ff8f8f;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-family: monospace;
}

.admin-rules-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.admin-rule-category-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(153, 14, 14, 0.4);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease;
}

.admin-rule-category-card:focus-within {
  border-color: var(--red-bright);
}

.admin-rule-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.admin-cat-num {
  background: var(--red-bright);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-family: var(--font-outfit);
}

.admin-cat-title-input {
  font-family: var(--font-catamaran), sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
}

.rule-toolbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rule-tb-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.rule-tb-btn:hover {
  background: rgba(255, 0, 0, 0.25);
  border-color: var(--red-bright);
  color: #fff;
}

.admin-rule-textarea {
  font-family: var(--font-catamaran), sans-serif !important;
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.7) !important;
  border-radius: 10px !important;
  padding: 1rem !important;
  min-height: 130px;
}
