* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f0 100%);
}

nav {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-container h1 {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    margin-left: 20px;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: #e3f2fd;
    color: #2196F3;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.current-time {
    text-align: right;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #455a64;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.price-table-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.gold-prices h2 {
    margin-bottom: 2rem;
    color: #333;
}

.price-table {
    width: 90%;               /* Genişliği sınırla (örneğin %90) */
    max-width: 800px;    
    /* width: 100%;  */
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-collapse: collapse;
    margin-bottom: 2rem;
    overflow: hidden;
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: right!important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    
}

.price-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #666;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tbody tr {
    transition: background 0.3s ease;
}

.price-table tbody tr:hover {
    background: #f8f9fa;
}

.gold-type {
    font-weight: bold;
    color: #333;
}
.gecen-sure {
    font-style: italic;
    color:#666;
    width: 200px;
}
.price-update {
    font-style: italic;
    font-size: small;
    
}

.difference {
    color: #28a745;
}

.difference.negative {
    color: #dc3545;
}

.chart-icon {
    color: #666;
    text-align: center;
}

.converter-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.converter-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
}

.converter-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.converter-input input {
    padding: 0.5rem;
    border: 2px solid #e3f2fd;
    border-radius: 5px;
    width: 100px;
    transition: all 0.3s ease;
}

.converter-input input:focus {
    border-color: #2196F3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(33,150,243,0.1);
}

select {
    padding: 0.5rem;
    border: 2px solid #e3f2fd;
    border-radius: 5px;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

select:focus {
    border-color: #2196F3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(33,150,243,0.1);
}

.converter-result {
    display: flex;
    gap: 2rem;
}

.harem-prices,
.shop-prices {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-width: 200px;
}

.shop-prices {
    background: linear-gradient(45deg, #e3f2fd, #bbdefb);
}

.converter-result h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #455a64;
    font-weight: 600;
}

.shop-prices h3 {
    color: #2196F3;
}

.prices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
}

.shop-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.shop-info:hover {
    transform: translateY(-2px);
}

#companyName {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1976D2;
}

.margin-info {
    background: #e3f2fd;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    color: #2196F3;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.harem-header, .shop-header {
    text-align: center;
    background: #f8f9fa;
    font-size: 1.1rem;
    border-bottom: 2px solid #eee;
    padding: 1rem;
}

.shop-header {
    background: linear-gradient(45deg, #e3f2fd, #bbdefb);
    color: #2196F3;
}

.sub-header th {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.harem-buy,
.harem-sell {
    color: #666;
}

.shop-buy,
.shop-sell {
    color: #2196F3;
    font-weight: bold;
}
.currency-desc {
    opacity: 0.7;;
}

.price-difference,
.percent-difference {
    text-align: right;
}

.price-difference.positive,
.percent-difference.positive {
    color: #2e7d32;
    background: #e8f5e9;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.price-difference.negative,
.percent-difference.negative {
    color: #c62828;
    background: #ffebee;
    padding: 0.2rem 0.5rem;
    border-border-radius: 3px;
}

.chart-icon i {
    color: #90a4ae;
    transition: color 0.3s ease;
}

.chart-icon i:hover {
    color: #2196F3;
    cursor: pointer;
}

/* İkon stilleri */
.fas, .far {
    margin-right: 0.5rem;
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gold-prices,
.converter-section {
    animation: fadeIn 0.5s ease-out forwards;
} 



.arrow-up {
    color: green;
}
.arrow-down {
    color: red;
}

