/* Hell's Sanctuary - Core Styles */
:root {
  --bg: #0a0a0d;
  --bg-2: #101015;
  --panel: #131319;
  --accent: #ff2d55;
  --accent-2: #ff7a18;
  --text: #f4f4f6;
  --muted: #a6a6b3;
  --ok: #46d39a;
  --warn: #ffd166;
  --danger: #ff4967;
  --ring: rgba(255,45,85,0.35);
}

* { box-sizing: border-box; }
html, body {
  padding: 0; margin: 0;
  background: radial-gradient(1200px 600px at 80% -100px, rgba(255,45,85,0.08), transparent 60%),
              radial-gradient(900px 500px at 0% 0%, rgba(255,122,24,0.06), transparent 60%),
              linear-gradient(180deg, #0a0a0d 0%, #07070a 100%);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,10,13,0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .4px; }
.brand img { width: 36px; height: 36px; }
.brand .name { font-size: 18px; }
.badge { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(255,122,24,0.12); color: #ffd0b1; border: 1px solid rgba(255,122,24,0.25); }

.navlinks { display: flex; align-items: center; gap: 10px; }
.navlinks a {
  padding: 10px 14px; border-radius: 10px; color: var(--muted);
  border: 1px solid transparent;
}
.navlinks a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.navlinks a.active { color: var(--text); border-color: rgba(255,255,255,0.08); background: rgba(255,255,255,0.06); }
.discord-btn {
  background: linear-gradient(90deg, #ff0000, #ff4d4d); /* red gradient */
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 0px rgba(255, 77, 77, 0.25); /* subtle red glow */
  transition: box-shadow .2s ease, transform .15s ease;
}

.discord-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 6px rgba(255, 77, 77, 0.35); /* stronger red ring */
}


/* Hero */
.hero {
  padding: 64px 0 28px;
  display: grid; gap: 16px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.1;
  letter-spacing: .2px;
  margin: 0;
  text-shadow: 0 8px 50px rgba(255,45,85,0.25);
}
.hero p { margin: 0; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); }
.hero .cta { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.btn {
  color: var(--text);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;

  /* 🔥 gradient border */
  border: 2px solid transparent; /* border thickness */
  background:
    linear-gradient(#1a1a22, #1a1a22) padding-box,       /* dark inner background */
    linear-gradient(90deg, #ff0000, #ff4d4d) border-box; /* red gradient border */

  transition: transform .15s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.35); /* red glow hover effect */
}

.btn.primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); border: none; font-weight: 700; }
.pill { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 999px; background: #15151c; border: 1px solid rgba(255,255,255,.08); color: #ffd0db; }

/* Grids & Cards */
.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--panel);
  border-radius: 16px;
  padding: 18px;

  /* 🔥 red gradient border */
  border: 2px solid transparent; /* thickness of the border */
  background:
    linear-gradient(#131319, #131319) padding-box,              /* inner fill */
    linear-gradient(90deg, #ff0000, #ff4d4d) border-box;        /* red gradient border */

  box-shadow: 0 6px 30px rgba(0,0,0,.25);
  color: #fff;
  transition: transform .15s ease, box-shadow .2s ease;
}

.card:hover {
  box-shadow: 0 0 0 6px rgba(255,77,77,0.35), 0 10px 24px rgba(0,0,0,.35);
  transform: translateY(-2px);
}

.card .title { font-weight: 700; margin: 6px 0 6px; }
.card .muted { color: var(--muted); font-size: 14px; }

.kicker { color: #ffb3c2; letter-spacing: .4px; font-weight: 700; text-transform: uppercase; font-size: 12px; }

/* Sections */
.section { padding: 28px 0; }
.section h2 { margin: 0 0 10px; font-size: clamp(20px, 3vw, 28px); }
.section p { margin: 0 0 16px; color: var(--muted); }

/* Footer */
.footer {
  margin-top: 32px; padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted); font-size: 14px;
}

/* Tables for updates */
.table {
  width: 100%; border-collapse: collapse; border: 1px solid rgba(255,255,255,.08);
}
.table th, .table td {
  padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.table th { text-align: left; color: #ffd0db; background: rgba(255,45,85,0.08); }

/* Responsive nav (simple) */
.mobile-hide { display: none; }
@media (min-width: 760px) {
  .mobile-hide { display: inline-flex; }
}
/* === Boxed UI Additions === */
.row { display: grid; gap: 16px; }
.row.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.row.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.row.cols-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.box {
  background: var(--panel);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 30px rgba(0,0,0,.25);

  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(90deg, #ff0000, #ff4d4d) border-box; /* red gradient */
}


.box.header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;

  /* 🔥 Red gradient border */
  border: 2px solid transparent;
  background:
    linear-gradient(#0a0a0d, #0a0a0d) padding-box,          /* inner fill */
    linear-gradient(90deg, #ff0000, #ff4d4d) border-box;   /* red gradient border */
}


.stat {
  display: grid; gap: 6px;
}
.stat .value { font-size: 28px; font-weight: 900; }
.stat .label { color: var(--muted); font-size: 13px; }

.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  
  /* 🔥 red gradient background + border */
  background: linear-gradient(90deg, #ff0000, #ff4d4d);
  border: 1px solid rgba(255, 77, 77, 0.6);
  
  color: #fff; /* stronger white text for contrast */
  font-weight: 700;
  letter-spacing: .3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4); /* optional: glow for readability */
}


.notice {
  border-left: 3px solid var(--accent);
  padding-left: 12px; color: #ffd0db;
}


/* ===== Store Layout Tweaks ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
  border-radius: 16px;

  /* 🔥 red gradient border */
  border: 2px solid transparent; /* thickness of the border */
  background:
    linear-gradient(#1c1f26, #1c1f26) padding-box,               /* inner fill */
    linear-gradient(90deg, #ff0000, #ff4d4d) border-box;         /* red gradient border */
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  color: #fff;
  transition: transform .15s ease, box-shadow .2s ease;
}

.price-card:hover {
  box-shadow: 0 0 0 6px rgba(255, 77, 77, 0.35), 0 10px 24px rgba(0, 0, 0, .35);
  transform: translateY(-2px);
}



.price-card h3 {
  margin: 0 0 8px;
  font-weight: 800;
}

.price-card .price {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
}

.price-card .features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  flex: 1;
}

.price-card .features li {
  margin: 6px 0;
  line-height: 1.3;
}

.price-card .discord-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
  font-weight: 800;
}




.server-box {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;

  /* 🔥 red gradient border like other cards */
  border: 2px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(90deg, #ff0000, #ff4d4d) border-box;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: var(--text);
}

.server-tag {
  font-size: 12px; color: #ffd0b1; letter-spacing: .3px; font-weight: 700;
}


/* Force exactly 3 cards per row on desktop */
@media (min-width: 1025px) {
  main .pricing {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px;
  }
}

/* Tablet = 2 per row, Mobile = 1 per row */
@media (max-width: 1024px) {
  main .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  main .pricing { grid-template-columns: 1fr !important; }
}

/* Make sure cards don't impose widths */
main .pricing .price-card { width: 100%; min-width: 0; }



/* ===== Maps Page Styles ===== */
.section-title { 
  margin: 28px 0 12px; 
  border-bottom: 1px solid rgba(255,255,255,.1); 
  padding-bottom: 6px; 
}

.maps-grid { 
  display: grid; 
  gap: 16px; 
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
}

.map-card { 
  padding: 14px; 
  border-radius: 16px; 
  color: #fff;

  /* 🔥 red gradient border */
  border: 2px solid transparent;
  background:
    linear-gradient(#131319, #131319) padding-box,              /* inner */
    linear-gradient(90deg, #ff0000, #ff4d4d) border-box;       /* red gradient border */
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .2s ease;
}

.map-card:hover { 
  box-shadow: 0 0 0 6px rgba(255,77,77,0.35), 0 10px 24px rgba(0,0,0,.35);
  transform: translateY(-2px);
}

.map-thumb { 
  width: 100%; 
  height: 140px; 
  object-fit: cover; 
  border-radius: 12px; 

  /* 🔥 red gradient border for thumbs */
  border: 2px solid transparent;
  background:
    linear-gradient(#131319, #131319) padding-box,
    linear-gradient(90deg, #ff0000, #ff4d4d) border-box;
  cursor: pointer; 
  margin-bottom: 10px; 
}

.map-card .title { 
  margin: 2px 0 4px; 
}

.map-card .muted code { 
  background: rgba(255,255,255,.06); 
  padding: 2px 6px; 
  border-radius: 8px; 
}

.toolbar { 
  display: flex; 
  gap: 8px; 
  flex-wrap: wrap; 
  margin-top: 12px; 
}

.toolbar input { 
  background: #131319; 
  border: 1px solid rgba(255,255,255,.08); 
  color: #fff; 
  border-radius: 10px; 
  padding: 10px 12px; 
  min-width: 260px; 
}

.tag { 
  display: inline-block; 
  font-size: 12px; 
  padding: 2px 8px; 
  border-radius: 999px; 

  /* 🔥 red accent tags */
  border: 1px solid rgba(255,77,77,.35); 
  background: rgba(255,45,85,0.12);
  color: #ffd0db; 
  margin-right: 6px; 
}

.btn.small { 
  padding: 6px 10px; 
  border-radius: 10px; 
  font-size: 13px; 
}

/* Lightbox */
#lightbox { 
  display: none; 
  position: fixed; 
  z-index: 9999; 
  inset: 0; 
  background: rgba(0,0,0,.85); 
  justify-content: center; 
  align-items: center; 
}

#lightbox img { 
  max-width: 92%; 
  max-height: 92%; 
  border-radius: 12px; 
  box-shadow: 0 0 20px rgba(0,0,0,.8); 
}


.camo-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .camo-card img { height: 120px; width: 100%; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); cursor: pointer; }
    .tag { display:inline-block; font-size:12px; padding:2px 8px; border-radius:999px; border:1px solid rgba(255,255,255,.12); color:#ffd0db; margin-right:6px; }
    .toolbar { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
    .toolbar input { background:#131319; border:1px solid rgba(255,255,255,.08); color:#fff; border-radius:10px; padding:10px 12px; }

    /* Lightbox overlay */
    #lightbox {
      display: none;
      position: fixed;
      z-index: 9999;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.85);
      justify-content: center;
      align-items: center;
    }
    #lightbox img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 12px;
      box-shadow: 0 0 20px rgba(0,0,0,0.8);
    }