/* PODI - Professional Organization of Dangerously Incompetent Divers
   Dark navy theme with Unsplash background images.
   Inspired by professional dive agency styling. */

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

:root {
    --navy-darkest: #060f1f;
    --navy-dark: #0a1628;
    --navy-primary: #0b1a33;
    --navy-mid: #0f2240;
    --navy-light: #132a4a;
    --accent: #ff6600;
    --accent-dark: #cc4400;
    --accent-hover: #ff8800;
    --accent-hover-dark: #dd5500;
    --accent-glow: rgba(255, 102, 0, 0.3);
    --gold: #ffcc00;
    --text-white: #ffffff;
    --text-primary: #d0dce8;
    --text-secondary: #aabbcc;
    --text-muted: #99aabb;
    --card-bg: rgba(11, 26, 51, 0.88);
    --card-border: rgba(255, 255, 255, 0.06);
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.12);
    --shadow-hover: rgba(0, 0, 0, 0.3);
    --shadow-focus: rgba(255, 102, 0, 0.15);
    --success: #00a86b;
    --danger: #e74c3c;
    --warning-bg: #2a1f00;
    --warning-border: #ffcc00;
}

/* ========== BASE CARD PATTERN ========== */
/* Shared visual foundation for all card-like containers across the site.
   Each page can add modifier classes for unique behaviour. */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.card--static,
.card--static:hover {
    border-color: var(--card-border);
    transform: none;
    box-shadow: none;
}

.card--form {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 30px;
}

.card--grid {
    text-align: center;
}

.card--warning {
    background: rgba(42, 31, 0, 0.5);
    border-color: var(--warning-border);
}

.card--danger {
    background: rgba(80, 0, 0, 0.3);
    border-color: var(--danger);
    text-align: center;
}

.card--success {
    background: rgba(0, 80, 0, 0.3);
    border-color: var(--success);
    border-radius: 14px;
    text-align: center;
    animation: cert-appear 0.4s ease-out;
}

html {
    overflow-x: hidden;
}

body {
    background: var(--navy-dark);
    font-family: Arial, Helvetica, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Fix poor contrast of inline muted text on dark backgrounds */
[style*="color:#888"] { color: var(--text-secondary) !important; }
[style*="color: #888"] { color: var(--text-secondary) !important; }
[style*="color:#666"] { color: var(--text-secondary) !important; }
[style*="color: #666"] { color: var(--text-secondary) !important; }

/* ============================================================
   WARNING BANNER
   ============================================================ */
.warning-banner {
    background: #2a1f00;
    color: var(--gold);
    text-align: center;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ============================================================
   HEADER / LOGO
   ============================================================ */
header {
    background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy-primary) 100%);
    padding: 20px 30px;
    border-bottom: 4px solid var(--accent);
    position: relative;
}

header::after {
    content: "UNINSURED";
    position: absolute;
    top: 12px;
    right: 20px;
    background: var(--gold);
    color: #000;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-icon {
    font-size: 48px;
    filter: drop-shadow(0 2px 4px var(--accent-glow));
}

.logo-text h1 {
    color: var(--text-white);
    font-size: 36px;
    letter-spacing: 6px;
    font-weight: 800;
    text-transform: uppercase;
}

.logo-text .tagline {
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 2px;
}

.logo-text .danger-rating {
    color: var(--accent);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
    background: var(--navy-darkest);
    padding: 0 30px;
    display: flex;
    justify-content: center;
    gap: 4px;
    border-bottom: 1px solid var(--card-border);
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

nav a:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.04);
    border-bottom-color: var(--accent);
}

nav a.active {
    color: var(--text-white);
    border-bottom-color: var(--accent);
    background: rgba(255, 102, 0, 0.08);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    border-radius: 16px;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(6, 15, 31, 0.7) 0%, rgba(10, 22, 40, 0.85) 100%);
    z-index: 1;
}

.hero h2 {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero p {
    position: relative;
    z-index: 2;
    color: var(--text-primary);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero .stats {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat .number {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat .label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ============================================================
   CALL-TO-ACTION BUTTON
   ============================================================ */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-white);
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--accent-glow);
    position: relative;
    z-index: 2;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px var(--accent-glow); }
    50% { box-shadow: 0 4px 30px rgba(255, 102, 0, 0.5); transform: scale(1.02); }
    100% { box-shadow: 0 4px 15px var(--accent-glow); }
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-hover-dark) 100%);
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.5);
    transform: translateY(-2px);
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.feature-card {
    padding: 30px 25px;
}

.feature-card .icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.feature-card h3 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
    color: var(--text-white);
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin: 40px 0 25px;
    letter-spacing: -0.5px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
    width: 100%;
}

.section-title span {
    color: var(--accent);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.testimonial {
    padding: 25px;
}

.testimonial .quote {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid var(--accent);
}

.testimonial .author {
    color: var(--text-white);
    font-weight: bold;
    font-size: 14px;
}

.testimonial .detail {
    color: var(--text-secondary);
    font-size: 12px;
}

/* ============================================================
   TEAM GRID
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.team-member {
    padding: 30px 25px;
    text-align: center;
    position: relative;
}

.team-member .member-icon {
    font-size: 60px;
    margin-bottom: 12px;
    display: block;
}

.team-member h3 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-member .title {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.team-member .bio {
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.6;
}

.team-member .flag {
    display: inline-block;
    background: var(--danger);
    color: var(--text-white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ============================================================
   COURSE CARDS
   ============================================================ */
.course-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 25px;
    align-items: center;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
}

.course-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.course-card .course-icon {
    font-size: 40px;
}

.course-card .course-info h3 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.course-card .course-info p {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
}

.course-card .course-info .course-overview {
    color: var(--text-primary);
    font-size: 14px;
    margin-top: 6px;
    line-height: 1.6;
}

.course-card .course-price {
    text-align: right;
}

.course-card .price {
    color: var(--accent);
    font-size: 24px;
    font-weight: 800;
}

.course-card .fine-print {
    color: var(--text-muted);
    font-size: 11px;
    margin-top: 2px;
}

.course-card .badge {
    background: var(--danger);
    color: var(--text-white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

/* ============================================================
   COURSE DETAILS (expanded)
   ============================================================ */
.course-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--card-border);
}

.course-detail-section {
    margin-bottom: 10px;
}

.course-detail-section .detail-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.course-detail-section .detail-content {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.learn-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learn-list li {
    color: var(--text-secondary);
    font-size: 13px;
    padding: 3px 0;
    line-height: 1.5;
}

.learn-list li::before {
    content: "☠️";
    margin-right: 8px;
    font-size: 12px;
}

/* ============================================================
   CERTIFICATION GRID
   ============================================================ */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.cert-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.cert-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.cert-card h3 {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cert-card .cert-desc {
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.cert-card .cert-price {
    color: var(--accent);
    font-size: 22px;
    font-weight: 800;
}

/* ============================================================
   RED FLAGS
   ============================================================ */
.red-flags {
    background: rgba(42, 31, 0, 0.5);
    border: 1px solid var(--warning-border);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.red-flags h3 {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.red-flags ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.red-flags li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid var(--card-border);
}

.red-flags li:last-child {
    border-bottom: none;
}

.red-flags li::before {
    content: "🚩";
    font-size: 14px;
}

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.pricing-tier {
    padding: 30px 25px;
    text-align: center;
}

.pricing-tier.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--shadow-focus);
    transform: scale(1.03);
}

.pricing-tier h3 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-tier .pricing-price {
    color: var(--accent);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.pricing-tier ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-tier li {
    color: var(--text-primary);
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid var(--card-border);
}

.pricing-tier li.unavailable {
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-focus);
}

.contact-form label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
}

.contact-form label:first-child {
    margin-top: 0;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    transition: all 0.3s;
}

.contact-form button:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-hover-dark) 100%);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.contact-form .disclaimer {
    color: var(--text-muted);
    font-size: 11px;
    text-align: center;
    margin-top: 15px;
    font-style: italic;
}

/* ============================================================
   DISCLAIMER BOXES
   ============================================================ */
.disclaimer-box {
    background: rgba(200, 50, 50, 0.1);
    border: 2px solid var(--danger);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    color: #ff8888;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.disclaimer-notice {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: 12px;
    padding: 20px;
    margin: 0 0 25px;
    color: var(--gold);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* ============================================================
   MARQUEE / BLINK / SAFETY
   ============================================================ */
.marquee-warning {
    background: var(--navy-darkest);
    color: var(--gold);
    padding: 8px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee-scroll 35s linear infinite;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes safety-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.safety-violation {
    display: inline-block;
    background: var(--danger);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    animation: safety-pulse 3s ease-in-out infinite;
}

/* ============================================================
   DIVE COMPUTER WIDGET (retro green terminal)
   ============================================================ */
#podi-computer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 200px;
    background: #0a1a0a;
    border: 2px solid #00cc00;
    border-radius: 8px;
    z-index: 1000;
    font-family: 'Courier New', 'Consolas', monospace;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.15), 0 0 5px rgba(0, 255, 0, 0.1);
    transition: all 0.3s;
    overflow: visible;
}

#podi-computer.computer-glitch {
    border-color: #ff0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    animation: glitch 0.1s infinite alternate;
}

#podi-computer.computer-sos {
    border-color: #ff00ff;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5), 0 0 60px rgba(255, 0, 255, 0.2);
    animation: sos-blink 0.5s infinite alternate;
}

@keyframes glitch {
    0% { transform: translate(0); }
    25% { transform: translate(-2px, 1px); }
    50% { transform: translate(2px, -1px); }
    75% { transform: translate(-1px, 2px); }
    100% { transform: translate(1px, -2px); }
}

.computer-header {
    background: #003300;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00cc00;
}

.computer-title {
    color: #00ff00;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.computer-model {
    color: #00aa00;
    font-size: 8px;
}

.computer-close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 2;
    color: #000000;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--text-white);
    border: 3px solid #000000;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45), 0 0 10px rgba(255, 255, 255, 0.35);
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
    line-height: 1;
    touch-action: manipulation;
    user-select: none;
}

.computer-close:hover {
    color: #000000;
    background: #f0f0f0;
    border-color: #000000;
    transform: scale(1.08);
}

.computer-body {
    padding: 10px;
}

.computer-reading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.05);
}

.computer-label {
    color: #00aa00;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.computer-value {
    color: #00ff00;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Courier New', 'Consolas', monospace;
}

.computer-unit {
    color: #006600;
    font-size: 9px;
    margin-left: 4px;
}

.computer-warnings {
    margin: 8px 0 4px;
}

.computer-warning {
    display: none;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    animation: warning-blink 0.5s infinite alternate;
}

@keyframes warning-blink {
    0% { opacity: 1; }
    100% { opacity: 0.3; }
}

@keyframes sos-blink {
    0% { opacity: 1; background: #220022; }
    50% { opacity: 1; background: #440044; }
    100% { opacity: 0.3; background: #220022; }
}

.deco-warning {
    background: #330000;
    color: #ff0000;
    border: 1px solid #ff0000;
}

.low-warning {
    background: #331100;
    color: #ff8800;
    border: 1px solid #ff8800;
}

.error-warning {
    background: #222200;
    color: #ffff00;
    border: 1px solid #ffff00;
}

.sos-warning {
    background: #220022;
    color: #ff00ff;
    border: 1px solid #ff00ff;
    animation: sos-blink 0.3s infinite alternate;
}

.computer-graph-wrap {
    position: relative;
    margin: 8px 0 4px;
    padding: 2px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.12);
    border-radius: 3px;
}

#comp-graph {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
}

.graph-depth-label {
    position: absolute;
    bottom: 3px;
    right: 5px;
    color: #004400;
    font-size: 7px;
    font-family: 'Courier New', 'Consolas', monospace;
    letter-spacing: 0.5px;
}

.computer-battery {
    display: flex;
    justify-content: space-between;
    color: #006600;
    font-size: 9px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
}

.battery-level {
    color: #00aa00;
    font-size: 10px;
    letter-spacing: 2px;
}

/* ============================================================
   DIVE TIPS WIDGET
   ============================================================ */
#podi-tips {
    padding: 18px 22px;
    margin: 30px auto;
    max-width: 700px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

/* ============================================================
   CERTIFICATION GENERATOR
   ============================================================ */
.cert-generator {
    max-width: 600px;
    margin: 0 auto 30px;
    border: 2px solid var(--accent);
    padding: 30px;
}

.cert-generator h3 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.cert-generator label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
}

.cert-generator input,
.cert-generator select {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 14px;
}

.cert-generator input:focus,
.cert-generator select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-focus);
}

.cert-generator button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    transition: all 0.3s;
}

.cert-generator button:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-hover-dark) 100%);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.cert-generator .gen-note {
    color: var(--text-muted);
    font-size: 11px;
    text-align: center;
    margin-top: 12px;
    font-style: italic;
}

#cert-result {
    display: none;
    margin-top: 20px;
}

.generated-cert {
    background: linear-gradient(135deg, #0f1f38, #1a2a4a);
    border: 3px double var(--accent);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    animation: cert-appear 0.5s ease-out;
}

@keyframes cert-appear {
    0% { transform: scale(0.8) rotate(-2deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.gen-cert-badge {
    font-size: 48px;
    margin-bottom: 8px;
}

.gen-cert-title {
    color: var(--gold);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
}

.gen-cert-subtitle {
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.gen-cert-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 12px auto;
    width: 80%;
    border-radius: 2px;
}

.gen-cert-level {
    color: var(--accent);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.gen-cert-label {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 4px;
}

.gen-cert-name {
    color: var(--gold);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 8px 0;
    font-family: 'Times New Roman', 'Georgia', serif;
}

.gen-cert-details {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 12px;
}

.gen-cert-detail-label {
    color: var(--accent);
    font-weight: 600;
}

.gen-cert-footer {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--card-border);
    color: var(--danger);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* ============================================================
   RISK ASSESSMENT TOOL
   ============================================================ */
.risk-tool h3 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.risk-tool .risk-sub {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
}

.risk-slider-group {
    margin-bottom: 18px;
}

.risk-slider-group label {
    display: flex;
    justify-content: space-between;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.risk-slider-group .risk-value-display {
    color: var(--accent);
    font-weight: 700;
}

.risk-slider-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.risk-slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--accent);
    border: 3px solid var(--navy-dark);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.risk-slider-group input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--accent);
    border: 3px solid var(--navy-dark);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.risk-tool button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.risk-tool button:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-hover-dark) 100%);
    box-shadow: 0 4px 15px var(--accent-glow);
}

#risk-result {
    display: none;
    margin-top: 20px;
}

.risk-result-card {
    background: rgba(0, 80, 0, 0.3);
    border: 2px solid var(--success);
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    animation: cert-appear 0.5s ease-out;
}

.risk-result-header {
    color: var(--success);
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.risk-result-stars {
    font-size: 24px;
    margin-bottom: 8px;
}

.risk-result-rating {
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 10px;
}

.risk-value {
    color: var(--accent);
    font-weight: 700;
}

.risk-result-message {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.risk-result-danger {
    color: #ff8888;
    font-size: 13px;
    margin-bottom: 10px;
    font-style: italic;
}

.risk-result-score {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 8px;
}

.risk-result-printable {
    color: var(--text-muted);
    font-size: 11px;
    padding-top: 10px;
    border-top: 1px dashed var(--card-border);
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
#podi-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy-darkest);
    padding: 15px 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    border-top: 3px solid var(--accent);
}

#podi-cookie-banner.cookie-show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-icon {
    font-size: 32px;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.5;
}

.cookie-text strong {
    color: var(--text-white);
}

.cookie-btn {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
}

.cookie-btn-dismiss {
    background: var(--accent);
    color: var(--text-white);
}

.cookie-btn-dismiss:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.cookie-btn-alt {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
}

.cookie-btn-alt:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    transform: scale(1.05);
}

/* ============================================================
   CERTIFICATION PAGE - VERIFY TOOL
   ============================================================ */
.verify-tool {
    max-width: 500px;
}

.verify-input-group {
    display: flex;
    gap: 10px;
}

.verify-input-group input {
    flex: 1;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-white);
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 14px;
}

.verify-input-group input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-focus);
}

.verify-input-group button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.2s;
}

.verify-input-group button:hover {
    background: linear-gradient(135deg, #0077dd 0%, #0055aa 100%);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

#verify-result {
    display: none;
    margin-top: 15px;
}

.verify-result-card {
    background: rgba(0, 80, 0, 0.3);
    border: 2px solid var(--success);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    animation: cert-appear 0.4s ease-out;
}

.verify-result-card.verify-fake {
    background: rgba(80, 0, 0, 0.3);
    border-color: var(--danger);
}

.verify-status {
    font-size: 28px;
    margin-bottom: 8px;
}

.verify-result-card .verify-badge {
    display: inline-block;
    background: var(--success);
    color: var(--text-white);
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.verify-result-card.verify-fake .verify-badge {
    background: var(--danger);
}

.verify-diver {
    font-size: 20px;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 5px;
}

.verify-level {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.verify-details {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;
}

.verify-detail-label {
    color: var(--text-muted);
}

.verify-disclaimer {
    color: var(--text-muted);
    font-size: 10px;
    margin-top: 10px;
    font-style: italic;
}

/* ============================================================
   CERTIFICATION PAGE - RECORD CARD
   ============================================================ */
.record-card {
    max-width: 600px;
    margin: 0 auto 40px;
    border-radius: 14px;
    overflow: hidden;
}

.record-header {
    background: var(--navy-mid);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gold);
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px;
}

.record-id {
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1px;
    font-family: 'Courier New', 'Consolas', monospace;
}

.record-body {
    padding: 20px;
    min-height: 150px;
}

.record-loading {
    color: var(--text-muted);
    text-align: center;
    padding: 30px;
    font-style: italic;
    animation: pulse 1.5s infinite;
}

.record-diver-name {
    text-align: center;
    font-size: 22px;
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 5px;
    font-family: 'Times New Roman', 'Georgia', serif;
}

.record-diver-title {
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 15px;
}

.record-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.record-stat {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px 8px;
}

.record-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.record-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.record-course-list {
    border-top: 1px solid var(--card-border);
    padding-top: 12px;
}

.record-course-item {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--card-border);
}

.record-course-name {
    color: var(--text-primary);
}

.record-course-status {
    color: var(--success);
    font-size: 11px;
    font-weight: 600;
}

.record-footer {
    background: var(--navy-darkest);
    padding: 10px 20px;
    font-size: 10px;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    border-top: 1px solid var(--card-border);
}

/* ============================================================
   CERTIFICATION PAGE - INSURANCE
   ============================================================ */
.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 0 auto 40px;
    max-width: 900px;
}

.insurance-card {
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    position: relative;
}

.insurance-card.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--shadow-focus);
    transform: scale(1.03);
}

.insurance-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.insurance-card h3 {
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.insurance-price {
    font-size: 28px;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 15px;
}

.insurance-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.insurance-features li {
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--card-border);
}

.insurance-features .covered {
    color: var(--success);
}

.insurance-features .not-covered {
    color: var(--text-muted);
}

.insurance-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.insurance-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-hover-dark) 100%);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.insurance-footnote {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
}

/* ============================================================
   DAD INSURANCE MODAL
   ============================================================ */
.dad-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: dad-fadein 0.3s ease-out;
}

@keyframes dad-fadein {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.dad-modal {
    background: linear-gradient(180deg, #0a1628 0%, #0f2240 100%);
    border: 2px solid var(--accent);
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: dad-slidein 0.3s ease-out;
}

@keyframes dad-slidein {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.dad-modal-header {
    background: linear-gradient(135deg, #0b1a33, #132a4a);
    padding: 25px 25px 15px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 102, 0, 0.2);
}

.dad-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
}

.dad-tagline {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 5px;
    font-style: italic;
}

.dad-step-indicator {
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 0 5px;
    font-weight: 600;
}

.dad-body {
    padding: 10px 25px 20px;
}

.dad-body h3 {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.dad-body p {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: center;
}

.dad-policy-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
}

.dad-policy-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dad-policy-row:last-child {
    border-bottom: none;
}

.dad-policy-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.dad-terms {
    margin: 10px 0;
}

.dad-term {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    line-height: 1.5;
}

.dad-term-icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.dad-legal {
    background: rgba(42, 31, 0, 0.3);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 12px;
    color: var(--gold);
    font-size: 11px;
    line-height: 1.5;
    margin-top: 15px;
    text-align: center;
}

.dad-body label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-top: 12px;
    margin-bottom: 4px;
}

.dad-body input,
.dad-body select,
.dad-body textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 13px;
}

.dad-body input:focus,
.dad-body select:focus,
.dad-body textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-focus);
}

.dad-claim-disclaimer {
    color: var(--text-muted);
    font-size: 10px;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
}

.dad-footer {
    padding: 15px 25px;
    display: flex;
    gap: 10px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dad-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.dad-btn-next, .dad-btn-submit {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-white);
}

.dad-btn-next:hover, .dad-btn-submit:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-hover-dark) 100%);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.dad-btn-back {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.dad-btn-back:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-white);
}

.dad-btn-close {
    background: rgba(255, 68, 68, 0.15);
    color: #ff6666;
}

.dad-btn-close:hover {
    background: rgba(255, 68, 68, 0.25);
    color: #ff8888;
}

.dad-denial {
    background: rgba(80, 0, 0, 0.3);
    border: 2px solid var(--danger);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 15px;
    animation: dad-fadein 0.4s ease-out;
}

.dad-denial-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.dad-denial-header {
    color: var(--danger);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.dad-denial-body {
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.7;
}

.dad-denial-footer {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
}

#dad-claim-result {
    display: none;
}

/* ============================================================
   CERTIFICATION PAGE - ACCREDITATION
   ============================================================ */
.accreditation-box {
    max-width: 600px;
    margin: 0 auto 40px;
    background: rgba(42, 31, 0, 0.4);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.accred-badge {
    font-size: 60px;
    margin-bottom: 10px;
}

.accreditation-box h3 {
    color: var(--gold);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.accreditation-box p {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
}

.accred-seal {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 30px;
    border: 3px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 3px;
    transform: rotate(-3deg);
    background: rgba(0, 0, 0, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--navy-darkest);
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
    border-top: 4px solid var(--accent);
}

footer p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

footer .footer-disclaimer {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--card-border);
}

/* ============================================================
   DECORATIVE SECTION WITH IMAGE BACKGROUND
   ============================================================ */
.section-image-bg {
    position: relative;
    background-size: cover;
    background-position: center center;
    border-radius: 16px;
    overflow: hidden;
    padding: 40px 30px;
    margin-bottom: 30px;
}

.section-image-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(6, 15, 31, 0.75) 0%, rgba(10, 22, 40, 0.9) 100%);
    z-index: 1;
}

.section-image-bg > * {
    position: relative;
    z-index: 2;
}

/* ============================================================
   LIVE CONDITIONS WIDGET
   ============================================================ */
#conditions-widget {
    max-width: 600px;
    margin: 0 auto 30px;
    background: linear-gradient(180deg, #0a1a2a, #0b1a33);
    border: 2px solid #0066aa;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 102, 170, 0.15), inset 0 0 60px rgba(0, 102, 170, 0.03);
}

.conditions-header {
    background: linear-gradient(135deg, #003355, #004477);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #0066aa;
}

.conditions-title {
    color: var(--text-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.conditions-live {
    color: #00ff00;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    animation: live-blink 1s infinite;
}

@keyframes live-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.conditions-body {
    padding: 18px;
}

.conditions-location-group {
    margin-bottom: 15px;
}

.conditions-location-group label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.conditions-location-group select {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

.conditions-location-group select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-focus);
}

.conditions-location-group select option {
    background: #0a1628;
    color: var(--text-white);
}

.conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.condition-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.condition-label {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.condition-value {
    color: #ff6666;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Courier New', 'Consolas', monospace;
}

.condition-item:nth-child(5) .condition-value {
    color: var(--gold);
}

.condition-item:nth-child(6) .condition-value {
    color: #ff4444;
}

.conditions-updated {
    text-align: center;
    color: var(--text-muted);
    font-size: 10px;
    font-style: italic;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
    .conditions-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RESPONSIVE: 768px
   ============================================================ */
@media (max-width: 768px) {
    .insurance-grid { grid-template-columns: 1fr; }
    .insurance-card.featured { transform: none; }
    .record-stat-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
    .record-stat-value { font-size: 18px; }
    .verify-input-group { flex-direction: column; }
    .verify-input-group button { width: 100%; }

    #podi-computer {
        width: 150px;
        bottom: 10px;
        right: 18px;
    }

    .computer-close {
        top: -14px;
        right: -14px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .computer-value {
        font-size: 11px;
    }

    .computer-graph-wrap {
        padding: 1px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cert-generator {
        padding: 20px;
    }

    .risk-tool {
        padding: 20px;
    }

    header {
        padding: 15px;
    }

    header::after {
        display: none;
    }

    .logo {
        flex-direction: column;
        text-align: center;
    }

    .logo-text h1 {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .logo-icon {
        font-size: 40px;
    }

    .logo-text .tagline {
        font-size: 13px;
    }

    .logo-text .danger-rating {
        font-size: 10px;
    }

    nav {
        padding: 8px 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }

    nav a {
        padding: 8px 10px;
        font-size: 13px;
        min-width: 60px;
        text-align: center;
        border-bottom-width: 2px;
    }

    main {
        padding: 15px;
    }

    .hero {
        padding: 40px 20px;
        min-height: 250px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .stats {
        gap: 15px;
    }

    .stat .number {
        font-size: 32px;
    }

    .stat .label {
        font-size: 12px;
    }

    .course-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }

    .course-card .course-icon {
        margin: 0 auto 10px;
    }

    .course-card .course-price {
        text-align: center;
    }

    .course-card .course-details {
        text-align: left;
    }

    .safety-violation {
        display: inline-block;
        margin: 5px auto;
    }

    .team-member {
        padding: 20px 15px;
    }

    .team-member .flag {
        position: static;
        display: inline-block;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: 24px;
        margin: 25px 0 20px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card .icon {
        font-size: 36px;
    }

    .testimonials {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .testimonial {
        padding: 18px;
    }

    .pricing-tier {
        padding: 20px;
    }

    .pricing-tier.featured {
        transform: none;
    }

    .pricing-tier .pricing-price {
        font-size: 28px;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cert-card {
        padding: 20px;
    }

    .red-flags {
        padding: 20px;
        margin: 25px 0;
    }

    .red-flags h3 {
        font-size: 18px;
    }

    .red-flags li {
        font-size: 13px;
    }

    .disclaimer-box, .disclaimer-notice {
        padding: 15px;
        font-size: 12px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px;
    }

    footer {
        padding: 20px 15px;
        margin-top: 30px;
    }

    footer p {
        font-size: 12px;
    }

    .course-detail-section .detail-content {
        font-size: 12px;
    }

    .learn-list li {
        font-size: 12px;
    }

    .section-image-bg {
        padding: 30px 20px;
    }

    .risk-tool .risk-slider-group input[type="range"] {
        height: 30px;
    }

    #podi-cookie-banner {
        padding: 10px 12px;
    }

    .cookie-text {
        font-size: 11px;
    }

    .cookie-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    main div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   RESPONSIVE: 480px
   ============================================================ */
@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .logo-icon {
        font-size: 32px;
    }

    .hero {
        padding: 30px 15px;
        min-height: 200px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero .stats {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .stat .number {
        font-size: 28px;
    }

    nav a {
        font-size: 11px;
        padding: 6px 8px;
        min-width: 50px;
    }

    main {
        padding: 10px;
    }

    .course-card {
        padding: 15px;
    }

    .course-card .course-info h3 {
        font-size: 18px;
    }

    .section-title {
        font-size: 20px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 18px;
    }

    .pricing-tier .pricing-price {
        font-size: 24px;
    }

    #podi-computer {
        width: 130px;
        right: 18px;
    }

    .computer-close {
        top: -14px;
        right: -14px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .computer-value {
        font-size: 10px;
    }

    .team-member .member-icon {
        font-size: 50px;
    }

    .gen-cert-name {
        font-size: 18px;
    }

    .risk-result-message {
        font-size: 13px;
    }

    .section-image-bg {
        padding: 25px 15px;
    }

    .shop-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .complaint-stats { grid-template-columns: 1fr 1fr; gap: 8px; }

    .elearning-module-list {
        grid-template-columns: 1fr;
    }

    #elearning-video {
        min-height: 120px;
    }

    .elearning-play-icon {
        font-size: 36px;
    }

    .blog-post-body {
        padding: 12px;
    }
}

/* ============================================================
   SHOP / GEAR PAGE
   ============================================================ */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.shop-item {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.shop-item-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.shop-item h3 {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.shop-item .shop-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.shop-item .shop-price {
    color: var(--accent);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
}

.shop-item .shop-fineprint {
    color: var(--text-muted);
    font-size: 10px;
    margin-bottom: 15px;
    font-style: italic;
}

.shop-add-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.shop-add-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-hover-dark) 100%);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.shop-cart-bar {
    max-width: 900px;
    margin: 0 auto 25px;
    background: var(--navy-darkest);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

#shop-cart-count {
    color: var(--gold);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.shop-cart-note {
    color: var(--text-muted);
    font-size: 11px;
}

.shop-cart-fineprint {
    color: var(--text-muted);
    font-size: 9px;
    font-style: italic;
}

.shop-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--navy-darkest);
    border: 2px solid var(--accent);
    border-radius: 10px;
    padding: 15px 22px;
    color: var(--text-white);
    font-size: 14px;
    z-index: 10000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    animation: shop-notif-in 0.3s ease-out;
}

@keyframes shop-notif-in {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Shop category headers */
.shop-category-header {
    max-width: 900px;
    margin: 35px auto 15px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.shop-badge-cat {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 4px;
}

.shop-category-sub {
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
}

/* Product badges */
.shop-item-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

.shop-item-badge.bestseller {
    background: #ff6600;
    color: #fff;
}

.shop-item-badge.new {
    background: #00a86b;
    color: #fff;
}

.shop-item-badge.limited {
    background: #8b5cf6;
    color: #fff;
}

.shop-item {
    position: relative;
}

/* Star ratings */
.shop-stars {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.shop-rating-count {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
}

/* Compare-at pricing */
.shop-compare {
    color: var(--text-muted);
    font-size: 16px;
    text-decoration: line-through;
    margin-right: 6px;
}

/* Stock indicators */
.shop-stock {
    font-size: 11px;
    margin-bottom: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(0, 168, 107, 0.1);
    color: var(--success);
}

.shop-stock:empty {
    display: none;
}

.shop-stock[style*="⚠"] {
    background: rgba(255, 204, 0, 0.1);
    color: var(--gold);
}

/* Reviews section */
.shop-reviews-section {
    max-width: 900px;
    margin: 40px auto;
}

.shop-reviews-section h2 {
    color: var(--text-white);
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
}

.shop-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.shop-review-card {
    border-radius: 10px;
    padding: 18px;
}

.shop-review-stars {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 8px;
}

.shop-review-text {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.shop-review-author {
    color: var(--text-muted);
    font-size: 11px;
}

.shop-review-badge {
    color: var(--success);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Trust bar */
.shop-trust-bar {
    max-width: 900px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 30px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
}

.shop-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
}

.shop-trust-icon {
    font-size: 16px;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 8px 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.gallery-filter:hover {
    border-color: var(--accent);
    color: var(--text-white);
}

.gallery-filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--card-border);
}

.gallery-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center center;
    z-index: 0;
    filter: blur(4px);
}

.gallery-item::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(6, 15, 31, 0.15) 0%, rgba(10, 22, 40, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.gallery-info {
    position: relative;
    z-index: 2;
    padding: 50px 18px 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 15, 31, 0.6) 100%);
}

.gallery-info.full {
    background: var(--card-bg);
    padding: 20px;
    min-height: 320px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.gallery-thumb {
    font-size: 64px;
    margin-bottom: 10px;
    line-height: 1;
}

.gallery-caption {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.gallery-date {
    color: var(--text-muted);
    font-size: 11px;
    font-style: italic;
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.gallery-modal.show {
    display: flex;
}

.gallery-modal-content {
    background: var(--navy-darkest);
    border: 2px solid var(--accent);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: cert-appear 0.3s ease-out;
    overflow: hidden;
}

.gallery-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    color: var(--text-white);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    line-height: 1;
}

.gallery-modal-close:hover {
    color: var(--accent);
}

.gallery-modal-bg {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center center;
}

.gallery-modal-text {
    padding: 20px 25px 25px;
}

.gallery-modal-caption {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.gallery-modal-date {
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-list {
    max-width: 800px;
    margin: 0 auto 30px;
}

.blog-post {
    margin-bottom: 20px;
    overflow: hidden;
}

.blog-post-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    position: relative;
    transition: background 0.2s;
}

.blog-post-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.blog-post-header h3 {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
    width: calc(100% - 30px);
    margin-bottom: 6px;
}

.blog-meta {
    color: var(--text-muted);
    font-size: 12px;
    width: calc(100% - 30px);
}

.blog-expand-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--accent);
    font-size: 22px;
    font-weight: bold;
    transition: transform 0.3s;
}

.blog-post.expanded .blog-expand-indicator {
    transform: rotate(45deg);
}

.blog-post-body {
    display: none;
    padding: 0 25px 20px;
    border-top: 1px solid var(--card-border);
    animation: blog-expand 0.3s ease-out;
}

.blog-post.expanded .blog-post-body {
    display: block;
}

@keyframes blog-expand {
    0% { opacity: 0; max-height: 0; }
    100% { opacity: 1; max-height: 2000px; }
}

.blog-post-body p {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 14px;
}

.blog-post-body ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.blog-post-body ul li {
    color: var(--text-secondary);
    font-size: 13px;
    padding: 4px 0 4px 20px;
    line-height: 1.5;
    position: relative;
}

.blog-post-body ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.blog-newsletter {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 25px;
    text-align: center;
}

.blog-newsletter h3 {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 8px;
}

.blog-newsletter p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.blog-newsletter input {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-newsletter input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-focus);
}

.blog-newsletter button {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
}

.blog-newsletter button:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-hover-dark) 100%);
    box-shadow: 0 4px 15px var(--accent-glow);
}

#newsletter-result {
    margin-top: 12px;
    color: var(--accent);
    font-size: 13px;
}

/* ============================================================
   ELEARNING PAGE
   ============================================================ */
.elearning-player {
    max-width: 700px;
    margin: 0 auto 30px;
    background: var(--navy-darkest);
    border: 2px solid #0066aa;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 102, 170, 0.15);
}

.elearning-header {
    background: linear-gradient(135deg, #003355, #004477);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #0066aa;
}

.elearning-title {
    color: var(--text-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.elearning-version {
    color: #22cccc;
    font-size: 10px;
    font-family: 'Courier New', 'Consolas', monospace;
}

.elearning-body {
    padding: 0;
}

#elearning-video {
    background: #000000;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.elearning-video-placeholder {
    text-align: center;
    color: #888;
    cursor: pointer;
    padding: 40px 20px;
}

.elearning-play-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.elearning-play-icon:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.elearning-progress-wrap {
    padding: 15px 20px;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.elearning-progress-bar {
    height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.elearning-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0066aa, #00aaff);
    border-radius: 4px;
    transition: width 0.5s;
}

.elearning-progress-text {
    color: #22cccc;
    font-size: 12px;
    font-family: 'Courier New', 'Consolas', monospace;
}

.elearning-progress-eta {
    color: #888;
    font-size: 10px;
    font-style: italic;
    font-family: 'Courier New', 'Consolas', monospace;
}

.elearning-content {
    padding: 20px;
}

.elearning-module-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.elearning-module {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.elearning-module:hover {
    border-color: rgba(0, 102, 170, 0.3);
}

.elearning-module.unlocked .module-icon {
    color: var(--accent);
}

.module-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.module-info {
    flex: 1;
}

.module-name {
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    display: block;
}

.module-desc {
    color: var(--text-muted);
    font-size: 11px;
    display: block;
    margin-top: 2px;
}

.elearning-footer {
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    color: var(--text-muted);
    font-size: 10px;
    font-style: italic;
}

.elearning-warning {
    max-width: 700px;
    margin: 0 auto 30px;
    background: rgba(42, 31, 0, 0.4);
    border: 1px solid var(--warning-border);
    border-radius: 12px;
    padding: 20px 25px;
}

.elearning-warning h3 {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 10px;
}

.elearning-warning ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elearning-warning li {
    color: var(--text-primary);
    font-size: 13px;
    padding: 4px 0;
    line-height: 1.5;
}

.elearning-warning li::before {
    content: "☐ ";
    color: var(--accent);
}

/* ============================================================
   COMPLAINTS PAGE
   ============================================================ */
.complaint-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.complaint-stat {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.complaint-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}

.complaint-stat:nth-child(1) .complaint-stat-value { color: var(--danger); }
.complaint-stat:nth-child(2) .complaint-stat-value { color: var(--gold); }
.complaint-stat:nth-child(3) .complaint-stat-value { color: var(--danger); }
.complaint-stat:nth-child(4) .complaint-stat-value { color: var(--success); }

.complaint-stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.complaint-form h3 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.complaint-form .complaint-sub {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
}

.complaint-form label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
}

.complaint-form label:first-of-type {
    margin-top: 0;
}

.complaint-form input,
.complaint-form textarea,
.complaint-form select {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 14px;
}

.complaint-form input:focus,
.complaint-form textarea:focus,
.complaint-form select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-focus);
}

.complaint-form button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--danger) 0%, #992222 100%);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    transition: all 0.3s;
}

.complaint-form button:hover {
    background: linear-gradient(135deg, #ff4444 0%, #bb3333 100%);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

#complaint-result {
    margin-top: 20px;
}

.complaint-result-card {
    background: rgba(42, 31, 0, 0.3);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    animation: cert-appear 0.4s ease-out;
}

.complaint-result-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.complaint-result-header {
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.complaint-result-body {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.complaint-result-footer {
    color: var(--text-muted);
    font-size: 11px;
    font-style: italic;
    padding-top: 10px;
    border-top: 1px solid var(--card-border);
}

.complaint-faq {
    max-width: 700px;
    margin: 0 auto 30px;
}

.complaint-faq h3 {
    color: var(--text-white);
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.complaint-faq-item {
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 12px;
}

.complaint-faq-item strong {
    color: var(--gold);
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.complaint-faq-item p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .complaint-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .complaint-stat-value {
        font-size: 22px;
    }
}

/* ============================================================
   REFER-A-FRIEND / REFERRAL PROGRAM
   ============================================================ */
.referral-banner {
    max-width: 750px;
    margin: 30px auto;
    text-align: center;
}

.referral-card {
    background: linear-gradient(135deg, rgba(80, 0, 0, 0.4), rgba(40, 0, 0, 0.3));
    border: 2px solid rgba(255, 68, 68, 0.3);
    border-radius: 16px;
    padding: 35px 30px;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.referral-card::before {
    content: "🎯";
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 100px;
    opacity: 0.08;
    transform: rotate(15deg);
}

.referral-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.referral-card h3 {
    color: var(--text-white);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}

.referral-card h3 span {
    color: #ff4444;
}

.referral-sub {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.referral-highlight {
    color: var(--gold);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 204, 0, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 0, 0.15);
}

.referral-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.referral-step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
}

.referral-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 10px;
}

.referral-step-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.referral-step h4 {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.referral-step p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
}

.referral-code-area {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 68, 68, 0.3);
    border-radius: 12px;
}

.referral-code-area p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 12px;
}

.referral-code-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.referral-code {
    background: var(--navy-darkest);
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 22px;
    font-weight: 800;
    font-family: monospace;
    color: var(--gold);
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: all;
}

.referral-code:hover {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
}

.referral-copy-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.referral-copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.referral-copy-btn:active {
    transform: scale(0.95);
}

.referral-copy-btn.copied {
    background: linear-gradient(135deg, #00a86b, #008050);
}

.referral-copy-msg {
    font-size: 12px;
    color: var(--success);
    margin-top: 8px;
    min-height: 18px;
}

.referral-share {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.referral-share-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.referral-share-btn:hover {
    transform: translateY(-2px);
}

.referral-share-btn.whatsapp {
    background: #25D366;
    color: #fff;
}

.referral-share-btn.email {
    background: #666;
    color: #fff;
}

.referral-share-btn.copy-link {
    background: var(--navy-light);
    color: var(--text-white);
    border: 1px solid var(--card-border);
}

.referral-victim-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.06);
    border: 1px solid rgba(255, 68, 68, 0.15);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.referral-victim-note strong {
    color: #ff6666;
}

.referral-rescue-pitch {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 15px 20px;
    text-align: left;
}

.referral-rescue-pitch .pitch-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.referral-rescue-pitch .pitch-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.referral-rescue-pitch .pitch-text strong {
    color: var(--text-white);
}

/* ============================================================
   REFERRAL DASHBOARD (stats, victims, milestones)
   ============================================================ */
.referral-dashboard-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
    text-align: left;
}

.referral-dashboard-col {
    min-width: 0;
}

.ref-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.ref-stat {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.ref-stat-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.ref-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.2;
}

.ref-stat-label {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.ref-no-victims {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    padding: 20px;
    border: 1px dashed var(--card-border);
    border-radius: 10px;
    font-style: italic;
}

.ref-victim-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ref-victim-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 14px 16px;
    transition: all 0.3s;
    animation: cert-appear 0.4s ease-out;
}

.ref-victim-card:hover {
    border-color: rgba(255, 68, 68, 0.3);
}

.ref-victim-name {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ref-victim-injury {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 4px;
}

.ref-victim-quote {
    color: var(--text-muted);
    font-size: 11px;
    font-style: italic;
    margin-bottom: 6px;
    padding: 6px 8px;
    background: rgba(0,0,0,0.15);
    border-radius: 6px;
}

.ref-victim-rating {
    font-size: 11px;
    color: var(--gold);
}

/* Milestones */
.ref-milestones {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ref-milestone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    transition: all 0.3s;
}

.ref-milestone-unlocked {
    background: rgba(0, 168, 107, 0.08);
    border-color: rgba(0, 168, 107, 0.25);
}

.ref-milestone-locked {
    background: rgba(255, 255, 255, 0.02);
    opacity: 0.6;
}

.ref-milestone-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.ref-milestone-label {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Referral FAQ strip */
.referral-faq-strip {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.referral-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 16px 18px;
    text-align: left;
}

.referral-faq-item strong {
    color: var(--gold);
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

.referral-faq-item p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
}

/* ============================================================
   HOMEPAGE REFERRAL MODAL
   ============================================================ */
.ref-home-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.ref-home-modal {
    background: linear-gradient(180deg, #0f2240 0%, #0a1628 100%);
    border: 2px solid rgba(255, 68, 68, 0.4);
    border-radius: 20px;
    padding: 35px 30px 25px;
    text-align: center;
    max-width: 440px;
    width: 92%;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    box-shadow: 0 0 60px rgba(255, 68, 68, 0.15);
}

.ref-home-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ref-home-close:hover {
    color: var(--text-white);
    background: rgba(255,255,255,0.08);
}

.ref-home-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ref-home-title {
    color: var(--text-white);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}

.ref-home-title span {
    color: #ff4444;
}

.ref-home-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.ref-home-code {
    background: var(--navy-darkest);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.ref-home-code-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ref-home-code-value {
    font-family: monospace;
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    user-select: all;
}

.ref-home-copy-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.ref-home-copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.ref-home-copy-btn:active {
    transform: scale(0.95);
}

.ref-home-copy-msg {
    font-size: 11px;
    color: var(--success);
    min-height: 16px;
    margin-bottom: 12px;
}

.ref-home-stats-mini {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.ref-home-stats-mini strong {
    color: var(--gold);
}

.ref-home-victim-spotlight {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ref-home-spotlight-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.ref-home-spotlight-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}

.ref-home-spotlight-injury {
    font-size: 12px;
    color: var(--text-secondary);
}

.ref-home-spotlight-rating {
    font-size: 12px;
    color: var(--gold);
}

.ref-home-cta {
    display: inline-block !important;
    margin-bottom: 10px !important;
    font-size: 14px !important;
}

.ref-home-footer-note {
    font-size: 10px;
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .referral-steps {
        grid-template-columns: 1fr;
    }

    .referral-card h3 {
        font-size: 20px;
    }

    .referral-code-box {
        flex-direction: column;
    }

    .referral-rescue-pitch {
        flex-direction: column;
        text-align: center;
    }

    .referral-dashboard-sections {
        grid-template-columns: 1fr;
    }

    .ref-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ref-home-modal {
        padding: 25px 20px 20px;
    }

    .ref-home-code {
        flex-direction: column;
    }

    .ref-home-title {
        font-size: 18px;
    }
}

/* ============================================================
   BUDDY TINDER PAGE
   ============================================================ */
#buddy-tinder {
    max-width: 500px;
    margin: 0 auto 30px;
}

.tinder-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.tinder-stat {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.tinder-stat-value {
    display: block;
    font-size: 26px;
    font-weight: 800;
}

.tinder-stat:nth-child(1) .tinder-stat-value { color: var(--text-primary); }
.tinder-stat:nth-child(2) .tinder-stat-value { color: #ff66aa; }
.tinder-stat:nth-child(3) .tinder-stat-value { color: var(--danger); }

.tinder-stat-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tinder-card-wrap {
    position: relative;
    height: 600px;
    margin-bottom: 20px;
}

.tinder-card {
    position: absolute;
    inset: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    user-select: none;
    touch-action: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.tinder-card.swiping {
    transition: none;
}

.tinder-card-face {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

.tinder-card-emoji {
    font-size: 72px;
    text-align: center;
    padding: 0;
    line-height: 1;
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tinder-card-emoji img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tinder-card-body {
    flex: 1;
}

.tinder-card-name {
    color: var(--text-white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tinder-card-cert {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tinder-card-attitude {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    font-style: italic;
}

.tinder-card-redflags {
    background: rgba(80, 0, 0, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
}

.tinder-card-redflags strong {
    color: var(--danger);
    font-size: 12px;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tinder-card-redflags ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tinder-card-redflags li {
    color: var(--text-primary);
    font-size: 12px;
    padding: 3px 0;
    line-height: 1.4;
}

.tinder-card-redflags li::before {
    content: "🚩 ";
    font-size: 11px;
}

.tinder-card-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.tinder-card.swipe-left .tinder-card-badges,
.tinder-card.swipe-right .tinder-card-badges {
    opacity: 1;
}

.tinder-x {
    font-size: 48px;
    color: var(--danger);
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(231, 76, 60, 0.5);
    transform: rotate(-15deg);
    border: 4px solid var(--danger);
    border-radius: 10px;
    padding: 4px 12px;
}

.tinder-heart {
    font-size: 48px;
    color: #ff66aa;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(255, 102, 170, 0.5);
    transform: rotate(15deg);
    border: 4px solid #ff66aa;
    border-radius: 10px;
    padding: 4px 12px;
}

.tinder-buttons {
    display: flex;
    gap: 12px;
    padding: 15px 20px 20px;
    border-top: 1px solid var(--card-border);
}

.tinder-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    font-family: inherit;
}

.tinder-btn-nope {
    background: linear-gradient(135deg, #661111, #441111);
    color: var(--danger);
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.tinder-btn-nope:hover {
    background: linear-gradient(135deg, #882222, #551111);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transform: scale(1.02);
}

.tinder-btn-match {
    background: linear-gradient(135deg, #661133, #441122);
    color: #ff66aa;
    border: 2px solid rgba(255, 102, 170, 0.3);
}

.tinder-btn-match:hover {
    background: linear-gradient(135deg, #882244, #551133);
    box-shadow: 0 4px 15px rgba(255, 102, 170, 0.3);
    transform: scale(1.02);
}

.tinder-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tinder-empty-inner {
    text-align: center;
    padding: 30px;
}

.tinder-empty-icon {
    font-size: 64px;
    margin-bottom: 12px;
}

.tinder-empty h3 {
    color: var(--text-white);
    font-size: 20px;
    margin-bottom: 10px;
}

.tinder-empty p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tinder-card.swipe-left {
    transform: translateX(-120%) rotate(-20deg);
    opacity: 0;
}

.tinder-card.swipe-right {
    transform: translateX(120%) rotate(20deg);
    opacity: 0;
}

.tinder-card.swipe-left-instant,
.tinder-card.swipe-right-instant {
    transition: none;
    opacity: 0;
}

/* Matches section */
.buddy-matches-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.buddy-matches-section .section-title {
    margin-bottom: 20px;
}

.buddy-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.buddy-match-card {
    background: var(--card-bg);
    border: 2px solid rgba(255, 102, 170, 0.2);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
    animation: cert-appear 0.4s ease-out;
}

.buddy-match-card:hover {
    border-color: #ff66aa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 170, 0.15);
}

.buddy-match-emoji {
    font-size: 48px;
    display: inline-block;
    margin-bottom: 8px;
    border: 2px solid rgba(255,255,255,0.1);
}

.buddy-match-name {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.buddy-match-cert {
    color: var(--gold);
    font-size: 11px;
    display: block;
}

.buddy-match-date {
    color: var(--text-muted);
    font-size: 10px;
    display: block;
    margin-top: 8px;
    font-style: italic;
}

/* FAQ */
.tinder-faq {
    max-width: 700px;
    margin: 0 auto 30px;
}

.tinder-faq h3 {
    color: var(--text-white);
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .tinder-card-wrap {
        height: 500px;
    }

    .tinder-card-emoji {
        font-size: 56px;
    }

    .tinder-card-name {
        font-size: 18px;
    }

    .tinder-x,
    .tinder-heart {
        font-size: 36px;
    }
}

/* ============================================================
   ACHIEVEMENT BADGES — EXTREME GAMIFICATION ENGINE
   ============================================================ */

@keyframes badge-confetti-fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@keyframes badge-modal-enter {
    0% { transform: scale(0.3) rotate(-10deg); opacity: 0; }
    50% { transform: scale(1.1) rotate(2deg); }
    70% { transform: scale(0.95) rotate(-1deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes badge-modal-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 102, 0, 0.3); }
    50% { box-shadow: 0 0 60px rgba(255, 102, 0, 0.8), 0 0 120px rgba(255, 102, 0, 0.3); }
}

@keyframes badge-sparkle-rotate {
    0% { transform: rotate(0deg) scale(1); opacity: 0; }
    50% { transform: rotate(180deg) scale(1.5); opacity: 0.5; }
    100% { transform: rotate(360deg) scale(1); opacity: 0; }
}

@keyframes badge-icon-bounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.1); }
}

@keyframes badge-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes badge-glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 5px currentColor); }
    50% { filter: drop-shadow(0 0 25px currentColor) drop-shadow(0 0 50px currentColor); }
}

.badge-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff6600, #ff3300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 99997;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.5);
    transition: all 0.3s;
    user-select: none;
    animation: badge-glow-pulse 2s infinite;
}

.badge-toggle-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(255, 102, 0, 0.7);
}

.badge-toggle-btn:active {
    transform: scale(0.95);
}

/* Panel — slides in from right */
.badge-panel {
    position: fixed;
    top: 0;
    right: -380px;
    width: 360px;
    height: 100%;
    background: linear-gradient(180deg, #0a1628 0%, #060f1f 100%);
    border-left: 2px solid rgba(255, 102, 0, 0.3);
    z-index: 99998;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.badge-panel.badge-panel-open {
    right: 0;
}

.badge-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.15), transparent);
    border-bottom: 1px solid rgba(255, 102, 0, 0.2);
    flex-shrink: 0;
}

.badge-panel-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 1px;
}

.badge-panel-close {
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.badge-panel-close:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.badge-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.badge-panel-stats {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.badge-panel-count {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
}

.badge-panel-grid {
    display: grid;
    gap: 12px;
}

.badge-panel-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
}

.badge-panel-item.badge-locked {
    opacity: 0.5;
}

.badge-panel-item.badge-unlocked {
    border-color: rgba(255, 102, 0, 0.3);
    background: rgba(255, 102, 0, 0.05);
}

.badge-panel-item.badge-unlocked:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.15);
}

.badge-item-icon {
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1;
}

.badge-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.badge-item-rarity {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.badge-item-date {
    font-size: 10px;
    color: var(--text-muted);
    font-style: italic;
}

.badge-item-locked-text {
    font-size: 16px;
    margin-top: 4px;
}

/* Unlock Modal */
.badge-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
}

.badge-modal {
    background: linear-gradient(180deg, #0f2240 0%, #0a1628 100%);
    border: 2px solid var(--accent);
    border-radius: 20px;
    padding: 40px 35px 30px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 60px rgba(255, 102, 0, 0.3);
    animation: badge-modal-enter 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards, badge-modal-pulse 2s ease-in-out infinite;
}

.badge-modal-sparkle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: var(--gold);
    animation: badge-sparkle-rotate 1.5s linear infinite;
    pointer-events: none;
}

.badge-modal-label {
    font-size: 11px;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.2), transparent);
    background-size: 200% 100%;
    animation: badge-shimmer 2s linear infinite;
    padding: 6px 0;
}

.badge-modal-icon {
    font-size: 72px;
    margin-bottom: 12px;
    line-height: 1;
    animation: badge-icon-bounce 0.8s ease-out;
}

.badge-modal-name {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 0 20px currentColor;
}

.badge-modal-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.badge-modal-flavor {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 18px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.badge-modal-rarity {
    display: inline-block;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.badge-modal-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    letter-spacing: 1px;
}

.badge-modal-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.badge-modal-btn:active {
    transform: scale(0.97);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.contact-card {
    background: rgba(0, 51, 102, 0.6);
    border: 1px solid rgba(255, 102, 0, 0.27);
    border-radius: 15px;
    padding: 25px;
}

.contact-card-title {
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-card-title-sm {
    color: var(--gold);
    margin-bottom: 15px;
}

.contact-card-text {
    color: #ccc;
    margin-bottom: 8px;
}

.contact-card-text-mb {
    color: #ccc;
    margin-bottom: 15px;
}

.contact-card-label {
    color: var(--accent);
}

.contact-note {
    color: var(--text-muted);
    font-size: 13px;
}

.contact-form-title {
    color: var(--gold);
    text-align: center;
    margin-bottom: 20px;
}

.contact-form-subtitle {
    color: var(--text-muted);
    text-align: center;
    font-size: 13px;
    margin-bottom: 20px;
}

.contact-consent-label {
    font-size: 12px;
    color: #666;
}

.contact-hours-table {
    width: 100%;
    color: #ccc;
    font-size: 14px;
}

.contact-hours-closed {
    color: var(--danger);
}

.contact-hours-open {
    color: var(--accent);
}

.contact-danger-text {
    color: var(--danger);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
