/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #1a1a1a;
  color: white;
}

/* ================= NAV ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(14px, 1.3vw, 18px) clamp(30px, 2.9vw, 40px);
  background: linear-gradient(to right, #3b0000, #1a0000);
}

.nav-left {
  display: flex;
  gap: clamp(8px, 0.7vw, 10px);
  align-items: center;
}

.nav-logo {
  height: clamp(30px, 2.6vw, 36px);
  width: auto;
}

.brand {
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: bold;
}

.brand-sub {
  font-size: clamp(12px, 1vw, 14px);
  opacity: 0.85;
}

.nav-right > a {
  margin-left: clamp(14px, 1.3vw, 18px);
}

.nav-right a.active,
.nav-right a:hover {
  background-color: rgba(255,255,255,0.15);
}

.nav-right {
  display: flex;
  align-items: center;
}

/* NAV BUTTON LOOK */
.nav-link {
  margin-left: clamp(14px, 1.3vw, 18px);
  color: white;
  text-decoration: none;
  padding: clamp(5px, 0.4vw, 6px) clamp(10px, 0.9vw, 12px);
  border-radius: 6px;
  font-size: clamp(13px, 1vw, 15px);
  transition: background-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255,255,255,0.15);
}

/* ================= NAV DROPDOWN ================= */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: white;
  font-size: clamp(18px, 1.6vw, 22px);
  cursor: pointer;
  padding: clamp(5px, 0.4vw, 6px) clamp(8px, 0.7vw, 10px);
  border-radius: 6px;
}

.dropdown-toggle:hover {
  background-color: rgba(255,255,255,0.15);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: linear-gradient(to bottom, #2a2a2a, #1c1c1c);
  border-radius: 8px;
  width: clamp(190px, 16vw, 220px);
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 1000;
}

/* ================= MOBILE-ONLY SECTIONS ================= */
.mobile-only-section {
  display: none;
}

.mobile-only {
  display: none;
}

@media (max-width: 900px) {
  .mobile-only-section {
    display: block;
  }
  .mobile-only {
    display: block;
  }
}

/* ================= DROPDOWN CATEGORIES ================= */
.dropdown-category {
  padding: clamp(10px, 0.9vw, 12px) clamp(14px, 1.2vw, 16px);
  font-size: clamp(10px, 0.85vw, 11px);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ================= DROPDOWN ITEMS ================= */
.dropdown-item {
  display: grid;
  grid-template-columns: clamp(28px, 2.3vw, 32px) 1fr;
  align-items: center;
  gap: clamp(10px, 0.9vw, 12px);
  padding: clamp(12px, 1vw, 14px) clamp(14px, 1.2vw, 16px);
  color: white;
  text-decoration: none;
  font-size: clamp(12px, 1vw, 14px);
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background-color: rgba(255,255,255,0.1);
}

.dropdown-item img {
  width: clamp(19px, 1.6vw, 22px);
  height: clamp(19px, 1.6vw, 22px);
  justify-self: center;
}

.icon-box {
  width: clamp(24px, 2vw, 28px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-box img {
  width: clamp(19px, 1.6vw, 22px);
  height: clamp(19px, 1.6vw, 22px);
  object-fit: contain;
}

.item-text {
  white-space: nowrap;
}

/* ================= PAGE WRAPPER ================= */
.page-wrapper {
  min-height: calc(100vh - 60px);
}

/* ================= HERO SECTION ================= */
.hero {
  background: linear-gradient(180deg, #2e2e2e 0%, #1f1f1f 100%);
  padding: clamp(20px, 2.2vw, 36px) clamp(30px, 5vw, 80px) 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  gap: clamp(30px, 4vw, 60px);
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 14px);
  padding-bottom: clamp(20px, 2.2vw, 36px);
  align-self: center;
}

.hero-text h1 {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: bold;
  line-height: 1.2;
  color: white;
}

.hero-text p {
  font-size: clamp(13px, 1.1vw, 16px);
  opacity: 0.65;
  margin-bottom: clamp(6px, 0.8vw, 10px);
}

.hero-image {
  width: clamp(340px, 36vw, 500px);
  height: auto;
  object-fit: contain;
  object-position: bottom;
  flex-shrink: 0;
  display: block;
  align-self: flex-end;
}

/* Hero buttons - inside hero */
.hero-buttons {
  display: flex;
  gap: clamp(10px, 1vw, 14px);
  flex-wrap: wrap;
  margin-top: clamp(6px, 0.8vw, 10px);
}

.primary-btn {
  background-color: #3b0000;
  color: white;
  padding: clamp(12px, 1.1vw, 16px) clamp(28px, 2.5vw, 40px);
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.3px;
  transition: box-shadow 0.25s, transform 0.2s, background-color 0.2s;
  display: inline-block;
}

.primary-btn:hover {
  transform: translateY(-2px);
  background-color: #5a0000;
  box-shadow: 0 0 20px rgba(180,0,0,0.5);
}

/* ================= SERVICES SECTION ================= */
.services-section {
  background: #1a1a1a;
  padding: clamp(36px, 3.2vw, 52px) clamp(20px, 2vw, 32px);
  flex: 1;
}

/* ================= OTHER SERVICES TITLE ================= */
.services-title {
  text-align: center;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: bold;
  color: white;
  margin-bottom: clamp(16px, 1.4vw, 24px);
}

/* ================= SERVICE CARDS ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, clamp(300px, 26vw, 360px));
  gap: clamp(12px, 1vw, 16px);
  justify-content: center;
  margin-bottom: clamp(30px, 3vw, 50px);
}

.service-card--center {
  grid-column: 1 / -1;
  justify-self: center;
  width: clamp(300px, 26vw, 360px);
}

.service-card {
  background: #222222;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: clamp(16px, 1.4vw, 20px) clamp(18px, 1.6vw, 22px);

  display: flex;
  align-items: center;
  gap: clamp(14px, 1.2vw, 18px);

  color: white;
  text-decoration: none;

  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

/* Icon area */
.service-card-icon {
  width: clamp(44px, 3.8vw, 54px);
  height: clamp(44px, 3.8vw, 54px);
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.service-card-icon img {
  width: clamp(26px, 2.3vw, 32px);
  height: clamp(26px, 2.3vw, 32px);
  object-fit: contain;
}

/* Text */
.service-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.service-card-title {
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: bold;
}

.service-card-desc {
  font-size: clamp(11px, 0.9vw, 13px);
  opacity: 0.55;
  line-height: 1.4;
}

/* Arrow */
.service-card-arrow {
  font-size: clamp(16px, 1.4vw, 20px);
  opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.service-card:hover .service-card-arrow {
  transform: translateX(4px);
  opacity: 0.9;
}

/* ================= FOOTER ================= */
.footer {
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: clamp(24px, 2.2vw, 36px) 0 clamp(30px, 2.6vw, 40px);
  text-align: center;
}

.footer h2 {
  font-size: clamp(19px, 1.6vw, 22px);
}

.footer p {
  font-size: clamp(11px, 0.95vw, 13px);
  opacity: 0.8;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 1.3vw, 18px);
}

.footer-logo-side {
  height: clamp(50px, 4.2vw, 58px);
  width: auto;
}

.footer-text {
  text-align: left;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    align-self: center;
  }

  .hero-text {
    align-items: center;
    padding-bottom: 0;
  }

  .hero-buttons {
    justify-content: center;
  }

  .nav-right > .nav-link {
    display: none;
  }

  .primary-btn {
    padding: 12px 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-card--center {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 14px 18px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    padding: 32px 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-text {
    text-align: center;
  }
}

/* Dropdown divider */
.dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 8px 0;
}

/* ================= DISCORD LOGIN BUTTON ================= */
.discord-btn {
  background-color: #5865F2;
  color: white;
  padding: clamp(6px, 1vw, 8px) clamp(14px, 1.4vw, 16px);
  border-radius: 6px;
  font-weight: bold;
  font-size: clamp(12px, 0.9vw, 14px);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: clamp(14px, 1.3vw, 18px);
}

.discord-btn:hover {
  background-color: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(88,101,242,0.7);
}

/* ================= SIGN OUT BUTTON ================= */
.signout-btn {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: clamp(5px, 0.4vw, 6px) clamp(10px, 0.9vw, 12px);
  border-radius: 6px;
  font-size: clamp(12px, 0.9vw, 13px);
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.2s;
}

.signout-btn:hover {
  background: rgba(255, 0, 0, 0.25);
  border-color: rgba(255, 0, 0, 0.4);
}

/* ================= FOOTER ================= */
.footer {
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(16px, 1.5vw, 22px) clamp(24px, 3vw, 48px);
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links-left {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1.2vw, 20px);
}

.footer-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: clamp(12px, 0.95vw, 14px);
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

.footer-links-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-icon-link {
  display: flex;
  align-items: center;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.footer-icon-link:hover {
  opacity: 1;
}

.footer-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: clamp(12px, 1.2vw, 18px) 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: clamp(11px, 0.85vw, 13px);
  color: rgba(255, 255, 255, 0.45);
}

.footer-disclaimer {
  font-size: clamp(11px, 0.85vw, 13px);
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ================= TAGLINE BAR ================= */
.tagline-bar {
  background: #161616;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: clamp(12px, 1.1vw, 16px) clamp(24px, 4vw, 60px);
  font-size: clamp(12px, 0.95vw, 14px);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}