﻿:root {
    --bg: #0f1724;
    --card: #0b1220;
    --accent: #10b981;
    --muted: #94a3b8;
    --glass: rgba(255,255,255,0.03)
}



.wrap {
    max-width: 960px;
    margin: 32px auto;
    padding: 28px;
    background: linear-gradient(180deg,rgba(255,255,255,0.03),transparent);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.7)
}



.logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg,var(--accent),#06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #021124
}

h1 {
    font-size: 20px;
    margin: 0
}

p.lead {
    color: var(--muted);
    margin: 6px 0 18px
}

section {
    margin-top: 18px
}

h2.on-title {
    font-size: 24px;
    margin: 10px 0;
    font-weight: bold;
    text-align: center;
}

ul {
    margin: 8px 0 16px 20px
}

li {
    margin: 8px 0;
    line-height: 1.45
}

.card {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.03);
    flex: 1 1 calc(20% - 10px); /* 5 sütun için %20 genişlik, gap'i düşerek ayarlıyoruz */

    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

    .card:not(.scale):hover {
        transform: scale(1.1);
        box-shadow: 0px 0px 15px #0000008e;
        z-index: 9;
    }

.good {
    border: 3px solid #10b981;
    padding-left: 10px;
    font-weight: bold;
}

.bad {
    border: 3px solid #ef4444;
    padding-left: 10px
}

.tips {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 12px;
    margin-top: 12px
}

.tip {
    background: var(--glass);
    padding: 12px;
    border-radius: 8px
}

footer {
    color: var(--muted);
    font-size: 13px;
    margin-top: 20px;
    text-align: right
}


.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px
}

.btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600
}

    .btn.primary {
        background: var(--accent);
        color: #021124
    }

    .btn.ghost {
        border: 1px solid rgba(255,255,255,0.06);
        color: var(--muted);
        background: transparent
    }


.card.good ul li {
    list-style: none;
    border-bottom: 1px white solid;
    margin-bottom: 5px;
    padding: 15px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    justify-content: space-evenly;
    align-items: stretch;
    flex-direction: row;
    transition: all .3s ease-in-out;
    position: relative;
}

.mode {
    opacity: 0.2 !important;
}


.scale {
    transform: scale(2) translate(-25%, 25%);
    position: fixed;
    z-index: 999;
    box-shadow: 0px 0px 40px #0b0b0bad;
    max-width: 100%;
    background-color: white;
    left: 50%;
    top: 50%;
    opacity: 1 !important;
    display: block;
}

.rakam {
    padding: 15px;
    display: contents;
    font-weight: bold;
    font-size: 28pt;
    padding: 15px !important;
    width: 35px;
    height: 35pt;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    justify-content: space-evenly;
    align-items: stretch;
    flex-direction: row;
    transition: all .3s ease-in-out;
    position: relative;
}

/* 768px ve altı (tablet + mobil) */
@media (max-width: 768px) {
    .cards {
        flex-direction: column; /* tek sütun */
        align-items: center; /* ortala */
    }

    .card {
        width: 100%; /* kartları tam genişlik yap */
        max-width: 400px; /* istersen max genişlik koyabilirsin */
    }
}

.nav-link {
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    background-color: #ff8155;
    color: white !important;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    margin-right: 5px;
    padding-left: 15px;
    padding-right: 15px;
}
    .nav-link:hover {
        background-color: #f87649;
    }

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    justify-content: flex-end;
}