:root { --navy: #0a1628; --ocean: #1e3a5f; --seafoam: #2a9d8f; --gold: #c9a227; --gold-light: #e8d5a3; --white: #f8f9fa; --gray: #8899aa; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; }
a { color: inherit; }

/* Nav */
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 2rem; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; gap: 1rem; }
.site-nav .brand { font-weight: 800; letter-spacing: 0.04em; color: var(--gold-light); text-decoration: none; font-size: 1.05rem; display: flex; align-items: center; gap: 0.5rem; }
.site-nav .nav-right { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.site-nav ul { list-style: none; display: flex; gap: 1.75rem; }
.site-nav a { text-decoration: none; color: var(--white); font-size: 0.95rem; opacity: 0.85; }
.site-nav a:hover { opacity: 1; color: var(--gold-light); }

.lang-switcher-wrap select#lang-switcher { background: rgba(10,22,40,0.7); color: var(--white); border: 1px solid rgba(201,162,39,0.3); border-radius: 8px; padding: 0.4rem 0.7rem; font-size: 0.85rem; cursor: pointer; }
.lang-switcher-wrap select#lang-switcher:focus { outline: none; border-color: var(--gold); }

.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }
.goog-te-gadget { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }

.hero { min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; position: relative; background-size: cover; background-position: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 70%, rgba(201,162,39,0.08) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(42,157,143,0.06) 0%, transparent 50%); animation: float 20s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-20px,-30px) rotate(2deg); } }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-eyebrow { color: var(--gold); font-weight: 800; letter-spacing: 0.02em; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(201,162,39,0.2); border: 1px solid var(--gold); color: var(--gold-light); padding: 0.5rem 1.2rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 2rem; backdrop-filter: blur(10px); }
.hero-cta { display: inline-block; text-decoration: none; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; text-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.tagline { font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--white); margin-bottom: 2.5rem; font-weight: 300; letter-spacing: 0.02em; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.tagline strong { color: var(--gold); font-weight: 600; }
.email-form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto 1rem; flex-wrap: wrap; justify-content: center; }
.email-form input { flex: 1; min-width: 260px; padding: 1rem 1.5rem; border: 1px solid rgba(201,162,39,0.3); border-radius: 12px; background: rgba(10,22,40,0.7); color: var(--white); font-size: 1rem; outline: none; transition: all 0.3s; backdrop-filter: blur(10px); }
.email-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.15); }
.email-form input::placeholder { color: var(--gray); }
.btn { padding: 1rem 2rem; border: none; border-radius: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--gold) 0%, #a88420 100%); color: var(--navy); box-shadow: 0 4px 20px rgba(201,162,39,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,162,39,0.4); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note { font-size: 0.8rem; color: var(--gray); max-width: 420px; margin: 0 auto 1.5rem; }
.form-note a { color: var(--gold-light); }
.trust { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--white); font-size: 0.85rem; text-shadow: 0 1px 5px rgba(0,0,0,0.5); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; text-align: center; }
.stat h3 { font-size: 1.6rem; font-weight: 800; color: var(--gold); margin-bottom: 0.4rem; }
.stat p { color: var(--gray); font-size: 0.95rem; }

/* Vote + leaderboard */
.vote-section { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }
.vote-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; align-items: start; }
.vote-card, .leaderboard-card { background: linear-gradient(145deg, rgba(30,58,95,0.4), rgba(10,22,40,0.6)); border: 1px solid rgba(201,162,39,0.15); border-radius: 16px; padding: 2rem; }
.vote-card label { display: block; font-size: 0.85rem; color: var(--gold-light); font-weight: 600; margin-bottom: 0.4rem; }
.vote-card select { width: 100%; padding: 0.85rem 1rem; margin-bottom: 1.25rem; border: 1px solid rgba(201,162,39,0.3); border-radius: 10px; background: rgba(10,22,40,0.7); color: var(--white); font-size: 0.95rem; }
.vote-card select:disabled { opacity: 0.5; cursor: not-allowed; }
.vote-card .btn { width: 100%; }
.leaderboard-card h3 { font-size: 1.2rem; color: var(--gold-light); margin-bottom: 1.25rem; }
.leaderboard-list { display: flex; flex-direction: column; gap: 0.75rem; max-height: 420px; overflow-y: auto; }
.leaderboard-empty { color: var(--gray); font-size: 0.9rem; }
.leaderboard-row { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.leaderboard-rank { font-weight: 800; color: var(--gold); font-size: 0.9rem; min-width: 2rem; }
.leaderboard-info { flex: 1; }
.leaderboard-ship { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.leaderboard-line { color: var(--gray); font-size: 0.78rem; margin-top: 0.1rem; }
.leaderboard-stats { color: var(--gray); font-size: 0.72rem; margin-top: 0.3rem; line-height: 1.4; }
.leaderboard-votes { color: var(--gold-light); font-weight: 700; font-size: 0.9rem; white-space: nowrap; align-self: flex-start; }

/* Vote modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(5,10,20,0.75); backdrop-filter: blur(4px); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-overlay[hidden] { display: none; }
.modal-box { background: linear-gradient(160deg, #16283f, var(--navy)); border: 1px solid rgba(201,162,39,0.3); border-radius: 18px; padding: 2.25rem; max-width: 420px; width: 100%; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.modal-close { position: absolute; top: 1rem; right: 1.1rem; background: none; border: none; color: var(--gray); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.4rem; }
.modal-close:hover { color: var(--white); }
.modal-box h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.modal-ship-summary { color: var(--gray); font-size: 0.9rem; margin-bottom: 1.5rem; }
.modal-ship-summary strong { color: var(--gold-light); }
.modal-ship-summary a { color: var(--gold-light); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.modal-ship-summary a:hover { color: var(--gold); }
#vote-form label { display: block; font-size: 0.85rem; color: var(--gold-light); font-weight: 600; margin-bottom: 0.4rem; }
#vote-form input { width: 100%; padding: 0.85rem 1rem; margin-bottom: 1.25rem; border: 1px solid rgba(201,162,39,0.3); border-radius: 10px; background: rgba(10,22,40,0.7); color: var(--white); font-size: 0.95rem; }
#vote-form .last-initial-input { text-transform: uppercase; max-width: 100px; }
#vote-form input[type="radio"] { width: auto; padding: 0; margin: 0; border: none; background: none; }
.star-rating { display: flex; gap: 0.4rem; margin-bottom: 1.25rem; }
.star-btn { background: none; border: none; font-size: 1.9rem; line-height: 1; cursor: pointer; color: rgba(255,255,255,0.22); padding: 0; transition: color 0.15s, transform 0.15s; }
.star-btn:hover { color: var(--gold-light); transform: scale(1.08); }
.star-btn.selected { color: var(--gold); }
#vote-form .yn-group { display: flex; gap: 1.5rem; margin-bottom: 1.25rem; }
#vote-form .yn-option { display: flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; color: var(--white); font-weight: 500; text-transform: none; margin-bottom: 0; cursor: pointer; }
#vote-form .btn { width: 100%; }

.ratings { padding: 4rem 2rem 3rem; max-width: 1100px; margin: 0 auto; }
.ratings-status { text-align: center; color: var(--gray); font-size: 0.8rem; margin-bottom: 1.5rem; }
.ratings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.rating-card { display: block; text-decoration: none; background: linear-gradient(145deg, rgba(30,58,95,0.4), rgba(10,22,40,0.6)); border: 1px solid rgba(201,162,39,0.12); border-radius: 14px; padding: 1.25rem 1.4rem; transition: all 0.3s; }
.rating-card:hover { transform: translateY(-3px); border-color: rgba(201,162,39,0.3); }
.rating-line { font-weight: 700; color: var(--white); font-size: 0.95rem; margin-bottom: 0.6rem; }
.rating-score { color: var(--gold); font-weight: 800; font-size: 1.3rem; }
.rating-count { color: var(--gray); font-size: 0.8rem; margin-top: 0.15rem; }
.rating-note { color: var(--gray); font-size: 0.7rem; margin-top: 0.5rem; font-style: italic; opacity: 0.8; }

.features { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--white); }
.section-sub { text-align: center; color: var(--gray); max-width: 620px; margin: 0 auto 3rem; font-size: 1rem; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card { display: block; text-decoration: none; background: linear-gradient(145deg, rgba(30,58,95,0.4), rgba(10,22,40,0.6)); border: 1px solid rgba(201,162,39,0.1); border-radius: 16px; overflow: hidden; transition: all 0.4s; position: relative; padding: 1.75rem; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), var(--seafoam)); transform: scaleX(0); transition: transform 0.4s; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(201,162,39,0.25); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.feature-card h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--gold-light); }
.feature-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

.gallery { padding: 5rem 2rem; background: linear-gradient(180deg, var(--navy), #0d1f35); }
.gallery-inner { max-width: 1100px; margin: 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(201,162,39,0.1); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; display: block; transition: all 0.4s; }
.gallery-item.wide img { height: 260px; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.75rem 1rem; background: linear-gradient(0deg, rgba(10,22,40,0.85), transparent); font-size: 0.85rem; color: var(--gold-light); }

.demo { padding: 5rem 2rem; background: linear-gradient(180deg, #0d1f35, var(--navy)); }
.demo-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.demo-note { font-size: 0.85rem; color: var(--gray); margin-top: -0.5rem; margin-bottom: 1rem; }
.ship-card { background: linear-gradient(145deg, rgba(30,58,95,0.5), rgba(10,22,40,0.7)); border: 1px solid rgba(201,162,39,0.15); border-radius: 20px; padding: 2rem; max-width: 500px; margin: 2rem auto 0; text-align: left; position: relative; overflow: hidden; }
.ship-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.ship-name { font-size: 1.3rem; font-weight: 700; }
.ship-line { color: var(--gray); font-size: 0.85rem; }
.score-circle { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--gold) 0% 91%, rgba(255,255,255,0.1) 91%); display: flex; align-items: center; justify-content: center; position: relative; }
.score-circle::before { content: ''; position: absolute; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); }
.score-text { position: relative; font-weight: 800; font-size: 1.1rem; color: var(--gold); }
.certified-badge { display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(42,157,143,0.15); border: 1px solid var(--seafoam); color: var(--seafoam); padding: 0.3rem 0.8rem; border-radius: 100px; font-size: 0.75rem; font-weight: 700; margin-top: 0.5rem; }
.ship-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
.ship-stat { text-align: center; }
.ship-stat-value { font-size: 1.2rem; font-weight: 700; color: var(--white); }
.ship-stat-label { font-size: 0.75rem; color: var(--gray); margin-top: 0.2rem; }

.how { padding: 5rem 2rem; max-width: 900px; margin: 0 auto; text-align: center; }
.steps { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 24px; left: 15%; right: 15%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--seafoam)); opacity: 0.3; }
.step { flex: 1; position: relative; z-index: 1; }
.step-num { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #a88420); color: var(--navy); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 4px 15px rgba(201,162,39,0.3); }
.step h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { color: var(--gray); font-size: 0.9rem; }

.mission { padding: 5rem 2rem; background: linear-gradient(180deg, #0d1f35, var(--navy)); }
.mission-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.mission-inner p { color: var(--white); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.25rem; }
.mission-inner p.lead { font-size: 1.2rem; color: var(--gold-light); font-weight: 600; }

.cta { padding: 6rem 2rem; text-align: center; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.cta::before { content: ''; position: absolute; top: 50%; left: 50%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,162,39,0.15), transparent 60%); transform: translate(-50%, -50%); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.1); } }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; position: relative; z-index: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.cta p { color: var(--white); margin-bottom: 2rem; position: relative; z-index: 1; text-shadow: 0 1px 5px rgba(0,0,0,0.5); }
.cta .email-form, .cta .form-note { position: relative; z-index: 1; }

footer { padding: 3rem 2rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); color: var(--gray); font-size: 0.85rem; }
footer a { color: var(--gold); text-decoration: none; }
footer .footer-links { margin-top: 0.5rem; }
footer .footer-links a { margin: 0 0.5rem; }

.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--seafoam); color: var(--white); padding: 1rem 2rem; border-radius: 12px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.3); opacity: 0; transition: all 0.4s; z-index: 1000; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.error { background: #b5453d; }

.lang-switcher-wrap select#lang-switcher:disabled { opacity: 0.5; cursor: not-allowed; }

/* Simple inner pages (about/contact/privacy) */
.page { max-width: 760px; margin: 0 auto; padding: 6rem 2rem 5rem; }
.page h1 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.page h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; color: var(--gold-light); }
.page p, .page li { color: var(--white); opacity: 0.9; line-height: 1.8; margin-bottom: 1rem; font-size: 1rem; }
.page ul, .page ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.page a.inline-link { color: var(--gold); text-decoration: underline; }
.contact-card { background: rgba(30,58,95,0.3); border: 1px solid rgba(201,162,39,0.15); border-radius: 16px; padding: 1.5rem 2rem; margin-top: 1.5rem; }

/* Article pages */
.article-back { margin-bottom: 0.5rem; font-size: 0.9rem; }
.article-meta { color: var(--gray); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; opacity: 0.8; }
.article-page h1 { font-size: 1.9rem; margin-bottom: 1.75rem; }
.article-page strong { color: var(--gold-light); }
.article-page blockquote { border-left: 3px solid rgba(201,162,39,0.4); padding-left: 1rem; margin: 1.5rem 0; color: var(--gray); font-style: italic; }
.article-footer-note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.9rem; color: var(--gray); }

/* Articles index */
.articles-index { max-width: 1100px; }
.articles-index-sub { color: var(--gray); max-width: 620px; margin-bottom: 2.5rem !important; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.article-card { display: block; text-decoration: none; background: linear-gradient(145deg, rgba(30,58,95,0.4), rgba(10,22,40,0.6)); border: 1px solid rgba(201,162,39,0.12); border-radius: 14px; padding: 1.5rem; transition: all 0.3s; }
.article-card:hover { transform: translateY(-3px); border-color: rgba(201,162,39,0.3); }
.article-card-format { color: var(--gold); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.article-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.5rem; line-height: 1.35; }
.article-card p { color: var(--gray); font-size: 0.85rem; line-height: 1.5; margin: 0; opacity: 1; }

@media (max-width: 768px) {
  .vote-layout { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .steps::before { display: none; }
  .ship-stats { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .site-nav { flex-direction: column; gap: 0.75rem; }
  .site-nav ul { gap: 1.1rem; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
}
