*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--vb-text-dark);
  background: var(--vb-cream);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--vb-text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }

p { margin-bottom: var(--space-md); }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.main-content {
  min-height: calc(100vh - 120px);
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 1;
}

.site-header {
  background: #c98843;
  padding: var(--space-lg) 0;
  box-shadow: var(--vb-shadow-soft);
  position: relative;
  z-index: 1;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.brand-logo {
  height: 50px;
  width: auto;
}

.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vb-text-light);
}

.brand-tagline {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.alert {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.alert-error {
  background: rgba(192, 57, 43, 0.1);
  color: #C0392B;
}

.alert-success {
  background: rgba(39, 174, 96, 0.1);
  color: #1E8449;
}

.alert-detail {
  display: block;
  font-size: 0.85rem;
  margin-top: var(--space-xs);
}

.card {
  background: var(--vb-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--vb-shadow-soft);
}

.card-title {
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.card-value {
  font-size: 1.25rem;
}

.card-meta {
  margin-top: var(--space-sm);
  color: var(--vb-text-medium);
  font-size: 0.9rem;
}

:focus-visible {
  outline: 2px solid var(--vb-gold-primary);
  outline-offset: 2px;
}

.bubble-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -15%;
  border-radius: 50%;
  background: rgba(201, 136, 67, 0.25);
  box-shadow: 0 0 20px rgba(201, 136, 67, 0.15);
  animation: bubble-float linear infinite;
}

.bubble:nth-child(1) { left: 8%; width: 40px; height: 40px; animation-duration: 18s; animation-delay: 0s; background: rgba(201, 136, 67, 0.3); }
.bubble:nth-child(2) { left: 18%; width: 24px; height: 24px; animation-duration: 22s; animation-delay: 2s; background: rgba(184, 134, 11, 0.25); }
.bubble:nth-child(3) { left: 28%; width: 52px; height: 52px; animation-duration: 26s; animation-delay: 4s; background: rgba(201, 136, 67, 0.2); }
.bubble:nth-child(4) { left: 38%; width: 30px; height: 30px; animation-duration: 20s; animation-delay: 1s; background: rgba(139, 105, 20, 0.25); }
.bubble:nth-child(5) { left: 48%; width: 60px; height: 60px; animation-duration: 28s; animation-delay: 3s; background: rgba(201, 136, 67, 0.18); }
.bubble:nth-child(6) { left: 58%; width: 26px; height: 26px; animation-duration: 21s; animation-delay: 5s; background: rgba(184, 134, 11, 0.28); }
.bubble:nth-child(7) { left: 68%; width: 46px; height: 46px; animation-duration: 24s; animation-delay: 6s; background: rgba(201, 136, 67, 0.22); }
.bubble:nth-child(8) { left: 78%; width: 32px; height: 32px; animation-duration: 19s; animation-delay: 2s; background: rgba(139, 105, 20, 0.3); }
.bubble:nth-child(9) { left: 88%; width: 54px; height: 54px; animation-duration: 27s; animation-delay: 4s; background: rgba(201, 136, 67, 0.2); }
.bubble:nth-child(10) { left: 15%; width: 20px; height: 20px; animation-duration: 16s; animation-delay: 7s; background: rgba(184, 134, 11, 0.32); }
.bubble:nth-child(11) { left: 55%; width: 36px; height: 36px; animation-duration: 23s; animation-delay: 8s; background: rgba(201, 136, 67, 0.25); }
.bubble:nth-child(12) { left: 72%; width: 22px; height: 22px; animation-duration: 17s; animation-delay: 9s; background: rgba(139, 105, 20, 0.28); }

@keyframes bubble-float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-120vh) translateX(20px);
    opacity: 0;
  }
}
