/* Sarraf - Premium Altın & Döviz Takip Platform - Custom Styles */

/* Glass Card */
.glass-card {
    background: rgba(22, 27, 39, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(48, 54, 61, 0.5);
    transition: all 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(212, 160, 23, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Gold Gradient Text */
.gold-gradient-text {
    background: linear-gradient(135deg, #D4A017, #F0C850, #D4A017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Price change colors */
.price-up { color: #2EA043; }
.price-down { color: #F85149; }
.price-neutral { color: #8B949E; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0B0E14; }
::-webkit-scrollbar-thumb { background: #30363D; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #484F58; }

/* Breaking news flash */
@keyframes breaking-glow {
    0%, 100% { text-shadow: 0 0 5px rgba(248, 81, 73, 0.5); }
    50% { text-shadow: 0 0 20px rgba(248, 81, 73, 0.8), 0 0 40px rgba(248, 81, 73, 0.4); }
}
.breaking-glow { animation: breaking-glow 1.5s ease-in-out infinite; }

/* Flash overlay on news cards */
.flash-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    animation: flash 1s ease-in-out infinite;
}

/* Kuyumcu screen specific */
.kuyumcu-row {
    transition: background-color 0.3s ease;
}
.kuyumcu-row:hover {
    background-color: rgba(212, 160, 23, 0.05);
}
.kuyumcu-price-flash {
    animation: price-flash 0.5s ease;
}
@keyframes price-flash {
    0% { background-color: rgba(212, 160, 23, 0.3); }
    100% { background-color: transparent; }
}

/* Chart container */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Shimmer loading */
.shimmer-bg {
    background: linear-gradient(90deg, rgba(22, 27, 39, 0.8) 25%, rgba(35, 43, 62, 0.8) 50%, rgba(22, 27, 39, 0.8) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

/* Selection */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #F0C850;
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid #D4A017;
    outline-offset: 2px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .no-print, header, footer, #price-ticker, #breaking-banner { display: none !important; }
}
