/* ==========================================================================
   MYTH VERSE - PREMIUM DESIGN SYSTEM (VANILLA CSS)
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color Palette (HSL Luxury Dark & Gold) */
    --color-bg-darkest: hsl(220, 25%, 4%); /* Obsidian Deep Black */
    --color-bg-darker: hsl(220, 20%, 8%);   /* Rich Charcoal */
    --color-bg-card: hsla(220, 20%, 12%, 0.55); /* Frosted Graphite */
    --color-border-glass: hsla(0, 0%, 100%, 0.06); /* Thin glass boundary */
    --color-border-glass-hover: hsla(38, 70%, 55%, 0.35); /* Gold outline glow */
    
    --color-accent-gold: hsl(38, 70%, 55%);
    --color-accent-gold-dark: hsl(38, 75%, 42%);
    --color-accent-gold-glow: hsla(38, 70%, 55%, 0.35);
    
    --color-text-primary: hsl(210, 15%, 85%);
    --color-text-muted: hsl(215, 12%, 58%);
    --color-text-white: hsl(0, 0%, 100%);
    --color-whatsapp-green: hsl(142, 70%, 45%);
    
    /* Layout Tokens */
    --header-height: 80px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Shadow Systems */
    --shadow-glass: 0 15px 35px 0 rgba(0, 0, 0, 0.65);
    --shadow-card-hover: 0 20px 45px 0 rgba(0, 0, 0, 0.9);
    --shadow-text: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* --- Base & Reset Rules --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-darkest);
    color: var(--color-text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea {
    font-family: inherit;
}

/* Scroll Progress Bar */
#scroll-progress-bar {
    position: fixed;
    top: 40px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-gold-dark), var(--color-accent-gold));
    z-index: 1001;
    transition: width 0.1s ease-out;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-text-white);
}

/* --- Header & Navigation --- */
#main-header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(7, 8, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-glass);
    z-index: 999;
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1300px;
    height: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
}

.logo-myth {
    color: var(--color-text-white);
}

.logo-verse {
    color: var(--color-accent-gold);
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
    padding: 8px 0;
    position: relative;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-gold-dark), var(--color-accent-gold));
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--color-text-white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-accent-gold) !important;
}

/* Search Box */
.search-box {
    position: relative;
    width: 260px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 14px;
}

#search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border-glass);
    border-radius: 30px;
    padding: 11px 15px 11px 44px;
    color: var(--color-text-white);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

#search-input:focus {
    border-color: var(--color-accent-gold);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px var(--color-accent-gold-glow);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 22px;
    cursor: pointer;
}

/* --- Mobile Drawer --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: var(--color-bg-darker);
    border-left: 1px solid var(--color-border-glass);
    z-index: 1000;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: var(--transition-smooth);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 32px;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.drawer-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-muted);
    padding: 12px 20px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.drawer-link:hover, .drawer-link.active {
    color: var(--color-text-white);
    background: var(--color-border-glass);
}

.drawer-link.active {
    color: var(--color-accent-gold);
}

/* --- Hero Banner Section --- */
.hero-banner {
    position: relative;
    margin-top: calc(var(--header-height) + 40px); /* Account for header and promo banner */
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: radial-gradient(circle at 10% 20%, rgba(212, 143, 56, 0.05) 0%, transparent 50%);
}

.hero-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-showcase-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1.4;
    border: 1px solid var(--color-border-glass);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    transition: var(--transition-smooth);
}

.hero-mockup-frame:hover {
    transform: scale(1.03) translateY(-6px);
    border-color: var(--color-border-glass-hover);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 143, 56, 0.08);
}

.hero-mockup-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-mockup-frame:hover img {
    transform: scale(1.05);
}

.frame-glass-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

.banner-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(180deg, transparent 0%, var(--color-bg-darkest) 100%);
    z-index: 2;
    pointer-events: none;
}

.banner-tagline {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent-gold);
    display: inline-block;
    margin-bottom: 20px;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(212, 143, 56, 0.08);
    border: 1px solid rgba(212, 143, 56, 0.15);
}


.btn-block {
    display: flex;
    width: 100%;
}

/* --- Machinery Ribbon --- */
.machinery-ribbon {
    background: var(--color-bg-darker);
    border-bottom: 1px solid var(--color-border-glass);
    padding: 30px 0;
}

.ribbon-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ribbon-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ribbon-icon {
    font-size: 26px;
    color: var(--color-accent-gold);
    background: rgba(212, 143, 56, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 143, 56, 0.2);
}

.ribbon-text h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 3px;
}

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

/* --- Gallery Section --- */
.gallery-section {
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 30px;
}

.section-header {
    margin-bottom: 45px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--color-border-glass);
    padding-bottom: 20px;
}

.section-header h2 {
    font-size: 32px;
}

.section-header p {
    font-size: 15px;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* Product Grid (used in search results overlay) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
}

/* Sale & original price on search-result cards */
.card-price-sale {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-accent-gold);
}

.card-price-original {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

/* Discount badge floating on card image */
.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Product Card (Glassmorphism + Pop Out Effect) */
.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-glass);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-glass-hover);
    box-shadow: var(--shadow-card-hover), 0 0 20px var(--color-accent-gold-glow);
}

.card-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #0f1217;
    overflow: hidden;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .card-image-box img {
    transform: scale(1.05);
}

/* Floating Badges */
.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border-glass);
    color: var(--color-accent-gold);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 6px;
}

.card-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-white);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-dims {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.card-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition-bounce);
}

.product-card:hover .card-btn {
    background: var(--color-accent-gold);
    color: var(--color-bg-darkest);
    border-color: var(--color-accent-gold);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 54px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* --- Modals --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 6, 8, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    background: rgba(4, 5, 7, 0.8);
    backdrop-filter: blur(12px);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    max-width: 950px;
    width: 100%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.modal-backdrop.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 36px;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close:hover {
    color: var(--color-text-white);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}

.modal-image-panel {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
}

.modal-image-wrapper {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border-glass);
}

.modal-image-panel img {
    max-height: 360px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    transition: var(--transition-smooth);
}

/* Studio View Styles */
.modal-image-wrapper.studio-active {
    background: radial-gradient(circle, #f8fafc 0%, #cbd5e1 100%);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.25);
}

.modal-image-wrapper.studio-active img {
    filter: drop-shadow(8px 16px 20px rgba(0, 0, 0, 0.45));
    transform: scale(1.06);
}

/* View Selection Tabs */
.modal-view-tabs {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
}

.view-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-muted);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.view-tab:hover {
    color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.view-tab.active {
    background: var(--color-accent-gold);
    color: var(--color-bg-darkest);
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 10px var(--color-accent-gold-glow);
}

.modal-info-panel {
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--color-border-glass);
}

.modal-category {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-gold);
    margin-bottom: 10px;
}

.modal-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 15px;
}

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

.modal-specs {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--color-border-glass);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 25px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.spec-row:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.spec-label {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-value {
    color: var(--color-text-white);
    font-weight: 600;
}

.modal-description {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 35px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Custom Modal Styles */
.modal-small {
    max-width: 500px;
}

.custom-modal-content {
    padding: 40px;
}

.custom-modal-content h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.custom-modal-content p {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border-glass);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--color-text-white);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-accent-gold);
    background: rgba(255,255,255,0.06);
}

/* Specific buttons inside Modals */
#btn-whatsapp-inquiry, #btn-submit-custom {
    background: linear-gradient(135deg, var(--color-whatsapp-green), hsl(142, 70%, 35%));
    color: var(--color-text-white);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

#btn-whatsapp-inquiry:hover, #btn-submit-custom:hover {
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.45);
}

/* --- Footer --- */
#main-footer {
    background: var(--color-bg-darker);
    border-top: 1px solid var(--color-border-glass);
    padding: 80px 0 30px 0;
    margin-top: 120px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about .brand-logo {
    margin-bottom: 20px;
}

.footer-about-text {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 25px;
    max-width: 320px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-border-glass);
    border: 1px solid var(--color-border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 16px;
    transition: var(--transition-bounce);
}

.social-icons a:hover {
    color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    background: rgba(255,255,255,0.05);
    transform: scale(1.1);
}

.footer-links-group h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--color-text-white);
}

.footer-link-item {
    display: block;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.footer-link-item:hover {
    color: var(--color-accent-gold);
    padding-left: 5px;
}

.footer-text-info {
    display: block;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.footer-text-info i {
    width: 20px;
    color: var(--color-accent-gold);
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 30px 0 30px;
    border-top: 1px solid var(--color-border-glass);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
    }
    
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-info-panel {
        border-left: none;
        border-top: 1px solid var(--color-border-glass);
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .nav-menu, .search-box {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-banner {
        min-height: auto !important;
        padding: 40px 0 !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .hero-text-side {
        align-items: center !important;
    }
    
    .banner-title {
        font-size: 34px !important;
        text-align: center !important;
    }
    
    .banner-description {
        text-align: center !important;
        margin-bottom: 30px !important;
    }
    
    .banner-actions {
        justify-content: center !important;
        width: 100% !important;
    }
    
    .hero-mockup-frame {
        max-width: 380px !important;
    }
    
    .ribbon-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PROMO TOAST — floating notification (top-right)
   ========================================================================== */
.promo-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    background: hsl(220, 24%, 10%);
    border: 1px solid rgba(212,143,56,0.35);
    border-radius: 16px;
    padding: 18px 20px 14px;
    width: 220px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 20px rgba(212,143,56,0.08);
    transform: translateX(calc(100% + 32px));
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
    pointer-events: none;
}
.promo-toast.visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}
.promo-toast-close {
    position: absolute;
    top: 10px; right: 12px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.promo-toast-close:hover { color: #fff; }
.promo-toast-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.promo-toast-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}
.promo-toast-sub {
    font-size: 10px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.promo-toast-code {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--color-accent-gold);
    background: rgba(212,143,56,0.1);
    border: 1px dashed rgba(212,143,56,0.4);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    user-select: none;
}
.promo-toast-code:hover {
    background: rgba(212,143,56,0.2);
    border-color: rgba(212,143,56,0.7);
    transform: scale(1.03);
}
.promo-toast-code.copied {
    background: rgba(74,222,128,0.12);
    border-color: rgba(74,222,128,0.5);
    color: #4ade80;
}
.promo-toast-hint {
    font-size: 10px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 6px;
}

/* ── Floating booklet download FAB (bottom-right) ──────────────────────── */
.booklet-fab {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 1500;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(38,70%,30%), hsl(38,80%,20%));
    border: 1px solid rgba(212,143,56,0.4);
    color: var(--color-accent-gold);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5), 0 0 10px rgba(212,143,56,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
}
.booklet-fab:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.6), 0 0 18px rgba(212,143,56,0.3);
    background: linear-gradient(135deg, hsl(38,75%,35%), hsl(38,80%,25%));
}

/* Brand Logo SVG Animation */
.brand-logo-svg {
    transition: var(--transition-bounce);
}

.brand-logo:hover .brand-logo-svg {
    transform: rotate(15deg) scale(1.1);
    filter: drop-shadow(0 0 10px var(--color-accent-gold-glow)) !important;
}

/* Discount pricing styles */
.price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.card-price-original {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: line-through;
    opacity: 0.8;
}

.card-price-sale {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-accent-gold);
}

.modal-price-original {
    font-size: 16px;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-right: 8px;
}

.modal-price-sale {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-accent-gold);
}

.discount-badge {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: var(--color-text-white);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
}

/* Booklet Showcase Styles */
.booklet-showcase-section {
    padding: 80px 40px;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    border-bottom: 1px solid var(--color-border-glass);
}

.booklet-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--color-text-white) 40%, var(--color-accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.booklet-header p {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.booklet-iframe-container {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 0 auto;
    border: 1px solid var(--color-border-glass);
    border-radius: 24px;
    overflow: hidden;
    background: var(--color-bg-darker);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(212, 143, 56, 0.05);
    aspect-ratio: 1.5;
    position: relative;
    transition: var(--transition-smooth);
}

.booklet-iframe-container:hover {
    border-color: rgba(212, 143, 56, 0.25);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.9), 0 0 70px rgba(212, 143, 56, 0.1);
}

.booklet-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

@media (max-width: 768px) {
    .booklet-iframe-container {
        aspect-ratio: auto;
        height: 480px;
    }
}

/* ==========================================================================
   BOOK STAGE — top offset to clear promo banner (40px) + header (80px)
   ========================================================================== */
.book-stage {
    margin-top: calc(40px + 80px);
}

/* Search results overlay uses the same .product-card as the old grid */
#search-results-overlay .product-grid,
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

/* ==========================================================================
   MYTHLANDS & PANTHEON CODEX PORTAL STYLES
   ========================================================================== */

/* Main content scrolling container for Game Hub & Codex */
.portal-scroll-container {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 30px 40px 60px;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 143, 56, 0.25) transparent;
}
.portal-scroll-container::-webkit-scrollbar { width: 6px; }
.portal-scroll-container::-webkit-scrollbar-track { background: transparent; }
.portal-scroll-container::-webkit-scrollbar-thumb { background: rgba(212, 143, 56, 0.25); border-radius: 3px; }

/* Top Portal Navigation Tabs */
.portal-top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.portal-tabs-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.portal-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}
.portal-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.portal-tab-btn.active {
    background: var(--color-accent-gold);
    color: #0b0d13;
    box-shadow: 0 4px 14px var(--color-accent-gold-glow);
}

/* Mythlands Game Hero Banner */
.game-hero-banner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
    background: linear-gradient(145deg, hsl(220, 25%, 7%), hsl(220, 22%, 10%));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.game-hero-banner::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
    pointer-events: none;
}
.game-hero-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.game-engine-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(71, 140, 191, 0.18);
    border: 1px solid rgba(71, 140, 191, 0.4);
    color: #60a5fa;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.game-genre-badge {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: var(--color-accent-gold);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.game-hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #fff 40%, var(--color-accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.game-hero-subtitle {
    font-size: 17px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 14px;
}
.game-hero-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}
.game-hero-ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
/* Godot 4 In-Engine Window Mockup */
.godot-window-mockup {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0f1219;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.18);
    display: flex;
    flex-direction: column;
}
.godot-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #181d28;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.godot-window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}
.godot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.godot-dot.red { background: #ef4444; }
.godot-dot.yellow { background: #f59e0b; }
.godot-dot.green { background: #10b981; }
.godot-window-title {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
}
.godot-window-fps {
    font-size: 10px;
    font-weight: 800;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.godot-window-viewport {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    line-height: 0;
}
.godot-window-viewport img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}
.godot-window-viewport:hover img {
    transform: scale(1.015);
}
.godot-hud-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 14px;
    background: #11151f;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 8px;
}
.godot-hud-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.godot-hud-pill i {
    color: var(--color-accent-gold);
}

/* Pillars Section */
.game-pillars-section {
    margin-bottom: 56px;
}
.section-headline-area {
    margin-bottom: 28px;
}
.section-eyebrow {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-gold);
    margin-bottom: 6px;
}
.section-heading {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.section-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-top: 6px;
}

.game-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.pillar-card {
    background: hsla(220, 22%, 12%, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.pillar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 143, 56, 0.35);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 15px rgba(212, 143, 56, 0.1);
}
.pillar-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 143, 56, 0.1);
    border: 1px solid rgba(212, 143, 56, 0.25);
    color: var(--color-accent-gold);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.pillar-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.pillar-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    flex: 1;
}
.pillar-example {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
    color: var(--color-accent-gold);
    font-weight: 600;
    font-family: monospace;
}

/* ==========================================================================
   PANTHEON CARD CODEX STYLES
   ========================================================================== */
.codex-section {
    margin-bottom: 60px;
}
.codex-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 24px;
}
.codex-card-item {
    border-radius: 18px;
    background: hsl(220, 24%, 8%);
    border: 1px solid var(--glow-border, rgba(255,255,255,0.1));
    box-shadow: 0 15px 35px rgba(0,0,0,0.7), 0 0 25px var(--glow-color, transparent);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}
.codex-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.85), 0 0 35px var(--glow-color, transparent);
}
.codex-card-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #000;
    overflow: hidden;
}
.codex-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.codex-card-item:hover .codex-card-img {
    transform: scale(1.05);
}
.codex-pantheon-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(11, 13, 19, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.codex-view-toggle-bar {
    position: absolute;
    bottom: 10px; left: 10px; right: 10px;
    display: flex;
    background: rgba(11, 13, 19, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.codex-toggle-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.codex-toggle-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Card Content Blocks */
.codex-content-game,
.codex-content-metal {
    display: none;
    padding: 20px;
    flex-direction: column;
    flex: 1;
}
.codex-content-game.active,
.codex-content-metal.active {
    display: flex;
}
.codex-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.codex-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}
.codex-card-element {
    font-size: 11px;
    font-weight: 800;
}
.codex-card-role {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}
.codex-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}
.codex-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px 10px;
}
.stat-label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
}
.stat-value {
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
}
.codex-card-lore {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
}
.codex-card-combo {
    background: rgba(212, 143, 56, 0.08);
    border: 1px solid rgba(212, 143, 56, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    color: var(--color-accent-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* Metal Spec styling */
.codex-card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-accent-gold);
}
.codex-spec-item {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.codex-spec-item i {
    width: 16px;
    color: var(--color-accent-gold);
    text-align: center;
}

@media (max-width: 960px) {
    .game-hero-banner {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .portal-scroll-container {
        padding: 20px 16px 60px;
    }
    .codex-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WIKI & LORE VIEW STYLING
   ========================================================================== */
.wiki-hero-header {
    background: linear-gradient(145deg, hsl(220, 25%, 7%), hsl(220, 20%, 10%));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 36px;
}
.wiki-tab-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.wiki-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}
.wiki-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.wiki-tab-btn.active {
    background: var(--color-accent-gold);
    color: #0b0d13;
    border-color: var(--color-accent-gold);
    box-shadow: 0 4px 14px var(--color-accent-gold-glow);
}

.wiki-tab-content {
    display: none;
    animation: fadeIn 0.35s ease forwards;
}
.wiki-tab-content.active {
    display: block;
}

/* Lore Chapters */
.lore-chapters-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.lore-chapter-card {
    background: hsla(220, 22%, 11%, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 32px 36px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.lore-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.lore-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent-gold);
    background: rgba(212, 143, 56, 0.12);
    border: 1px solid rgba(212, 143, 56, 0.25);
    padding: 3px 10px;
    border-radius: 12px;
}
.lore-icon-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--color-accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.lore-chapter-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.lore-chapter-sub {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 18px;
    font-weight: 600;
}
.lore-chapter-body {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.8;
}
.lore-lead {
    font-size: 15px;
    font-weight: 500;
    color: #f1f5f9;
    margin-bottom: 12px;
}

/* Realms Grid inside Lore */
.wiki-realm-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.wiki-realm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--realm-glow, var(--color-accent-gold));
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.wiki-realm-card h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
}
.wiki-realm-card p {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}
.realm-trait {
    display: block;
    font-size: 11px;
    color: var(--color-accent-gold);
    font-weight: 600;
}

/* Timeline */
.wiki-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
}
.timeline-step {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 20px;
    align-items: center;
}
.step-day {
    font-size: 16px;
    font-weight: 800;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
}
.step-info h5 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.step-info p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.55;
}

/* Gameplay Guides Grid */
.gameplay-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.gameplay-guide-card {
    background: hsla(220, 22%, 11%, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}
.guide-card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}
.guide-card-title {
    font-size: 17px;
    color: #fff;
    margin-bottom: 8px;
}
.guide-card-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}
.guide-bullets {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.55;
}

/* Recipes Grid */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}
.recipe-wiki-card {
    background: hsla(220, 24%, 9%, 0.85);
    border: 1px solid rgba(212, 143, 56, 0.2);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.recipe-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.recipe-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}
.recipe-type-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    background: rgba(212, 143, 56, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(212, 143, 56, 0.2);
}
.recipe-flow {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 12px;
}
.recipe-inputs {
    color: #94a3b8;
    font-weight: 600;
}
.recipe-arrow {
    color: var(--color-accent-gold);
    font-size: 11px;
}
.recipe-output {
    color: #22c55e;
    font-weight: 700;
}
.recipe-effect {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.55;
}


