/**
 * Dragonfire Servers - Page-Specific Styles ONLY
 * ===============================================
 * All global styles come from dragonfire1.com/assets/styles/dragonfire-unified.css
 * This file contains ONLY styles unique to dragonfireservers.com
 */

/* ===========================================
   SMOOTH SCROLL
   =========================================== */

html {
  scroll-behavior: smooth;
}

/* Mobile/Desktop visibility toggles */
.mobile-only {
  display: none;
}

@media (max-width: 480px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: inline;
  }
}


/* ===========================================
   HERO SECTION - Servers Page
   =========================================== */

.servers-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

.servers-hero .hero-background {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backgrounds/servers.jpg') center/cover no-repeat;
  background-attachment: fixed;
  z-index: -2;
}

.servers-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10, 10, 26, 0.85) 0%,
    rgba(41, 50, 65, 0.75) 50%,
    rgba(10, 10, 26, 0.85) 100%);
  z-index: -1;
}

/* Animated orbs */
.servers-hero::before,
.servers-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.3;
  animation: consciousness-flow 15s infinite ease-in-out alternate;
}

.servers-hero::before {
  background: var(--fire);
  width: 300px;
  height: 300px;
  top: 20%;
  left: 15%;
}

.servers-hero::after {
  background: var(--gold);
  width: 250px;
  height: 250px;
  bottom: 20%;
  right: 15%;
  animation-delay: 5s;
}

.servers-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

/* iPad and tablets - fixed background doesn't work on iOS */
@media (max-width: 1024px) {
  .servers-hero .hero-background {
    background-attachment: scroll;
  }
}

/* iOS devices specifically - use touch detection */
@supports (-webkit-touch-callout: none) {
  .servers-hero .hero-background {
    background-attachment: scroll;
  }
}

/* ===========================================
   TRUST BAR
   =========================================== */

.trust-bar {
  background: linear-gradient(90deg, rgba(46, 42, 135, 0.3), rgba(108, 90, 251, 0.2), rgba(46, 42, 135, 0.3));
  border-top: 1px solid rgba(108, 90, 251, 0.3);
  border-bottom: 1px solid rgba(108, 90, 251, 0.3);
  padding: 1.5rem 2rem;
}

.trust-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--teal);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .trust-bar-content {
    gap: 1rem 1.5rem;
  }

  .trust-item {
    font-size: 0.85rem;
  }
}


/* ===========================================
   SECTION BACKGROUNDS (Page-specific variants)
   =========================================== */

.content-section.alt {
  background: linear-gradient(135deg, rgba(108, 90, 251, 0.1), rgba(46, 196, 182, 0.08));
}

.content-section.alt-2 {
  background: linear-gradient(135deg, rgba(46, 42, 135, 0.12), rgba(108, 90, 251, 0.08));
}

.content-section.alt-dark {
  background: linear-gradient(135deg, rgba(10, 10, 26, 0.9), rgba(41, 50, 65, 0.8));
}


/* ===========================================
   PRICING CARDS
   =========================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: linear-gradient(145deg, rgba(41, 50, 65, 0.8), rgba(10, 10, 26, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
  border-color: var(--fire);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 107, 53, 0.2);
}

.pricing-card.featured:hover {
  border-color: var(--fire);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 53, 0.3);
}

.pricing-card h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pricing-card .price-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.pricing-card .price-note .hourly {
  display: block;
  font-size: 0.85rem;
  color: var(--teal);
  margin-top: 0.25rem;
}

.pricing-card .btn-tier {
  margin-top: 1.5rem;
  width: 100%;
}

.pricing-card .setup {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pricing-card p {
  text-align: left;
  font-size: 1rem;
}

.pricing-card ul {
  text-align: left;
}

.pricing-card .best-for {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #8A95A7;
}

.pricing-card .best-for strong {
  color: var(--gold);
}

/* Spec table inside pricing cards */
.spec-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: 0.6rem 0.5rem;
  font-size: 0.95rem;
}

.spec-table td:first-child {
  color: #8A95A7;
  text-align: left;
}

.spec-table td:last-child {
  color: #fff;
  text-align: right;
  font-weight: 500;
}

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

  .pricing-card {
    padding: 2rem 1.5rem;
    border-radius: 25px;
  }

  .pricing-card h3 {
    font-size: 1.5rem;
  }

  .pricing-card .price {
    font-size: 2.2rem;
  }

  .spec-table td {
    padding: 0.5rem 0.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 1.5rem 1.25rem;
  }

  .pricing-card .price {
    font-size: 2rem;
  }
}


/* ===========================================
   FEATURE CARDS (Page-specific grid variant)
   =========================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.features-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: linear-gradient(145deg, rgba(41, 50, 65, 0.3), rgba(10, 10, 26, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(41, 50, 65, 0.5), rgba(10, 10, 26, 0.6));
  border-color: rgba(246, 174, 45, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-card i {
  font-size: 3rem;
  color: var(--fire);
  margin-bottom: 1rem;
  display: block;
}

.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 1rem;
  color: #8A95A7;
  line-height: 1.6;
  margin: 0;
}

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

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

@media (max-width: 600px) {
  .features-grid,
  .features-grid-3,
  .features-grid-4 {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-card i {
    font-size: 2.5rem;
  }

  .feature-card h4 {
    font-size: 1.1rem;
  }
}


/* ===========================================
   SHIELD SECTION
   =========================================== */

.shield-section {
  background: linear-gradient(135deg, rgba(108, 90, 251, 0.1), rgba(0, 119, 182, 0.1));
  border-radius: 16px;
  padding: 3rem;
  margin: 2rem 0;
  border: 1px solid rgba(108, 90, 251, 0.2);
}

.shield-section h3 {
  color: var(--purple);
}

/* ===========================================
   LOCATIONS
   =========================================== */

.locations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.location-tag {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  color: var(--gold);
  font-weight: 500;
  text-align: center;
}

.location-tag i {
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .locations-grid {
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem !important;
  }

  .location-tag {
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
  }
}


/* ===========================================
   WORLD MAP
   =========================================== */

.world-map-container {
  max-width: 900px;
  margin: 2rem auto;
  position: relative;
}

.world-map-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.world-map-pins {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 768px) {
  .world-map-container {
    margin: 1.5rem auto;
  }
}


/* ===========================================
   COMPARISON TABLE
   =========================================== */

.comparison-table-wrapper {
  max-width: 900px;
  margin: 2rem auto 0;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(41, 50, 65, 0.4);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th {
  background: rgba(46, 42, 135, 0.3);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.comparison-table th:first-child {
  border-radius: 12px 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 12px 0 0;
}

.comparison-table td {
  font-size: 0.95rem;
  color: #C0CAD6;
}

.comparison-table td:first-child {
  font-weight: 500;
  color: #fff;
}

.comparison-table tbody tr:hover {
  background: rgba(108, 90, 251, 0.1);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table i {
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .comparison-table-wrapper {
    background: linear-gradient(145deg, rgba(41, 50, 65, 0.4), rgba(10, 10, 26, 0.6));
    padding: 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table-wrapper::-webkit-scrollbar {
    height: 6px;
  }

  .comparison-table-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
  }

  .comparison-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(246, 174, 45, 0.4);
    border-radius: 3px;
  }

  .comparison-table {
    font-size: 0.9rem;
    min-width: 500px;
    background: transparent;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 1rem;
    white-space: nowrap;
  }
}


/* ===========================================
   TRUST STATS
   =========================================== */

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.trust-stat {
  text-align: center;
}

.trust-stat .stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
}

.trust-stat .stat-label {
  display: block;
  font-size: 1rem;
  color: #8A95A7;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .trust-stats {
    gap: 2rem;
  }

  .trust-stat .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .trust-stat .stat-number {
    font-size: 2rem;
  }
}


/* ===========================================
   UTILITY CLASSES
   =========================================== */

.gold-heading {
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}


/* ===========================================
   FORM STATUS MESSAGE
   =========================================== */

.form-status {
  margin-top: 1rem;
  text-align: center;
}


/* ===========================================
   TWO COLUMN LAYOUTS
   =========================================== */

.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.two-col-list ul {
  margin: 0;
  padding-left: 1.5rem;
}

.two-col-list li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.two-col-list li::before {
  display: none;
}

.two-col-list li i.fa-check {
  color: var(--gold);
  margin-right: 0.5rem;
}

.two-col-grid {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 0.5rem 4rem;
  text-align: left;
}

.content-section.center .two-col-grid {
  display: inline-grid;
}

.two-col-grid span {
  display: block;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.two-col-grid > div {
  text-align: left;
}

.two-col-grid i.fa-check {
  color: var(--gold);
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .two-col-grid > div h4 {
    margin-top: 1.5rem;
  }

  .two-col-grid > div:first-child h4 {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .two-col-list {
    grid-template-columns: 1fr;
  }
}


/* ===========================================
   CHECK LIST
   =========================================== */

.check-list li::before {
  display: none;
}

.check-list li i.fa-check {
  color: var(--gold);
  margin-right: 0.5rem;
}


/* ===========================================
   EMPHASIS & SUBTLE TEXT
   =========================================== */

.emphasis {
  font-weight: 600;
  color: var(--text-color);
  display: block;
  margin: 1.5rem 0;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}

.subtle {
  color: var(--text-muted);
  font-style: italic;
}


/* ===========================================
   ANIMATIONS
   =========================================== */

@keyframes consciousness-flow {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(30px); }
  100% { transform: translateY(0) translateX(0); }
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
