/**
 * Portals 98 — Product Page Stylesheet
 * Build #4471 | Compiled 2:47 AM
 *
 * Maintained by Dev Sharma
 * "Helena said make it look like Windows. So I made it look like Windows." —DS
 *
 * This stylesheet is NOT shared with microsoulcorp.com.
 * Portals 98 is a PRODUCT page. It looks like a product page.
 * MicroSoul Corp is a CORPORATE site. Different vibes.
 * I don't make the rules. (Helena does.)
 */

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: Tahoma, Verdana, 'MS Sans Serif', Arial, sans-serif;
    font-size: 11px;
    color: #000;
    background: #c0c0c0;
    line-height: 1.4;
}

/* ========================================
   Windows 98 Primitives
   ======================================== */
.win-raised {
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    background: #c0c0c0;
}

.win-sunken {
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    background: #fff;
}

.win-titlebar {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    padding: 3px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.win-titlebar-inactive {
    background: linear-gradient(90deg, #808080, #b0b0b0);
}

.win-btn {
    display: inline-block;
    padding: 4px 16px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 11px;
    color: #000;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    min-width: 75px;
}

.win-btn:hover {
    background: #d4d0c8;
}

.win-btn:active {
    border-color: #808080 #fff #fff #808080;
    padding: 5px 15px 3px 17px;
}

.win-btn-primary {
    border: 3px solid;
    border-color: #000 #000 #000 #000;
    padding: 3px 15px;
}

.win-btn-primary::after {
    content: none;
}

.win-window {
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    background: #c0c0c0;
    margin-bottom: 16px;
}

.win-window-body {
    padding: 12px;
}

/* ========================================
   Page Layout
   ======================================== */
.page-wrapper {
    max-width: 780px;
    margin: 8px auto;
    padding: 4px;
}

/* ========================================
   Navigation Bar — Start Menu Style
   ======================================== */
.navbar {
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    background: #c0c0c0;
    padding: 2px;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
}

.start-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #000;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.start-btn:active {
    border-color: #808080 #fff #fff #808080;
}

.start-btn .start-icon {
    font-size: 14px;
    line-height: 1;
}

.nav-divider {
    width: 2px;
    height: 22px;
    border-left: 1px solid #808080;
    border-right: 1px solid #fff;
    margin: 0 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1px;
    flex-wrap: wrap;
}

.nav-links a {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    color: #000;
    text-decoration: none;
    border: 1px solid transparent;
}

.nav-links a:hover {
    border: 1px solid;
    border-color: #fff #808080 #808080 #fff;
}

.nav-links a.active {
    border: 1px solid;
    border-color: #808080 #fff #fff #808080;
    background: #d4d0c8;
}

.nav-status {
    margin-left: auto;
    font-size: 10px;
    color: #444;
    padding: 0 6px;
    border-left: 1px solid #808080;
    white-space: nowrap;
}

/* ========================================
   Header Banner
   ======================================== */
.site-header {
    background: #000080;
    color: #fff;
    padding: 12px 16px;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-header .logo-area {
    flex-shrink: 0;
}

.site-header .logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.1;
}

.site-header .logo-text span {
    color: #ffcc00;
}

.site-header .logo-sub {
    font-size: 10px;
    color: #b0b0ff;
    margin-top: 2px;
}

.site-header .header-tagline {
    font-size: 13px;
    color: #ddd;
    flex: 1;
}

.site-header .header-tagline strong {
    color: #fff;
}

.ms-badge {
    font-size: 9px;
    color: #b0b0ff;
    text-decoration: none;
    display: block;
    margin-top: 4px;
}

.ms-badge:hover {
    color: #ffcc00;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-window .win-titlebar {
    font-size: 12px;
}

.hero-content {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #808080;
}

.hero-content h1 {
    font-size: 20px;
    color: #000080;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hero-content .hero-sub {
    font-size: 13px;
    color: #333;
    margin-bottom: 16px;
}

.hero-banner {
    background: #ffcc00;
    color: #000;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid;
    border-color: #fff #808080 #808080 #fff;
    display: inline-block;
    margin-bottom: 16px;
}

.hero-banner .new-badge {
    background: #ff0000;
    color: #fff;
    font-size: 9px;
    padding: 1px 4px;
    margin-right: 4px;
    font-weight: bold;
    vertical-align: middle;
}

.hero-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    padding: 8px 28px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    background: #c0c0c0;
    border: 3px solid;
    border-color: #fff #808080 #808080 #fff;
    cursor: pointer;
    text-decoration: none;
}

.download-btn:hover {
    background: #d4d0c8;
}

.download-btn:active {
    border-color: #808080 #fff #fff #808080;
}

/* ========================================
   Feature Grid
   ======================================== */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 8px 0;
}

.feature-card {
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    background: #c0c0c0;
}

.feature-card .win-titlebar {
    font-size: 10px;
    padding: 2px 6px;
}

.feature-card-body {
    padding: 10px;
    background: #fff;
    border-top: 1px solid #808080;
}

.feature-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
    line-height: 1;
}

.feature-card-body h3 {
    font-size: 12px;
    color: #000080;
    margin-bottom: 4px;
}

.feature-card-body p {
    font-size: 11px;
    color: #333;
    line-height: 1.4;
}

/* ========================================
   Content Sections
   ======================================== */
.content-section {
    margin-bottom: 12px;
}

.content-section .win-window-body {
    background: #fff;
    border-top: 1px solid #808080;
}

.content-section h2 {
    font-size: 14px;
    color: #000080;
    margin-bottom: 8px;
}

.content-section h3 {
    font-size: 12px;
    color: #000080;
    margin-bottom: 4px;
    margin-top: 10px;
}

.content-section p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.content-section ul {
    margin: 6px 0 8px 20px;
}

.content-section li {
    margin-bottom: 3px;
    line-height: 1.5;
}

/* ========================================
   Info Box (Yellow Tip)
   ======================================== */
.info-box {
    background: #ffffcc;
    border: 1px solid #cccc00;
    padding: 8px 10px;
    margin: 8px 0;
    font-size: 11px;
}

.info-box strong {
    color: #666600;
}

.info-box .tip-icon {
    font-size: 14px;
    margin-right: 4px;
    vertical-align: middle;
}

/* ========================================
   Warning Box
   ======================================== */
.warn-box {
    background: #fff0f0;
    border: 1px solid #cc0000;
    padding: 8px 10px;
    margin: 8px 0;
    font-size: 11px;
    color: #660000;
}

/* ========================================
   Requirements Table
   ======================================== */
.req-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin: 8px 0;
}

.req-table th {
    background: #000080;
    color: #fff;
    padding: 4px 8px;
    text-align: left;
    font-weight: bold;
    font-size: 11px;
}

.req-table td {
    padding: 4px 8px;
    border-bottom: 1px solid #c0c0c0;
    vertical-align: top;
}

.req-table tr:nth-child(even) {
    background: #f0f0f0;
}

.req-table tr:nth-child(odd) {
    background: #fff;
}

/* ========================================
   Changelog
   ======================================== */
.changelog-entry {
    margin-bottom: 16px;
    border-bottom: 1px solid #c0c0c0;
    padding-bottom: 12px;
}

.changelog-entry:last-child {
    border-bottom: none;
}

.changelog-version {
    font-size: 13px;
    font-weight: bold;
    color: #000080;
    margin-bottom: 2px;
}

.changelog-date {
    font-size: 10px;
    color: #808080;
    margin-bottom: 8px;
}

.changelog-entry ul {
    margin-left: 20px;
}

.changelog-entry li {
    margin-bottom: 4px;
}

.changelog-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: bold;
    padding: 1px 4px;
    margin-right: 4px;
    color: #fff;
    vertical-align: middle;
}

.tag-fixed { background: #008000; }
.tag-added { background: #000080; }
.tag-known { background: #808000; }
.tag-removed { background: #800000; }

/* ========================================
   Download Page
   ======================================== */
.download-hero {
    text-align: center;
    padding: 24px;
    background: #fff;
    border-top: 1px solid #808080;
}

.download-hero h1 {
    font-size: 18px;
    color: #000080;
    margin-bottom: 6px;
}

.download-hero .version-info {
    font-size: 10px;
    color: #808080;
    margin-bottom: 16px;
}

.big-download-btn {
    display: inline-block;
    padding: 12px 40px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    background: #c0c0c0;
    border: 3px solid;
    border-color: #fff #808080 #808080 #fff;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 12px;
}

.big-download-btn:hover {
    background: #d4d0c8;
}

.big-download-btn:active {
    border-color: #808080 #fff #fff #808080;
}

.download-details {
    font-size: 10px;
    color: #808080;
    margin-top: 8px;
}

.download-details td {
    padding: 2px 12px 2px 0;
    text-align: left;
}

/* ========================================
   FAQ / Support
   ======================================== */
.faq-item {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-weight: bold;
    font-size: 11px;
    color: #000080;
    margin-bottom: 4px;
}

.faq-a {
    font-size: 11px;
    color: #333;
    padding-left: 12px;
}

/* ========================================
   Links
   ======================================== */
a {
    color: #0000ff;
}

a:visited {
    color: #800080;
}

a:hover {
    color: #ff0000;
}

a:active {
    color: #ff0000;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    background: #c0c0c0;
    padding: 8px 12px;
    margin-top: 8px;
    text-align: center;
    font-size: 10px;
    color: #444;
}

.site-footer a {
    color: #000080;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-bottom: 4px;
}

.footer-links a {
    margin: 0 8px;
}

.footer-copy {
    color: #808080;
    font-size: 9px;
    margin-top: 4px;
}

/* ========================================
   Horizontal Rule — Pixel Style
   ======================================== */
.pixel-hr {
    border: none;
    height: 2px;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #fff;
    margin: 10px 0;
}

/* ========================================
   Memo Overlay (Konami Easter Egg)
   ======================================== */
.memo-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 20px;
    justify-content: center;
    align-items: flex-start;
}

.memo-overlay.active {
    display: flex;
}

.memo-paper {
    max-width: 640px;
    width: 100%;
    background: #fffff0;
    padding: 32px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #222;
    position: relative;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid #999;
}

.memo-paper .memo-header {
    border-bottom: 2px solid #000;
    padding-bottom: 12px;
    margin-bottom: 16px;
    font-size: 11px;
    color: #444;
}

.memo-paper .memo-header strong {
    color: #cc0000;
    font-size: 13px;
}

.memo-paper h2 {
    font-size: 14px;
    margin: 16px 0 8px;
}

.memo-paper ol {
    margin-left: 24px;
}

.memo-paper ol li {
    margin-bottom: 8px;
}

.memo-stamp {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #cc0000;
    font-weight: bold;
    font-size: 16px;
    transform: rotate(-12deg);
    border: 3px solid #cc0000;
    padding: 4px 10px;
    opacity: 0.7;
}

.memo-close {
    display: block;
    margin: 16px auto 0;
    padding: 6px 20px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: pointer;
    background: #fffff0;
    border: 1px solid #999;
}

.memo-close:hover {
    background: #f0f0e0;
}

.memo-footer {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid #999;
    font-size: 10px;
    color: #888;
}

/* ========================================
   Mint / Order Section (Win98 style)
   "They told me to make blockchain look like a Compaq order form." —DS
   ======================================== */
.mint-section {
    background: #fff;
    border-top: 1px solid #808080;
    text-align: center;
    padding: 16px 12px;
}

.mint-section h2 {
    font-size: 14px;
    color: #000080;
    margin-bottom: 4px;
}

.mint-section .mint-subtitle {
    font-size: 11px;
    color: #808080;
    margin-bottom: 12px;
}

.mint-network-badge {
    display: inline-block;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 9px;
    font-weight: bold;
    color: #808000;
    border: 1px solid #808000;
    background: #ffffcc;
    padding: 2px 8px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.mint-info-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #c0c0c0;
    font-size: 11px;
}

.mint-info-row .label {
    color: #808080;
    text-transform: uppercase;
    font-size: 10px;
}

.mint-info-row .value {
    color: #000;
    font-weight: bold;
}

.mint-quantity-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    color: #000;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #d4d0c8;
}

.qty-btn:active {
    border-color: #808080 #fff #fff #808080;
}

.mint-quantity-input {
    width: 50px;
    height: 28px;
    background: #fff;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
    color: #000;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 14px;
    text-align: center;
}

.mint-total {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin: 10px 0;
}

.mint-total .amount {
    color: #000080;
    font-weight: bold;
}

.mint-connect-btn,
.mint-btn {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid;
    cursor: pointer;
    margin: 6px 0;
}

.mint-connect-btn {
    background: #c0c0c0;
    border-color: #fff #808080 #808080 #fff;
    color: #000;
}

.mint-connect-btn:hover {
    background: #d4d0c8;
}

.mint-connect-btn:active {
    border-color: #808080 #fff #fff #808080;
}

.mint-connect-btn.connected {
    background: #c0c0c0;
    border-color: #808080 #fff #fff #808080;
    color: #008000;
    cursor: default;
}

.mint-btn {
    background: #c0c0c0;
    border-color: #fff #808080 #808080 #fff;
    color: #808080;
    cursor: not-allowed;
}

.mint-btn.active {
    background: #000080;
    border-color: #0000b0 #000060 #000060 #0000b0;
    color: #fff;
    cursor: pointer;
}

.mint-btn.active:hover {
    background: #0000a0;
}

.mint-btn.active:active {
    border-color: #000060 #0000b0 #0000b0 #000060;
}

.mint-status {
    font-size: 10px;
    color: #808080;
    margin-top: 8px;
    min-height: 14px;
}

.mint-status--success { color: #008000; }
.mint-status--error { color: #cc0000; }
.mint-status--pending { color: #808000; }

.mint-bundle-note {
    font-size: 10px;
    color: #808080;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #c0c0c0;
    line-height: 1.5;
}

.mint-bundle-note strong {
    color: #000080;
}

.mint-bundle-note a {
    color: #0000ff;
}

/* ========================================
   Responsive (sort of — this IS a 90s site)
   ======================================== */
@media (max-width: 600px) {
    .page-wrapper {
        margin: 4px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

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

    .nav-links {
        flex-wrap: wrap;
    }

    .nav-status {
        display: none;
    }
}
