/*
  Theme Name: VanRO-Global Gaming Theme
  Based on: Rapid by BootstrapMade.com
  Customized for: VanRO-Global - Custom Pre-Renewal MMORPG Server
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  background: #0a0e1a;
  color: #c8d6e5;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #00d4ff;
  transition: 0.3s;
}

a:hover,
a:active,
a:focus {
  color: #00a8cc;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 24px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
  color: #f0f4ff;
}

/* Back to top button */

.back-to-top {
  position: fixed;
  display: none;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: all 0.3s;
  z-index: 11;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.back-to-top:hover {
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}

/* Preloader */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #0a0e1a;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid rgba(255,255,255,0.1);
  border-top: 6px solid #00d4ff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/

#topbar {
  padding: 0 0 10px 0;
  font-size: 14px;
  transition: all 0.5s;
}

#topbar .social-links {
  text-align: right;
}

#topbar .social-links a {
  color: #8899b3;
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
}

#topbar .social-links a:hover {
  color: #00d4ff;
}

#topbar .social-links a:first-child {
  border-left: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  height: 110px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 20px 0;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
}

#header.header-scrolled,
#header.header-pages {
  height: 70px;
  padding: 15px 0;
  background-color: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

#header.header-scrolled #topbar,
#header.header-pages #topbar {
  display: none;
}

#header .logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #e0e8ff;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 7px 0;
  max-height: 26px;
}

.main-pages {
  margin-top: 60px;
}

/*--------------------------------------------------------------
# Intro / Hero Section
--------------------------------------------------------------*/

#intro {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background: #0a0e1a url("../img/intro-bg.webp") center top no-repeat;
  background-size: cover;
  padding-bottom: 40px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.6) 50%, rgba(10,14,26,0.85) 100%);
  z-index: 0;
}

#intro .container,
#intro .row {
  position: relative;
  z-index: 1;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #00d4ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Hero Title */
.hero-title {
  font-size: 56px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
  padding: 0;
  line-height: 1.1;
}

.hero-title-accent {
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 400;
  color: #8899b3;
  margin-top: 8px;
  margin-bottom: 20px;
}

.hero-desc {
  color: #a0b0c8;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Server Specs Grid */
.server-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  max-width: 380px;
}

.spec-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5a7099;
}

.spec-value {
  font-size: 15px;
  font-weight: 700;
  color: #e0e8ff;
}

/* Server Status Box */
.server-status-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 18px;
  border-radius: 10px;
  max-width: 380px;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.server-status-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.server-status-item:last-child {
  margin-bottom: 0;
}

.server-status-item .label {
  color: #8899b3;
}

.server-status-item .status {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4cff7a;
  display: inline-block;
  animation: pulse-glow 2s ease-in-out infinite;
}

.pulse-dot.offline {
  background: #ff5c5c;
  animation: pulse-glow-red 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 4px #4cff7a; }
  50% { box-shadow: 0 0 12px #4cff7a, 0 0 20px rgba(76,255,122,0.3); }
}

@keyframes pulse-glow-red {
  0%, 100% { box-shadow: 0 0 4px #ff5c5c; }
  50% { box-shadow: 0 0 12px #ff5c5c, 0 0 20px rgba(255,92,92,0.3); }
}

.server-status-item .status.online {
  color: #4cff7a;
}

.server-status-item .status.offline {
  color: #ff5c5c;
}

.server-status-item .count {
  color: #ffd36a;
  font-weight: 700;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.25s ease;
  text-decoration: none !important;
  border: 1px solid transparent;
}

.btn-hero i {
  font-size: 14px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
  color: #fff !important;
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #e0e8ff !important;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  color: #fff !important;
}

.btn-hero-vote {
  background: rgba(255, 211, 106, 0.1);
  border-color: rgba(255, 211, 106, 0.3);
  color: #ffd36a !important;
}

.btn-hero-vote:hover {
  background: rgba(255, 211, 106, 0.2);
  transform: translateY(-2px);
  color: #ffd36a !important;
}

.btn-hero-discord {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.4);
  color: #8b9dff !important;
}

.btn-hero-discord:hover {
  background: rgba(88, 101, 242, 0.3);
  transform: translateY(-2px);
  color: #a8b6ff !important;
}

.btn-hero-rms {
  background: rgba(255, 179, 71, 0.1);
  border-color: rgba(255, 179, 71, 0.3);
  color: #ffb347 !important;
}

.btn-hero-rms:hover {
  background: rgba(255, 179, 71, 0.2);
  transform: translateY(-2px);
  color: #ffc870 !important;
}

/* Hero Artwork */
.hero-artwork {
  width: 130%;
  max-width: none;
  transform: translateX(3%);
  animation: heroFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

@keyframes heroFloat {
  0%, 100% { transform: translateX(3%) translateY(0); }
  50% { transform: translateX(3%) translateY(-12px); }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Navigation */

.main-nav {
  /* Drop Down */
  /* Deep Drop Down */
}

.main-nav,
.main-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul > li {
  position: relative;
  white-space: nowrap;
  float: left;
}

.main-nav a {
  display: block;
  position: relative;
  color: #e0e8ff;
  padding: 10px 15px;
  transition: 0.3s;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a {
  color: #00d4ff;
  text-decoration: none;
}

.main-nav .drop-down ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% - 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: ease all 0.3s;
}

.main-nav .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.main-nav .drop-down li {
  min-width: 180px;
  position: relative;
}

.main-nav .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #c0cfe0;
}

.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active > a,
.main-nav .drop-down ul li:hover > a {
  color: #00d4ff;
}

.main-nav .drop-down > a:after {
  content: "\f107";
  font-family: FontAwesome;
  padding-left: 10px;
}

.main-nav .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.main-nav .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.main-nav .drop-down .drop-down > a {
  padding-right: 35px;
}

.main-nav .drop-down .drop-down > a:after {
  content: "\f105";
  position: absolute;
  right: 15px;
}

/* Mobile Navigation */

.mobile-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 9999;
  overflow-y: auto;
  left: -260px;
  width: 260px;
  padding-top: 18px;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  transition: 0.4s;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #fff;
  padding: 10px 20px;
  font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: #8dc2fa;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\f078";
  font-family: FontAwesome;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\f077";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  margin: 18px 18px 0 0;
  color: #c0cfe0;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(6, 10, 20, 0.85);
  overflow: hidden;
  display: none;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

/* Section Heading */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: #00d4ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #f0f4ff;
  margin-bottom: 8px;
}

.section-subtitle {
  color: #6b7d99;
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.section-header h3 {
  font-size: 36px;
  color: #f0f4ff;
  text-align: center;
  font-weight: 700;
  position: relative;
  font-family: "Montserrat", sans-serif;
}

.section-header p {
  text-align: center;
  margin: auto;
  font-size: 15px;
  padding-bottom: 60px;
  color: #8899b3;
  width: 50%;
}

/* Section with background */
.section-bg {
  background: #0d1220;
}

/* About Us Section
--------------------------------*/

#about {
  padding: 80px 0;
  background: #0d1220;
}

#about .about-content {
  padding-top: 20px;
}

#about .about-content h2 {
  color: #f0f4ff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 32px;
}

#about .about-content h3 {
  color: #6b7d99;
  font-weight: 400;
  font-size: 18px;
  font-style: italic;
}

#about .about-content p {
  color: #a0b0c8;
  line-height: 1.8;
}

#about .about-content ul {
  list-style: none;
  padding: 0;
}

#about .about-content ul li {
  padding-bottom: 10px;
  color: #c0cfe0;
}

#about .about-content ul li i {
  font-size: 20px;
  padding-right: 4px;
  color: #00d4ff;
}

#about .about-img {
  position: relative;
  margin: 30px;
}

#about .about-img img {
  width: 100%;
  border: 4px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  transition: .5s;
}

#about .about-img img:hover {
  transform: scale(1.03);
  border-color: rgba(0, 212, 255, 0.35);
}

#about .about-img::before {
  position: absolute;
  left: -20px;
  top: -20px;
  width: 90%;
  height: 92%;
  z-index: -1;
  content: '';
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 102, 255, 0.08));
  border-radius: 12px;
  transition: .5s;
}

#about .about-img::after {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 90%;
  height: 92%;
  z-index: -1;
  content: '';
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.06), rgba(0, 212, 255, 0.06));
  border-radius: 12px;
  transition: .5s;
}

/* About Highlights */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 16px;
}

.highlight-item i {
  color: #00d4ff;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.highlight-item span {
  color: #c0cfe0;
  font-size: 13px;
  font-weight: 600;
}

/* Services Section
--------------------------------*/

#services {
  padding: 60px 0 40px 0;
  background: #0a0e1a;
}

#services .box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 10px 40px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
  text-align: center;
}

#services .box:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

#services .icon {
  margin: 0 auto 15px auto;
  padding-top: 12px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

#services .icon i {
  font-size: 36px;
  line-height: 1;
}

#services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

#services .title a {
  color: #e0e8ff;
}

#services .box:hover .title a {
  color: #00d4ff;
}

#services .description {
  font-size: 14px;
  line-height: 28px;
  margin-bottom: 0;
  text-align: left;
  color: #8899b3;
}

/* Why Us Section
--------------------------------*/

#why-us {
  padding: 60px 0;
  background: #0a0e1a;
}

#why-us .why-us-content .features {
  margin: 0 0 15px 0;
  padding: 0;
  transition: 0.3s ease-in-out;
}

#why-us .why-us-content .features i {
  font-size: 36px;
  float: left;
}

#why-us .why-us-content .features h4 {
  font-size: 24px;
  font-weight: 600;
  margin-left: 56px;
  color: #e0e8ff;
  margin-bottom: 5px;
}

#why-us .why-us-content .features p {
  font-size: 16px;
  margin-left: 56px;
  color: #8899b3;
}

#why-us .counters {
  padding-top: 40px;
}

#why-us .counters span {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 48px;
  display: block;
  color: #00d4ff;
}

#why-us .counters p {
  padding: 0;
  margin: 0 0 20px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #6b7d99;
}

/* Call To Action Section
--------------------------------*/

#call-to-action {
  background: linear-gradient(135deg, #0c1c3a, #0b2f61);
  background-size: cover;
  padding: 40px 0;
}

#call-to-action .cta-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

#call-to-action .cta-text {
  color: #fff;
}

#call-to-action .cta-btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 26px;
  border-radius: 3px;
  transition: 0.5s;
  margin: 10px;
  border: 3px solid #fff;
  color: #fff;
}

#call-to-action .cta-btn:hover {
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  border: 3px solid #00d4ff;
}

/* Features Section
--------------------------------*/

#features {
  padding: 80px 0;
}

#features h4 {
  font-weight: 600;
  font-size: 24px;
  color: #f0f4ff;
}

/* Portfolio Section
--------------------------------*/

#portfolio {
  padding: 60px 0;
}

#portfolio #portfolio-flters {
  padding: 0;
  margin: 5px 0 35px 0;
  list-style: none;
  text-align: center;
}

#portfolio #portfolio-flters li {
  cursor: pointer;
  margin: 15px 15px 15px 0;
  display: inline-block;
  padding: 6px 10px;
  font-size: 16px;
  line-height: 20px;
  color: #e0e8ff;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

#portfolio #portfolio-flters li:hover,
#portfolio #portfolio-flters li.filter-active {
  color: #00d4ff;
}

#portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

#portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

#portfolio .portfolio-item .portfolio-wrap {
  overflow: hidden;
  position: relative;
  margin: 0;
}

#portfolio .portfolio-item .portfolio-wrap:hover img {
  opacity: 0.4;
  transition: 0.3s;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  opacity: 0;
  transition: 0.2s linear;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 {
  font-size: 22px;
  line-height: 1px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 0;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a {
  color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a:hover {
  color: #00d4ff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info p {
  padding: 0;
  margin: 0;
  color: #f8fcff;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details {
  display: inline-block;
  line-height: 1;
  text-align: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  border-radius: 50%;
  margin: 10px 4px 0 4px;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview i,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details i {
  padding-top: 6px;
  font-size: 22px;
  color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover {
  background: #42c3e8;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover i,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover i {
  color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap:hover {
  background: #0a0e1a;
}

#portfolio .portfolio-item .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/* Testimonials Section
--------------------------------*/

#testimonials {
  padding: 60px 0;
}

#testimonials .section-header {
  margin-bottom: 40px;
}

#testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid rgba(0, 212, 255, 0.2);
  float: left;
}

#testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #e0e8ff;
  margin-left: 140px;
}

#testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #6b7d99;
  margin: 0 0 15px 0;
  margin-left: 140px;
}

#testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 140px;
}

#testimonials .owl-nav,
#testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
}

#testimonials .owl-dot.active {
  background-color: #00d4ff;
}

/* Team Section
--------------------------------*/

#team {
  padding: 60px 0;
}

#team .member {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

#team .member .member-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: 0.2s;
  padding: 15px 0;
  background: rgba(29, 28, 41, 0.6);
}

#team .member .member-info-content {
  transition: margin 0.2s;
  height: 40px;
  transition: height 0.4s;
}

#team .member:hover .member-info {
  transition: 0.4s;
}

#team .member:hover .member-info-content {
  height: 80px;
}

#team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
  color: #fff;
}

#team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: #fff;
}

#team .member .social {
  margin-top: 15px;
}

#team .member .social a {
  transition: none;
  color: #fff;
}

#team .member .social a:hover {
  color: #00d4ff;
}

#team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/* Clients Section
--------------------------------*/

#clients {
  padding: 60px 0;
}

#clients img {
  max-width: 80%;
  opacity: 0.5;
  transition: 0.3s;
  padding: 15px 0;
}

#clients img:hover {
  opacity: 1;
}

#clients .owl-nav,
#clients .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#clients .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
}

#clients .owl-dot.active {
  background-color: #00d4ff;
}

/* Pricing Section
--------------------------------*/

#pricing {
  padding: 80px 0;
  background: #0d1220;
}

#pricing .card {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.03);
  transition: all .3s ease-in-out;
  padding: 36px 0;
  position: relative;
}

#pricing .card:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background-color: #00d4ff;
  transition: 0.5s;
}

#pricing .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 212, 255, 0.2);
}

#pricing .card:hover:after {
  width: 100%;
}

#pricing .card .card-header {
  background-color: transparent;
  border-bottom: 0px;
  -moz-text-align-last: center;
  text-align-last: center;
}

#pricing .card .card-title {
  margin-bottom: 16px;
  color: #8899b3;
}

#pricing .card .card-block {
  padding-top: 0;
  text-align: center;
}

#pricing .card .list-group-item {
  border: 0px;
  padding: 6px;
  color: #e0e8ff;
  font-weight: 300;
  background: transparent;
}

#pricing .card h3 {
  font-size: 64px;
  margin-bottom: 0px;
  color: #8899b3;
}

#pricing .card h3 .currency {
  font-size: 30px;
  position: relative;
  font-weight: 400;
  top: -30px;
  letter-spacing: 0px;
}

#pricing .card h3 .period {
  font-size: 16px;
  color: #6c67a3;
  letter-spacing: 0px;
}

#pricing .card .list-group {
  margin-bottom: 15px;
}

#pricing .card .btn {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  color: #5f5b96;
  border-radius: 0;
  padding: 10px 24px;
  letter-spacing: 1px;
  border-radius: 3px;
  display: inline-block;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  color: #fff;
}

#pricing .card .btn:hover {
  background: #0066ff;
}

/* Frequently Asked Questions Section
--------------------------------*/

#faq {
  padding: 60px 0;
  overflow: hidden;
}

#faq #faq-list {
  padding: 0;
  list-style: none;
}

#faq #faq-list li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

#faq #faq-list a {
  padding: 22px 0;
  display: block;
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  padding-right: 20px;
}

#faq #faq-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 20px;
}

#faq #faq-list p {
  margin-bottom: 20px;
}

#faq #faq-list a.collapse {
  color: #00d4ff;
}

#faq #faq-list a.collapsed {
  color: #c0cfe0;
}

#faq #faq-list a.collapsed i::before {
  content: "\f2c7" !important;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  padding: 0 0 30px 0;
  font-size: 14px;
  background: #060a14;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #0a0e1a;
  border-top: 1px solid rgba(255,255,255,0.05);
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 34px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  color: #f0f4ff;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#footer .footer-top .footer-info p {
  font-size: 13px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
  color: #8899b3;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #00d4ff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: rgba(0, 212, 255, 0.3);
  color: #fff;
}

#footer .footer-top h4 {
  font-size: 14px;
  font-weight: bold;
  color: #e0e8ff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul li {
  padding: 8px 0;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #8899b3;
}

#footer .footer-top .footer-links ul a:hover {
  color: #00d4ff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

#footer .footer-top .footer-newsletter {
  margin-bottom: 30px;
}

#footer .footer-top .footer-newsletter input[type="email"] {
  padding: 6px 8px;
  width: 65%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #e0e8ff;
  border-radius: 6px 0 0 6px;
}

#footer .footer-top .footer-newsletter input[type="submit"] {
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  border: 1px solid #00d4ff;
  width: 35%;
  padding: 6px 0;
  text-align: center;
  color: #fff;
  transition: 0.3s;
  cursor: pointer;
}

#footer .footer-top .footer-newsletter input[type="submit"]:hover {
  background: #0066ff;
}

#footer .footer-top .form .form-group {
  margin-bottom: 15px;
}

#footer .footer-top .form #sendmessage {
  color: #fff;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#footer .footer-top .form #errormessage {
  color: #fff;
  display: none;
  background: red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#footer .footer-top .form #sendmessage.show,
#footer .footer-top .form #errormessage.show,
#footer .footer-top .form .show {
  display: block;
}

#footer .footer-top .form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

#footer .footer-top .form label {
  color: #c0cfe0;
  font-weight: 500;
}

#footer .footer-top .form input,
#footer .footer-top .form textarea {
  border-radius: 6px;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #e0e8ff;
  font-size: 14px;
}

#footer .footer-top .form input::-webkit-input-placeholder,
#footer .footer-top .form textarea::-webkit-input-placeholder {
  color: #a2a0bd;
}

#footer .footer-top .form input::-moz-placeholder,
#footer .footer-top .form textarea::-moz-placeholder {
  color: #a2a0bd;
}

#footer .footer-top .form input:-ms-input-placeholder,
#footer .footer-top .form textarea:-ms-input-placeholder {
  color: #a2a0bd;
}

#footer .footer-top .form input::placeholder,
#footer .footer-top .form textarea::placeholder {
  color: #a2a0bd;
}

#footer .footer-top .form button[type="submit"] {
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  border: 0;
  border-radius: 6px;
  padding: 10px 30px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

#footer .footer-top .form button[type="submit"]:hover {
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
  transform: translateY(-1px);
  cursor: pointer;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
  color: #6b7d99;
  font-size: 15px;
}

#footer .credits {
  text-align: center;
  font-size: 14px;
  padding-top: 4px;
  color: #4a5a73;
}

#footer .credits a {
  color: #00d4ff;
}

#footer .credits a:hover {
  color: #00a8cc;
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/

@media (min-width: 991px) {
  #call-to-action .cta-btn-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  #intro .intro-info {
    padding-top: 80px;
  }

  #testimonials .testimonial-item p {
    width: 80%;
  }
}

@media (max-width: 991px) {
  #topbar {
    display: none;
  }

  #header {
    height: 70px;
    padding: 15px 0;
  }

  #header .logo h1 {
    font-size: 28px;
    padding: 8px 0;
  }

  #why-us .why-us-content {
    padding-top: 30px;
  }

  #pricing {
    padding-bottom: 30px;
  }

  #pricing .card {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }

  #faq #faq-list a {
    font-size: 18px;
  }

  #faq #faq-list i {
    top: 13px;
  }
}

@media (max-width: 767px) {
  #intro {
    height: auto;
    padding: 80px 0 60px 0;
  }

  #intro .container {
    height: auto !important;
  }

  #intro .intro-img {
    width: 80%;
    margin: 0 auto;
  }

  #intro .intro-info {
    text-align: center;
    padding-top: 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .server-specs {
    max-width: 320px;
    margin: 0 auto 16px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .server-status-box {
    margin: 12px auto;
    text-align: center;
  }

  .server-status-item {
    justify-content: center;
    gap: 8px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .section-header p {
    width: 100%;
  }

  #testimonials .testimonial-item {
    text-align: center;
  }

  #testimonials .testimonial-item .testimonial-img {
    float: none;
    margin: auto;
  }

  #testimonials .testimonial-item h3,
  #testimonials .testimonial-item h4,
  #testimonials .testimonial-item p {
    margin-left: 0;
  }
}

/* Hover effect for footer logo */
.logo-link img {
    transition: transform 0.25s ease, filter 0.25s ease;
    cursor: pointer;
}

.logo-link:hover img {
    transform: scale(1.10);
    filter: brightness(1.25);
}

/* ===========================================================
   HERO RESPONSIVE
=========================================================== */

/* Ultra-wide screens */
@media (min-width: 1600px) {
    .hero-artwork {
        width: 150%;
        transform: translateX(5%);
    }
}

/* Large laptops / desktops */
@media (min-width: 1280px) and (max-width: 1599px) {
    .hero-artwork {
        width: 140%;
        transform: translateX(4%);
    }
}

/* Tablets + Mobile */
@media (max-width: 991px) {
    .hero-artwork {
        width: 100%;
        transform: none;
        animation: none;
    }
}

/* ============================== */
/*  LEADERBOARDS SECTION           */
/* ============================== */

.leaderboards-section {
  padding: 70px 0 40px;
  background: linear-gradient(180deg, #080c16 0%, #0d1220 100%);
  color: #c8d6e5;
  width: 100%;
  overflow: hidden;
}

.leaderboard-row {
  align-items: stretch;
}

.leaderboard-card {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #131a26 0%, #0e131c 100%);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.leaderboard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 12px 28px rgba(0, 212, 255, 0.12);
}

.leaderboard-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(0, 212, 255, 0.08);
  color: #00d4ff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 212, 255, 0.18);
}

.leaderboard-card-header i {
  font-size: 18px;
}

.leaderboard-card-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Featured top-1 */
.lb-podium {
  position: relative;
  text-align: center;
  padding: 6px 4px 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.lb-podium .lb-medal-gold {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd866 0%, #b8860b 100%);
  color: #2a1a00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.55);
  border: 2px solid #1a1f2e;
  z-index: 2;
}

.lb-portrait-lg {
  display: block;
  width: 130px;
  height: 130px;
  margin: 12px auto 8px;
  object-fit: contain;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.08), transparent 70%);
  border-radius: 12px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.lb-podium-name {
  font-size: 18px;
  font-weight: 800;
  color: #ffd866;
  margin-top: 4px;
  word-break: break-word;
}

.lb-podium-name a,
.lb-podium-name a:hover {
  color: #ffd866;
  text-decoration: none;
}

.lb-podium-score {
  margin-top: 4px;
  color: #c8d6e5;
  font-size: 14px;
  font-weight: 600;
}

.lb-podium-score .lb-unit {
  color: #6b7d99;
  font-weight: 500;
  margin-left: 2px;
}

/* Runner-ups (top 2 + 3) */
.lb-runners {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.lb-runner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.lb-runner:hover {
  background: rgba(0, 212, 255, 0.05);
}

.lb-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
}

.lb-medal-silver {
  background: linear-gradient(135deg, #d9d9d9 0%, #888 100%);
  color: #1a1f2e;
  box-shadow: 0 0 6px rgba(192, 192, 192, 0.35);
}

.lb-medal-bronze {
  background: linear-gradient(135deg, #e09a55 0%, #8b4513 100%);
  color: #2a1a00;
  box-shadow: 0 0 6px rgba(205, 127, 50, 0.35);
}

.lb-portrait-sm {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
}

.lb-runner-info {
  flex: 1;
  min-width: 0;
}

.lb-runner-name {
  color: #f0f4ff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-runner-name a,
.lb-runner-name a:hover {
  color: #f0f4ff;
  text-decoration: none;
}

.lb-runner-score {
  color: #9aaacf;
  font-size: 12px;
  margin-top: 2px;
}

.lb-view-all {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #00d4ff;
  text-decoration: none;
  padding: 8px 0;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
  transition: color 0.2s ease, background 0.2s ease;
}

.lb-view-all:hover {
  color: #fff;
  background: rgba(0, 212, 255, 0.08);
  text-decoration: none;
}

.lb-view-all i {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.lb-view-all:hover i {
  transform: translateX(3px);
}

.lb-empty {
  text-align: center;
  padding: 40px 16px;
  color: #6b7d99;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lb-empty i {
  font-size: 32px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.lb-empty p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 767px) {
  .leaderboards-section { padding: 50px 0 20px; }
  .lb-portrait-lg { width: 110px; height: 110px; }
}

/* ============================== */
/*  FEATURES SECTION - DARK GAMING */
/* ============================== */

.features-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #0d1220 0%, #0a0e1a 100%);
  color: #c8d6e5;
  width: 100%;
  overflow: hidden;
}

.features-section .container {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 20px;
}

/* ============================== */
/*  DESKTOP GRID                  */
/* ============================== */

.features-desktop {
  display: block;
}

.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Feature card (desktop) - Gaming style */
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0;
  border-radius: 14px;
  text-align: center;
  overflow: hidden;
  transition: all 0.35s ease;
}

.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(0, 212, 255, 0.08);
}

.feature-card-img {
  position: relative;
  overflow: hidden;
}

.feature-card-img img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-card-img img {
  transform: scale(1.08);
}

.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,14,26,0.85) 0%, rgba(10,14,26,0) 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover .feature-card-overlay {
  opacity: 1;
}

.feature-card-overlay i {
  font-size: 28px;
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0,212,255,0.5);
}

.feature-card-body {
  padding: 20px 22px 24px;
}

.feature-card h4 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
  color: #00d4ff;
}

.feature-card p {
  color: #8899b3;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ============================== */
/*  MOBILE SLIDER - DARK          */
/* ============================== */

.features-mobile {
  display: none;
}

@media (max-width: 768px) {
  .features-desktop { display: none; }
  .features-mobile { display: block; }

  .slider-container {
    position: relative;
    overflow: hidden;
    padding: 15px 0;
  }

  .slider-inner {
    display: flex;
    transition: transform 0.4s ease-in-out;
  }

  .slide {
    min-width: 100%;
    text-align: center;
  }

  .slide-img {
    width: 85%;
    border-radius: 12px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 14px;
  }

  .slide-title {
    font-size: 20px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 10px;
  }

  .slide-desc {
    padding: 0 20px;
    font-size: 14px;
    color: #8899b3;
    line-height: 1.6;
  }

  .slide-arrow {
    position: absolute;
    top: 40%;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 22px;
    border: none;
    color: #00d4ff;
    cursor: pointer;
    transition: 0.25s;
  }

  .slide-arrow:hover {
    background: rgba(0, 212, 255, 0.3);
  }

  .slide-arrow.left { left: 10px; }
  .slide-arrow.right { right: 10px; }
}

/* ============================== */
/* Pre-registration overlay       */
/* ============================== */

.btn-pre-reg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #ffd86f, #ffae34);
  color: #1b2238;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(255, 174, 52, 0.35);
}

.btn-pre-reg:hover {
  color: #1b2238;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 174, 52, 0.5);
}

.prereg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(27, 177, 220, 0.18), rgba(6, 12, 24, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.prereg-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.prereg-locked {
  overflow: hidden;
}

.prereg-modal {
  position: relative;
  width: 100%;
  max-width: 1120px;
  background: linear-gradient(140deg, #0c1c3a 0%, #0b2f61 50%, #0c1c3a 100%);
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.prereg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0;
  align-items: stretch;
}

.prereg-copy {
  position: relative;
  z-index: 2;
  padding: 36px;
  color: #f3f6ff;
}

.prereg-copy h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 6px 0 12px;
  color: #f5f8ff;
}

.prereg-copy p {
  color: #d4e3ff;
  margin-bottom: 14px;
}

.prereg-chip {
  display: inline-block;
  background: #0dc1ff;
  color: #041024;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  font-size: 12px;
}

.prereg-counter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
}

.prereg-number {
  font-size: 44px;
  font-weight: 900;
  color: #ffee9c;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.prereg-label {
  font-size: 15px;
  color: #d4e3ff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.prereg-next {
  margin-top: 6px;
  font-size: 14px;
  color: #bcd3ff;
}

.prereg-next strong {
  color: #fff;
}

.prereg-countdown {
  margin-top: 10px;
  font-size: 13px;
  color: #cde3ff;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.prereg-countdown .countdown-label {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #9cc4ff;
}

.prereg-countdown .countdown-time {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffef9a;
}

.prereg-progress {
  margin-top: 18px;
  margin-bottom: 24px; /* extra space so bar and circles don't touch */
}

.prereg-bar {
  position: relative;
  height: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.prereg-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, #ffd86f 0%, #ffae34 45%, #0fd2ff 100%);
  width: 0;
  transition: width 0.45s ease;
}

.prereg-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
  width: 100%;
  align-items: start;
}

.prereg-step {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
}

.prereg-step-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 4px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.14);
  color: #ffef9a;
}

.prereg-step.reached .prereg-step-icon {
  background: #1ecf8f;
  border-color: rgba(255, 255, 255, 0.25);
  color: #0f1a2f;
  box-shadow: 0 10px 30px rgba(30, 207, 143, 0.45);
}

.prereg-step-label {
  font-size: 12px;
  line-height: 1.25;
  color: #dbe6ff;
  white-space: nowrap;
  max-width: 100%;
  display: block;
}

.prereg-step-label small {
  display: block;
  font-size: 11px;
  color: #9db8e8;
}

.prereg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.prereg-primary,
.prereg-ghost {
  border: none;
  outline: none;
  text-decoration: none;
}

.prereg-primary {
  background: linear-gradient(90deg, #ffd86f, #ffae34);
  color: #1b2238;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 25px rgba(255, 174, 52, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.prereg-primary i {
  color: #1b2238;
}

.prereg-ghost {
  background: transparent;
  color: #d4e3ff;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  padding: 12px 16px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prereg-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 174, 52, 0.55);
}

.prereg-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.prereg-art {
  position: relative;
  background: radial-gradient(circle at 30% 50%, rgba(255, 220, 120, 0.25), rgba(13, 193, 255, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.prereg-spotlight {
  position: relative;
  max-width: 540px;
  width: 100%;
}

.prereg-spotlight::after {
  content: "";
  position: absolute;
  inset: 10% 8% -8% 8%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
  filter: blur(18px);
  z-index: 1;
}

.prereg-spotlight img {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45));
}

.prereg-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(6, 10, 20, 0.6);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 3;
}

.prereg-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* (server status styles defined above in hero section) */

/* ===============================
   Discord CTA + Chat Widget
================================ */
.discord-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #0c1c3a 0%, #0b2f61 100%);
  color: #f2f6ff;
}

.discord-section .container {
  max-width: 1180px;
}

.discord-cta .eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #9cc4ff;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.discord-cta h2 {
  font-size: 30px;
  font-weight: 800;
  color: #f8fbff;
  margin-bottom: 10px;
}

.discord-cta p {
  color: #d6e6ff;
  margin-bottom: 16px;
  line-height: 1.6;
}

.discord-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.discord-helper {
  font-size: 13px;
  color: #9cc4ff;
}

.discord-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.discord-card + .discord-card {
  margin-top: 14px;
}

.discord-widget-card iframe {
  width: 100%;
  min-height: 500px;
  height: 500px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 14, 28, 0.6);
}

@media (max-width: 991px) {
  .discord-section {
    padding: 50px 0;
  }

  .discord-card {
    margin-top: 18px;
  }

  .prereg-modal {
    max-height: 92vh;
    overflow-y: auto;
  }

  .prereg-step {
    min-width: 90px;
  }

  .prereg-step-label {
    font-size: 12px;
  }
}
/* ===============================
   Center Server Status on Mobile
================================ */
@media (max-width: 768px) {

    .server-status-box {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .server-status-item {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    .server-status-item .label,
    .server-status-item .count,
    .server-status-item .status {
        text-align: center;
    }
}

@media (max-width: 576px) {
  .prereg-overlay {
    padding: 14px;
  }

  .prereg-copy {
    padding: 26px 22px;
  }

  .prereg-counter {
    flex-direction: column;
    align-items: flex-start;
  }

  .prereg-number {
    font-size: 36px;
  }

  .prereg-step.first,
  .prereg-step.last {
    transform: translateX(-50%);
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Final Polish - Premium Gaming Effects
--------------------------------------------------------------*/

/* 1. Animated gradient border glow at the bottom of #intro */
#intro::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, #0066ff, transparent);
  background-size: 200% 100%;
  animation: introGlowSweep 3s ease-in-out infinite;
  z-index: 2;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 102, 255, 0.15);
}

@keyframes introGlowSweep {
  0%, 100% {
    background-position: 0% 0%;
    opacity: 0.6;
  }
  50% {
    background-position: 100% 0%;
    opacity: 1;
  }
}

/* 2. Scroll-reveal fade-in-up animation
   NOTE: Apply .fade-in-up class to section elements dynamically.
   Use JS IntersectionObserver to add this class when elements
   scroll into the viewport. Example:
     const observer = new IntersectionObserver((entries) => {
       entries.forEach(entry => {
         if (entry.isIntersecting) {
           entry.target.classList.add('fade-in-up');
           observer.unobserve(entry.target);
         }
       });
     }, { threshold: 0.1 });
     document.querySelectorAll('.reveal-on-scroll').forEach(el => observer.observe(el));
*/
.fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. Feature card top-border accent on hover */
.feature-card {
  border-top: 2px solid transparent;
  background-clip: padding-box;
}

.feature-card:hover {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #00d4ff, #0066ff) 1;
  border-image-slice: 1;
}

/* 4. Glowing line separator between major sections */
.section-separator {
  display: block;
  width: 100%;
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent 0%, #00d4ff 30%, transparent 50%, #0066ff 70%, transparent 100%);
  opacity: 0.5;
  margin: 0;
  padding: 0;
}

/* 5. Navbar frosted glass — handled in main.css */

/* 6. About image hover glow */
#about .about-img img:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35), 0 0 50px rgba(0, 212, 255, 0.15);
}

/* 7. Shimmer sweep on primary hero CTA button */
.btn-hero-primary {
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.25) 55%,
    transparent 60%
  );
  animation: shimmerSweep 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

/* 8. Responsive grid: .grid-3x2 tablet (2 cols) and mobile (1 col) */
@media (min-width: 768px) and (max-width: 991px) {
  .grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .grid-3x2 {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   RIGHTBAR (Top Guilds / Castle Standings)
   Style sourced from themes/th1/main/rightbar.php (card pattern)
   adapted to VanRO-Global dark glass theme.
=========================================================== */
.defaultRightCol { padding-top: 16px; }

.vrw-rightbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vrw-rightbar-card {
  background: rgba(15, 22, 38, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 212, 255, 0.04);
}
.vrw-rightbar-header {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #e0e8ff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.10), transparent 70%);
}
.vrw-rightbar-header i {
  color: #00d4ff;
  margin-right: 6px;
}
.vrw-rightbar-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.vrw-rightbar-summary > div {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0 6px;
}
.vrw-rightbar-summary > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.vrw-rightbar-summary .label {
  font-size: 10px;
  color: #8899b3;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.vrw-rightbar-summary .value {
  font-size: 18px;
  font-weight: 800;
  color: #00d4ff;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.vrw-rightbar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.vrw-rightbar-table thead th {
  padding: 8px 10px;
  text-align: left;
  font-weight: 600;
  color: #8899b3;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vrw-rightbar-table thead th.num,
.vrw-rightbar-table tbody td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  width: 40px;
}
.vrw-rightbar-table thead th.rank,
.vrw-rightbar-table tbody td.rank {
  width: 30px;
  color: #00d4ff;
  font-weight: 700;
}
.vrw-rightbar-table tbody td {
  padding: 8px 10px;
  color: #c8d6e5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
}
.vrw-rightbar-table tbody tr:last-child td {
  border-bottom: none;
}
.vrw-rightbar-table tbody tr:hover {
  background: rgba(0, 212, 255, 0.05);
}
.vrw-rightbar-table .vrw-emblem {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
  image-rendering: pixelated;
  border-radius: 3px;
}
.vrw-rightbar-table .vrw-guild-name {
  display: inline-block;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
.vrw-rightbar-table td.empty {
  text-align: center;
  color: #6b7d99;
  padding: 18px 8px;
  font-style: italic;
}

/* Sticky on lg+ so the rightbar stays visible while scrolling main content */
@media (min-width: 992px) {
  .defaultRightCol .vrw-rightbar {
    position: sticky;
    top: 70px;
  }
}

/* ===========================================================
   STICKY FOOTER (site-wide)
   Override main.css:401 which forces
       main { height: calc(100vh - 50px); max-height: calc(100vh - 50px); }
   That fixed-height main pushes #game-footer below the fold on
   short pages (item search, login, ranking, etc) and makes the
   footer look like it sits in the middle of the viewport.
   We restore natural flow + flex stretch so:
     - main grows with its content
     - main always fills at least the remaining viewport
     - #game-footer sits flush at the bottom on short pages
=========================================================== */
html {
  height: auto;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
main {
  flex: 1 0 auto;
  height: auto !important;
  max-height: none !important;
}
#game-footer {
  flex-shrink: 0;
}

/* ===========================================================
   TOPBAR DROPDOWNS (Ranking / Database)
   Bootstrap 4 dropdown overrides scoped to .naviTop .pageNavi
=========================================================== */

/* Ensure dropdown li anchors absolute positioning of menu */
nav.naviTop nav.pageNavi ul li.nav-item.dropdown {
  position: relative;
}

/* Toggle link — match plain nav link, hide BS3 caret span */
nav.naviTop nav.pageNavi ul li .nav-link.dropdown-toggle {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-block;
}
nav.naviTop nav.pageNavi ul li .nav-link.dropdown-toggle .caret {
  display: none;
}

/* Use Bootstrap 4's CSS caret (::after triangle) */
nav.naviTop nav.pageNavi ul li .nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  content: "";
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-bottom: 0;
  border-left: 4px solid transparent;
  transition: transform .2s ease;
}
nav.naviTop nav.pageNavi ul li.show .nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}

/* The menu — dark glass panel positioned under the toggle */
nav.naviTop nav.pageNavi ul li .dropdown-menu {
  background: rgba(15, 22, 38, 0.96);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 212, 255, 0.06);
  padding: 6px 0;
  margin-top: 10px;
  min-width: 180px;
  z-index: 1050;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

/* Dropdown items — flat, hover glow */
nav.naviTop nav.pageNavi ul li .dropdown-menu .dropdown-item {
  color: #c8d6e5 !important;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  display: block;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
nav.naviTop nav.pageNavi ul li .dropdown-menu .dropdown-item:hover,
nav.naviTop nav.pageNavi ul li .dropdown-menu .dropdown-item:focus {
  background: rgba(0, 212, 255, 0.10) !important;
  color: #00d4ff !important;
  padding-left: 20px;
}

/* Don't darken the toggle li while the menu is open */
nav.naviTop nav.pageNavi ul li.dropdown.show {
  background: rgba(0, 212, 255, 0.10);
}
nav.naviTop nav.pageNavi ul li.dropdown.show .nav-link.dropdown-toggle {
  color: #ffffff !important;
}

/* Mobile: full-width dropdown stacked under the toggle */
@media (max-width: 767px) {
  nav.naviTop nav.pageNavi ul li .dropdown-menu {
    position: absolute;
    left: 0;
    right: auto;
    margin-top: 6px;
    min-width: 160px;
  }
}
