@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@1,400;1,700&display=swap');

/* GLOBAL STYLES */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-user-select: none; -ms-user-select: none; user-select: none; }
body { background-color: #000000 !important; color: #ffffff; font-family: 'Montserrat', sans-serif; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; transition: background-color 0.4s ease, color 0.4s ease; position: relative; }

/* EXACT MASTER HEADER STYLING */
.main-header { border-bottom: 3px solid rgba(220, 179, 96, 0.6); padding: 25px 0; width: 100%; position: relative; z-index: 1000; background-color: #000000; transition: background-color 0.4s ease; }
.header-container { max-width: 1800px; margin: 0 auto; padding: 0 25px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 15px; text-decoration: none; position: relative; z-index: 1001; }
.logo-image { height: 85px; width: auto; object-fit: contain; transition: opacity 0.3s ease;}
.logo-text-group { display: flex; flex-direction: column; line-height: 1.2; transform: translateY(16px); }
.logo-text-top { font-size: 1.1em; font-weight: 600; letter-spacing: 5px; color: #ffffff; text-transform: uppercase; transition: color 0.4s ease;}
.logo-text-bottom { font-size: 1.3em; font-weight: 400; letter-spacing: 3.5px; color: #ffffff; text-transform: uppercase; transition: color 0.4s ease;}
.nav-wrapper { display: flex; align-items: center; gap: 60px; transform: translateY(12px); }
.nav-menu { display: flex; align-items: center; gap: 40px; }
.nav-menu a { color: #ffffff; text-decoration: none; font-size: 0.8em; font-weight: 600; letter-spacing: 2px; transition: all 0.3s ease; text-transform: uppercase; padding-bottom: 5px; border-bottom: 2px solid transparent; pointer-events: auto; }
.nav-menu a:hover, .nav-menu a.active { color: #dcb360; border-bottom: 2px solid #dcb360; }

.nav-icons { display: flex; gap: 25px; color: #dcb360; font-size: 1.2em; align-items: center; position: relative;}

/* Purple God Mode Controls */
.btn-sales-trigger { display: none; background: #9d4edd; color: #fff; border: none; padding: 6px 14px; font-size: 0.6em; font-weight: 800; cursor: pointer; border-radius: 3px; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(157, 78, 221, 0.2); }
.btn-sales-trigger:hover { opacity: 0.8; transform: translateY(-1px); }
.login-icon { width: 22px; height: 22px; stroke: #9d4edd; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; cursor: pointer; transition: stroke 0.3s ease, opacity 0.3s ease; }
.login-icon:hover { stroke: #dcb360; }
.god-mode-badge { display: none; color: #9d4edd; font-size: 0.45em; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 0 10px rgba(157, 78, 221, 0.4); pointer-events: none; position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); white-space: nowrap; }

/* Theme Toggle & Tooltip Styling */
.theme-toggle-wrapper { position: relative; display: flex; align-items: center; justify-content: center; }
.theme-toggle { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: #dcb360; cursor: pointer; }
.theme-toggle svg { width: 100%; height: 100%; transition: fill 0.3s ease, stroke 0.3s ease; }
.theme-tooltip { position: absolute; top: 35px; right: -8px; background-color: #dcb360; color: #000000; font-size: 0.55em; font-weight: 800; padding: 8px 12px; border-radius: 3px; letter-spacing: 1.5px; text-transform: uppercase; box-shadow: 0 4px 15px rgba(0,0,0,0.5); opacity: 0; transform: translateY(-10px); transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none; white-space: nowrap; }
.theme-tooltip::after { content: ''; position: absolute; top: -4px; right: 14px; width: 8px; height: 8px; background-color: #dcb360; transform: rotate(45deg); }
.theme-tooltip.show { opacity: 1; transform: translateY(0); }

.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 35px; height: 24px; cursor: pointer; z-index: 1001; transform: translateY(12px); }
.hamburger span { display: block; height: 3px; width: 100%; background-color: #dcb360; border-radius: 3px; transition: all 0.3s ease-in-out; }
.hamburger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(0, 0, 0, 0.98); display: flex; flex-direction: column; justify-content: flex-start; padding-top: 160px; padding-bottom: 40px; overflow-y: auto; align-items: center; gap: 35px; z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease, background-color 0.4s ease; }
.mobile-menu.active { opacity: 1; pointer-events: auto; }
.mobile-menu a { color: #ffffff; text-decoration: none; font-size: 1.5em; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; transition: color 0.3s ease; }
.mobile-icons { display: flex; flex-direction: row; justify-content: center; gap: 30px; color: #dcb360; font-size: 2em; margin-top: 20px; align-items: center; position: relative;}

.mobile-theme-tooltip { position: absolute; top: -40px; left: 50%; transform: translateX(-50%) translateY(10px); background-color: #dcb360; color: #000000; font-size: 0.35em; font-weight: 800; padding: 6px 10px; border-radius: 3px; letter-spacing: 1.5px; text-transform: uppercase; box-shadow: 0 4px 15px rgba(0,0,0,0.5); opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity 0.5s ease, transform 0.5s ease; }
.mobile-theme-tooltip::after { content: ''; position: absolute; bottom: -4px; left: 50%; width: 8px; height: 8px; background-color: #dcb360; transform: translateX(-50%) rotate(45deg); }
.mobile-theme-tooltip.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* SHOP SECTION STYLES - RESTORED */
.admin-top-bar { display: none; justify-content: center; align-items: center; margin: 40px auto 0; max-width: 1800px; width: 95%; transition: opacity 0.4s ease;}
.btn-admin-action { background: #dcb360; color: #000; border: none; padding: 15px 40px; font-weight: 800; cursor: pointer; border-radius: 3px; font-size: 0.9em; text-transform: uppercase; letter-spacing: 2px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(220,179,96,0.3);}
.btn-admin-action:hover { opacity: 0.8; transform: translateY(-2px); }

.card-admin-controls { margin-bottom: 15px; display: flex; flex-direction: column; gap: 8px; }
.btn-delete-item { background: transparent; color: #ff4444; border: 1px solid #ff4444; padding: 8px 15px; font-size: 0.7em; font-weight: 700; cursor: pointer; border-radius: 3px; text-transform: uppercase; width: 100%; transition: opacity 0.3s ease;}
.btn-delete-item:hover { opacity: 0.7; }
.btn-edit-item { background: transparent; color: #9d4edd; border: 1px solid #9d4edd; padding: 8px 15px; font-size: 0.7em; font-weight: 700; cursor: pointer; border-radius: 3px; text-transform: uppercase; width: 100%; transition: opacity 0.3s ease;}
.btn-edit-item:hover { opacity: 0.8; }

/* CUSTOM CURRENCY SELECTOR - TOP LEFT POSITIONING */
.currency-container { position: absolute; top: 140px; left: 40px; z-index: 50; }
.currency-dropdown { background: #080808; color: #a0a0a0; border: 1px solid rgba(220, 179, 96, 0.3); padding: 8px 15px; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-size: 0.8em; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: border-color 0.3s ease, color 0.3s ease; display: flex; align-items: center; gap: 8px; position: relative; user-select: none; }
.currency-dropdown:hover { border-color: #dcb360; color: #dcb360; }
.flag-img { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 2px rgba(0,0,0,0.5); }
.currency-menu { display: none; position: absolute; top: 100%; left: 0; background: #080808; border: 1px solid rgba(220, 179, 96, 0.3); border-radius: 4px; margin-top: 5px; width: max-content; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.5); overflow: hidden; z-index: 100; }
.currency-dropdown.active .currency-menu { display: flex; }
.currency-option { padding: 10px 15px; display: flex; align-items: center; gap: 10px; color: #a0a0a0; transition: background 0.2s ease, color 0.2s ease; }
.currency-option:hover { background: rgba(220, 179, 96, 0.1); color: #dcb360; }

/* MODALS & POLICIES */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); z-index: 2000; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-content { background-color: #0a0a0a; border: 2px solid #dcb360; border-radius: 10px; width: 90%; max-width: 500px; padding: 40px; position: relative; transition: background-color 0.4s ease; max-height: 85vh; overflow-y: auto; }
.close-modal { position: absolute; top: 15px; right: 25px; color: #dcb360; font-size: 2em; cursor: pointer; transition: opacity 0.3s ease;}
.close-modal:hover { opacity: 0.7; }
.modal-title { font-family: 'Playfair Display', serif; color: #dcb360; font-size: 2em; font-style: italic; margin-bottom: 25px; text-align: center; }

.admin-form { display: flex; flex-direction: column; gap: 15px; }
.admin-form input { width: 100%; padding: 15px; background-color: #111111; border: 1px solid rgba(220, 179, 96, 0.4); color: #ffffff; border-radius: 4px; outline: none; user-select: text; -webkit-user-select: text; transition: background-color 0.4s ease, border-color 0.3s ease, color 0.4s ease; font-family: 'Montserrat', sans-serif;}
.admin-form input:focus { border-color: #dcb360; }

/* FOOTER STYLING */
.main-footer { border-top: 1px solid rgba(220, 179, 96, 0.3); padding: 25px 40px; margin-top: auto; display: flex; justify-content: space-between; align-items: center; background-color: #000000; flex-wrap: wrap; gap: 20px; transition: background-color 0.4s ease; }
.footer-left { flex: 1; display: flex; justify-content: flex-start; color: #777777; font-size: 0.8em; font-weight: 500; letter-spacing: 1px; transition: color 0.4s ease; }
.footer-center { display: flex; justify-content: center; gap: 40px; }
.footer-link { color: #a0a0a0; font-size: 0.65em; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: color 0.3s ease; }
.footer-link:hover { color: #dcb360; }
.footer-right { flex: 1; display: flex; justify-content: flex-end; gap: 20px; align-items: center; }
.payment-brand { display: flex; align-items: center; color: #777777; fill: #777777; cursor: pointer; transition: all 0.3s ease; }
.payment-brand:hover { color: #dcb360; fill: #dcb360; }
.payment-brand svg { transition: fill 0.3s ease; vertical-align: middle; }

.policy-body-text { color: #cccccc; line-height: 1.8; font-size: 0.95em; transition: color 0.4s ease; }
.policy-body-text b { color: #ffffff; display: block; margin-top: 25px; margin-bottom: 5px; font-size: 1.1em; letter-spacing: 1px; text-transform: uppercase; transition: color 0.4s ease;}
.policy-body-text strong { transition: color 0.4s ease; }

/* LIGHT MODE OVERRIDES */
body.light-mode { background-color: #f8f8f8 !important; color: #111111; }
body.light-mode .main-header, body.light-mode .main-footer, body.light-mode .modal-content { background-color: #ffffff; }
body.light-mode .logo-text-top, body.light-mode .logo-text-bottom, body.light-mode .nav-menu a { color: #111111; }
body.light-mode .policy-body-text b, body.light-mode .policy-body-text strong { color: #111111 !important; }
body.light-mode .admin-form input { background-color: #f0f0f0; color: #111; border-color: #ccc; }
body.light-mode #god-email, body.light-mode #god-password { background-color: #f0f0f0 !important; color: #111 !important; border-color: #ccc !important; }
body.light-mode .mobile-menu { background-color: rgba(255, 255, 255, 0.98); }
body.light-mode .mobile-menu a { color: #111111; }
body.light-mode .policy-body-text { color: #444444; }

body.light-mode .currency-dropdown { background-color: #ffffff; color: #555555; border-color: #ccc; }
body.light-mode .currency-dropdown:hover, body.light-mode .currency-dropdown:focus { border-color: #dcb360; color: #111111; }
body.light-mode .currency-menu { background-color: #ffffff; border-color: #ccc; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
body.light-mode .currency-option { color: #555555; }
body.light-mode .currency-option:hover { background: #f0f0f0; color: #111111; }

@media (max-width: 1300px) {
    .main-footer { flex-direction: column; text-align: center; gap: 30px; }
    .footer-left, .footer-right { justify-content: center; width: 100%; flex: auto; }
    .footer-center { flex-wrap: wrap; justify-content: center; gap: 20px; }
}
@media (max-width: 1100px) { .nav-wrapper { display: none !important; } .hamburger { display: flex !important; } }
@media (max-width: 900px) {
    .currency-container { position: relative; top: 0; left: 0; display: flex; justify-content: center; margin-bottom: 25px; margin-top: 20px; z-index: 50; }
    .currency-menu { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 600px) { 
    .header-container { padding: 0 20px; } .logo-image { height: 50px; } .logo-text-group { transform: translateY(8px); } .logo-text-top { font-size: 0.85em; letter-spacing: 3px; } .logo-text-bottom { font-size: 1em; letter-spacing: 2px; } .hamburger { transform: translateY(6px); } .modal-content { padding: 30px 20px; } .modal-title { font-size: 1.5em; } 
    .main-footer { padding: 25px 15px; } .footer-right { flex-wrap: wrap; gap: 15px; } 
}