:root {
    --ana-mavi: #003366;
    --tablo-acik: #003366;
    --tablo-koyu: #5c94b5;
    --sari: #ffcc00;
    --beyaz: #ffffff;
}

body { margin: 0; height: 100vh; width: 100vw; overflow: hidden; font-family: 'Arial Black', sans-serif; background: #f0f0f0; }

#app { display: flex; flex-direction: column; height: 100vh; }

/* --- LOCK SCREEN --- */
#lock {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #0f172a; /* Derin gece mavisi */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: white;
    overflow: hidden;
}

/* Arka plana derinlik katmak için */
.lock-overlay {
    position: absolute;
    width: 150%; height: 150%;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    animation: rotateBg 20s linear infinite;
}

.lock-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.brand-name {
    font-size: 6vh;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(to bottom, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-text {
    font-size: 2.5vh;
    color: #38bdf8;
    letter-spacing: 2px;
    margin-bottom: 4vh;
}

.lock-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4vh 6vh;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-label {
    font-size: 1.8vh;
    color: #94a3b8;
    margin-bottom: 1vh;
}

.code-text {
    font-size: 7vh;
    font-family: 'Monaco', 'Consolas', monospace;
    font-weight: 900;
    color: #00d2ff;
    letter-spacing: 10px;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    animation: pulse 2s infinite ease-in-out;
}

.contact-box {
    background: #22c55e;
    color: white;
    padding: 1.5vh 3vh;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 2.5vh;
    margin: 2vh 0;
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
}

.company-info {
    margin-top: 3vh;
    opacity: 0.7;
    font-size: 1.6vh;
    line-height: 1.6;
}

.company-info a { color: #38bdf8; text-decoration: none; }

/* Animasyonlar */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Lisansı bitenler için özel kısıtlama sınıfı */
.license-expired {
    background: radial-gradient(circle at center, #450a0a, #0f172a) !important; /* Koyu kırmızı tema */
}

.license-expired .status-text {
    color: #ef4444 !important; /* Parlak kırmızı uyarı metni */
    font-weight: bold;
}

.license-expired .code-text {
    color: #f87171 !important;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.license-expired .contact-box {
    background: #dc2626 !important; /* WhatsApp yeşili yerine dikkat çekici kırmızı */
    animation: shake 0.5s infinite; /* Hafif sarsıntı efekti ile dikkat çekme */
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}
/* --- HEADER & MAIN --- */
.header { height: 14vh; background: var(--ana-mavi); color: white; display: flex; align-items: center; padding: 0 20px; border-bottom: 4px solid white; }
.main { display: flex; height: 78vh; padding: 10px; gap: 10px; }
.price-section { flex: 8; }
.price-table { width: 100%; height: 100%; border-collapse: collapse; }
.price-table th { background: #003366; font-size: 2.5vh; border: 2px solid white; color:gold; }
.price-table td { 
    border: 2px solid white; 
    font-size: 4vh; 
    font-weight: bold; 
    vertical-align: middle; /* Dikeyde ortala */
    /* Buradaki text-align: center; satırını sildik! */
}
/* Fiyat hücresinin genel ayarı */
.price-cell {
    text-align: center !important;
    vertical-align: middle !important;
    border: 2px solid white;
    height: 7vh; /* Satır yüksekliğini biraz artırdık ki büyük font sığsın */
}

/* Rakamları taşıyan iç kutu - ASIL DEĞİŞİKLİK BURADA */
.price-wrapper {
    display: inline-block;
    width: 85%; /* Sütun genişliğine yayılım */
    text-align: right !important; /* Sağa yasla */
    
    /* Font Ayarları */
    font-family: 'Arial Black', 'Gadget', sans-serif; /* Daha kalın ve tok bir font */
    font-size: 5.5vh !important; /* Boyutu ciddi oranda büyüttük */
    font-weight: 900 !important; /* En kalın hali */
    color: 000000; /* Saf beyaz (veya var(--sari) kullanabilirsin) */
    
    /* Okunabilirlik Ayarları */
    letter-spacing: -1px; /* Rakamlar çok ayrık durmasın diye hafif daraltma */
    line-height: 1;
    font-variant-numeric: tabular-nums; /* Basamak hizası için kritik */
    
    /* Hafif gölge ekleyerek rakamları öne çıkaralım */
     /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}
.item-name { background: var(--ana-mavi) !important; color: white !important; text-align: left !important; padding-left: 20px; width: 30%; }
.row-1 { background: var(--tablo-acik); }
.row-2 { background: var(--tablo-koyu); }

/* --- SIDEBAR & FOOTER --- */
.sidebar {
    flex: 2;
    background: #c5d5e5;
    display: flex;
    flex-direction: column;
    /* Kenarları daha profesyonel durması için yumuşatıyoruz */
    border: 2px solid var(--beyaz);
    border-radius: 10px; 
    overflow: hidden;
    margin-top: 5px;    /* Üstten ve alttan hafif nefes payı */
    margin-bottom: 5px;
}
.side-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--beyaz);
    text-align: center;
    padding: 10px;
    position: relative;
}

.shop-title {
    background: var(--ana-mavi);
    color: var(--beyaz);
    font-size: 2.5vh;
}
.announce-box {
    background: var(--beyaz);
    color: #d00000;
    overflow: hidden; /* Dışarı taşmayı engeller */
    position: relative;
    padding: 20px 10px !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.weather-box{
    background: var(--ana-mavi);
    color: var(--beyaz);
    font-size: 2.5vh;
}

/* --- FOOTER & TICKER --- */
.footer-ticker {
    height: 8vh;
    background: var(--ana-mavi);
    display: flex;
    align-items: center;
    border-top: 3px solid var(--beyaz);
    width: 100%;
    overflow: hidden; /* Dışarı taşmaları engelle */
    position: relative;
}

.ticker-container {
    display: flex;
    flex: 1; /* Markadan kalan alanı otomatik doldur */
    align-items: center;
    justify-content: space-evenly; /* Öğeleri kalan alana dengeli yay */
    padding: 0 30px; /* Kenarlardan biraz nefes payı */
    height: 100%;
    /* width: 100% SİLİNDİ - flex:1 varken çakışma yapar */
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px; /* Yazı ve rakam arası daha belirgin boşluk */
    font-size: 3vh; /* 3.2vh bazen çok büyük kalabilir, 3vh daha dengeli */
    color: white;
    font-weight: bold;
    white-space: nowrap; /* Tam ekranda asla alt satıra geçme */
}

.ticker-item span {
    color: var(--sari);
    /* margin-left yerine gap kullanmak daha moderndir */
}

.ticker-item i {
    display: flex;
    align-items: center;
    font-size: 2.5vh;
}

.footer-brand {
    background: var(--beyaz);
    color: var(--ana-mavi);
    height: 100%;
    min-width: 280px; /* Clip-path kaybını telafi etmek için artırıldı */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px 0 10px; /* Sol taraf clip-path olduğu için soldan boşluk artırıldı */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    flex-shrink: 0; /* İçerik ne kadar artarsa artsın marka kutusu ezilmez */
    text-align: center;
}


.footer-brand span {
    font-size: 1.8vh;
    font-weight: 600;
    line-height: 1.0;
}



/* Logo Alanı (İkonun küçülmesini engeller) */
.logo-placeholder {
    width: 10vh;
    height: 10vh;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.logo-placeholder i {
    font-size: 6vh;
    color: var(--ana-mavi);
}
/* Tablodaki fiyat parlaması */
.price-table .price-update-active {
    background-color: rgba(255, 255, 255, 0.2) !important; /* Hafif arka plan parlaması */
    color: var(--sari) !important;
    text-shadow: 0 0 15px #fff;
    transform: scale(1.05);
    transition: all 0.4s ease-in-out;
    border-radius: 4px;
}
