@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto:wght@500;700;900&display=swap');

:root { 
    --primary: #D4AF37; 
    --primary-light: #F3E5AB; 
    --primary-dark: #AA8000;
    --accent: #E5C158;
    --bg-main: #0a0a0a; 
    --bg-card: rgba(15, 15, 15, 0.95); 
    --border: #2a2a2a; 
    --border-solid: #333333;
    --text-main: #f0f0f0;
    --text-muted: #999999;
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent;
}

body { 
    background-color: var(--bg-main); 
    background-image: linear-gradient(rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.98)), url('bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main); 
    font-family: var(--font-body); 
    min-height: 100vh; 
    font-size: 15px; 
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.premium-font { font-family: var(--font-heading); }

.gold-text { 
    color: var(--primary);
    font-weight: 800;
}

/* Navbar */
.glass-nav {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--primary-dark); 
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* Cards */
.card { 
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border); 
    border-radius: 16px; 
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.8);
    transition: var(--transition);
    animation: fadeIn 0.4s ease-out forwards;
}

.card:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.9), 0 0 20px rgba(212, 175, 55, 0.05);
    border-color: #3a3a3a;
}

/* Buttons */
.gold-button { 
    background: linear-gradient(135deg, #D4AF37 0%, #AA8000 100%);
    color: #111111; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    border: 1px solid #E5C158; 
    cursor: pointer; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: var(--transition);
    text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}

.gold-button:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255,255,255,0.6); 
    background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
}

.gold-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    background: #AA8000;
}

.action-button { 
    background: #111111; 
    border: 1px solid #444444; 
    color: var(--primary); 
    padding: 8px 16px; 
    border-radius: 6px; 
    cursor: pointer; 
    transition: var(--transition); 
    font-size: 13px; 
    font-weight: 700; 
    text-transform: uppercase;
}

.action-button:hover { 
    background: var(--primary); 
    color: #000;
    border-color: var(--primary);
}

/* Inputs */
input { 
    background: #111111; 
    border: 1px solid #333333; 
    color: #ffffff; 
    padding: 1.2rem 1.5rem; 
    border-radius: 8px; 
    font-family: inherit; 
    width: 100%;
    transition: var(--transition);
    font-size: 16px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

input:focus { 
    outline: none; 
    border-color: var(--primary-dark); 
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15), inset 0 2px 5px rgba(0,0,0,0.5); 
    background: #0a0a0a;
}

/* Search Results */
.result-item { 
    background: #111111;
    border: 1px solid #2a2a2a;
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 1.5rem; 
    margin-bottom: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.result-item:hover {
    background: #151515;
    border-color: #3a3a3a;
    box-shadow: 0 6px 15px rgba(0,0,0,0.6);
    transform: translateX(2px);
}

.label-small { 
    font-size: 11px; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-bottom: 4px; 
    font-weight: 600; 
}

.value-small { 
    font-size: 15px; 
    color: #ffffff; 
    font-weight: 700; 
}

/* Statistics Boxes */
.stat-box { 
    background: #111111; 
    border: 1px solid #2a2a2a; 
    border-radius: 12px; 
    padding: 1.5rem; 
    text-align: center; 
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.stat-box:hover {
    border-color: #444444;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.stat-number { 
    font-size: 26px; 
    font-weight: 900; 
    color: var(--primary); 
    margin-bottom: 4px; 
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

/* Loading Animation */
#loadingBar {
    background: linear-gradient(90deg, #AA8000, #F3E5AB, #AA8000);
    background-size: 200% 100%;
    animation: gradientMove 2s linear infinite;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

@keyframes gradientMove {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animations Overrides */
.animate-fadeIn { animation: fadeIn 0.6s ease-out forwards; }

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.whatsapp-btn {
    background: #111111;
    color: var(--primary);
    border: 1px solid #333333;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.whatsapp-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* Copy Notification */
.copy-success { 
    position: fixed; 
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: #0a0a0a; 
    border: 1px solid var(--primary-dark);
    color: var(--primary); 
    padding: 1rem 2rem; 
    border-radius: 8px; 
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    z-index: 2000; 
    font-size: 14px; 
}

/* Utilities Override for Dark Theme */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.pt-12 { padding-top: 3rem; }
.pb-12 { padding-bottom: 3rem; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 720px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.hidden { display: none; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-wide { letter-spacing: 0.05em; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-black { font-weight: 900; }
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-lg { font-size: 1.25rem; }
.text-xl { font-size: 1.5rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

/* Replace utility classes from HTML with Dark Gold equivalents */
.bg-green-50, .bg-blue-50, .bg-purple-50, .bg-orange-50 { background: #111111 !important; border: 1px solid #333333 !important; color: var(--primary) !important; }
.bg-green-100 { background: #1a1a1a !important; color: var(--primary) !important; border: 1px solid #444 !important; }
.text-green-600, .text-primary, .text-blue-500, .text-purple-500, .text-orange-500 { color: var(--primary) !important; }
.border-green-100, .border-green-200 { border-color: #333333 !important; }
.bg-gray-50 { background: #111111 !important; }
.bg-gray-100 { background: #151515 !important; }
.border-gray-100 { border-color: #2a2a2a !important; }
.border-gray-200 { border-color: #333333 !important; }
.border-gray-300 { border-color: #444444 !important; }
.text-gray-400 { color: #888888 !important; }
.text-gray-500 { color: #aaaaaa !important; }
.text-gray-600 { color: #cccccc !important; }
.text-gray-700 { color: #dddddd !important; }
.text-gray-800, .text-gray-900 { color: #ffffff !important; }
.bg-white { background-color: #111111 !important; color: #ffffff !important; }
.bg-red-50 { background-color: rgba(255, 0, 0, 0.1) !important; border: 1px solid #ff4757 !important; }
.text-red-600 { color: #ff6b6b !important; }
.border-red-200 { border-color: #ff4757 !important; }

/* Specific numbering override for HOW TO USE section */
.w-6.h-6.rounded-full.flex.items-center.justify-center.bg-white {
    background: var(--primary) !important;
    color: #111 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3) !important;
}

@media (max-width: 640px) {
    .card { padding: 1.5rem; }
    .sm\:flex-row { flex-direction: column; }
    .hidden.sm\:inline { display: none; }
}

@media (min-width: 641px) {
    .sm\:flex-row { flex-direction: row; }
}
