/* ========================================================= */
/* --- KPSS ORTAK SAYAÇ TASARIMI (MODERN & PURPLE THEME) --- */
/* ========================================================= */

:root {
    /* KPSS için hafif mor/lacivert tonları seçtim, DGS ile karışmasın diye. 
       Aynı mavi kalsın istersen burayı #2980b9 yap. */
    --ana-renk: #6c5ce7; 
    --ana-renk-koyu: #4834d4;
    --cember-bg: #f8f9fa;
    --metin-koyu: #2c3e50;
    --etiket-gri: #7f8c8d;
}

.sayac-konteyner {
    text-align: center;
    padding: 60px 20px;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif; /* Fontunu düzelttim */
}

/* Başlık ve Alt Başlık */
.sayac-baslik {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--ana-renk);
    text-transform: uppercase;
}

.sayac-alt-baslik {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--etiket-gri);
    letter-spacing: 3px;
    margin-bottom: 50px;
    font-weight: 600;
}

/* KART DİZİLİMİ */
.sayac-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

/* KART TASARIMI */
.sayac-kutu {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 28px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    box-sizing: border-box;
}

.sayac-kutu:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(108, 92, 231, 0.15); /* Gölge rengi dinamik */
}

/* DAİRESEL ANİMASYON */
.sayac-daire-konteyner {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 25px;
}

.sayac-daire-konteyner svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.cember-arka {
    fill: none;
    stroke: var(--cember-bg);
    stroke-width: 8;
}

.cember-on {
    fill: none;
    stroke: var(--ana-renk);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 565; /* 2 * PI * 90 */
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1s linear;
}

/* DEĞERLER VE ETİKETLER */
.sayac-deger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--metin-koyu);
}

.sayac-etiket {
    font-weight: 800;
    color: #34495e;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.sayac-alt-etiket {
    font-size: 0.8rem;
    color: #bdc3c7;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- RESPONSIVE OPTİMİZASYON --- */

@media (max-width: 1200px) {
    .sayac-grid { gap: 20px; }
    .sayac-kutu { width: 220px; }
    .sayac-daire-konteyner { width: 140px; height: 140px; }
    .sayac-deger { font-size: 2.2rem; }
}

@media (max-width: 850px) {
    .sayac-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
    .sayac-kutu { width: 100%; }
}

@media (max-width: 550px) {
    .sayac-konteyner { padding: 40px 15px; }
    .sayac-grid { grid-template-columns: 1fr; gap: 15px; }
    .sayac-kutu {
        flex-direction: row;
        justify-content: space-around;
        padding: 20px;
        border-radius: 20px;
    }
    .sayac-daire-konteyner { width: 100px; height: 100px; margin-bottom: 0; }
    .sayac-deger { font-size: 1.6rem; }
    .sayac-etiket { font-size: 1.4rem; margin-bottom: 4px; }
}

@media (max-width: 360px) {
    .sayac-kutu { padding: 15px 10px; }
    .sayac-daire-konteyner { width: 85px; height: 85px; }
    .sayac-deger { font-size: 1.3rem; }
}