/*
Theme Name: Metals Rate Today
Author: Kiran Reddy
Description: Daily Gold & Silver Prices India (Manual Update)
Version: 1.1
*/

/* ===============================
   GLOBAL
================================ */
body {
    margin: 0;
    background: #f4f6f8;
    color: #222;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: #0066cc;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* ================= HEADER ================= */
header {
    background: #111;
    color: #fff;
    padding: 16px 0;
}

header .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 22px;
    font-weight: 700;
}

/* ================= HERO (GOLD GRADIENT) ================= */
.hero {
    background: linear-gradient(
        135deg,
        #0f0f0f 0%,
        #1a1a1a 40%,
        #3a2c00 70%,
        #c9a227 100%
    );
    padding: 90px 20px;
    color: #ffffff;
    text-align: center;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.hero p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ================= PRICE CARDS ================= */
.prices {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 22px 28px;
    min-width: 220px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
}

.card .price {
    font-size: 1.7rem;
    font-weight: 700;
}

/* Gold & Silver tones */
.gold-card .price {
    color: #c9a227;
}
.silver-card .price {
    color: #8a8a8a;
}

.card .unit {
    font-size: 0.85rem;
    color: #666;
}

/* ================= TABLE SECTION ================= */
.price-table-section {
    background: linear-gradient(180deg, #ffffff, #f1f4f7);
    padding: 40px 20px;
}

.price-table-section h2 {
    text-align: center;
    margin-bottom: 6px;
}

.price-table-section p {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
}

.metal-price-table {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.metal-price-table th {
    background: #111;
    color: #fff;
    padding: 12px;
    font-size: 13px;
}

.metal-price-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

.metal-price-table tr:nth-child(even) {
    background: #f9fafb;
}

/* ================= CONTENT BLOCK ================= */
.content-block {
    background: #ffffff;
    margin: 40px auto;
    padding: 24px;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* ================= FOOTER ================= */
footer {
    background: #0b0b0b;
    color: #ccc;
    padding: 30px 20px;
    text-align: center;
}

footer a {
    color: #4da3ff;
}
