/* Modern Minimalist Gold Prices - Premium Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sohne:wght@300;400;500;600&display=swap');

/* Modern Design Variables */
:root {
    /* Light Theme - Minimalist Premium */
    --primary-gold: #B8860B;
    --gold-accent: #D4AF37;
    --gold-light: #F5E6A8;
    
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #E5E5E5;
    --neutral-300: #D4D4D4;
    --neutral-400: #A3A3A3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: var(--neutral-50);
    --bg-card: #FFFFFF;
    
    --text-primary: var(--neutral-900);
    --text-secondary: var(--neutral-600);
    --text-muted: var(--neutral-500);
    
    --border-light: var(--neutral-200);
    --border-medium: var(--neutral-300);
    --border-frame: rgba(184, 134, 11, 0.3); /* Mat altın çerçeve */
    
    /* GÖLGE EFEKTİ İÇİN DÜZENLENEN KISIM */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0px 5px 35px rgba(184, 134, 11, 0.2); /* Işıltılı gölge eklendi */
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Yıldız renkleri - Beyaz temada altın */
    --star-color: rgba(184, 134, 11, 0.6);
    --star-glow: rgba(184, 134, 11, 0.8);
}

body.dark-theme {
    /* Dark Theme - Premium Night Mode */
    --primary-gold: #FFD700;
    --gold-accent: #FFA500;
    --gold-light: #FFEB99;
    
    --bg-primary: var(--neutral-900);
    --bg-secondary: var(--neutral-800);
    --bg-card: var(--neutral-800);
    
    --text-primary: var(--neutral-100);
    --text-secondary: var(--neutral-400);
    --text-muted: var(--neutral-500);
    
    --border-light: var(--neutral-700);
    --border-medium: var(--neutral-600);
    --border-frame: rgba(255, 215, 0, 0.3); /* Mat altın çerçeve */
    
    /* GÖLGE EFEKTİ İÇİN DÜZENLENEN KISIM */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.2);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.25), 0 2px 4px -2px rgb(0 0 0 / 0.25);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
    --shadow-glow: 0px 5px 35px rgba(255, 215, 0, 0.25); /* Işıltılı gölge eklendi */

    
    /* Yıldız renkleri - Siyah temada pırlanta/beyaz */
    --star-color: rgba(200, 200, 255, 0.6);
    --star-glow: rgba(200, 200, 255, 0.9);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Kayan Yıldızlar Efekti */
.golden-particles {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--star-color);
    border-radius: 50%;
    animation: shootingStar 8s infinite linear;
    opacity: 0;
    box-shadow: 0 0 6px var(--star-glow);
}

/* Yıldız pozisyonları */
.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 6s; }
.particle:nth-child(2) { left: 20%; animation-delay: -1s; animation-duration: 8s; }
.particle:nth-child(3) { left: 35%; animation-delay: -2s; animation-duration: 7s; }
.particle:nth-child(4) { left: 50%; animation-delay: -3s; animation-duration: 9s; }
.particle:nth-child(5) { left: 65%; animation-delay: -4s; animation-duration: 6.5s; }
.particle:nth-child(6) { left: 80%; animation-delay: -5s; animation-duration: 8.5s; }
.particle:nth-child(7) { left: 90%; animation-delay: -6s; animation-duration: 7.5s; }
.particle:nth-child(8) { left: 15%; animation-delay: -7s; animation-duration: 9.5s; }

@keyframes shootingStar {
    0% {
        opacity: 0;
        transform: translateY(-100vh) translateX(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(-80vh) translateX(20px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(120vh) translateX(200px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(120vh) translateX(220px) scale(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    position: relative;
    z-index: 2;
}

/* Clean Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    justify-content: flex-end;
}

.luxury-switch {
    position: relative;
    width: 56px;
    height: 28px;
    background: var(--neutral-200);
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-theme .luxury-switch {
    background: var(--neutral-700);
}

.luxury-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.luxury-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: var(--bg-primary);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: var(--shadow-md);
}

input:checked + .luxury-slider {
    transform: translateX(28px);
}

.luxury-slider .fa-sun {
    opacity: 1;
    color: #F59E0B;
}

.luxury-slider .fa-moon {
    opacity: 0;
    color: var(--primary-gold);
    position: absolute;
}

body.dark-theme .luxury-slider .fa-sun {
    opacity: 0;
}

body.dark-theme .luxury-slider .fa-moon {
    opacity: 1;
}

.theme-text {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Modern Header */
.luxury-header {
    text-align: center;
    margin-bottom: 64px;
    padding: 48px 0;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.header-decoration.bottom {
    margin-top: 32px;
    margin-bottom: 0;
}

.diamond-icon {
    font-size: 24px;
    color: var(--primary-gold);
    margin: 0 24px;
}

.gold-lines {
    display: flex;
    gap: 4px;
}

.gold-lines span {
    width: 32px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 1px;
    opacity: 0.8;
}

.gold-lines span:nth-child(2) {
    width: 24px;
    opacity: 0.6;
}

.gold-lines span:nth-child(3) {
    width: 16px;
    opacity: 0.4;
}

.luxury-title {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gold-text {
    color: var(--primary-gold);
    font-weight: 700;
}

.diamond-text {
    color: var(--text-primary);
    font-weight: 300;
}

.luxury-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.luxury-subtitle i {
    color: var(--primary-gold);
    font-size: 16px;
}

/* === DEĞİŞİKLİK BURADA BAŞLIYOR === */
/* Clean Prices Container - İstenen Gölgeli Efekt Eklendi */
.luxury-prices-container {
    background: var(--bg-card);
    border: 1px solid var(--border-frame); /* İnce mat altın çerçeve */
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-glow); /* Değiştirildi: Işıltılı gölge eklendi */
    transition: all 0.3s ease;
}

.luxury-prices-container:hover {
    box-shadow: var(--shadow-xl); /* Hover'da daha belirgin standart gölge */
    border-color: var(--primary-gold);
}
/* === DEĞİŞİKLİK BURADA BİTİYOR === */


.container-header {
    text-align: center;
    margin-bottom: 32px;
}

.container-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.container-header h2 i {
    color: var(--primary-gold);
    font-size: 24px;
}

.golden-divider {
    width: 80px;
    height: 2px;
    background: var(--primary-gold);
    margin: 0 auto;
    border-radius: 1px;
}

/* Modern Table Design */
.luxury-prices-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.luxury-prices-table th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 20px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-medium);
}

.luxury-prices-table th:first-child {
    text-align: left;
}

.luxury-prices-table th:not(:first-child) {
    text-align: right;
}

.luxury-prices-table th i {
    margin-right: 8px;
    color: var(--primary-gold);
}

.luxury-prices-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 400;
}

.luxury-prices-table tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.luxury-prices-table tbody tr:last-child td {
    border-bottom: none;
}

/* Satır Büyüme Efekti (İsteğiniz üzerine korundu) */
.luxury-prices-table tbody tr:hover {
    background: var(--bg-secondary);
    transform: scale(1.02); /* Satır büyümesi */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1;
    position: relative;
}

.luxury-prices-table tbody tr:hover td {
    color: var(--text-primary);
}

.luxury-prices-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.luxury-prices-table td:not(:first-child) {
    text-align: right;
    font-weight: 600;
    color: var(--primary-gold);
    font-variant-numeric: tabular-nums;
}

/* Clean Update Info - İnce Çerçeve */
.luxury-update-info {
    background: var(--bg-card);
    border: 1px solid var(--border-frame); /* İnce mat altın çerçeve */
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.luxury-update-info:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-lg);
}

.update-icon {
    font-size: 24px;
    color: var(--primary-gold);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.update-content-new {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.update-title {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.update-timestamp {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.next-update-text {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Progress Circle */
.update-progress-container {
    position: relative;
    width: 64px;
    height: 64px;
}

.progress-circle {
    width: 64px;
    height: 64px;
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: var(--border-light);
    stroke-width: 4;
}

.progress-circle-fill {
    fill: none;
    stroke: var(--primary-gold);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 176;
    stroke-dashoffset: 176;
    transition: stroke-dashoffset 1s ease-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-gold);
    font-variant-numeric: tabular-nums;
}

.update-decoration {
    display: flex;
    gap: 4px;
}

.golden-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0.6;
}

.golden-dot:nth-child(2) {
    opacity: 0.8;
}

.golden-dot:nth-child(3) {
    opacity: 1;
}

/* Modern Location Button - İnce Çerçeve */
.location-button {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-frame); /* İnce mat altın çerçeve */
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-md);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-gold);
}

.location-button h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.location-button h3 i {
    color: var(--primary-gold);
    font-size: 18px;
}

.location-button p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* Clean Footer */
.luxury-footer {
    text-align: center;
    padding: 48px 0;
    margin-top: 64px;
    border-top: 1px solid var(--border-light);
}

.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.golden-ornament {
    font-size: 18px;
    color: var(--primary-gold);
}

.footer-divider {
    width: 80px;
    height: 1px;
    background: var(--border-medium);
    border-radius: 1px;
}

.luxury-footer p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
}

.artleon-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.artleon-link:hover {
    color: var(--gold-accent);
}

/* Loading States */
.loading {
    text-align: center;
    padding: 64px 32px;
}

.luxury-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 16px;
    color: var(--text-secondary);
}

.luxury-loader i {
    color: var(--primary-gold);
    font-size: 20px;
}

.error {
    text-align: center;
    padding: 48px;
    color: #DC2626;
    font-size: 16px;
    font-weight: 500;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-lg);
}

body.dark-theme .error {
    background: #1F1917;
    border-color: #451A03;
    color: #FCA5A5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .luxury-title {
        font-size: 40px;
    }
    
    .luxury-subtitle {
        font-size: 16px;
        flex-direction: column;
        gap: 8px;
    }
    
    .container-header h2 {
        font-size: 24px;
    }
    
    .luxury-prices-container,
    .luxury-update-info,
    .location-button {
        padding: 24px;
    }
    
    .luxury-update-info {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .update-progress-container {
        width: 48px;
        height: 48px;
    }
    
    .progress-circle {
        width: 48px;
        height: 48px;
    }
    
    .luxury-prices-table th,
    .luxury-prices-table td {
        padding: 16px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .luxury-title {
        font-size: 32px;
    }
    
    .luxury-prices-container,
    .luxury-update-info,
    .location-button {
        padding: 20px;
    }
    
    .luxury-prices-table th,
    .luxury-prices-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
}

/* Clean animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.luxury-header,
.luxury-prices-container,
.luxury-update-info,
.location-button {
    animation: fadeIn 0.6s ease-out;
}

.luxury-prices-container { animation-delay: 0.1s; }
.luxury-update-info { animation-delay: 0.2s; }
.location-button { animation-delay: 0.3s; }

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Remove all unnecessary animations and effects for truly minimalist approach */
@keyframes clockTick,
@keyframes diamondSparkle,
@keyframes goldPulse,
@keyframes trophyBounce,
@keyframes ornamentFloat,
@keyframes mapPulse,
@keyframes dotPulse {
    0%, 100% { transform: none; }
}
/* Hakkında Bölümü Stilleri */
.luxury-about-section {
    background: var(--bg-card);
    border: 1px solid var(--border-frame);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.luxury-about-section:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-gold);
}

.about-content {
    text-align: center;
    line-height: 1.8;
}

.about-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .luxury-about-section {
        padding: 24px;
    }
    
    .about-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .luxury-about-section {
        padding: 20px;
    }
    
    .about-content p {
        font-size: 14px;
    }
}
/* =============================================== */
/* ===========      TV MODU STİLLERİ     =========== */
/* =============================================== */

/* Bu stiller sadece adresin sonunda ?mode=tv varsa aktif olur */

body.tv-mode .container {
    max-width: 95%;
    /* Ekranı daha iyi kullanmak için genişlet */
}

body.tv-mode .luxury-header {
    margin-bottom: 2rem;
    padding: 1rem 0;
}

body.tv-mode .luxury-title {
    font-size: 6rem;
    /* Ana başlığı büyüt */
    gap: 1rem;
}

body.tv-mode .luxury-subtitle {
    font-size: 2.2rem;
    /* Alt başlığı büyüt */
    margin-top: 1.5rem;
}

body.tv-mode .luxury-prices-container {
    padding: 2rem;
}

body.tv-mode .container-header h2 {
    font-size: 3.5rem;
    /* Tablo başlığını büyüt */
}

body.tv-mode .luxury-prices-table th {
    padding: 1.5rem 2rem;
    font-size: 1.8rem;
    /* Tablo sütun başlıklarını büyüt */
}

body.tv-mode .luxury-prices-table td {
    padding: 1.5rem 2rem;
    font-size: 2.2rem;
    /* Tablo yazılarını ve rakamlarını büyüt */
}

body.tv-mode .luxury-update-info {
    padding: 1.5rem;
    gap: 2rem;
}

body.tv-mode .update-icon {
    font-size: 3.5rem;
}

body.tv-mode .update-title {
    font-size: 1.5rem;
    /* 'Son Veri Güncelleme' yazısını büyüt */
}

body.tv-mode .update-timestamp {
    font-size: 2.5rem;
    /* Zaman damgasını büyüt */
}

body.tv-mode .next-update-text {
    font-size: 1.3rem;
    /* 'Sonraki Veri Çekme' yazısını büyüt */
}

body.tv-mode .update-progress-container {
    width: 80px;
    /* Progress barı büyüt */
    height: 80px;
}

body.tv-mode .progress-circle {
    width: 80px;
    height: 80px;
}

body.tv-mode .progress-text {
    font-size: 1.5rem;
}

body.tv-mode .location-button {
    display: none;
    /* TV modunda yol tarifi butonu gereksiz, gizleyelim */
}

body.tv-mode .luxury-footer {
    display: none;
    /* TV modunda footer gereksiz, gizleyelim */
}

body.tv-mode .theme-toggle {
    display: none;
    /* TV modunda tema değiştirici gereksiz, gizleyelim */
}