/**
 * 724doviz.com - Ana Stil Dosyası
 * Modern, SEO-friendly, Responsive Tasarım
 */

/* ============================================
   CSS Variables (Renk Paleti)
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #4285f4;
    
    /* Secondary Colors */
    --secondary: #5f6368;
    --secondary-dark: #3c4043;
    --secondary-light: #80868b;
    
    /* Status Colors */
    --success: #0f9d58;
    --success-light: #34a853;
    --danger: #ea4335;
    --danger-light: #f44336;
    --warning: #f9ab00;
    --warning-light: #fbbc04;
    --info: #4285f4;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f4;
    --gray-200: #e8eaed;
    --gray-300: #dadce0;
    --gray-400: #bdc1c6;
    --gray-500: #9aa0a6;
    --gray-600: #80868b;
    --gray-700: #5f6368;
    --gray-800: #3c4043;
    --gray-900: #202124;
    --black: #000000;
    
    /* Special Colors */
    --gold: #ffd700;
    --gold-dark: #daa520;
    --bitcoin: #f7931a;
    --ethereum: #627eea;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'Consolas', 'Monaco', monospace;
    
    /* Spacing */
    --header-height: 70px;
    --top-bar-height: 40px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --white: #1a1a1a;
    --gray-50: #202124;
    --gray-100: #292a2d;
    --gray-200: #35363a;
    --gray-300: #5f6368;
    --gray-800: #e8eaed;
    --gray-900: #f1f3f4;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--gray-900);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success-light);
    font-weight: 500;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(15, 157, 88, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(15, 157, 88, 0); }
    100% { box-shadow: 0 0 0 0 rgba(15, 157, 88, 0); }
}

.last-update {
    color: var(--gray-400);
}

.last-update i {
    margin-right: 5px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.top-link {
    color: var(--gray-300);
    font-size: 13px;
}

.top-link:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--gray-400);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--primary-light);
}

/* ============================================
   Main Header
   ============================================ */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .navbar {
    padding: 12px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-724 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.brand-doviz {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--gray-100);
}

.navbar-nav .nav-link i {
    margin-right: 6px;
    font-size: 14px;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 220px;
}

.dropdown-item {
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--gray-700);
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* Search Box */
.search-box {
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form .form-control {
    width: 220px;
    padding: 8px 40px 8px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.search-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
    width: 280px;
}

.search-btn {
    position: absolute;
    right: 4px;
    background: var(--primary);
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Mobile Toggle */
.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233c4043' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   Quick Rates Bar (Ticker)
   ============================================ */
.quick-rates-bar {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
    height: 45px;
}

.rates-ticker {
    display: flex;
    align-items: center;
    height: 100%;
}

.ticker-wrapper {
    display: flex;
    animation: ticker 30s linear infinite;
    gap: 40px;
    padding: 0 20px;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 14px;
}

.ticker-item .flag {
    font-size: 18px;
}

.ticker-item .code {
    font-weight: 600;
    color: var(--gray-800);
}

.ticker-item .rate {
    color: var(--gray-700);
}

.ticker-item .change {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.ticker-item .change.up {
    background: rgba(15, 157, 88, 0.1);
    color: var(--success);
}

.ticker-item .change.down {
    background: rgba(234, 67, 53, 0.1);
    color: var(--danger);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.rates-ticker:hover .ticker-wrapper {
    animation-play-state: paused;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    min-height: calc(100vh - 400px);
    padding: 30px 0;
}

/* Section Styles */
.section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--primary);
}

.section-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-link:hover {
    color: var(--primary-dark);
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--white);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 20px;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

/* Rate Cards */
.rate-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
}

.rate-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.rate-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.rate-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rate-card-flag {
    font-size: 32px;
    line-height: 1;
}

.rate-card-name h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.rate-card-name span {
    font-size: 13px;
    color: var(--gray-500);
}

.rate-card-change {
    text-align: right;
}

.rate-card-change .percent {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.rate-card-change .percent.up {
    background: rgba(15, 157, 88, 0.1);
    color: var(--success);
}

.rate-card-change .percent.down {
    background: rgba(234, 67, 53, 0.1);
    color: var(--danger);
}

.rate-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rate-value {
    text-align: center;
}

.rate-value label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.rate-value .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
}

.rate-value .value small {
    font-size: 14px;
    color: var(--gray-500);
}

/* Gold Cards */
.gold-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.gold-card:hover {
    border-color: var(--gold);
}

.gold-card .rate-card-flag {
    filter: drop-shadow(0 2px 4px rgba(218, 165, 32, 0.3));
}

/* Crypto Cards */
.crypto-card {
    position: relative;
    overflow: hidden;
}

.crypto-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.05) 0%, transparent 70%);
}

.crypto-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.crypto-symbol {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* ============================================
   Data Tables
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--gray-100);
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-200);
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
    background: var(--gray-50);
}

.data-table .currency-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.data-table .currency-flag {
    font-size: 24px;
}

.data-table .currency-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.data-table .currency-info span {
    font-size: 13px;
    color: var(--gray-500);
}

.data-table .rate-cell {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    font-family: var(--font-mono);
}

.data-table .change-cell {
    font-weight: 500;
}

.data-table .change-cell.up {
    color: var(--success);
}

.data-table .change-cell.down {
    color: var(--danger);
}

.data-table .action-cell {
    text-align: right;
}

.data-table .btn-detail {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.data-table .btn-detail:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   Converter Widget
   ============================================ */
.converter-widget {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 30px;
    color: var(--white);
}

.converter-widget h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.converter-form {
    display: grid;
    gap: 20px;
}

.converter-input-group {
    display: flex;
    gap: 12px;
}

.converter-input {
    flex: 1;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    transition: all var(--transition-fast);
}

.converter-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
}

.converter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.converter-select {
    width: 120px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    cursor: pointer;
}

.converter-select option {
    background: var(--gray-900);
    color: var(--white);
}

.converter-swap {
    display: flex;
    justify-content: center;
}

.swap-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.swap-btn:hover {
    transform: rotate(180deg);
    background: var(--gray-100);
}

.converter-result {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.converter-result .result-value {
    font-size: 32px;
    font-weight: 700;
}

.converter-result .result-info {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 8px;
}

/* ============================================
   Charts
   ============================================ */
.chart-container {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow);
}

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

.chart-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
}

.chart-period-btns {
    display: flex;
    gap: 8px;
}

.chart-period-btn {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: transparent;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chart-period-btn:hover,
.chart-period-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: 60px 0;
    color: var(--white);
    margin-bottom: 40px;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary-light);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .value {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}

.hero-stat .label {
    font-size: 14px;
    color: var(--gray-400);
}

/* ============================================
   News Section
   ============================================ */
.news-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
}

.news-card-image {
    width: 200px;
    min-height: 150px;
    object-fit: cover;
}

.news-card-content {
    flex: 1;
    padding: 20px;
}

.news-card-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-title:hover {
    color: var(--primary);
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
}

.news-card-meta i {
    margin-right: 4px;
}

/* Featured News */
.news-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.news-main {
    position: relative;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.news-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-sidebar-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.news-sidebar-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .brand-724 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-light);
}

.footer-logo .brand-doviz {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    margin-left: 4px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-800);
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 20px 0;
}

.copyright {
    font-size: 14px;
    margin: 0;
}

.disclaimer {
    font-size: 13px;
    text-align: right;
    margin: 0;
}

.disclaimer i {
    margin-right: 6px;
    color: var(--warning);
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   Cookie Consent
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    color: var(--white);
    padding: 16px 0;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
}

.cookie-content i {
    margin-right: 8px;
    color: var(--warning);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-link {
    color: var(--gray-400);
    font-size: 14px;
}

.cookie-accept {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.cookie-accept:hover {
    background: var(--primary-dark);
}

/* ============================================
   Alerts & Badges
   ============================================ */
.badge-up {
    background: rgba(15, 157, 88, 0.1);
    color: var(--success);
}

.badge-down {
    background: rgba(234, 67, 53, 0.1);
    color: var(--danger);
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-warning {
    color: var(--warning) !important;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 12px 24px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   Form Elements
   ============================================ */
.form-control {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: var(--gray-600);
}

.breadcrumb-item.active {
    color: var(--gray-800);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--gray-400);
}

/* ============================================
   Loading States
   ============================================ */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
    }
    
    .navbar-nav {
        padding: 20px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 0;
    }
    
    .header-actions {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--gray-200);
    }
    
    .search-form .form-control {
        width: 100%;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .news-featured {
        grid-template-columns: 1fr;
    }
    
    .news-main {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .rate-card-body {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .rate-value .value {
        font-size: 18px;
    }
    
    .data-table {
        font-size: 14px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px;
    }
    
    .converter-input-group {
        flex-direction: column;
    }
    
    .converter-select {
        width: 100%;
    }
    
    .converter-result .result-value {
        font-size: 24px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-card-image {
        width: 100%;
        height: 200px;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .disclaimer {
        text-align: center;
        margin-top: 10px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .quick-rates-bar {
        display: none;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .chart-period-btns {
        width: 100%;
        justify-content: space-between;
    }
    
    .hero-stat .value {
        font-size: 28px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .top-bar,
    .main-header,
    .quick-rates-bar,
    .main-footer,
    .back-to-top,
    .cookie-consent {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   Partner Sites & Backlinks
   ============================================ */
.partner-sites {
    text-align: center;
}

.partner-title {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 15px;
    font-weight: 500;
}

.partner-links {
    justify-content: center;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: var(--gray-400);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.partner-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.partner-link i {
    font-size: 14px;
}

/* Borsa Widget */
.borsa-widget {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
}

.borsa-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.borsa-widget-title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.borsa-widget-title i {
    color: #ea4335;
}

.borsa-widget-link {
    font-size: 12px;
    color: #4285f4;
    text-decoration: none;
}

.borsa-widget-link:hover {
    text-decoration: underline;
    color: #5a9cff;
}

.borsa-index-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.borsa-index-item:last-child {
    border-bottom: none;
}

.borsa-index-name {
    font-weight: 500;
    font-size: 14px;
}

.borsa-index-value {
    text-align: right;
}

.borsa-index-price {
    font-weight: 600;
    font-size: 15px;
}

.borsa-index-change {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
}

.borsa-index-change.up {
    color: #34a853;
}

.borsa-index-change.down {
    color: #ea4335;
}

.borsa-widget-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.borsa-widget-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ea4335 0%, #d93025 100%);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.borsa-widget-footer a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(234, 67, 53, 0.4);
}

/* Sidebar Borsa Banner */
.borsa-banner {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    border-radius: 12px;
    overflow: hidden;
}

.borsa-banner-content {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #0d1b2a 100%);
    position: relative;
}

.borsa-banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,80 L30,60 L50,70 L70,40 L90,50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
}

.borsa-banner-content > * {
    position: relative;
    z-index: 1;
}

.borsa-icon {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(255,255,255,0.5));
    }
}

.borsa-banner-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ea4335 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.borsa-banner h5 {
    font-size: 16px;
    margin-bottom: 8px;
}

.borsa-banner p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.borsa-banner .btn {
    background: #ea4335;
    border: none;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 500;
}

.borsa-banner .btn:hover {
    background: #d93025;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(234, 67, 53, 0.4);
}

