* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(160deg, #0d0015 0%, #1a0a2e 40%, #0d0015 100%);
    color: #E0D6F0;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(91, 44, 138, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 0, 21, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 30px rgba(91, 44, 138, 0.4);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}

.site-header .header-inner::after {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.5) 20%, rgba(0,212,255,0.3) 80%, transparent);
    pointer-events: none;
}

.site-header .header-inner { position: relative; }

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 2px solid #FFD700;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(180deg, #FFD700, #DAA520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    max-width: 160px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.site-nav a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: #E0D6F0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.site-nav a:hover {
    color: #00D4FF;
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    background: rgba(91, 44, 138, 0.4);
}

.site-nav a.active {
    background: linear-gradient(135deg, #5B2C8A, #7B3FA0);
    border-color: #FFD700;
    color: #FFD700;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

.nav-toggle {
    display: none;
    background: rgba(91, 44, 138, 0.6);
    border: 1px solid #FFD700;
    color: #FFD700;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Hero — split asymmetric layout */
.hero-split {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hero-split .hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 85% 115% at 50% 50%, rgba(13, 0, 21, 0.04) 0%, rgba(13, 0, 21, 0.22) 45%, rgba(13, 0, 21, 0.58) 100%),
        linear-gradient(90deg, rgba(13, 0, 21, 0.55) 0%, rgba(13, 0, 21, 0.1) 40%, rgba(13, 0, 21, 0.02) 50%, rgba(13, 0, 21, 0.1) 60%, rgba(13, 0, 21, 0.55) 100%);
}

.hero-split-inner {
    position: absolute;
    inset: 0;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 2rem;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.5);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.hero-copy h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    color: #FFD700;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
    margin-bottom: 0.75rem;
    line-height: 1.15;
    max-width: 520px;
}

.hero-copy p {
    font-size: 1.05rem;
    color: #E0D6F0;
    line-height: 1.6;
    max-width: 480px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}

.hero-action-main img {
    height: 58px;
    border-radius: 10px;
    transition: transform 0.3s, filter 0.3s;
}

.hero-action-sub {
    display: flex;
    gap: 0.65rem;
}

.hero-action-sub img {
    height: 46px;
    border-radius: 10px;
    transition: transform 0.3s, filter 0.3s;
}

.hero-actions a:hover img {
    transform: scale(1.06) translateY(-2px);
    filter: drop-shadow(0 0 14px rgba(0, 212, 255, 0.7));
}

.hero-slice {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: #0d0015;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 3;
}

/* Section slant dividers */
.section-slant {
    height: 40px;
    margin: 0 -1.5rem 2rem;
    background: linear-gradient(135deg, rgba(91,44,138,0.2), transparent);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%);
}

.section-slant-reverse {
    clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%);
    background: linear-gradient(225deg, rgba(0,212,255,0.08), transparent);
}

/* Split panel — home intro */
.split-panel {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    margin-bottom: 0;
    align-items: stretch;
}

.split-panel-visual {
    position: relative;
    background: linear-gradient(160deg, #5B2C8A, #1a0a2e);
    border: 3px solid #DAA520;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 280px;
}

.split-logo {
    width: 160px;
    border-radius: 16px;
    border: 3px solid #FFD700;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.4);
    position: relative;
    z-index: 1;
}

.split-visual-accent {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 50%;
}

.split-panel-body {
    margin-bottom: 0;
    border-left: none;
    border-radius: 0 4px 4px 0;
}

.split-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #DAA520;
}

.content-offset {
    margin-top: -30px;
    position: relative;
    z-index: 4;
}

.text-link {
    color: #5B2C8A;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #DAA520;
    transition: color 0.3s;
}

.text-link:hover {
    color: #00D4FF;
}

/* Left-aligned section headings */
.section-heading-left {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-heading-left::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #DAA520, rgba(0,212,255,0.3), transparent);
}

.page-title-left {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid #00D4FF;
    color: #FFD700;
    text-align: left;
}

/* Bento grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bento-item {
    background: rgba(91, 44, 138, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.35);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.bento-item:hover {
    border-color: #00D4FF;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item .feature-icon {
    font-size: 1.6rem;
    color: #00D4FF;
    margin-bottom: 0.6rem;
}

.bento-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: #FFD700;
    margin-bottom: 0.4rem;
}

.bento-item p {
    font-size: 0.82rem;
    color: #C8B8E0;
    line-height: 1.5;
}

/* Stagger gallery */
.stagger-gallery {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 0 1.5rem;
    margin-bottom: 1rem;
}

.stagger-item {
    flex: 0 0 30%;
    max-width: 320px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stagger-item img {
    width: 100%;
    display: block;
}

.stagger-up { transform: translateY(-18px); }
.stagger-down { transform: translateY(18px); }

.stagger-item:hover {
    transform: translateY(0) scale(1.03);
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.45);
    z-index: 2;
}

.home-game-preview {
    margin-bottom: 2rem;
}

.preview-desc {
    color: #C8B8E0;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 600px;
}

.preview-more {
    text-align: center;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #5B2C8A, #7B3FA0);
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.more-link:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

.game-intro-section + .screenshots-section {
    margin-top: 0;
}

/* Content */
.content-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
}

/* Parchment card */
.parchment-card {
    position: relative;
    background: linear-gradient(180deg, rgba(232, 212, 162, 0.95), rgba(245, 230, 190, 0.9));
    border: 3px solid #DAA520;
    border-radius: 4px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: #2d1810;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 215, 0, 0.1);
}

.parchment-card::before,
.parchment-card::after {
    content: '◆';
    position: absolute;
    color: #e85a6a;
    font-size: 0.9rem;
    text-shadow: 0 0 6px rgba(232, 90, 106, 0.8);
}

.parchment-card::before { top: 8px; left: 10px; }
.parchment-card::after  { top: 8px; right: 10px; color: #00D4FF; text-shadow: 0 0 6px rgba(0,212,255,0.8); }

.parchment-card h2 {
    font-family: 'Cinzel', serif;
    color: #5B2C8A;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #DAA520;
    padding-bottom: 0.5rem;
}

.parchment-card h3 {
    font-family: 'Cinzel', serif;
    color: #5B2C8A;
    font-size: 1.15rem;
    margin: 0rem 0 0.5rem;
}

.parchment-card p {
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.parchment-card ul {
    list-style: none;
    padding: 0;
}

.parchment-card ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
}

.parchment-card ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #DAA520;
    font-weight: bold;
}

/* Screenshots filmstrip */
.screenshots-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #FFD700;
}

.screenshots-filmstrip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshots-filmstrip::-webkit-scrollbar {
    height: 6px;
}

.screenshots-filmstrip::-webkit-scrollbar-track {
    background: rgba(91, 44, 138, 0.3);
    border-radius: 3px;
}

.screenshots-filmstrip::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #5B2C8A, #00D4FF);
    border-radius: 3px;
}

.screenshot-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(91, 44, 138, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.04);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.screenshot-item img {
    width: 100%;
    display: block;
}

/* About — sidebar layout */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    align-items: start;
}

.about-main { margin-bottom: 0; }

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}

.strength-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
}

.strength-list li strong { color: #5B2C8A; }

.mission-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-card-stack {
    background: rgba(91, 44, 138, 0.35);
    border: 2px solid #DAA520;
    border-radius: 10px;
    padding: 1.25rem;
    text-align: left;
    position: relative;
    padding-left: 3rem;
}

.mission-num {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: rgba(0, 212, 255, 0.5);
    font-weight: 700;
}

.mission-card-stack h4 {
    font-family: 'Cinzel', serif;
    color: #FFD700;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.mission-card-stack p {
    font-size: 0.82rem;
    color: #C8B8E0;
    line-height: 1.55;
}

/* Game — split intro + masonry */
.game-split-intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}

.game-copy { margin-bottom: 0; }

.game-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #DAA520;
    min-height: 320px;
}

.game-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-visual-frame {
    position: absolute;
    inset: 12px;
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 8px;
    pointer-events: none;
}

.features-split { margin-bottom: 1.5rem; }

.features-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
}

.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
    gap: 0.85rem;
}

.masonry-item {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s, box-shadow 0.3s;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.masonry-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.4);
    z-index: 2;
}

.masonry-large {
    grid-column: span 2;
    grid-row: span 2;
}

.masonry-wide {
    grid-column: span 2;
}

.cta-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cta-row-left {
    justify-content: flex-start;
}

.cta-row img {
    height: 50px;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.cta-row a:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6));
}

/* Contact — split layout */
.contact-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
    align-items: start;
}

.contact-info-panel,
.contact-form-panel {
    margin-bottom: 0;
}

.contact-info-panel h2 {
    font-family: 'Cinzel', serif;
    color: #5B2C8A;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #DAA520;
    padding-bottom: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(91, 44, 138, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(218, 165, 32, 0.4);
}

.contact-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5B2C8A, #7B3FA0);
    border-radius: 50%;
    color: #FFD700;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 2px solid #FFD700;
}

.contact-content h3 {
    color: #5B2C8A;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-content p {
    font-size: 0.9rem;
    margin: 0;
}

.contact-form-panel h3 {
    font-family: 'Cinzel', serif;
    color: #5B2C8A;
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #2d1810;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #DAA520;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    background: #fff;
    color: #2d1810;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-select {
    padding-right: 2.5rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235B2C8A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 12px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-select:focus {
    outline: none;
    border-color: #5B2C8A;
    box-shadow: 0 0 10px rgba(91, 44, 138, 0.3);
}

.form-select option {
    color: #2d1810;
    background: #fff;
}

.form-group input:disabled {
    background: #f0e8d0;
    color: #666;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.required { color: #e85a6a; }

.error-message {
    display: block;
    color: #e85a6a;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.success-message {
    display: block;
    color: #228B22;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(34, 139, 34, 0.1);
    border-radius: 8px;
    border: 1px solid #228B22;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #5B2C8A, #7B3FA0);
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

/* Shop */
/* Shop — left/right layout */
.shop-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: start;
}

.shop-left,
.shop-right {
    margin-bottom: 0;
}

.shop-right {
    position: sticky;
    top: 5.5rem;
}

.coins-intro h3 {
    font-family: 'Cinzel', serif;
    color: #5B2C8A;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #DAA520;
    padding-bottom: 0.4rem;
}

.coins-intro li {
    font-size: 0.88rem;
}

.coins-list h3 {
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    color: #5B2C8A;
    font-size: 1.15rem;
}

.coins-intro {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid #DAA520;
}

.coins-grid-wrapper {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 0;
}

.shop-left .coins-grid {
    grid-template-columns: repeat(3, 1fr);
}

.coins-grid-wrapper::-webkit-scrollbar { width: 6px; }
.coins-grid-wrapper::-webkit-scrollbar-track { background: rgba(91,44,138,0.2); border-radius: 3px; }
.coins-grid-wrapper::-webkit-scrollbar-thumb { background: #5B2C8A; border-radius: 3px; }

.coins-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.coin-card {
    background: #fff;
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #DAA520;
    transition: all 0.3s ease;
    cursor: pointer;
}

.coin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(91, 44, 138, 0.4);
}

.coin-card.selected {
    border-color: #00D4FF;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.coin-image {
    width: 50px;
    height: auto;
    margin-bottom: 0.5rem;
}

.coin-card h4 {
    color: #5B2C8A;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.coin-price {
    color: #e85a6a;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.buy-btn {
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #5B2C8A, #7B3FA0);
    color: #FFD700;
    border: 1px solid #FFD700;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-btn:hover {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.field-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #2d1810;
    font-size: 0.9rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.payment-option {
    display: grid;
    grid-template-columns: 22px 36px 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 2px solid #DAA520;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
}

.payment-option:hover {
    border-color: #5B2C8A;
    background: rgba(91, 44, 138, 0.04);
    box-shadow: 0 2px 8px rgba(91, 44, 138, 0.12);
}

.payment-option:has(input:checked) {
    border-color: #00D4FF;
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.payment-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #DAA520;
    border-radius: 50%;
    background: #fff;
    position: relative;
    flex-shrink: 0;
}

.payment-option:has(input:checked) .payment-radio {
    border-color: #00D4FF;
    background: #5B2C8A;
}

.payment-option:has(input:checked) .payment-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFD700;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(91, 44, 138, 0.1);
    border-radius: 8px;
    color: #5B2C8A;
    font-size: 1.25rem;
}

.payment-option:has(input:checked) .payment-icon {
    background: rgba(91, 44, 138, 0.2);
    color: #5B2C8A;
}

.payment-name {
    color: #2d1810;
    font-size: 0.95rem;
    font-weight: 700;
}

/* Agree checkbox */
.agree-group {
    margin-bottom: 1.25rem;
}

.agree-box {
    background: #fff;
    border: 2px solid #DAA520;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.agree-box:has(input:checked) {
    border-color: #00D4FF;
    background: rgba(0, 212, 255, 0.06);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
}

.agree-label {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.75rem;
    align-items: start;
    cursor: pointer;
    margin: 0;
}

.agree-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.agree-check {
    width: 20px;
    height: 20px;
    border: 2px solid #DAA520;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s;
}

.agree-label:has(input:checked) .agree-check {
    background: #5B2C8A;
    border-color: #00D4FF;
}

.agree-label:has(input:checked) .agree-check::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: #FFD700;
}

.agree-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #2d1810;
    word-break: break-word;
}

.agree-text a {
    color: #5B2C8A;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 44, 138, 0.3);
}

.agree-text a:hover {
    color: #00D4FF;
    border-bottom-color: #00D4FF;
}

.agree-group .error-message {
    margin-top: 0.5rem;
    padding-left: 0.25rem;
}

.selected-gem {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(91, 44, 138, 0.1);
    border: 1px dashed #DAA520;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.selected-gem.selected {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00D4FF;
    border-style: solid;
}

.order-form-panel h3 {
    font-family: 'Cinzel', serif;
    color: #5B2C8A;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #DAA520;
    padding-bottom: 0.5rem;
}

.loading, .error {
    text-align: center;
    padding: 1.5rem;
    color: #5B2C8A;
    font-weight: 600;
}

.error { color: #e85a6a; }

/* Confirm */
.confirm-section h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    color: #5B2C8A;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.order-details {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #DAA520;
    margin-bottom: 1.5rem;
}

.order-details h3 {
    color: #5B2C8A;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #DAA520;
    font-family: 'Cinzel', serif;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.detail-row:last-child { border-bottom: none; }

.detail-row .label { font-weight: 700; color: #2d1810; }
.detail-row .value { color: #5B2C8A; }
.detail-row .value.total { color: #e85a6a; font-weight: 700; font-size: 1.1rem; }

.payment-redirect {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.08);
    border: 2px dashed #00D4FF;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.redirect-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #5B2C8A, #7B3FA0);
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.redirect-btn:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.no-redirect {
    text-align: center;
    padding: 1rem;
    background: rgba(91, 44, 138, 0.1);
    border: 1px solid #DAA520;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.action-buttons {
    text-align: center;
    margin-top: 1rem;
}

.back-btn, .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.back-btn, .btn-secondary {
    background: linear-gradient(135deg, #5B2C8A, #7B3FA0);
    color: #FFD700;
    border: 2px solid #FFD700;
}

.back-btn:hover, .btn-secondary:hover {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #00D4FF, #5B2C8A);
    color: #fff;
    border: 2px solid #00D4FF;
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

/* Payment result */
.payment-result {
    text-align: center;
    padding: 2rem 1rem;
}

.payment-result .icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.success .icon {
    background: linear-gradient(135deg, #C9A227, #5B2C8A);
    color: #fff;
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.4);
}

.failed .icon {
    background: linear-gradient(135deg, #e85a6a, #5B2C8A);
    color: #fff;
    box-shadow: 0 0 30px rgba(232, 90, 106, 0.5);
}

.payment-result h2 {
    font-family: 'Cinzel', serif;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
}

.success h2 { color: #9A7B2F; }
.failed h2 { color: #e85a6a; }

.payment-result p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.success-msg {
    background: rgba(201, 162, 39, 0.12);
    border: 1px solid #C9A227;
    border-radius: 8px;
    padding: 0.75rem;
    color: #7A6420 !important;
}

.failed-msg {
    background: rgba(232, 90, 106, 0.1);
    border: 1px solid #e85a6a;
    border-radius: 8px;
    padding: 0.75rem;
    color: #e85a6a !important;
}

.payment-result .action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Error page */
.error-section {
    text-align: center;
    padding: 2rem 1rem;
}

.error-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #e85a6a, #5B2C8A);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 0 30px rgba(232, 90, 106, 0.4);
}

.error-section h2 {
    font-family: 'Cinzel', serif;
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.error-section .error-msg {
    background: rgba(232, 90, 106, 0.1);
    border: 1px solid #e85a6a;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #E0D6F0;
}

.error-details {
    background: rgba(232, 212, 162, 0.95);
    border: 2px solid #DAA520;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    color: #2d1810;
}

.error-details h3 {
    color: #5B2C8A;
    margin-bottom: 0.75rem;
    font-family: 'Cinzel', serif;
}

.error-details ul { list-style: none; padding: 0; }

.error-details li {
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    font-size: 0.9rem;
}

.error-details li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #DAA520;
}

.error-section .action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: rgba(13, 0, 21, 0.95);
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    padding: 1.5rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.footer-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #FFD700;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00D4FF;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 0, 21, 0.98);
        border-bottom: 2px solid rgba(255, 215, 0, 0.3);
        padding: 1rem;
    }

    .site-nav.open { display: block; }

    .site-nav ul {
        flex-direction: column;
        gap: 0.25rem;
    }

    .brand-name { display: none; }

    .hero-bg { height: 360px; }
    .hero-split { min-height: 360px; }
    .hero-split-inner {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        align-items: end;
    }
    .hero-copy h1 { font-size: 1.6rem; }
    .hero-actions { align-items: flex-start; }

    .split-panel { grid-template-columns: 1fr; }
    .split-panel-visual {
        border-right: 3px solid #DAA520;
        border-bottom: none;
        min-height: 180px;
    }
    .split-panel-body { border-left: 3px solid #DAA520; border-radius: 0 0 4px 4px; }

    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide, .bento-tall { grid-column: span 1; grid-row: span 1; }

    .stagger-gallery { flex-direction: column; }
    .stagger-item { flex: none; width: 100%; max-width: none; }
    .stagger-up, .stagger-down { transform: none; }

    .about-layout { grid-template-columns: 1fr; }
    .about-columns, .strength-two-col { grid-template-columns: 1fr; }

    .game-split-intro { grid-template-columns: 1fr; }
    .game-visual { min-height: 200px; order: -1; }

    .masonry-gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 120px;
    }
    .masonry-large, .masonry-wide { grid-column: span 2; grid-row: span 1; }

    .contact-split { grid-template-columns: 1fr; }

    .shop-layout { grid-template-columns: 1fr; }
    .shop-right { position: static; }
    .shop-left .coins-grid { grid-template-columns: repeat(2, 1fr); }
    .coins-intro { margin-top: 1rem; padding-top: 1rem; }
    .coins-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-split { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
