/**
 * [INPUT]: 依赖 Tailwind CSS 的自定义配置色值、Google Fonts (Playfair Display, Poppins)
 * [OUTPUT]: 对外提供全部自定义动画、组件样式、视觉特效
 * [POS]: css/style.css 是整个网站视觉系统的核心，负责 3D 特效、动画、组件美化
 * [PROTOCOL]: 变更时更新此头部，然后检查 CLAUDE.md
 */

/* ================================================================
   ROOT VARIABLES
   ================================================================ */
:root {
  --ocean-deep:   #0a1628;
  --ocean-mid:    #0e2a47;
  --ocean-surface:#14466e;
  --ocean-light:  #1b6b93;
  --brass:        #c5923a;
  --brass-light:  #e8c36a;
  --brass-dark:   #8b6914;
  --ruby:         #e63946;
  --amethyst:     #9b59b6;
  --turquoise:    #1abc9c;
  --candy-red:    #ff4757;
  --candy-blue:   #3498db;
  --candy-yellow: #f1c40f;
  --candy-purple: #8e44ad;
}

/* ================================================================
   BASE RESETS & TYPOGRAPHY
   ================================================================ */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--ocean-deep);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav-glass {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(197, 146, 58, 0.15);
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brass-light), var(--candy-yellow));
  border-radius: 1px;
  transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brass-light);
}

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

/* Mobile Menu */
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brass-light);
  border-radius: 1px;
  transition: all 0.3s;
}

#mobile-menu-btn.open .hamburger-line.top {
  transform: translateY(7px) rotate(45deg);
}
#mobile-menu-btn.open .hamburger-line.mid {
  opacity: 0;
}
#mobile-menu-btn.open .hamburger-line.bot {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-panel {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  border-bottom: 1px solid rgba(197, 146, 58, 0.15);
}

.mobile-menu-panel.open {
  max-height: 300px;
  opacity: 1;
}

.nav-link-mobile {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
  color: var(--brass-light);
}

/* ================================================================
   PAGE TRANSITIONS
   ================================================================ */
.page {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.page.entering {
  display: block;
}

/* ================================================================
   OCEAN CAUSTICS (underwater light pattern)
   ================================================================ */
.ocean-caustics {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26, 188, 156, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(26, 188, 156, 0.03) 0%, transparent 50%);
  animation: caustics-shift 8s ease-in-out infinite alternate;
}

@keyframes caustics-shift {
  0%   { opacity: 0.6; transform: scale(1) translateY(0); }
  100% { opacity: 1;   transform: scale(1.05) translateY(-10px); }
}

/* ================================================================
   REEF LAYER (bottom decoration)
   ================================================================ */
.reef-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background:
    radial-gradient(ellipse at 10% 100%, rgba(26, 188, 156, 0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 30% 100%, rgba(155, 89, 182, 0.1) 0%, transparent 30%),
    radial-gradient(ellipse at 70% 100%, rgba(230, 57, 70, 0.08) 0%, transparent 35%),
    radial-gradient(ellipse at 90% 100%, rgba(26, 188, 156, 0.12) 0%, transparent 40%);
  z-index: 5;
}

/* ================================================================
   CORAL STRIP (features section decoration)
   ================================================================ */
.coral-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent,
    var(--turquoise) 20%,
    var(--brass-light) 50%,
    var(--amethyst) 80%,
    transparent
  );
  opacity: 0.3;
}

/* ================================================================
   PORTHOLE (Hero central element)
   ================================================================ */
.porthole-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
}

@media (min-width: 640px) {
  .porthole-wrapper { width: 320px; height: 320px; }
}

@media (min-width: 768px) {
  .porthole-wrapper { width: 380px; height: 380px; }
}

.porthole-frame {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--brass-dark),
    var(--brass-light),
    var(--brass),
    var(--brass-dark),
    var(--brass-light),
    var(--brass-dark)
  );
  padding: 12px;
  box-shadow:
    0 0 60px rgba(197, 146, 58, 0.3),
    inset 0 0 30px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(197, 146, 58, 0.15);
  animation: porthole-shimmer 6s ease-in-out infinite;
}

@keyframes porthole-shimmer {
  0%, 100% { box-shadow: 0 0 60px rgba(197, 146, 58, 0.3), inset 0 0 30px rgba(0, 0, 0, 0.5), 0 0 120px rgba(197, 146, 58, 0.15); }
  50%      { box-shadow: 0 0 80px rgba(197, 146, 58, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.5), 0 0 160px rgba(197, 146, 58, 0.25); }
}

/* Brass Rivets */
.rivet {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--brass-light), var(--brass-dark));
  box-shadow:
    inset 0 -2px 3px rgba(0, 0, 0, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 10;
}
.rivet-tl { top: 14%;  left: 14%; }
.rivet-tr { top: 14%;  right: 14%; }
.rivet-bl { bottom: 14%; left: 14%; }
.rivet-br { bottom: 14%; right: 14%; }

/* Inner Glass */
.porthole-glass {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,
    rgba(20, 70, 110, 0.9),
    rgba(10, 22, 40, 0.95)
  );
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}

/* Glow Ring */
.porthole-glow-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid rgba(197, 146, 58, 0.15);
  animation: glow-ring-pulse 3s ease-in-out infinite;
}

@keyframes glow-ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.03); }
}

/* ================================================================
   PROPELLER
   ================================================================ */
.propeller {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-propeller 4s linear infinite;
}

@keyframes spin-propeller {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.propeller-blade {
  position: absolute;
  width: 28%;
  height: 70%;
  transform-origin: center center;
}

.blade-1 { transform: rotate(0deg); }
.blade-2 { transform: rotate(120deg); }
.blade-3 { transform: rotate(240deg); }

.propeller-blade::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 42%;
  background: linear-gradient(180deg,
    var(--brass-light),
    var(--brass),
    var(--brass-dark)
  );
  border-radius: 50% 50% 10% 10%;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.4),
    inset 0 1px 3px rgba(255, 255, 255, 0.2);
}

/* Gem on each blade */
.blade-gem {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
  z-index: 5;
}

.gem-red   { background: radial-gradient(circle at 35% 35%, #ff6b7a, var(--ruby)); color: var(--ruby); }
.gem-blue  { background: radial-gradient(circle at 35% 35%, #5dade2, var(--candy-blue)); color: var(--candy-blue); }
.gem-purple{ background: radial-gradient(circle at 35% 35%, #bb8fce, var(--amethyst)); color: var(--amethyst); }

/* Hub */
.propeller-hub {
  position: absolute;
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--brass-light), var(--brass-dark));
  box-shadow:
    0 0 20px rgba(197, 146, 58, 0.4),
    inset 0 -3px 6px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

/* Pearl Glow */
.pearl-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(232, 195, 106, 0.6),
    rgba(232, 195, 106, 0.1) 50%,
    transparent
  );
  animation: pearl-pulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pearl-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.9; transform: translate(-50%, -50%) scale(1.15); }
}

/* ================================================================
   PARTICLES (Bubbles + Candies)
   ================================================================ */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.particle-bubble {
  background: radial-gradient(circle at 30% 30%,
    rgba(255, 255, 255, 0.3),
    rgba(26, 188, 156, 0.1) 50%,
    transparent
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: bubble-rise linear infinite;
}

@keyframes bubble-rise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-100vh) translateX(var(--drift, 20px)) scale(0.6); opacity: 0; }
}

.particle-candy {
  animation: candy-float linear infinite;
}

@keyframes candy-float {
  0%   { transform: translateY(100vh) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-20vh) translateX(var(--drift, -30px)) rotate(720deg); opacity: 0; }
}

/* Candy Shapes */
.candy-lollipop {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: relative;
}
.candy-lollipop::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
}

.candy-gummy {
  width: 12px;
  height: 14px;
  border-radius: 6px 6px 50% 50%;
}

.candy-star {
  width: 0;
  height: 0;
  position: relative;
}

/* ================================================================
   HERO TITLE
   ================================================================ */
.hero-title {
  text-shadow:
    0 0 40px rgba(232, 195, 106, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ================================================================
   STORE BADGES
   ================================================================ */
.store-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(197, 146, 58, 0.15), rgba(197, 146, 58, 0.05));
  border: 1px solid rgba(197, 146, 58, 0.3);
  border-radius: 12px;
  color: white;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.store-badge:hover {
  background: linear-gradient(135deg, rgba(197, 146, 58, 0.25), rgba(197, 146, 58, 0.1));
  border-color: var(--brass-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 146, 58, 0.2);
}

.store-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(197, 146, 58, 0.2), rgba(197, 146, 58, 0.05));
  border: 1.5px solid rgba(197, 146, 58, 0.4);
  border-radius: 16px;
  color: white;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.store-badge-lg:hover {
  background: linear-gradient(135deg, rgba(197, 146, 58, 0.3), rgba(197, 146, 58, 0.1));
  border-color: var(--brass-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(197, 146, 58, 0.25);
}

/* ================================================================
   SCROLL INDICATOR
   ================================================================ */
.scroll-indicator {
  animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

.scroll-dot {
  animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(6px); opacity: 0.3; }
}

/* ================================================================
   FEATURE CARDS
   ================================================================ */
.feature-card {
  perspective: 1000px;
}

.card-inner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.feature-card:hover .card-inner {
  transform: translateY(-8px);
}

.card-glow {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
}

.glow-cyan  { background: linear-gradient(135deg, var(--turquoise), var(--candy-blue)); filter: blur(15px); }
.glow-gold  { background: linear-gradient(135deg, var(--brass-light), var(--candy-yellow)); filter: blur(15px); }
.glow-candy { background: linear-gradient(135deg, var(--candy-red), var(--candy-purple)); filter: blur(15px); }

.feature-card:hover .card-glow {
  opacity: 0.4;
}

.card-border {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg,
    rgba(14, 42, 71, 0.9),
    rgba(10, 22, 40, 0.95)
  );
  border: 1px solid rgba(197, 146, 58, 0.2);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card-icon-area {
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.card-content {
  padding: 1.5rem;
}

/* Score Badge */
.score-badge {
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid var(--candy-yellow);
  border-radius: 8px;
  padding: 2px 8px;
  animation: score-pulse 1.5s ease-in-out infinite;
}

@keyframes score-pulse {
  0%, 100% { box-shadow: 0 0 5px rgba(241, 196, 15, 0.3); }
  50%      { box-shadow: 0 0 15px rgba(241, 196, 15, 0.6); }
}

/* Gem Orbs */
.gem-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  transition: transform 0.3s;
}

.gem-red-orb {
  background: radial-gradient(circle at 35% 35%, #ff6b7a, var(--ruby));
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.4);
}
.gem-cyan-orb {
  background: radial-gradient(circle at 35% 35%, #5de2c7, var(--turquoise));
  box-shadow: 0 0 15px rgba(26, 188, 156, 0.4);
}
.gem-purple-orb {
  background: radial-gradient(circle at 35% 35%, #bb8fce, var(--amethyst));
  box-shadow: 0 0 15px rgba(155, 89, 182, 0.4);
}

.feature-card:hover .gem-orb {
  animation: gem-bounce 0.6s ease;
}

@keyframes gem-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Spinner Wheel */
.spinner-wheel {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--brass);
  animation: wheel-spin 6s linear infinite;
  box-shadow: 0 0 20px rgba(197, 146, 58, 0.3);
}

@keyframes wheel-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.wheel-segment {
  position: absolute;
  width: 50%;
  height: 50%;
}

.seg-1 {
  top: 0; left: 0;
  background: var(--candy-red);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.seg-2 {
  top: 0; right: 0;
  background: var(--candy-blue);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.seg-3 {
  bottom: 0; left: 0;
  background: var(--candy-yellow);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.seg-4 {
  bottom: 0; right: 0;
  background: var(--candy-purple);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--brass-light), var(--brass-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 0 10px rgba(197, 146, 58, 0.5);
}

/* ================================================================
   CTA PANEL
   ================================================================ */
.cta-panel {
  position: relative;
  border-radius: 24px;
  padding: 3rem 2rem;
  background: linear-gradient(135deg,
    rgba(14, 42, 71, 0.8),
    rgba(10, 22, 40, 0.9)
  );
  border: 1px solid rgba(197, 146, 58, 0.2);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg,
    transparent,
    rgba(197, 146, 58, 0.1),
    transparent,
    rgba(26, 188, 156, 0.05),
    transparent
  );
  animation: cta-glow-rotate 10s linear infinite;
}

@keyframes cta-glow-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ================================================================
   CONTACT FORM
   ================================================================ */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg,
    rgba(14, 42, 71, 0.6),
    rgba(10, 22, 40, 0.8)
  );
  border: 1px solid rgba(197, 146, 58, 0.1);
  transition: all 0.3s;
}

.contact-info-card:hover {
  border-color: rgba(197, 146, 58, 0.3);
  transform: translateX(4px);
}

.contact-form-panel {
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg,
    rgba(14, 42, 71, 0.6),
    rgba(10, 22, 40, 0.8)
  );
  border: 1px solid rgba(197, 146, 58, 0.15);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(197, 146, 58, 0.15);
  border-radius: 12px;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  transition: all 0.3s;
  outline: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.15);
  background: rgba(10, 22, 40, 0.8);
}

.submit-btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: 12px;
  border: 1px solid var(--brass);
  background: linear-gradient(135deg, var(--brass), var(--brass-dark));
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 146, 58, 0.3);
  background: linear-gradient(135deg, var(--brass-light), var(--brass));
}

.submit-btn:active {
  transform: translateY(0);
}

/* ================================================================
   LEGAL CONTENT
   ================================================================ */
.legal-content {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.8;
}

.legal-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brass-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.section-num {
  color: var(--turquoise);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.legal-section p {
  margin-top: 0.5rem;
}

.legal-section ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  list-style: none;
}

.legal-section ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  opacity: 0.6;
}

.legal-section a {
  color: var(--turquoise);
  text-decoration: underline;
  text-decoration-color: rgba(26, 188, 156, 0.3);
  transition: text-decoration-color 0.3s;
}

.legal-section a:hover {
  text-decoration-color: var(--turquoise);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer-link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s, transform 0.3s;
}

.footer-link:hover {
  color: var(--brass-light);
  transform: translateX(4px);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(197, 146, 58, 0.1);
  border: 1px solid rgba(197, 146, 58, 0.2);
  color: var(--brass-light);
  font-size: 0.875rem;
  transition: all 0.3s;
}

.social-icon:hover {
  background: rgba(197, 146, 58, 0.2);
  border-color: var(--brass-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 146, 58, 0.2);
}

/* ================================================================
   SCROLL REVEAL ANIMATION
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE FINE-TUNING
   ================================================================ */
@media (max-width: 640px) {
  .porthole-frame {
    padding: 8px;
  }

  .rivet {
    width: 10px;
    height: 10px;
  }

  .feature-card .card-content {
    padding: 1.25rem;
  }

  .cta-panel {
    padding: 2rem 1.5rem;
  }

  .contact-form-panel {
    padding: 1.5rem;
  }
}

/* ================================================================
   WAITING RIBBON (diagonal corner tag)
   ================================================================ */
.waiting-ribbon {
  position: absolute;
  top: 10px;
  right: -35px;
  width: 120px;
  padding: 3px 0;
  background: linear-gradient(135deg, var(--candy-red), #c0392b);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.4);
  z-index: 10;
  pointer-events: none;
}

/* ================================================================
   UTILITY: Glassmorphism overlay for scrolled nav
   ================================================================ */
.nav-scrolled .nav-glass {
  background: rgba(10, 22, 40, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
