/* ==========================================================================
   SielankaMC.pl — Minecraft UI Gaming Portal Design System
   Anti-AI-Slop Craft: 100% Authentic Voxel Game Aesthetics & Responsiveness
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Press+Start+2P&display=swap');

:root {
    /* Minecraft Colors & Surfaces */
    --mc-bg-dirt: #3b2d21;
    --mc-bg-dirt-dark: #2a1f16;
    --mc-bg-stone: #6B6B6B;
    --mc-bg-stone-dark: #3a3a3a;
    --mc-bg-panel: #202020;
    --mc-bg-panel-dark: #161616;
    --mc-bg-slot: #8B8B8B;
    
    /* 3D Borders (Bevel Craft) */
    --mc-border-light: #ffffff;
    --mc-border-dark: #373737;
    --mc-border-panel: #555555;
    --mc-border-panel-dark: #1a1a1a;
    
    /* Minecraft Ores & Accents */
    --mc-gold: #FFAA00;
    --mc-gold-light: #FFD700;
    --mc-gold-dark: #B8860B;
    --mc-redstone: #FF5555;
    --mc-emerald: #55FF55;
    --mc-emerald-dark: #2e7d32;
    --mc-diamond: #55FFFF;
    --mc-diamond-dark: #0097a7;
    --mc-amethyst: #FF55FF;
    --mc-lapis: #3B82F6;
    
    /* Text Hierarchy */
    --text-main: #EAEAEA;
    --text-muted: #A8A8A8;
    --text-dark: #111111;
    
    /* Fonts */
    --font-pixel: 'Press Start 2P', monospace;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--mc-bg-dirt);
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(0,0,0,0.4) 0%, transparent 80%),
        repeating-linear-gradient(45deg, rgba(0,0,0,0.15) 0, rgba(0,0,0,0.15) 2px, transparent 2px, transparent 10px),
        repeating-linear-gradient(-45deg, rgba(0,0,0,0.1) 0, rgba(0,0,0,0.1) 2px, transparent 2px, transparent 10px);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 75px; /* space for mobile bottom bar */
}

@media (min-width: 900px) {
    body {
        padding-bottom: 0;
    }
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Typography */
h1, h2, h3, h4, .brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

code {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.85em;
    color: var(--mc-emerald);
}

/* ==========================================================================
   MINECRAFT 3D BUTTONS & PANELS (Pure Tactile Feel)
   ========================================================================== */

.mc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.4rem;
    border: 3px solid #000;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    user-select: none;
    position: relative;
    transition: filter 0.15s, transform 0.05s;
    box-shadow: 0 4px 0 #000;
}

.mc-btn:hover {
    filter: brightness(1.15);
}

.mc-btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #000;
}

/* Button Variants */
.mc-btn-primary {
    background: #2563EB;
    color: #fff;
    border-top-color: #60A5FA;
    border-left-color: #60A5FA;
    border-bottom-color: #1E3A8A;
    border-right-color: #1E3A8A;
}
.mc-btn-primary:active {
    border-top-color: #1E3A8A;
    border-left-color: #1E3A8A;
    border-bottom-color: #60A5FA;
    border-right-color: #60A5FA;
}

.mc-btn-stone {
    background: var(--mc-bg-stone);
    color: #fff;
    border-top-color: #A3A3A3;
    border-left-color: #A3A3A3;
    border-bottom-color: #373737;
    border-right-color: #373737;
}
.mc-btn-stone:active {
    border-top-color: #373737;
    border-left-color: #373737;
    border-bottom-color: #A3A3A3;
    border-right-color: #A3A3A3;
}

.mc-btn-gold {
    background: var(--mc-gold);
    color: #1a1000;
    border-top-color: #FFD700;
    border-left-color: #FFD700;
    border-bottom-color: #B8860B;
    border-right-color: #B8860B;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.mc-btn-gold:active {
    border-top-color: #B8860B;
    border-left-color: #B8860B;
    border-bottom-color: #FFD700;
    border-right-color: #FFD700;
}

.mc-btn-emerald {
    background: var(--mc-emerald-dark);
    color: #fff;
    border-top-color: #4ade80;
    border-left-color: #4ade80;
    border-bottom-color: #14532d;
    border-right-color: #14532d;
}

.mc-btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

/* Panels */
.mc-panel {
    background: var(--mc-bg-panel);
    border: 4px solid var(--mc-border-panel);
    box-shadow: 
        inset 0 0 12px rgba(0,0,0,0.6),
        0 8px 16px rgba(0,0,0,0.4);
    padding: 1.5rem;
    position: relative;
}

.mc-panel-slot {
    width: 48px;
    height: 48px;
    background: var(--mc-bg-slot);
    border: 3px solid;
    border-top-color: #373737;
    border-left-color: #373737;
    border-bottom-color: #ffffff;
    border-right-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

/* Status Badges */
.status-badge {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
}
.status-badge.highlight {
    border-color: var(--mc-emerald);
    color: var(--mc-emerald);
}
.status-badge.gold {
    border-color: var(--mc-gold);
    color: var(--mc-gold);
}
.status-badge.version {
    color: #93c5fd;
    border-color: rgba(147, 197, 253, 0.3);
}

.live-dot {
    width: 10px;
    height: 10px;
    background: var(--mc-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--mc-emerald);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    background: rgba(28, 28, 28, 0.96);
    border-bottom: 4px solid var(--mc-border-panel);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    cursor: pointer;
}

.brand-avatar {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #111;
    border: 2px solid var(--mc-gold);
    box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: #fff;
}

.brand-tag {
    font-size: 0.65rem;
    color: var(--mc-gold);
    font-family: var(--font-pixel);
    margin-top: 2px;
}

/* Desktop Navigation Menu */
.nav-menu {
    display: none;
}

@media (min-width: 900px) {
    .nav-menu {
        display: flex;
        gap: 0.4rem;
        height: 100%;
        align-items: center;
    }
    .nav-link {
        background: transparent;
        border: none;
        color: var(--text-muted);
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.95rem;
        padding: 0 1rem;
        cursor: pointer;
        height: 72px;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        border-bottom: 4px solid transparent;
        transition: all 0.2s;
    }
    .nav-link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.04);
    }
    .nav-link.active {
        color: var(--mc-gold);
        border-bottom-color: var(--mc-gold);
        background: rgba(255, 170, 0, 0.08);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ip-quick-pill {
    display: none;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    border: 2px solid var(--mc-border-panel);
    cursor: pointer;
    transition: all 0.2s;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
}
.ip-quick-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--mc-gold);
}
.ip-quick-pill:active {
    transform: scale(0.97);
}

@media (min-width: 650px) {
    .ip-quick-pill {
        display: flex;
    }
}

.cart-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--mc-border-panel);
    font-size: 1.3rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s, background 0.2s;
}
.cart-btn:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.08);
}
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--mc-redstone);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    border: 2px solid var(--mc-bg-panel);
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ==========================================================================
   TABS LOGIC (Single Page Application)
   ========================================================================== */

.tab-pane {
    display: none;
    animation: fadeIn 0.25s ease-out;
    padding-bottom: 2rem;
}
.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   TAB 1: HERO & BENTO GRID
   ========================================================================== */

.hero-section {
    text-align: center;
    padding: 3.5rem 1rem 2.5rem 1rem;
    background: radial-gradient(circle at 50% 20%, rgba(107,107,107,0.3) 0%, rgba(59,45,33,0) 75%);
}

.master-logo-frame {
    margin-bottom: 1.75rem;
    display: inline-block;
    padding: 12px;
    background: rgba(0, 0, 0, 0.45);
    border: 3px solid var(--mc-border-panel);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.7), 0 8px 24px rgba(0,0,0,0.5);
    animation: float 4s ease-in-out infinite;
}

.master-logo-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
}

@media (min-width: 600px) {
    .master-logo-img {
        width: 170px;
        height: 170px;
    }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.live-status-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.big-ip-btn {
    font-size: 1.05rem;
    padding: 1.15rem 2.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-pixel);
    text-shadow: 2px 2px 0 #000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.6), 0 4px 0 #000;
    line-height: 1.4;
    word-break: break-word;
}
@media (min-width: 600px) {
    .big-ip-btn {
        font-size: 1.2rem;
        padding: 1.25rem 2.8rem;
    }
}

.sub-cta-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.section-title-wrap {
    margin: 3.5rem 0 2rem 0;
    text-align: center;
}

.section-tag {
    font-family: var(--font-pixel);
    font-size: 0.7rem;
    color: var(--mc-gold);
    display: block;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 0 #000;
}
@media (min-width: 768px) {
    .section-heading {
        font-size: 2.3rem;
    }
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 1.5rem;
    }
    .bento-col-4 { grid-column: span 4; }
    .bento-col-6 { grid-column: span 6; }
    .bento-col-8 { grid-column: span 8; }
    .bento-col-12 { grid-column: span 12; }
}

.bento-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    transition: transform 0.2s, border-color 0.2s;
}

.bento-card:hover {
    transform: translateY(-3px);
    border-color: #888888;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.card-tag {
    font-family: var(--font-pixel);
    font-size: 0.65rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--mc-emerald);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    color: #fff;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Classes System */
.classes-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.2rem 0;
}

.class-tab {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--mc-border-panel);
    color: var(--text-muted);
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.15s;
}

.class-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.class-tab.active {
    background: rgba(85, 255, 255, 0.12);
    border-color: var(--mc-diamond);
    color: #fff;
    box-shadow: 0 0 10px rgba(85, 255, 255, 0.3);
}

.class-display-box {
    background: rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--mc-diamond);
    padding: 1.2rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

/* Progression Bars */
.prog-container {
    width: 100%;
}

.prog-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.45rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.prog-track {
    width: 100%;
    height: 14px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--mc-border-dark);
    overflow: hidden;
    position: relative;
}

.prog-fill {
    height: 100%;
    background: var(--mc-diamond);
    transition: width 0.8s ease-in-out;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ==========================================================================
   TAB 2: MAPA 3D (BlueMap Real Embed)
   ========================================================================== */

.map-controls-bar {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--mc-border-dark);
}

.map-wrapper {
    height: 70vh;
    min-height: 480px;
    width: 100%;
    background: #151515;
    position: relative;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ==========================================================================
   TAB 4: SKLEPIK
   ========================================================================== */

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.store-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.store-card.featured {
    border-color: var(--mc-gold);
    box-shadow: inset 0 0 15px rgba(255, 170, 0, 0.15), 0 0 25px rgba(255, 170, 0, 0.25);
}

.rank-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.15);
}

.rank-name {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.rank-price {
    font-family: var(--font-pixel);
    font-size: 1.4rem;
    margin: 0.9rem 0;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
}

.rank-features {
    list-style: none;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.rank-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.anti-p2w-banner {
    margin-top: 3rem;
    background: rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--mc-emerald);
    padding: 1.5rem;
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: var(--mc-bg-panel);
    border-left: 4px solid var(--mc-border-panel);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.85);
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

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

.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
    backdrop-filter: blur(3px);
}
.cart-backdrop.open {
    display: block;
}

.cart-header {
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 3px solid var(--mc-border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--mc-border-dark);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cart-footer {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border-top: 3px solid var(--mc-border-dark);
}

.cart-input {
    width: 100%;
    padding: 0.85rem;
    margin-bottom: 1rem;
    background: #111;
    border: 2px solid var(--mc-border-panel);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}
.cart-input:focus {
    outline: none;
    border-color: var(--mc-gold);
}

.remove-btn {
    background: var(--mc-redstone);
    border: 2px solid #000;
    color: white;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 0 #000;
}
.remove-btn:hover {
    filter: brightness(1.2);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.98);
    border-top: 4px solid var(--mc-border-panel);
    z-index: 90;
    justify-content: space-around;
    padding: 0.5rem 0;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

@media (max-width: 899px) {
    .mobile-bottom-bar {
        display: flex;
    }
}

.mobile-tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    flex: 1;
    padding: 0.35rem 0;
}

.mobile-tab-btn .icon {
    font-size: 1.35rem;
    filter: grayscale(0.9);
    transition: transform 0.2s, filter 0.2s;
}

.mobile-tab-btn.active {
    color: var(--mc-gold);
}

.mobile-tab-btn.active .icon {
    filter: grayscale(0) drop-shadow(0 0 6px rgba(255,170,0,0.6));
    transform: scale(1.15);
}

/* ==========================================================================
   TOAST NOTIFICATION & MODAL DIALOG
   ========================================================================== */

.site-toast {
    position: fixed;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%) translateY(160px);
    background: #1c1c1c;
    border: 3px solid var(--mc-emerald);
    padding: 1rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1200;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    max-width: 90vw;
}

.site-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    font-size: 1.8rem;
}

.toast-content h5 {
    color: var(--mc-gold);
    font-family: var(--font-pixel);
    font-size: 0.65rem;
    margin-bottom: 0.3rem;
}

.toast-content p {
    color: #fff;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

/* Minecraft Order / Generic Modal */
.mc-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}
.mc-modal-backdrop.open {
    display: flex;
}
.mc-modal-content {
    max-width: 500px;
    width: 100%;
    background: var(--mc-bg-panel);
    border: 4px solid var(--mc-border-panel);
    box-shadow: 0 15px 40px rgba(0,0,0,0.9);
    padding: 2rem;
    text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: #141414;
    border-top: 4px solid var(--mc-border-dark);
    padding: 3.5rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-bottom {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    border-top: 1px solid #282828;
    padding-top: 1.75rem;
}
