/* Location: /projects/vpn/assets/css/style.css */
/* VPN – Virtual Players Networking | Arcta Studio Styling Base */

/* ========== ROOT VARIABLES ========== */
:root {
  --navy: #001f3f;
  --gold: #d4af37;
  --gold-metal: linear-gradient(135deg, #d4af37 0%, #f9d423 100%);
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.25);
  --radius: 20px;
  --font-primary: 'Montserrat', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --transition-speed: 0.4s;
  --hover-scale: 1.05;
}

/* ========== GLOBAL RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background: linear-gradient(180deg, var(--navy), #000);
  color: var(--white);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gold);
  letter-spacing: 1px;
}

/* ========== NAVIGATION BAR ========== */
.vpn-navbar {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.vpn-navbar .logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.logo-text {
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ========== NAV LINKS ========== */
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffe680;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-metal);
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
  width: 100%;
}

/* ========== DROPDOWN STYLING ========== */
.nav-dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  min-width: 180px;
  top: 120%;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: var(--gold);
  padding: 0.75rem 1rem;
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ========== SECTION STYLING ========== */
.vpn-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.vpn-section-alt {
  background-color: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

/* ========== GLASS PANEL ========== */
.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.12));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: 0 10px 28px var(--shadow);
  color: var(--white);
  transition: all 0.4s ease-in-out;
}

.glass-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(255, 215, 0, 0.3);
}

/* ========== BUTTON STYLING ========== */
.btn-primary {
  background: var(--gold-metal);
  color: var(--navy);
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f9d423, #d4af37);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* ========== CARDS ========== */
.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.3);
}

/* ========== FOOTER ========== */
footer {
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.85);
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

footer a {
  color: var(--gold);
  margin: 0 1rem;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 768px) {
  .vpn-navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-link {
    padding: 0.4rem 0;
  }

  .vpn-section {
    padding: 2rem 1rem;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .dropdown-content {
    position: static;
    background: none;
    box-shadow: none;
    border: none;
  }

  .dropdown-content a {
    padding-left: 1rem;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease-in-out forwards;
}
