/* New Hope WoW - Whitemane Style Theme */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Rajdhani:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #050811;
  --bg-card: rgba(12, 19, 35, 0.75);
  --bg-card-hover: rgba(16, 26, 48, 0.9);
  --ice-cyan: #00f2fe;
  --ice-blue: #38bdf8;
  --frost-glow: rgba(0, 242, 254, 0.35);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  --border-ice: rgba(56, 189, 248, 0.25);
  --border-ice-bright: rgba(0, 242, 254, 0.6);
  --gold-accent: #f59e0b;
  --gradient-btn: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  --gradient-btn-hover: linear-gradient(135deg, #00f2fe 0%, #00a8ff 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 114, 255, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 10% 30%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(56, 189, 248, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #050811 0%, #080d1a 50%, #04060b 100%);
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050811;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
  border: 1px solid var(--border-ice);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ice-blue);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-ice);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: 2px solid var(--ice-cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 16px var(--frost-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
}

.brand-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ice-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s, text-shadow 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--ice-cyan);
  text-shadow: 0 0 8px var(--frost-glow);
}

.nav-badge-uo {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-badge-uo:hover {
  background: rgba(245, 158, 11, 0.3);
  color: #fff;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.nav-btn {
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0, 198, 255, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.nav-btn:hover {
  background: var(--gradient-btn-hover);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-ice-bright);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ice-cyan);
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 14px var(--frost-glow);
}

.hero-tag .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.4);
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--ice-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  border: 1px solid var(--border-ice-bright);
  padding: 14px 34px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(0, 198, 255, 0.45);
  transition: all 0.3s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  background: var(--gradient-btn-hover);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.7);
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  border: 1px solid var(--border-ice);
  padding: 14px 30px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  border-color: var(--ice-cyan);
  background: rgba(20, 32, 58, 0.9);
  color: var(--ice-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
  transform: translateY(-3px);
}

/* Realmlist Box */
.realmlist-card {
  background: rgba(10, 16, 30, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-ice);
  border-radius: 12px;
  padding: 18px 24px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 100%;
}

.realmlist-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: left;
}

.realmlist-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--ice-cyan);
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  letter-spacing: 0.5px;
  user-select: all;
}

.btn-copy {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--border-ice-bright);
  color: var(--ice-cyan);
  padding: 8px 18px;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.btn-copy:hover {
  background: var(--ice-cyan);
  color: #050811;
  box-shadow: 0 0 16px var(--frost-glow);
}

/* Realm Status Widget */
.status-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.status-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-ice);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s, border-color 0.3s;
}

.status-item:hover {
  transform: translateY(-3px);
  border-color: var(--ice-cyan);
}

.status-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ice-cyan);
}

.status-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.status-title {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.status-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.status-online {
  color: #10b981 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Sections */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-badge {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ice-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
}

/* Registration Form Card */
.register-wrapper {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-ice-bright);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
  position: relative;
}

.form-group {
  margin-bottom: 22px;
  text-align: left;
}

.form-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(5, 8, 17, 0.85);
  border: 1px solid var(--border-ice);
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: var(--ice-cyan);
  box-shadow: 0 0 14px var(--frost-glow);
  background: rgba(8, 13, 26, 0.95);
}

.form-control::placeholder {
  color: var(--text-dark);
}

.form-help {
  font-size: 12px;
  color: var(--text-dark);
  margin-top: 6px;
}

.btn-submit {
  width: 100%;
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(0, 198, 255, 0.4);
  transition: all 0.3s;
  text-transform: uppercase;
  margin-top: 10px;
}

.btn-submit:hover:not(:disabled) {
  background: var(--gradient-btn-hover);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Alert Boxes */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 22px;
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 12px;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #6ee7b7;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

/* How to Connect - Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-ice);
  border-radius: 14px;
  padding: 34px 28px;
  position: relative;
  transition: all 0.3s;
  text-align: left;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--ice-cyan);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.15);
}

.step-num {
  font-family: 'Cinzel', serif;
  font-size: 44px;
  font-weight: 900;
  color: rgba(0, 242, 254, 0.25);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.code-snippet {
  background: #020408;
  border: 1px solid var(--border-ice);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  color: var(--ice-cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-ice);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--ice-cyan);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  color: var(--ice-cyan);
}

.feature-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Discord CTA */
.discord-banner {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(12, 19, 35, 0.9) 100%);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
  flex-wrap: wrap;
}

.discord-content {
  text-align: left;
  max-width: 600px;
}

.discord-title {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.discord-desc {
  font-size: 15px;
  color: var(--text-muted);
}

.btn-discord {
  background: #5865f2;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.8);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #030509;
  border-top: 1px solid var(--border-ice);
  padding: 40px 0 30px;
  font-size: 13px;
  color: var(--text-dark);
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ice-cyan);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 34px;
  }
  .realmlist-card {
    flex-direction: column;
    width: 100%;
  }
  .register-wrapper {
    padding: 24px;
  }
  .discord-banner {
    padding: 28px;
    text-align: center;
    justify-content: center;
  }
  .discord-content {
    text-align: center;
  }
}
