/* ================= ROOT COLORS ================= */
:root {
    --dark: #051f20;
    --mid1: #173831;
    --mid2: #235347;
    --light: #8cb79b;
    --text: #dbf0dd;
}
/* AÇIK TEMA */
.light-mode {
    --dark: #dbf0dd;
    --mid1: #8cb79b;
    --mid2: #235347;
    --light: #173831;
    --text: #051f20;
}
/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    transition: background-color 0.4s, color 0.4s;
}
/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    background: var(--dark);
    border-bottom: 1px solid var(--mid1);
    z-index: 1000;
    transition: background-color 0.4s;
}
.logo img {
    height: 55px;
    transition: 0.3s;
}
.logo img:hover {
    transform: scale(1.05);
}
.menu {
    list-style: none;
    display: flex;
    gap: 35px;
}
.menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    position: relative;
    font-size: 16px;
    transition: 0.3s;
}
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--light);
    transition: 0.3s;
}
.menu a:hover::after {
    width: 100%;
}
.controls {
    display: flex;
    gap: 12px;
}
.nav-btn {
    border: 1px solid var(--light);
    padding: 7px 14px;
    border-radius: 25px;
    cursor: pointer;
    background: transparent;
    color: var(--text);
    transition: 0.3s;
    font-size: 13px;
    font-weight: 600;
}
.nav-btn:hover {
    background: var(--light);
    color: var(--dark);
}
/* ================= HAMBURGER MENU ================= */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}
.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text);
    transition: 0.3s;
}
/* ================= CONTENT (Ana Sayfa & Hakkımda) ================= */
.content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 40px;
}
.content h1 {
    font-size: 48px;
    margin-bottom: 25px;
    color: var(--light);
}
.p1 {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
    max-width: 800px;
    color: var(--text);
}
/* ================= CONTACT PAGE ================= */
.container {
    padding-top: 130px;
    padding-bottom: 60px;
    text-align: center;
}
.container h1 {
    font-size: 42px;
    margin-bottom: 40px;
    color: var(--light);
}
.container h2 {
    font-size: 32px;
    margin: 60px 0 30px;
    color: var(--light);
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}
.card {
    background: var(--mid1);
    padding: 25px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    transition: 0.35s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.card img {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1);
}
.card span {
    font-size: 16px;
    font-weight: 600;
}
.card:hover {
    transform: translateY(-8px);
    background: var(--mid2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
/* ================= GLASS CARDS ================= */
.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}
.glass-card {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.12);
}
.glass-card img {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1);
}
.glass-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
.glass-title {
    font-size: 18px;
    font-weight: 700;
}
.glass-desc {
    font-size: 14px;
    opacity: 0.8;
}

/* ================= GAME PAGE ================= */
.game-wrapper {
    padding-top: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-wrapper .container {
    width: 95%;
    max-width: 420px;
    padding: 35px;
    border-radius: 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    padding-top: 35px;
}

.game-wrapper h1 {
    margin-bottom: 20px;
    font-size: 30px;
    color: var(--light);
}

.scoreBoard {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: bold;
}

.choiceArea {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.choiceBox {
    font-size: 55px;
    background: var(--mid1);
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;
    min-width: 90px;
}

.pop {
    animation: pop 0.3s ease;
}

@keyframes pop {
    0% { transform: scale(0.6); }
    100% { transform: scale(1); }
}

.buttons button {
    margin: 6px;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: var(--mid2);
    color: var(--text);
    font-size: 22px;
    transition: 0.3s;
}

.buttons button:hover {
    background: var(--light);
    color: var(--dark);
    transform: translateY(-3px);
}

.result {
    min-height: 30px;
    font-size: 20px;
    margin-top: 15px;
}

.resetBtn {
    margin-top: 15px;
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--light);
    color: var(--text);
    transition: 0.3s;
}

.resetBtn:hover {
    background: var(--light);
    color: var(--dark);
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 25px;
    opacity: 0.8;
    font-size: 14px;
    background: var(--mid1);
    margin-top: 40px;
}

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 30px;
    }

    .hamburger {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--mid2);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left 0.4s ease;
        z-index: 999;
    }

    .menu.active {
        left: 0;
    }

    .menu a {
        font-size: 24px;
    }

    .content h1 {
        font-size: 36px;
    }

    .p1 {
        font-size: 16px;
    }

    .container h1 {
        font-size: 32px;
    }

    .container h2 {
        font-size: 28px;
    }

    .game-wrapper {
        padding-top: 120px;
    }

    .game-wrapper .container {
        padding: 25px;
    }

    .game-wrapper h1 {
        font-size: 26px;
    }

    .choiceBox {
        font-size: 45px;
        padding: 20px;
        min-width: 75px;
    }

    .glass-card {
        padding: 15px 20px;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 0 20px;
    }

    .logo img {
        height: 45px;
    }

    .controls {
        gap: 8px;
    }

    .nav-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .content h1 {
        font-size: 28px;
    }

    .container h1 {
        font-size: 28px;
    }

    .container h2 {
        font-size: 24px;
    }

    .game-wrapper .container {
        padding: 20px;
    }

    .game-wrapper h1 {
        font-size: 22px;
    }

    .choiceBox {
        font-size: 40px;
        padding: 15px;
        min-width: 65px;
    }

    .buttons button {
        padding: 10px 12px;
        font-size: 20px;
    }

    .glass-title {
        font-size: 16px;
    }

    .glass-desc {
        font-size: 12px;
    }
}