:root {
    --bg-dark: #0f2618;
    --bg-mid: #1a3d2a;
    --ribbon-red: #c62828;
    --ribbon-red-dark: #8e0000;
    --gold: #ffd54f;
    --orange: #f59e0b;
    --orange-dark: #d97706;
    --green-btn: #43a047;
    --green-btn-dark: #2e7d32;
    --parchment: #f5e6c8;
    --parchment-dark: #e8d4a8;
    --ink: #3e2723;
    --sky: #87ceeb;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(165deg, var(--bg-mid) 0%, var(--bg-dark) 55%, #0a1a10 100%);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

/* Brand bar */
.brand-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
}

.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 12px var(--shadow);
}

.brand-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.nav-toggle {
    display: none;
    background: var(--ribbon-red);
    border: 2px solid var(--gold);
    color: var(--white);
    font-size: 1.25rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
}

/* Ribbon navigation */
.ribbon-nav {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
    width: 100%;
}

.ribbon-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    background: linear-gradient(180deg, var(--ribbon-red) 0%, var(--ribbon-red-dark) 100%);
    border: 3px solid var(--gold);
    border-radius: 4px;
    padding: 0.5rem;
    box-shadow: 0 6px 20px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.ribbon-list::before,
.ribbon-list::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    background: var(--ribbon-red-dark);
    border: 2px solid var(--gold);
    transform: translateY(-50%) rotate(45deg);
}

.ribbon-list::before { left: -12px; }
.ribbon-list::after { right: -12px; }

.ribbon-link {
    display: block;
    padding: 0.55rem 1.25rem;
    color: var(--white);
    text-decoration: none;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: background 0.2s, transform 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ribbon-link:hover,
.ribbon-link.active {
    background: rgba(255, 213, 79, 0.25);
    color: var(--gold);
    transform: translateY(-1px);
}

/* Content wrap */
.content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

.page-heading {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

/* Parchment scroll panel */
.parchment-scroll {
    background: linear-gradient(180deg, var(--parchment) 0%, var(--parchment-dark) 100%);
    color: var(--ink);
    border-radius: 16px;
    border: 4px solid #8d6e63;
    box-shadow:
        0 8px 32px var(--shadow),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    padding: 2rem;
    position: relative;
}

.parchment-scroll::before,
.parchment-scroll::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    height: 8px;
    background: linear-gradient(90deg, #6d4c41, #a1887f, #6d4c41);
    border-radius: 4px;
}

.parchment-scroll::before { top: -6px; }
.parchment-scroll::after { bottom: -6px; }

.parchment-scroll h2,
.parchment-scroll h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--ribbon-red);
    margin-bottom: 0.75rem;
}

.parchment-scroll p {
    margin-bottom: 1rem;
}

.parchment-scroll ul {
    margin: 0 0 1rem 1.25rem;
}

.parchment-scroll li {
    margin-bottom: 0.5rem;
}

/* Hero */
.hero-banner {
    position: relative;
    margin: 0 1rem 2rem;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--gold);
    box-shadow: 0 12px 40px var(--shadow);
    min-height: 380px;
}

.hero-banner img.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 380px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 38, 24, 0.85) 0%, rgba(15, 38, 24, 0.35) 50%, rgba(198, 40, 40, 0.4) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.5rem;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: var(--ribbon-red);
    color: var(--white);
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    border: 2px solid var(--gold);
    margin-bottom: 1rem;
    width: fit-content;
}

.hero-content h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
}

.hero-content h1 .title-accent {
    display: block;
    background: linear-gradient(180deg, var(--gold) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.5));
}

.hero-tagline {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.cta-row a {
    display: inline-block;
    transition: transform 0.2s;
}

.cta-row a:hover {
    transform: scale(1.05);
}

.cta-row img {
    height: 52px;
    width: auto;
    border-radius: 8px;
}

.cta-row .btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    min-height: 52px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    background: linear-gradient(180deg, var(--orange) 0%, var(--orange-dark) 100%);
    border: 2px solid #92400e;
    border-radius: 10px;
    box-shadow: 0 4px 0 #92400e;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}

/* Diagonal section */
.section-slant {
    position: relative;
    margin: 2.5rem 0;
}

.section-slant::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg, var(--orange), var(--gold), var(--green-btn));
    transform: skewY(-1.5deg);
    border-radius: 3px;
}

.section-title-bar {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 5px solid var(--orange);
}

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 213, 79, 0.35);
    border-radius: 14px;
    padding: 1.25rem;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.feature-card .icon {
    font-size: 1.75rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.92rem;
    opacity: 0.9;
}

/* Screenshot strip */
.screenshot-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
    scroll-snap-type: x mandatory;
}

.screenshot-strip img {
    flex: 0 0 auto;
    width: 280px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--gold);
    scroll-snap-align: start;
    box-shadow: 0 6px 16px var(--shadow);
}

/* Text link */
.text-link {
    color: var(--orange);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(180deg, var(--green-btn) 0%, var(--green-btn-dark) 100%);
    color: var(--white);
    border: 2px solid #1b5e20;
    box-shadow: 0 4px 0 #1b5e20;
}

.btn-orange {
    background: linear-gradient(180deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    border: 2px solid #92400e;
    box-shadow: 0 4px 0 #92400e;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Company page */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.advantage-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 4px solid var(--orange);
}

.advantage-item h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.parchment-scroll .advantage-item {
    background: rgba(255, 255, 255, 0.72);
    border: 2px solid rgba(141, 110, 99, 0.35);
    border-left: 4px solid var(--ribbon-red);
    box-shadow: 0 2px 8px rgba(62, 39, 35, 0.08);
}

.parchment-scroll .advantage-item h3 {
    color: var(--ribbon-red);
}

.parchment-scroll .advantage-item h3 i {
    color: var(--orange);
    margin-right: 0.25rem;
}

.mvc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.mvc-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(180deg, rgba(198, 40, 40, 0.3) 0%, rgba(15, 38, 24, 0.5) 100%);
    border-radius: 14px;
    border: 2px solid rgba(255, 213, 79, 0.4);
}

.mvc-card .mvc-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.mvc-card h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.parchment-scroll .mvc-card {
    background: linear-gradient(180deg, #fffef8 0%, #f0e4cc 100%);
    border: 2px solid #8d6e63;
    box-shadow: 0 4px 12px rgba(62, 39, 35, 0.1);
}

.parchment-scroll .mvc-card .mvc-icon {
    color: var(--ribbon-red);
}

.parchment-scroll .mvc-card h3 {
    color: var(--ink);
}

.parchment-scroll .mvc-card p {
    color: var(--ink);
    opacity: 0.9;
}

/* Games page */
.game-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.game-gallery img {
    width: 100%;
    border-radius: 12px;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 12px var(--shadow);
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    border-bottom: 1px dashed rgba(62, 39, 35, 0.2);
}

.feature-list li::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--orange);
}

/* Contact page */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 213, 79, 0.3);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}

.contact-card .contact-icon {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

.contact-card h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--sky);
    text-decoration: none;
    word-break: break-all;
}

.contact-card a:hover {
    text-decoration: underline;
}

.parchment-scroll .contact-card {
    background: rgba(255, 255, 255, 0.72);
    border: 2px solid rgba(141, 110, 99, 0.35);
    box-shadow: 0 2px 8px rgba(62, 39, 35, 0.08);
}

.parchment-scroll .contact-card .contact-icon {
    color: var(--ribbon-red);
}

.parchment-scroll .contact-card h3 {
    color: var(--ink);
}

.parchment-scroll .contact-card p {
    color: var(--ink);
    opacity: 0.9;
}

.parchment-scroll .contact-card a {
    color: #1565c0;
}

.parchment-scroll .contact-card a:hover {
    color: var(--ribbon-red);
}

/* Store page */
.store-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    align-items: start;
}

.coins-intro h3,
.coins-list h3,
.order-panel h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--ribbon-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.coins-intro ul {
    margin-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.coins-intro li {
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
}

.coin-rows {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.coin-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}

.coin-row:hover {
    background: rgba(255, 255, 255, 0.7);
}

.coin-row.selected {
    border-color: var(--green-btn);
    background: rgba(67, 160, 71, 0.15);
}

.coin-row img {
    width: 48px;
    height: 48px;
}

.coin-row .coin-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: var(--ink);
}

.buy-btn {
    background: linear-gradient(180deg, var(--green-btn) 0%, var(--green-btn-dark) 100%);
    color: var(--white);
    border: 2px solid #1b5e20;
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 0 #1b5e20;
    transition: transform 0.15s;
    white-space: nowrap;
}

.buy-btn:hover {
    transform: translateY(-2px);
}

.loading,
.error-msg-inline {
    text-align: center;
    padding: 1.5rem;
    color: var(--ink);
}

.error-msg-inline {
    color: var(--ribbon-red);
}

.order-panel {
    position: sticky;
    top: 1rem;
}

.selected-coin {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

.selected-coin.selected {
    background: rgba(67, 160, 71, 0.2);
    border: 2px solid var(--green-btn);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 2px solid #8d6e63;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.required {
    color: var(--ribbon-red);
}

.error-message {
    display: block;
    color: var(--ribbon-red);
    font-size: 0.82rem;
    margin-top: 0.25rem;
    min-height: 1.1em;
}

.payment-options {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.payment-option {
    cursor: pointer;
}

.payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.65rem;
    border-radius: 12px;
    border: 3px solid transparent;
    background: rgba(255, 255, 255, 0.45);
    transition: border-color 0.2s, transform 0.15s, background 0.2s;
}

.payment-option img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
}

.payment-label {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    line-height: 1.2;
}

.payment-option input:checked + .payment-option-inner,
.payment-option.selected .payment-option-inner {
    border-color: var(--green-btn);
    background: rgba(67, 160, 71, 0.12);
    transform: scale(1.03);
}

.agree-group {
    margin: 1rem 0;
}

.agree-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.88rem;
}

.agree-label input {
    margin-top: 0.2rem;
}

.agree-label a {
    color: var(--ribbon-red);
}

.submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(180deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    border: 2px solid #92400e;
    border-radius: 10px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 0 #92400e;
    transition: transform 0.15s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

#orderMessage {
    margin-top: 0.75rem;
    text-align: center;
}

#orderMessage .error-message {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Confirm / result pages */
.confirm-section,
.payment-result,
.error-section {
    max-width: 600px;
    margin: 0 auto;
}

.confirm-section h2,
.payment-result h2,
.error-section h2 {
    font-family: 'Fredoka', sans-serif;
    text-align: center;
    margin-bottom: 1.5rem;
}

.order-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px dashed rgba(62, 39, 35, 0.25);
    gap: 1rem;
}

.detail-row .label {
    font-weight: 700;
    color: var(--ribbon-red);
}

.detail-row .value {
    text-align: right;
    word-break: break-all;
}

.detail-row .value.total {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    color: var(--green-btn-dark);
}

.payment-redirect,
.no-redirect {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
}

.redirect-btn {
    background: linear-gradient(180deg, var(--green-btn) 0%, var(--green-btn-dark) 100%);
    color: var(--white);
    border: 2px solid #1b5e20;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.payment-result .success,
.payment-result .failed {
    text-align: center;
    padding: 1rem 0;
}

.payment-result .icon {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
}

.payment-result .success .icon { color: var(--green-btn); }
.payment-result .failed .icon { color: var(--ribbon-red); }

.error-section {
    text-align: center;
}

.error-section .error-icon {
    font-size: 3.5rem;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

.error-section .error-msg {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    word-break: break-word;
}

.error-details {
    text-align: left;
    background: rgba(255, 255, 255, 0.3);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.error-details ul {
    margin-left: 1.25rem;
}

.error-details li {
    margin-bottom: 0.35rem;
}

/* Teaser strip on homepage */
.teaser-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(90deg, rgba(198, 40, 40, 0.4) 0%, rgba(245, 158, 11, 0.3) 100%);
    border-radius: 14px;
    border: 2px solid rgba(255, 213, 79, 0.4);
    margin-bottom: 2rem;
}

.teaser-strip p {
    flex: 1;
    min-width: 200px;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.35);
    border-top: 3px solid rgba(255, 213, 79, 0.3);
    padding: 1.5rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.footer-brand p {
    font-size: 0.85rem;
    opacity: 0.85;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.88rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .store-layout {
        grid-template-columns: 1fr;
    }

    .order-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .ribbon-nav {
        display: none;
    }

    .ribbon-nav.open {
        display: block;
    }

    .ribbon-list {
        flex-direction: column;
        align-items: stretch;
    }

    .ribbon-list::before,
    .ribbon-list::after {
        display: none;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .coin-row {
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto auto;
    }

    .coin-row .buy-btn {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
}
