/* OLD 6 SERVICE INC — Steel Trooper theme */
:root {
    --bg-deep: #0a0e14;
    --bg-panel: #121a24;
    --bg-card: #1a2433;
    --steel: #3d4f63;
    --steel-light: #5a6f85;
    --accent: #ff6b2c;
    --accent-glow: #ff8f4d;
    --cyan: #2ec4e8;
    --text: #e8edf3;
    --text-muted: #8fa3b8;
    --border: rgba(255, 107, 44, 0.2);
    --nav-width: 220px;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--accent-glow); }

/* ── Right-side navigation ── */
.site-shell {
    display: flex;
    min-height: 100vh;
}

.side-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--nav-width);
    height: 100vh;
    background: linear-gradient(180deg, #0d1219 0%, #151d28 100%);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    padding: 24px 0;
}

.side-nav-brand {
    display: block;
    padding: 0 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 16px;
}

.side-nav-brand img {
    width: 100%;
    height: auto;
    display: block;
}

.side-nav-list {
    list-style: none;
    flex: 1;
    padding: 8px 12px;
}

.side-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.25s;
    border: 1px solid transparent;
}

.side-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.side-nav-link:hover,
.side-nav-link.is-active {
    color: var(--text);
    background: rgba(255, 107, 44, 0.12);
    border-color: var(--border);
}

.side-nav-link.is-active {
    color: var(--accent);
    box-shadow: inset 3px 0 0 var(--accent);
}

.side-nav-footer {
    padding: 16px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.06);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-main {
    flex: 1;
    margin-right: var(--nav-width);
    min-height: 100vh;
}

.nav-toggle {
    display: none;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1100;
    width: 44px;
    height: 44px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
}

/* ── Footer ── */
.site-footer {
    background: #080b10;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 40px;
    margin-right: var(--nav-width);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-inner p { color: var(--text-muted); font-size: 0.9rem; }
.footer-inner strong { color: var(--accent); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--accent); }

.portal-body .site-footer { margin-right: 0; }

/* ── Buttons ── */
.btn-steel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent), #e85a1a);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
}

.btn-steel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 44, 0.35);
    color: #fff;
}

.btn-steel-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-steel-outline:hover {
    background: rgba(255, 107, 44, 0.1);
    color: var(--accent-glow);
}

/* ── HOME page ── */
.home-page { padding-bottom: 0; }

.home-banner {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-banner-bg {
    position: absolute;
    inset: 0;
    background: url('../images/mainbanner.png') center/cover no-repeat;
    opacity: 0.3;
}

.home-banner-overlay {
    position: absolute;
    inset: 0;
}

.home-banner-grid {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 48px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: center;
}

.home-banner-logo {
    width: 200px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 16px rgba(255,107,44,0.25));
}

.home-banner-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,107,44,0.15);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 14px;
}

.home-banner-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
    text-shadow: 0 0 30px rgba(255,107,44,0.2);
}

.home-banner-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 28px;
}

.home-banner-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.home-banner-cta a img {
    height: 50px;
    transition: transform 0.25s, filter 0.25s;
}

.home-banner-cta a:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.home-banner-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-banner-visual img {
    width: 280px;
    max-width: 100%;
    filter: drop-shadow(0 20px 50px rgba(255,107,44,0.35));
    animation: homeFloat 4s ease-in-out infinite;
}

@keyframes homeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.home-showcase {
    padding: 72px 48px;
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.home-showcase-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.home-showcase-shot {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.home-showcase-shot img {
    width: 100%;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.home-showcase-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(10,14,20,0.85);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
}

.home-showcase-info h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 16px;
}

.home-showcase-info > p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.home-showcase-list {
    list-style: none;
    margin-bottom: 28px;
}

.home-showcase-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.home-showcase-list li i {
    color: var(--cyan);
    width: 20px;
    text-align: center;
}

.home-gallery {
    background: linear-gradient(180deg, var(--bg-deep) 0%, #0f1520 50%, var(--bg-deep) 100%);
    border-top: 1px solid var(--border);
    padding: 64px 0 56px;
    overflow: hidden;
}

.home-gallery-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

.home-gallery-top {
    text-align: center;
    margin-bottom: 36px;
}

.home-gallery-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(46,196,232,0.1);
    border: 1px solid rgba(46,196,232,0.25);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cyan);
    margin-bottom: 14px;
}

.home-gallery-top h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 10px;
}

.home-gallery-top h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
}

.home-gallery-top p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 16px;
}

.home-gallery-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 4px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.home-gallery-track::-webkit-scrollbar {
    height: 5px;
}

.home-gallery-track::-webkit-scrollbar-thumb {
    background: var(--steel);
    border-radius: 3px;
}

.home-gallery-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: block;
    text-align: left;
}

.home-gallery-card--wide {
    flex: 0 0 380px;
}

.home-gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,107,44,0.45);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.home-gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.home-gallery-card--wide img {
    height: 220px;
}

.home-gallery-card:hover img {
    transform: scale(1.04);
}

.home-gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(10,14,20,0.92));
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.25s;
}

.home-gallery-card:hover .home-gallery-label {
    opacity: 1;
}

.home-gallery-foot {
    text-align: center;
    margin-top: 8px;
}

.home-gallery-hint {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.home-features {
    background: linear-gradient(90deg, #121a24, #1a2433, #121a24);
    border-top: 1px solid var(--border);
    padding: 40px 48px;
}

.home-features-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.home-feat {
    text-align: center;
    padding: 16px;
}

.home-feat i {
    font-size: 1.6rem;
    color: var(--cyan);
    margin-bottom: 8px;
}

.home-feat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.82rem;
    color: #fff;
    margin-bottom: 4px;
}

.home-feat span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.home-contact-bar {
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
    padding: 36px 48px 48px;
}

.home-contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.home-contact-text h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 6px;
}

.home-contact-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.home-contact-text a { color: var(--accent); }

/* Shared section heading */
.section-head {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-head::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
}

/* ── ABOUT page: cover + story layout ── */
.about-page { padding-bottom: 0; }

.about-cover {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.about-cover-bg {
    position: absolute;
    inset: 0;
    background: url('../images/mainbanner.png') center/cover no-repeat;
    opacity: 0.25;
}

.about-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0a0e14 0%, rgba(10,14,20,0.6) 50%, rgba(10,14,20,0.3) 100%);
}

.about-cover-inner {
    position: relative;
    z-index: 2;
    padding: 60px 56px 48px;
    max-width: 900px;
}


.about-cover-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255,107,44,0.15);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 14px;
}

.about-cover-inner h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #fff;
    margin-bottom: 12px;
}

.about-cover-inner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.7;
}

.about-values {
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    padding: 0 48px;
}

.about-values-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}

.value-chip {
    background: var(--bg-panel);
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.value-chip i {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 4px;
}

.value-chip strong {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-chip span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.about-story {
    padding: 72px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 56px;
    align-items: start;
}

.about-story-visual {
    position: sticky;
    top: 40px;
}

.about-story-frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.about-story-frame img {
    width: 100%;
    display: block;
}

.about-story-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.about-story-badge i {
    font-size: 1.6rem;
    color: var(--accent);
}

.about-story-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: #fff;
}

.about-story-badge span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-story-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.story-block {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.story-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.story-num {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.6;
    line-height: 1;
}

.story-block p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.about-vision-band {
    background: linear-gradient(135deg, #1a2433 0%, #0f1824 50%, #1a2433 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 64px 48px;
}

.about-vision-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-vision-inner > i {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.4;
    margin-bottom: 16px;
}

.about-vision-inner h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-vision-inner p {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.85;
    font-style: italic;
}

.about-mission {
    padding: 72px 48px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-mission-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 28px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.mission-card:hover {
    transform: translateY(-6px);
    border-color: rgba(46,196,232,0.35);
}

.mission-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(255,107,44,0.15), rgba(46,196,232,0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
}

.mission-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 10px;
}

.mission-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── GAME page: vertical timeline features ── */
[data-theme="game"] .page-wrap { padding: 60px 48px 80px; max-width: 1000px; margin: 0 auto; }

.game-banner {
    text-align: center;
    margin-bottom: 48px;
}

.game-banner img {
    width: 100px;
    margin-bottom: 20px;
}

.game-banner h1 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 16px;
}

.game-banner .lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.game-desc-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
    margin-bottom: 48px;
}

.game-desc-panel p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.feature-timeline {
    list-style: none;
}

.feature-timeline li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.feature-timeline li:last-child { border-bottom: none; }

.feature-timeline .ft-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255,107,44,0.2), rgba(46,196,232,0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
}

.feature-timeline h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
}

.feature-timeline p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.game-screenshots {
    margin: 48px 0 56px;
}

.game-screenshots-hint {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: -28px 0 28px;
}

.game-screenshots-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 4px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.game-screenshots-scroll::-webkit-scrollbar {
    height: 6px;
}

.game-screenshots-scroll::-webkit-scrollbar-thumb {
    background: var(--steel);
    border-radius: 3px;
}

.game-shot-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: block;
}

.game-shot-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255,107,44,0.4);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.game-shot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.game-shot-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.25s;
    color: #fff;
    font-size: 1.6rem;
}

.game-shot-item:hover .game-shot-zoom { opacity: 1; }

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox-overlay.is-open { opacity: 1; visibility: visible; }

.lightbox-dialog { position: relative; max-width: 90vw; max-height: 90vh; }

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,107,44,0.25);
    border: 1px solid var(--border);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-nav:hover { background: rgba(255,107,44,0.45); }

.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }

.lightbox-caption {
    text-align: center;
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.85rem;
}

.lightbox-counter {
    position: absolute;
    top: -40px;
    left: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

body.lightbox-open { overflow: hidden; }

/* ── CONTACT page: split panel + detail rows ── */
.contact-page { padding-bottom: 0; }

.contact-top {
    background: linear-gradient(120deg, #0f1824 0%, #1a1028 50%, #0f1824 100%);
    border-bottom: 1px solid var(--border);
    padding: 56px 48px 48px;
    position: relative;
    overflow: hidden;
}

.contact-top::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,107,44,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-top-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-top-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(46,196,232,0.1);
    border: 1px solid rgba(46,196,232,0.25);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cyan);
    margin-bottom: 16px;
}

.contact-top-inner h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: #fff;
    margin-bottom: 12px;
}

.contact-top-inner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    line-height: 1.7;
}

.contact-body {
    padding: 48px 48px 56px;
}

.contact-body-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    align-items: start;
}

.contact-side-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    position: sticky;
    top: 32px;
}

.contact-side-card img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.contact-side-card h2 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.contact-side-card > p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.contact-side-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-side-links .btn-steel {
    width: 100%;
    justify-content: center;
    font-size: 0.78rem;
    padding: 10px 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 20px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-row:hover {
    border-color: rgba(46,196,232,0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.contact-row-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255,107,44,0.15), rgba(46,196,232,0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
}

.contact-row-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.contact-row-body p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
    word-break: break-word;
}

.contact-row-body a {
    color: var(--text);
}

.contact-row-body a:hover { color: var(--accent); }

.contact-row-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
    opacity: 0.8;
}

.contact-row-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,107,44,0.12);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.contact-row-action:hover {
    background: var(--accent);
    color: #fff;
}

.contact-bottom {
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
    padding: 28px 48px 40px;
}

.contact-bottom-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-tip {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.contact-tip i {
    color: var(--cyan);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-tip p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-tip a { color: var(--accent); }

/* ── STORE page: header + catalog/checkout split ── */
.store-page { padding-bottom: 0; }

.store-header {
    background: linear-gradient(135deg, #121a28 0%, #1a1020 50%, #121a28 100%);
    border-bottom: 1px solid var(--border);
    padding: 48px 48px 40px;
    position: relative;
    overflow: hidden;
}

.store-header::after {
    content: '';
    position: absolute;
    top: -30%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46,196,232,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.store-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.store-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(255,107,44,0.12);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 14px;
}

.store-header-text h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 12px;
}

.store-header-text p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 520px;
    line-height: 1.7;
}

.store-header-visual img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(46,196,232,0.35));
    animation: gemFloat 3s ease-in-out infinite;
}

@keyframes gemFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.store-info-strip {
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    padding: 32px 48px;
}

.store-info-cards {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.store-info-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.25s;
}

.store-info-card:hover {
    border-color: rgba(46,196,232,0.3);
}

.sic-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(46,196,232,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--cyan);
}

.store-info-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.82rem;
    color: #fff;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.store-main {
    padding: 40px 48px 80px;
}

.store-main-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.store-catalog {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}

.store-catalog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.store-catalog-head h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-catalog-head h2 i { color: var(--accent); }

.store-catalog-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.gem-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    min-height: 200px;
}

.gem-tile {
    background: linear-gradient(160deg, var(--bg-panel) 0%, #151d2a 100%);
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.gem-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.gem-tile:hover {
    border-color: rgba(46,196,232,0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.gem-tile:hover::before { opacity: 1; }

.gem-tile.is-selected {
    border-color: var(--accent);
    box-shadow: 0 0 24px rgba(255,107,44,0.25);
}

.gem-tile.is-selected::before { opacity: 1; background: var(--accent); }

.gem-tile img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(46,196,232,0.3));
}

.gem-tile-title {
    font-weight: 600;
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.gem-tile-price {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.gem-loading, .gem-empty, .gem-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px;
    color: var(--text-muted);
}

.gem-error { color: #ff6b6b; }

.store-checkout {
    position: relative;
}

.checkout-sticky {
    position: sticky;
    top: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.checkout-head h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.checkout-head h2 i { color: var(--accent); }

.checkout-summary {
    margin-bottom: 20px;
}

.checkout-summary-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.selected-gem-display {
    background: linear-gradient(135deg, rgba(255,107,44,0.08), rgba(46,196,232,0.05));
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 600;
    min-height: 52px;
    display: flex;
    align-items: center;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.steel-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-field label .req { color: var(--accent); }

.form-field input[type="text"],
.form-field input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-panel);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-field input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-radio {
    display: block;
    cursor: pointer;
}

.payment-radio input { display: none; }

.payment-radio-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-panel);
    border: 2px solid transparent;
    border-radius: 8px;
    transition: 0.2s;
}

.payment-radio input:checked + .payment-radio-inner {
    border-color: var(--accent);
    background: rgba(255,107,44,0.08);
}

.payment-radio-inner i { font-size: 1.2rem; color: var(--accent); }

.agree-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.agree-row input { margin-top: 3px; flex-shrink: 0; }

.field-error {
    display: block;
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 4px;
    min-height: 18px;
}

.alert-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-box.error {
    background: rgba(255,80,80,0.12);
    border: 1px solid rgba(255,80,80,0.3);
    color: #ff8a8a;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--accent), #e85a1a);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.25s;
}

.btn-submit:hover {
    box-shadow: 0 6px 20px rgba(255,107,44,0.35);
}

/* ── Portal pages (confirm / pay / error) ── */
.portal-body {
    background: radial-gradient(ellipse at center, #151d28 0%, #0a0e14 70%);
    min-height: 100vh;
}

.portal-overlay {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.portal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 520px;
    width: 100%;
    text-align: center;
}

.portal-card h1 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 12px;
}

.portal-lead {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.portal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.portal-icon.success { background: rgba(46,196,100,0.15); color: #2ec464; }
.portal-icon.fail { background: rgba(255,80,80,0.15); color: #ff6b6b; }
.portal-icon.pending { background: rgba(255,107,44,0.15); color: var(--accent); }

.confirm-rows {
    text-align: left;
    margin-bottom: 28px;
}

.confirm-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
}

.confirm-row .lbl { color: var(--text-muted); }
.confirm-row .val { color: var(--text); font-weight: 600; }
.confirm-row .val.highlight { color: var(--accent); }

.confirm-actions, .portal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-list {
    text-align: left;
    list-style: none;
    margin-bottom: 24px;
}

.help-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.help-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .home-banner-grid { grid-template-columns: 1fr; text-align: center; }
    .home-banner-text p { margin-left: auto; margin-right: auto; }
    .home-banner-cta { justify-content: center; }
    .home-banner-visual { order: -1; }
    .home-banner-visual img { width: 200px; }
    .home-showcase-grid { grid-template-columns: 1fr; }
    .home-features-inner { grid-template-columns: repeat(2, 1fr); }
    .home-contact-inner { flex-direction: column; text-align: center; }
    .about-values-inner { grid-template-columns: repeat(2, 1fr); }
    .about-story-grid { grid-template-columns: 1fr; }
    .about-story-visual { position: static; }
    .about-mission-grid { grid-template-columns: 1fr; }
    .store-main-grid { grid-template-columns: 1fr; }
    .checkout-sticky { position: static; }
    .store-info-cards { grid-template-columns: 1fr; }
    .contact-body-grid { grid-template-columns: 1fr; }
    .contact-side-card { position: static; }
    .contact-row { grid-template-columns: 56px 1fr; }
    .contact-row-action { grid-column: 2; justify-self: start; margin-top: 4px; }
    .gem-mosaic { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --nav-width: 0px; }

    .side-nav {
        transform: translateX(100%);
        transition: transform 0.3s;
        width: 260px;
    }

    .side-nav.is-open { transform: translateX(0); }

    .nav-toggle { display: flex; }

    .site-main, .site-footer { margin-right: 0; }

    .spotlight-content, .home-preview, [data-theme] .page-wrap,
    .home-banner-grid, .home-showcase, .home-gallery, .home-features, .home-contact-bar,
    .about-cover-inner, .about-story, .about-mission, .about-vision-band,
    .store-header, .store-info-strip, .store-main,
    .contact-top, .contact-body, .contact-bottom {
        padding-left: 24px;
        padding-right: 24px;
    }

    .about-values { padding: 0 24px; }
    .about-values-inner { grid-template-columns: 1fr; }
    .store-header-inner { flex-direction: column; text-align: center; }
    .store-header-visual { order: -1; }
    .store-header-visual img { width: 80px; height: 80px; }

    .gem-mosaic { grid-template-columns: 1fr; }

    .home-gallery-wrap { padding: 0 24px; }
    .home-gallery-card { flex: 0 0 200px; }
    .home-gallery-card--wide { flex: 0 0 280px; }
    .home-features-inner { grid-template-columns: 1fr; }
}
