:root {
  --vdh-bg: rgba(10, 22, 40, 0.7);
  --vdh-glass: rgba(18, 36, 64, 0.5);
  --vdh-border: rgba(255, 255, 255, 0.15);
  --vdh-white: #ffffff;
  --vdh-primary: #1e3a8a;
  --vdh-accent: #00d4ff;
  --vdh-text: #e0e7ff;
  --vdh-glow: rgba(0, 212, 255, 0.4);
  --vdh-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  --font-primary: 'Inter', sans-serif;
  --font-title: 'Bebas Neue', cursive;
}

/* Reset and base styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-primary);
  background: linear-gradient(120deg, #0a1e33, #1e3a8a);
  background-attachment: fixed;
  background-size: cover;
  color: var(--vdh-text);
  overflow-x: hidden;
}
a {
  color: var(--vdh-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Glassmorphism panel */
.glass-panel {
  background: var(--vdh-glass);
  border: 1px solid var(--vdh-border);
  border-radius: 1.5rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  backdrop-filter: blur(14px);
  box-shadow: var(--vdh-shadow);
  transition: all 0.3s ease;
}
.glass-panel:hover {
  box-shadow: 0 0 25px var(--vdh-glow);
}

/* Section layout */
.vdh-section {
  padding: 3rem 1.5rem;
  text-align: center;
}
.vdh-section h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--vdh-white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px #000;
}
.vdh-section p,
.vdh-section ul {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--vdh-text);
}

/* List styling */
.vdh-section ul {
  list-style: none;
  padding-left: 0;
}
.vdh-section li {
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Contact icons */
.vdh-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Cube Logo Animation */
.cube-container {
  width: 120px;
  height: 120px;
  margin: 2rem auto;
  perspective: 1000px;
}
.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 14s infinite linear;
}
.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--vdh-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vdh-border);
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--vdh-accent);
  box-shadow: var(--vdh-shadow);
}
.cube-face.front  { transform: rotateY(0deg) translateZ(60px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(60px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(60px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(60px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(60px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(60px); }

@keyframes rotateCube {
  0%   { transform: rotateX(0) rotateY(0); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* Header Navigation */
.vdh-header {
  width: 100%;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(13, 26, 48, 0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-wrapper {
  max-width: 1280px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-block {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-cube {
  height: 40px;
  width: auto;
  margin-right: 0.75rem;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
  transition: transform 0.4s ease-in-out;
}
.logo-cube:hover {
  transform: rotateY(180deg);
}
.site-name {
  font-family: var(--font-title);
  font-size: 1.75rem;
  color: var(--vdh-white);
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px #000;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--vdh-text);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}
.nav-links a:hover {
  color: var(--vdh-white);
  transform: scale(1.05);
}
.admin-link {
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Footer */
.vdh-footer {
  text-align: center;
  font-size: 0.9rem;
  color: #a0aec0;
  padding: 2rem 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .glass-panel {
    margin: 1.5rem 1rem;
    padding: 1.5rem;
  }
  .vdh-section h2 {
    font-size: 2rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .site-name {
    font-size: 1.3rem;
  }
}
.vdh-form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vdh-input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--vdh-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--vdh-white);
  font-size: 1rem;
}

.vdh-input:focus {
  outline: none;
  border-color: var(--vdh-accent);
  box-shadow: 0 0 8px var(--vdh-glow);
  background: rgba(255, 255, 255, 0.15);
}

.vdh-btn {
  width: 100%;
  padding: 0.85rem;
  background: var(--vdh-primary);
  color: var(--vdh-white);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1.1rem;
  font-family: var(--font-title);
  letter-spacing: 1px;
  transition: background 0.3s ease;
}

.vdh-btn:hover {
  background: var(--vdh-accent);
  box-shadow: 0 0 10px var(--vdh-glow);
  color: #fff;
}

.vdh-error {
  color: #ff4d4f;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}
.background-fader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}

.background-fader.fade-in {
  opacity: 0.25; /* Adjust for visibility */
}
