/* NETHERITE SMP - MASTER STYLESHEET V7.0 (2026)
    Author: Jose / Netherite SMP Dev Team
*/

:root {
    --gold: #ffcc00;
    --gold-glow: rgba(255, 204, 0, 0.4);
    --bg-main: #0a0a0b;
    --bg-alt: #161618;
    --card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 204, 0, 0.15);
    --text: #ffffff;
    --text-dim: #888888;
    --danger: #ef4444;
}

/* --- RESET & GLOBAL --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    outline: none; 
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at 50% 0%, var(--bg-alt) 0%, var(--bg-main) 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed; 
    top: 0; 
    width: 100%; 
    padding: 25px 8%;
    z-index: 1000; 
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(20px); 
    border-bottom: 1px solid var(--border);
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.brand-name { 
    font-family: 'Montserrat'; 
    font-weight: 900; 
    font-size: 1.5rem; 
    letter-spacing: -1px; 
}

.brand-name span { 
    color: var(--gold); 
    text-shadow: 0 0 15px var(--gold-glow); 
}

.nav-links { 
    display: flex; 
    align-items: center; 
}

.nav-links a { 
    color: var(--text-dim); 
    text-decoration: none; 
    font-weight: 700; 
    margin-left: 35px; 
    font-size: 0.9rem; 
    transition: 0.3s; 
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--gold); 
    text-shadow: 0 0 10px var(--gold-glow); 
}

/* --- MOBILE HAMBURGER --- */
.menu-toggle { 
    display: none; 
    cursor: pointer; 
    color: var(--gold); 
    z-index: 1100; 
}

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 100%; 
        height: 100vh;
        background: rgba(13, 13, 15, 0.98); 
        flex-direction: column; 
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(15px);
    }
    .nav-links.active { right: 0; }
    .nav-links a { margin: 25px 0; font-size: 1.8rem; color: #fff; }
}

/* --- HERO SECTIONS --- */
.hero { 
    padding: 180px 10% 80px; 
    text-align: center; 
}

h1 { 
    font-family: 'Montserrat'; 
    font-size: clamp(3rem, 10vw, 6.5rem); 
    text-transform: uppercase; 
    line-height: 0.9; 
}

h1 span { 
    color: var(--gold); 
    text-shadow: 0 0 30px var(--gold-glow); 
}

.welcome-tag { 
    color: var(--gold); 
    letter-spacing: 5px; 
    font-weight: 800; 
    font-size: 0.8rem; 
    margin-bottom: 20px; 
    display: block; 
}

/* --- SHOP LAYOUT --- */
.main-shop-container {
    display: flex;
    gap: 40px;
    padding: 0 8%;
    margin-bottom: 100px;
    align-items: flex-start;
}

.shop-sidebar {
    flex: 1;
    position: sticky;
    top: 120px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.shop-content {
    flex: 3;
}

/* --- SEARCH BAR (FIXED POSITIONING) --- */
.search-container {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.search-container i {
    position: absolute;
    left: 18px;
    color: var(--gold);
    pointer-events: none;
    width: 18px;
    height: 18px;
}

#shop-search {
    width: 100%;
    background: #000;
    border: 1px solid var(--border);
    color: #fff;
    padding: 16px 16px 16px 50px; /* Crucial: Left padding to clear the icon */
    border-radius: 14px;
    font-family: inherit;
    font-weight: 600;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#shop-search:focus {
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.15);
}

/* --- CALCULATOR --- */
.calculator-box h4 { font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 5px; }
.calculator-box input {
    width: 100%;
    background: #000;
    border: 1px solid #222;
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    margin: 10px 0;
}

.conv-results {
    background: rgba(0,0,0,0.5);
    padding: 15px;
    border-radius: 12px;
    border-left: 3px solid var(--gold);
}

.res-item { display: flex; justify-content: space-between; font-size: 0.85rem; margin: 4px 0; }

/* --- SHOP GRID & CARDS --- */
.shop-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 25px; 
}

.shop-card {
    background: var(--card); 
    border: 1px solid var(--border); 
    border-radius: 25px;
    padding: 40px 30px; 
    text-align: center; 
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; 
    overflow: hidden; 
    backdrop-filter: blur(10px);
}

.shop-card:hover { 
    transform: translateY(-12px); 
    border-color: var(--gold); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
}

.item-img { 
    width: 110px; 
    height: 110px; 
    object-fit: contain; 
    margin-bottom: 25px; 
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8)); 
}

.new-price { color: #fff; font-weight: 800; font-size: 2rem; }

.buy-btn {
    background: var(--gold); 
    color: #000; 
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 16px; 
    border-radius: 12px; 
    font-weight: 900; 
    font-size: 0.85rem; 
    transition: 0.3s; 
    margin-top: 15px;
    letter-spacing: 1px;
}

.buy-btn:hover { background: #fff; transform: scale(1.03); }

/* --- VAULT MODAL SYSTEM --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(15px);
}

.modal-content {
    background: #0f0f10;
    border: 1px solid var(--gold);
    padding: 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 60px rgba(255, 204, 0, 0.1);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-price { font-size: 3rem; font-weight: 900; color: var(--gold); margin: 10px 0; }

.feature-list {
    text-align: left;
    background: rgba(255,255,255,0.02);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    list-style: none;
}

.feature-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-box {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.75rem;
    color: var(--danger);
    font-weight: 600;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.pay-opt {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.7rem;
    transition: 0.2s;
}

.pay-opt:hover { border-color: var(--gold); background: rgba(255,204,0,0.05); }

/* --- STAGE SECTIONS (Home/Farlands Pages) --- */
.stage-section { 
    display: flex; 
    align-items: center; 
    gap: 80px; 
    padding: 100px 10%; 
    max-width: 1400px; 
    margin: 0 auto; 
}

.stage-section.reverse { flex-direction: row-reverse; }
.stage-image { flex: 1; }
.stage-image img { width: 100%; border-radius: 25px; border: 1px solid var(--border); }
.stage-content { flex: 1; }
.stage-cord { color: var(--gold); font-weight: 800; letter-spacing: 3px; }

/* --- RESPONSIVENESS --- */
@media (max-width: 1100px) {
    .main-shop-container { flex-direction: column; padding: 0 5%; }
    .shop-sidebar { width: 100%; position: static; margin-bottom: 30px; }
    .shop-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
    .shop-grid { grid-template-columns: 1fr; }
    .stage-section { flex-direction: column; text-align: center; gap: 40px; }
}