/* 
  altinfiyatlari.site - Ultra Premium CSS Tasarım Sistemi
  Robinhood & TradingView Esintili Lüks Finans Arayüzü
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #fafaf9; /* Lüks, sıcak taş tonu hafif krem arka plan */
    --bg-card: #ffffff;
    --border-card: rgba(212, 175, 55, 0.15); /* Çok yumuşak altın yaldız çerçeve */
    --border-hover: #d4af37; /* Klasik 24k Altın rengi */
    
    --color-text-primary: #0f172a; /* Zengin koyu slate */
    --color-text-secondary: #64748b; /* Soft slate */
    --color-gold: #c5a03c; /* Ayrıcalıklı zengin gold metin rengi */
    --color-gold-glow: rgba(212, 175, 55, 0.08);
    --color-gold-header: linear-gradient(90deg, #dfb75c 0%, #f5d782 50%, #cfa343 100%); /* Kusursuz altın külçe ışıltısı */
    
    --color-up: #10b981; /* Premium zümrüt yeşili */
    --color-up-glow: rgba(16, 185, 129, 0.12);
    --color-down: #ef4444; /* Premium yakut kırmızısı */
    --color-down-glow: rgba(239, 68, 68, 0.12);
    
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Apple tarzı ultra yumuşak geçiş hızı */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    line-height: 1.4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Üst Altın Menü Barı (Sheen Sheen Gold Gradient) */
header {
    background: var(--color-gold-header);
    border-bottom: 2px solid #b89030;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(184, 144, 48, 0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.logo i {
    color: #1e293b;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #fbbf24;
    color: #0f172a;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.2rem;
    font-family: var(--font-sans);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid #0f172a;
    flex-shrink: 0;
}

.seo-landing-logo .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
    margin-right: 0.2rem;
}

/* Üst Döviz Ticker */
.currency-ticker {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.ticker-item {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.35rem 0.8rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    gap: 0.4rem;
    color: #1e293b;
    backdrop-filter: blur(8px);
}

.ticker-label {
    color: rgba(30, 41, 59, 0.8);
}

.ticker-val {
    color: #000000;
    font-variant-numeric: tabular-nums;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #059669;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(5, 150, 105, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
}

.hero-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-section h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 0.2rem;
    letter-spacing: -0.03em;
}

.hero-section p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.last-update-text {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-top: 0.15rem;
}

/* Üst 4 Izgara Altın Kartları (Görselli Ultra Premium Widgetlar) */
.gold-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gold-card-item {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.15rem 0.6rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.gold-card-item::after {
    display: none;
}

.gold-card-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.12);
}

.gold-card-img {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    transition: var(--transition-smooth);
}

.gold-card-item:hover .gold-card-img {
    transform: scale(1.08);
}

.gold-card-title {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin: 0;
    letter-spacing: 0.02em;
    text-align: left;
    white-space: nowrap;
}

.gold-card-item .change-rate {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.68rem;
    font-weight: 700;
    text-align: left;
    margin: 0;
}

.gold-cards-grid .gold-card-prices {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 0.1rem;
    margin: 0;
    border: none;
    padding: 0;
}

.gold-cards-grid .gold-price-row {
    display: flex;
    justify-content: flex-end;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: var(--color-text-secondary);
}

.gold-cards-grid .gold-price-val {
    font-weight: 750;
    color: var(--color-text-primary);
}

/* Fiyat Listesi Tablo Görünümü (Ultra Premium Yumuşak Çizgiler) */
.table-container-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.table-main-title {
    text-align: center;
    color: var(--color-gold);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
}

.table-wrapper {
    overflow-x: auto;
    max-height: 500px;
    overflow-y: auto;
    border-radius: 12px;
}

/* Scrollbar */
.table-wrapper::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.table-wrapper::-webkit-scrollbar-track {
    background: #f8fafc;
}
.table-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.live-table {
    width: 100%;
    border-collapse: collapse; /* Düz ve temiz tablo için collapse yaptık */
    text-align: left;
}

.live-table th {
    padding: 0.75rem 1rem;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.15);
    color: var(--color-text-secondary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: transparent;
}

.live-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9; /* Temiz ince çizgi */
    vertical-align: middle;
    background: transparent;
}

.live-table tbody tr {
    transition: var(--transition-smooth);
}

/* Satırların arka plan renkleri (Alternatif yumuşak yeşil ve beyaz tonları) */
.live-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.live-table tbody tr:nth-child(odd) {
    background-color: #f7fdf9; /* Soft yeşil tonu */
}

.live-table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.05); /* Hoverda çok hafif gold rengi */
}

.col-name {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.item-title {
    font-size: 0.9rem;
    font-weight: 750;
    color: var(--color-text-primary);
    line-height: 1.25;
}

.item-code {
    font-size: 0.72rem;
    color: var(--color-text-secondary);
    font-weight: 600;
    line-height: 1.25;
}

.col-price {
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--color-text-primary);
    text-align: right;
    width: 25%;
}

.col-change {
    text-align: right;
    width: 20%;
    font-size: 0.85rem;
}

.col-action {
    text-align: right;
    width: 60px;
}

/* Dairesel Grafik Butonu */
.chart-icon-btn {
    background: #f1f5f9;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: var(--transition-smooth);
}

.chart-icon-btn:hover {
    background: var(--border-hover);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    transform: rotate(15deg);
}

/* Grafik Paneli Tasarımı */
.chart-container-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.03);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.chart-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.03em;
}

.chart-header-actions {
    display: flex;
    gap: 0.6rem;
}

.btn-outline-primary {
    border: 1.5px solid #1e3a8a;
    color: #1e3a8a;
    background: transparent;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.btn-outline-primary:hover, .btn-outline-primary.following {
    background: #1e3a8a;
    color: #ffffff;
}

.btn-outline-gold {
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold);
    background: transparent;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background: var(--color-gold);
    color: #ffffff;
}

.chart-stats {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.stat-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.chart-filters {
    margin-left: auto;
}

.chart-select-small {
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--border-card);
    background: #f8fafc;
    color: var(--color-text-primary);
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.8rem;
}

.chart-wrapper {
    position: relative;
    height: 300px;
    margin-bottom: 1.5rem;
}

/* Hızlı Seçim Tab Şeridi */
.quick-tabs-container {
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    overflow-x: auto;
}

.quick-tabs-container::-webkit-scrollbar {
    height: 4px;
}
.quick-tabs-container::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 2px;
}

.quick-tabs {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.3rem;
}

.tab-btn {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--color-gold-glow);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.change-rate {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-weight: 700;
}

.change-rate.up {
    color: var(--color-up);
}

.change-rate.down {
    color: var(--color-down);
}

.change-rate.stable {
    color: var(--color-text-secondary);
}

/* Flaş Işık Efektleri (Borsa Tipi Ultra Görünür Flaş) */
.flash-up {
    animation: flashGreen 0.7s ease-out;
    border-radius: 4px;
}

.flash-down {
    animation: flashRed 0.7s ease-out;
    border-radius: 4px;
}

@keyframes flashGreen {
    0% { background-color: #22c55e; color: #ffffff; }
    40% { background-color: #22c55e; color: #ffffff; }
    100% { background-color: transparent; color: inherit; }
}

@keyframes flashRed {
    0% { background-color: #ef4444; color: #ffffff; }
    40% { background-color: #ef4444; color: #ffffff; }
    100% { background-color: transparent; color: inherit; }
}

/* Çevirici Hesap Makinesi */
.calculator-section {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.calc-wrapper-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.calc-title-box {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 150px;
}

.calc-main-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-gold);
}

.calc-sub-title {
    font-size: 0.72rem;
    color: var(--color-text-secondary);
}

.calc-inputs-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    flex-wrap: wrap;
}

.calc-input-field {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-size: 1rem;
    outline: none;
    color: var(--color-text-primary);
    width: 120px;
    text-align: center;
}

.calc-input-field:focus {
    border-color: var(--border-hover);
}

.calc-select-field {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    outline: none;
    color: var(--color-text-primary);
    cursor: pointer;
    min-width: 160px;
}

.calc-select-field:focus {
    border-color: var(--border-hover);
}

.calc-icon-arrow {
    font-size: 1.1rem;
    color: var(--color-gold);
}

.calc-result-wrapper {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: 10px;
    overflow: hidden;
    width: 180px;
}

.calc-result-wrapper .calc-input-field {
    border: none;
    background: transparent;
    width: 100%;
    text-align: right;
    padding-right: 0.5rem;
}

.calc-currency-label {
    padding-right: 1rem;
    font-weight: 800;
    color: var(--color-gold);
}

/* Masaüstü İki Sütunlu Yerleşim Tasarımı */
.main-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.right-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Canlı Piyasalar Bannerı */
.live-markets-banner {
    display: block;
    height: 120px;
    background: linear-gradient(rgba(15,23,42,0.85), rgba(15,23,42,0.95)), url('assets/gold_bar.png') center/cover;
    border-radius: 20px;
    border: 1px solid var(--border-card);
    overflow: hidden;
    text-decoration: none;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.live-markets-banner:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px rgba(197, 160, 60, 0.15);
}

.banner-overlay {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.banner-overlay h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.banner-overlay p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.gold-image-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.gold-image-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px rgba(197, 160, 60, 0.1);
}

.gold-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SEO Metin Alanı */
.seo-section {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.seo-section h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--color-gold);
}

.seo-section p {
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.seo-section p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: #ffffff;
    border-top: 1px solid var(--border-card);
    padding: 1.5rem;
    margin-top: auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--border-hover);
}

.copyright {
    color: var(--color-text-secondary);
    font-size: 0.78rem;
    opacity: 0.8;
}

/* Hukuki Sayfalar Modalı */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    max-height: 80vh;
    overflow-y: auto;
    color: var(--color-text-primary);
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.35rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: #000000;
}

.modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--color-gold);
}

.modal-body {
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .currency-ticker {
        display: none;
    }
    .chart-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .chart-filters {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    .main-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gold-cards-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobilde 2 satır 4 ızgara */
        gap: 0.8rem;
    }
    .gold-image-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .gold-cards-grid {
        grid-template-columns: repeat(2, 1fr); /* En küçük ekranlarda bile 2 satır 4 ızgara */
        gap: 0.5rem;
    }
    .gold-card-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.6rem 0.4rem;
        gap: 0.4rem;
    }
    .gold-card-img {
        width: 24px;
        height: 24px;
        margin-bottom: 0.2rem;
    }
    .gold-card-title {
        font-size: 0.72rem;
        text-align: center;
        width: 100%;
    }
    .gold-card-item .change-rate {
        font-size: 0.65rem;
        text-align: center;
        margin: 0;
    }
    .gold-cards-grid .gold-card-prices {
        align-items: center;
        width: 100%;
    }
    .gold-cards-grid .gold-price-row {
        justify-content: center;
        width: 100%;
        font-size: 0.68rem;
        gap: 0.2rem;
    }
    .live-table th, .live-table td {
        padding: 0.5rem 0.6rem;
    }
    .item-title {
        font-size: 0.82rem;
    }
    .item-code {
        font-size: 0.68rem;
    }
    .col-price {
        font-size: 0.85rem;
        width: 32%;
    }
    .col-change {
        font-size: 0.78rem;
        width: 25%;
    }
    .chart-icon-btn {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }
    .chart-container-box {
        padding: 1rem;
    }
    .chart-header h2 {
        font-size: 1.15rem;
    }
    .stat-val {
        font-size: 1.15rem;
    }
    .chart-wrapper {
        height: 200px;
    }
}

/* Header Dropdown Menu */
.header-nav {
    margin-left: 2rem;
    margin-right: auto;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    background: rgba(30, 41, 59, 0.08);
    color: #1e293b;
    border: 1px solid rgba(30, 41, 59, 0.15);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 750;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.nav-dropdown-btn:hover {
    background: rgba(30, 41, 59, 0.15);
    border-color: rgba(30, 41, 59, 0.3);
}

.nav-dropdown-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover .nav-dropdown-btn i {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 230px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 0.5rem 0;
    z-index: 200;
    margin-top: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.nav-dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.nav-dropdown-content a {
    color: var(--color-text-primary);
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-dropdown-content a:hover {
    background-color: var(--color-gold-glow);
    color: var(--color-gold);
    padding-left: 1.5rem;
}

/* Footer SEO Links Section */
.seo-links-section {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 1.8rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.seo-links-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 1.2rem;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 0.6rem;
}

.seo-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.8rem;
}

.seo-link-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    color: var(--color-text-secondary);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.seo-link-btn:hover {
    background: var(--color-gold-glow);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.1);
}

@media (max-width: 480px) {
    .header-nav {
        margin-left: 0.5rem;
    }
    .nav-dropdown-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    .logo {
        font-size: 1.15rem;
    }
    .seo-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .seo-link-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
    }
    .status-badge span {
        display: none;
    }
    .status-badge {
        padding: 0.4rem;
        aspect-ratio: 1;
        justify-content: center;
        width: 24px;
        height: 24px;
    }
    /* Mobile Table Fix */
    .col-action {
        display: none;
    }
    .live-table th, .live-table td {
        padding: 0.5rem 0.35rem;
    }
}

/* Clickable Table Rows */
.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.clickable-row:hover {
    background-color: var(--color-gold-glow) !important;
}

/* Global Announcement Banner */
.global-announcement-banner {
    background: linear-gradient(90deg, #b89030 0%, #c5a03c 50%, #b89030 100%);
    color: #1e293b;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 750;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 110;
    position: relative;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-content i {
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
