:root {
    --primary-gold: #b38421;
    --button-gold: #b38421;
    --dark-bg: #224438;
    --bg-gradient: linear-gradient(135deg, #224438 0%, #1a352c 30%, #12251e 70%, #0d1a15 100%);
    --card-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(179, 132, 33, 0.2);
    --text-main: #f8f9fa;
    --text-muted: #a8b9a4;
    --accent-red: #ff5252;
    --accent-green: #00e676;
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cinzel', serif;
}

body {
    background: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 95% 40%, rgba(179, 132, 33, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 5% 90%, rgba(34, 68, 56, 0.2) 0%, transparent 50%),
        var(--bg-gradient);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header & Ticker */
header {
    background: rgba(34, 68, 56, 0.5);
    /* Semi-transparent dark green matching the top of the background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero {
   padding: 5px 0 40px 0;
    text-align: center;
}

.hero h2 {
    /* font-size: 3.2rem; */
      font-size: 2.5rem;
    color: var(--primary-gold);
    font-weight: 700;
    letter-spacing: 3px;
    /* margin-bottom: 15px; */
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.clock-container {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Spot Rates Bar */
.spot-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.spot-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(242, 208, 107, 0.1);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.spot-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.spot-name {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spot-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--primary-gold);
}

.spot-hl {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.8rem;
}

.low {
    color: var(--accent-red);
}

.high {
    color: var(--accent-green);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-btn.active {
    background: var(--button-gold);
    color: var(--dark-bg);
    border-color: var(--button-gold);
    box-shadow: 0 5px 15px rgba(179, 132, 33, 0.3);
    font-weight: 700;
}

/* Rates Table */
.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.rate-item {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.5s ease forwards;
}

/* Custom Rate Card for Live Rates */
.rate-card-custom {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.rate-card-custom:hover {
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.05);
}

.rate-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.rate-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.rate-symbol {
    color: var(--text-muted);
}

.rate-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rate-col-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lh-row {
    font-size: 0.9rem;
    color: var(--text-muted);
}

#val-low-5273, #val-low-5292, #val-low-5201, #val-low-5305, #val-low-5301, #val-low-5306 {
    color: var(--accent-red);
}

#val-high-5273, #val-high-5292, #val-high-5201, #val-high-5305, #val-high-5301, #val-high-5306 {
    color: var(--accent-green);
}

.rate-col-right {
    text-align: right;
}

.main-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-gold);
}

.section-title {
    background: var(--primary-gold);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-align: center;
}

/* Tab Content Visibility */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Retail Specific Styling like Tippu Soni */
.retail-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(229, 218, 188, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 15px 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    filter: drop-shadow(0px 1px 2px rgba(229, 218, 188, 0.1));
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.retail-item:hover {
    transform: scale(1.01);
    border-color: var(--button-gold);
}

.retail-name {
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

.retail-dash {
    text-align: center;
    width: 40px;
    color: var(--text-muted);
    font-weight: 400;
}

.retail-price {
    text-align: right;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8f9fa;
    /* Default color */
}

.rate-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.rate-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.rate-values {
    text-align: right;
}

.buy-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.flash-up {
    color: var(--accent-green) !important;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    transition: all 0.2s ease;
}

.flash-down {
    color: var(--accent-red) !important;
    text-shadow: 0 0 10px rgba(255, 62, 62, 0.5);
    transition: all 0.2s ease;
}

/* Pulsing Indicator */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--accent-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Responsive Footer */
footer {
    margin-top: 100px;
    padding: 60px 0 20px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-col p,
.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1.8;
    display: block;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .container {
        padding: 10px;
    }

    /* ===== HEADER ===== */
    .hero {
        padding: 15px 0;
    }

    .hero h2 {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .clock-container {
        font-size: 13px;
        margin-top: 10px;
    }

    /* ===== SPOT BAR (MAKE HORIZONTAL) ===== */
    .spot-bar {
        display: flex !important;
        gap: 8px;
        margin-bottom: 15px;
    }

    .spot-card {
        flex: 1;
        padding: 10px;
        border-radius: 12px;
    }

    .spot-name {
        font-size: 11px;
    }

    .spot-price {
        font-size: 16px;
    }

    .spot-hl {
        font-size: 10px;
        gap: 5px;
    }

    /* ===== TABS ===== */
    .tabs {
        display: flex;
        gap: 6px;
        margin-bottom: 15px;
    }

    .tab-btn {
        flex: 1;
        padding: 8px;
        font-size: 12px;
        text-align: center;
    }

    /* ===== SECTION TITLE ===== */
    .section-title {
        font-size: 14px;
        padding: 8px;
        border-radius: 12px;
        margin: 15px 0 10px;
    }

    /* ===== RATE CARDS ===== */
    .rate-card-custom {
        padding: 12px;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .rate-header {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .rate-name {
        font-size: 13px;
    }

    /* ===== BODY FIX (IMPORTANT) ===== */
    .rate-body {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* LEFT SIDE (L/H) */
    .rate-col-left {
        font-size: 11px;
    }

    .lh-row {
        margin-bottom: 2px;
    }

    /* RIGHT SIDE PRICE */
    .rate-col-right {
        text-align: right;
    }

    .main-price {
        font-size: 20px;
        font-weight: bold;
    }

    /* ===== GRID FIX ===== */
    .rates-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* ===== FOOTER FIX ===== */
    footer > .container > div {
        flex-direction: column !important;
        gap: 20px !important;
    }

    footer > .container > div > div {
        min-width: 100% !important;
        text-align: center !important;
        border-left: none !important;
        padding-left: 0 !important;
    }
/* Reduce gap between menu and Bank Details */
.desktop-nav {
    margin-bottom: 5px; /* reduce space */
}

/* Bank Details title spacing */
.bank-card h4,
.bank-title {
    margin-top: 5px !important;
    margin-bottom: 8px !important;
    font-size: 14px;
}

/* Reduce space above bank section */
.bank-card {
    margin-top: 10px !important;
    padding: 20px 15px !important;
}

/* USDT / INR button smaller */
.toggle-btn,
.currency-toggle,
.bank-toggle {
    padding: 4px !important;
    border-radius: 20px;
}

/* Hide heading on mobile */
.hero h2{
    display: none;
     padding:0px;
}

.clock-container {
    margin-top: 0 !important;
    margin-bottom: 8px;
}

/* Reduce space of hero section */
.hero {
    padding-top: 5px;
    padding-bottom: 10px;
}

/* Individual buttons */
.toggle-btn button,
.currency-toggle button,
.bank-toggle button {
    padding: 6px 12px !important;
    font-size: 12px;
    border-radius: 15px;
}

/* ===== COMPACT HEADER (MOBILE) ===== */
header .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important; /* reduced gap */
    padding: 8px 5px !important; /* reduced padding */
}

/* LOGO SMALL */
header img,
header .logo {
    max-height: 50px;/*adjust if needed */
}

/* NAV MENU SMALL */
.desktop-nav {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important; /* reduced spacing */
}

/* NAV LINKS SMALL */
.desktop-nav a {
    font-size: 11px !important; /* slightly smaller for better fit */
    padding: 2px 4px !important;
}

/* BUTTON SMALL */
.auth-btn {
    width: 100%;
    justify-content: center;
}

.auth-btn a,
.auth-btn button {
    font-size: 12px;
    padding: 5px 10px;
}
    
}




/* Bank Details Styling */
.bank-card {
    max-width: 600px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.bank-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(179, 132, 33, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.bank-logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.bank-name-title {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.detail-row {
    margin-bottom: 25px;
    position: relative;
}

.detail-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.detail-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.detail-value:hover {
    border-color: rgba(179, 132, 33, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.value-text {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--primary-gold);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
}

.copy-btn:hover {
    background: rgba(179, 132, 33, 0.1);
    transform: scale(1.1);
}

.copy-btn i {
    font-size: 1rem;
}

.trusted-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}



.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    margin-top: 10px;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: moveText 30s linear infinite;
    font-weight: 500;
}

@keyframes moveText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* Accreditation Section */
.accreditation-section {
    margin-top: 40px;
    padding: 30px;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.accreditation-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.accreditation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.accreditation-item:hover {
    transform: translateY(-5px);
}

.accreditation-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.accreditation-name {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

/* Quick Action Buttons (Call/WhatsApp) */
.action-buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 10px;
}

.action-circle-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.action-circle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.action-circle-btn.tel-btn {
    color: #444;
}

.action-circle-btn.wa-btn {
    color: #25d366;
}

@media (max-width: 768px) {
    .action-circle-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
