/* =========================================================
   SUBSTRAT
   KOZMİK / GLASS / DARK + LIGHT
========================================================= */

:root {
    --bg: #0a0b10;
    --bg-2: #101218;

    --glass: rgba(16, 17, 21, 0.72);
    --glass-light: rgba(27, 29, 34, 0.58);

    --border: rgba(255, 255, 255, 0.15);
    --border-strong: rgba(255, 255, 255, 0.24);

    --text: #ffffff;
    --text-soft: #d8d8dc;
    --text-muted: #999ba3;

    --purple: #9c4dff;
    --purple-bright: #bd7aff;
    --purple-dark: #5d238d;

    --shadow:
        0 20px 70px rgba(0, 0, 0, 0.55);

    --sidebar-width: 266px;

    --radius: 16px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    background:
        url(galeri/arkaplan.png") center center / cover fixed no-repeat;

    color: var(--text);

    font-family: "Inter", sans-serif;

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input {
    font: inherit;
}


/* =========================================================
   SPACE BACKGROUND
========================================================= */

.space-background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

.space-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.space-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.42),
            rgba(0, 0, 0, 0.76)
        );

    z-index: 5;
}


/* dünya/gezegen haritası */

.space-map {
    position: absolute;

    width: 1200px;
    height: 600px;

    right: -120px;
    top: 110px;

    opacity: 0.13;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            transparent 47%,
            rgba(255,255,255,0.13) 48%,
            transparent 49%
        ),
        radial-gradient(
            ellipse at 42% 43%,
            rgba(255,255,255,0.13) 0 1px,
            transparent 2px
        ),
        radial-gradient(
            ellipse at 58% 52%,
            rgba(255,255,255,0.10) 0 1px,
            transparent 2px
        );

    filter: blur(0.2px);

    transform: rotate(-10deg);
}


.space-map::before {
    content: "";

    position: absolute;
    inset: 70px 110px;

    border-radius: 50%;

    background:
        repeating-linear-gradient(
            15deg,
            transparent 0 20px,
            rgba(255,255,255,0.045) 21px 22px
        ),
        repeating-linear-gradient(
            105deg,
            transparent 0 25px,
            rgba(255,255,255,0.035) 26px 27px
        );

    opacity: 0.8;
}


.space-map::after {
    content: "";

    position: absolute;

    width: 700px;
    height: 340px;

    left: 210px;
    top: 130px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.09);

    box-shadow:
        inset 0 0 90px rgba(0,0,0,0.8),
        0 0 80px rgba(100,40,150,0.04);
}


/* =========================================================
   PLANETS
========================================================= */

.planet {
    position: absolute;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(255,255,255,0.32),
            rgba(110,110,120,0.14) 28%,
            rgba(0,0,0,0.95) 72%
        );

    box-shadow:
        inset -25px -20px 45px rgba(0,0,0,0.9),
        0 0 50px rgba(255,255,255,0.035);
}


.planet-one {
    width: 260px;
    height: 260px;

    right: -90px;
    top: 180px;

    opacity: 0.42;
}


.planet-two {
    width: 105px;
    height: 105px;

    right: 23%;
    top: 70px;

    opacity: 0.25;
}


.planet-three {
    width: 78px;
    height: 78px;

    left: 17%;
    bottom: 80px;

    opacity: 0.24;
}


.planet-four {
    width: 150px;
    height: 150px;

    right: 31%;
    bottom: -70px;

    opacity: 0.18;
}


/* =========================================================
   ORBITS
========================================================= */

.orbit {
    position: absolute;

    border:
        1px solid rgba(255,255,255,0.075);

    border-radius: 50%;

    transform: rotate(-15deg);
}


.orbit-one {
    width: 900px;
    height: 320px;

    right: -150px;
    top: 200px;
}


.orbit-two {
    width: 700px;
    height: 260px;

    right: -80px;
    top: 250px;

    transform: rotate(18deg);
}


.orbit-three {
    width: 1100px;
    height: 390px;

    right: -300px;
    top: 130px;

    transform: rotate(-27deg);
}


/* =========================================================
   STARS
========================================================= */

.stars {
    position: absolute;
    inset: 0;

    opacity: 0.42;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,0.9) 0 1px,
            transparent 1.5px
        );

    background-size: 170px 150px;
}


.stars-one {
    background-position:
        20px 40px;
}


.stars-two {
    opacity: 0.18;

    background-size: 260px 230px;

    background-position:
        90px 110px;
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    width: var(--sidebar-width);

    padding: 28px 20px;

    background:
        linear-gradient(
            180deg,
            rgba(5,7,10,0.92),
            rgba(4,5,7,0.78)
        );

    border-right:
        1px solid rgba(255,255,255,0.10);

    backdrop-filter: blur(22px);

    z-index: 50;

    display: flex;
    flex-direction: column;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 5px 8px 34px;
}


.brand-symbol {
    color: white;

    font-size: 29px;

    text-shadow:
        0 0 18px rgba(180,100,255,0.65);
}


.brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}


.brand-text strong {
    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    letter-spacing: 1.8px;
}


.brand-text span {
    color: #aeb0b6;

    font-size: 9px;

    letter-spacing: 0.35px;
}


/* MENU */

.sidebar-menu {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.menu-item {
    height: 50px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 0 16px;

    color: #ededed;

    border:
        1px solid transparent;

    border-radius: 11px;

    font-size: 14px;

    transition:
        0.25s ease;
}


.menu-icon {
    width: 20px;

    display: inline-flex;
    justify-content: center;

    color: #dedee2;

    font-size: 17px;
}


.menu-item:hover {
    background:
        rgba(255,255,255,0.06);

    border-color:
        rgba(255,255,255,0.09);
}


.menu-item.active {
    background:
        linear-gradient(
            100deg,
            rgba(255,255,255,0.16),
            rgba(125,60,180,0.17)
        );

    border-color:
        rgba(255,255,255,0.24);

    box-shadow:
        inset 3px 0 0 var(--purple),
        0 0 28px rgba(125,45,190,0.10);
}


/* SIDEBAR ALT */

.sidebar-bottom {
    margin-top: auto;
}


.sidebar-quote {
    padding:
        0 10px 26px;
}


.quote-line {
    width: 70px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            transparent
        );

    margin-bottom: 16px;
}


.sidebar-quote p {
    color: #f1f1f1;

    font-family: "Cormorant Garamond", serif;

    font-size: 18px;

    line-height: 1.25;

    font-style: italic;
}


.sidebar-quote span {
    display: block;

    margin-top: 12px;

    color: #85858c;

    font-size: 8px;

    letter-spacing: 4px;
}


.sidebar-card {
    padding: 20px;

    min-height: 145px;

    border:
        1px solid rgba(255,255,255,0.13);

    border-radius: 14px;

    background:
        rgba(20,21,25,0.58);

    backdrop-filter: blur(15px);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.35);
}


.sidebar-card small {
    display: block;

    color: #c6c6cb;

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 10px;
}


.sidebar-card strong {
    display: block;

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-size: 19px;

    line-height: 1.15;

    margin-bottom: 16px;
}


.sidebar-card button {
    width: 100%;

    height: 36px;

    border:
        1px solid rgba(255,255,255,0.18);

    border-radius: 8px;

    background:
        rgba(255,255,255,0.05);

    color: white;

    cursor: pointer;

    font-size: 11px;

    transition: 0.25s;
}


.sidebar-card button:hover {
    background:
        rgba(145,70,220,0.20);

    border-color:
        rgba(170,90,255,0.5);
}


.sidebar-card button span {
    margin-left: 8px;
}


/* =========================================================
   MAIN
========================================================= */

.main {
    position: relative;

    width: calc(100% - var(--sidebar-width));

    margin-left: var(--sidebar-width);

    min-height: 100vh;

    padding: 20px 24px 50px;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    width: 100%;

    min-height: 55px;

    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 18px;
}


.search-box {
    height: 47px;

    max-width: 780px;

    flex: 1;

    display: flex;
    align-items: center;

    padding: 0 15px;

    border:
        1px solid rgba(255,255,255,0.13);

    border-radius: 12px;

    background:
        rgba(8,10,13,0.66);

    backdrop-filter: blur(20px);
}


.search-icon {
    color: white;

    font-size: 22px;

    margin-right: 11px;
}


.search-box input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: white;

    font-size: 12px;
}


.search-box input::placeholder {
    color: #9b9da5;
}


.search-shortcut {
    color: #f1f1f1;

    font-size: 20px;
}


.top-actions {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 10px;
}


/* TEMA */

.theme-toggle {
    width: 92px;
    height: 44px;

    border:
        1px solid rgba(255,255,255,0.15);

    border-radius: 25px;

    background:
        rgba(12,13,17,0.7);

    color: white;

    display: flex;
    align-items: center;
    justify-content: space-around;

    cursor: pointer;
}


.theme-toggle span {
    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}


.theme-toggle .theme-moon {
    background:
        rgba(255,255,255,0.14);
}


/* NOTIFICATION */

.notification-button {
    position: relative;

    width: 44px;
    height: 44px;

    border:
        1px solid rgba(255,255,255,0.14);

    border-radius: 11px;

    background:
        rgba(10,11,15,0.72);

    color: white;

    cursor: pointer;

    font-size: 18px;
}


.notification-button span {
    position: absolute;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    top: 9px;
    right: 10px;

    background: var(--purple);

    box-shadow:
        0 0 9px var(--purple);
}


/* AUTH */

.auth-buttons {
    display: flex;
    align-items: center;

    gap: 8px;
}


.auth-buttons a {
    height: 44px;

    padding: 0 16px;

    display: flex;
    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(255,255,255,0.15);

    border-radius: 10px;

    background:
        rgba(10,11,15,0.7);

    color: white;

    font-size: 12px;

    transition: 0.25s;
}


.auth-buttons a:hover {
    border-color:
        rgba(180,100,255,0.55);

    background:
        rgba(120,50,180,0.15);
}


.auth-buttons .register-button {
    background: white;

    color: #080808;

    border-color: white;

    font-weight: 600;
}


.auth-buttons .register-button:hover {
    background: #eeeeee;
}


/* USER */

.user-box {
    height: 44px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 12px 0 6px;

    border:
        1px solid rgba(255,255,255,0.16);

    border-radius: 24px;

    background:
        rgba(12,13,17,0.7);

    backdrop-filter: blur(15px);

    color: white;

    font-size: 12px;
}


.user-avatar {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #bcbcbc,
            #393941 42%,
            #08080b 70%
        );

    border:
        1px solid rgba(255,255,255,0.28);

    color: white;

    font-weight: 600;
}


.user-arrow {
    color: #aaa;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 340px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        1px
        minmax(250px, 0.75fr)
        minmax(200px, 0.65fr);

    gap: 0;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,0.16);

    border-radius: 16px;

    background:
        linear-gradient(
            105deg,
            rgba(10,11,14,0.90),
            rgba(10,10,14,0.64)
        );

    backdrop-filter: blur(16px);

    box-shadow:
        var(--shadow);
}


.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            ellipse at 68% 48%,
            rgba(120,50,170,0.09),
            transparent 35%
        );

    pointer-events: none;
}


.hero-left {
    position: relative;

    z-index: 2;

    padding: 42px 38px;
}


.hero-label {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #d8d8dc;

    font-size: 11px;

    letter-spacing: 5px;
}


.hero-label span {
    width: 55px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            white,
            var(--purple)
        );
}


.hero h1 {
    margin-top: 17px;

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-weight: 600;

    font-size: clamp(42px, 4.2vw, 70px);

    line-height: 0.91;

    letter-spacing: -1.4px;
}


.hero h1 span {
    color: #ffffff;

    text-shadow:
        0 0 30px rgba(160,80,255,0.12);
}


.hero-description {
    max-width: 560px;

    margin-top: 25px;

    color: #d3d3d7;

    font-size: 13px;

    line-height: 1.7;
}


.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 28px;
}


.primary-button,
.secondary-button {
    height: 48px;

    padding: 0 23px;

    display: inline-flex;
    align-items: center;

    justify-content: center;

    border-radius: 25px;

    font-size: 12px;

    transition: 0.25s;
}


.primary-button {
    color: #09090a;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #e2e2e5
        );

    box-shadow:
        0 0 35px rgba(255,255,255,0.10);
}


.primary-button span {
    margin-left: 10px;

    font-size: 18px;
}


.primary-button:hover {
    box-shadow:
        0 0 35px rgba(175,90,255,0.25);
}


.secondary-button {
    color: white;

    border:
        1px solid rgba(255,255,255,0.24);

    background:
        rgba(255,255,255,0.03);
}


.secondary-button:hover {
    background:
        rgba(140,60,200,0.13);
}


/* DIVIDER */

.hero-divider {
    width: 1px;

    background:
        linear-gradient(
            transparent,
            rgba(255,255,255,0.17),
            transparent
        );
}


/* COUNTDOWN */

.countdown {
    position: relative;

    z-index: 2;

    padding: 48px 32px;

    text-align: center;

    display: flex;
    flex-direction: column;

    align-items: center;
}


.countdown-title {
    color: white;

    font-size: 11px;

    display: flex;
    align-items: center;

    gap: 7px;
}


.countdown-title:first-letter {
    color: white;
}


.countdown-number {
    margin-top: 15px;

    color: white;

    font-size: clamp(70px, 6vw, 105px);

    line-height: 0.9;

    font-weight: 600;

    letter-spacing: -5px;

    text-shadow:
        0 0 30px rgba(255,255,255,0.08);
}


.countdown-label {
    margin-top: 9px;

    color: white;

    font-size: 13px;
}


.exam-dates {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 28px;
}


.exam-dates div:not(.date-divider) {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.exam-dates span {
    color: #bdbdc2;

    font-size: 10px;
}


.exam-dates strong {
    color: white;

    font-size: 17px;
}


.exam-dates small {
    color: #999ba2;

    font-size: 8px;

    letter-spacing: 0.5px;
}


.date-divider {
    width: 1px;
    height: 40px;

    background:
        rgba(255,255,255,0.15);
}


/* HERO QUOTE */

.hero-quote {
    position: relative;

    z-index: 2;

    align-self: center;

    margin: 20px 25px;

    padding: 30px;

    min-height: 170px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border:
        1px solid rgba(255,255,255,0.13);

    border-radius: 14px;

    background:
        rgba(15,16,20,0.46);

    backdrop-filter: blur(15px);
}


.quote-symbol {
    color: #ddd;

    font-family: Georgia, serif;

    font-size: 40px;

    line-height: 0.5;
}


.hero-quote p {
    margin-top: 13px;

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-style: italic;

    font-size: 20px;

    line-height: 1.1;
}


.hero-quote div {
    width: 38px;
    height: 1px;

    margin-top: 20px;

    background:
        var(--purple);

    box-shadow:
        0 0 15px rgba(160,70,255,0.55);
}


/* =========================================================
   SECTION
========================================================= */

.content-section {
    margin-top: 24px;
}


.section-heading {
    margin-bottom: 11px;
}


.section-heading h2 {
    color: white;

    font-size: 13px;

    letter-spacing: 0.2px;
}


/* TOOLS */

.tools-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;
}


.tool-card {
    min-height: 82px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 12px;

    background:
        rgba(10,12,15,0.62);

    backdrop-filter: blur(15px);

    transition:
        transform 0.25s,
        border 0.25s,
        background 0.25s;
}


.tool-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(180,90,255,0.40);

    background:
        rgba(28,18,36,0.62);
}


.tool-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 9px;

    color: white;

    font-size: 18px;

    background:
        rgba(255,255,255,0.055);
}


.tool-content {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 5px;
}


.tool-content strong {
    color: white;

    font-size: 12px;
}


.tool-content span {
    color: #aeb0b7;

    font-size: 9px;

    line-height: 1.4;
}


.tool-arrow {
    margin-left: auto;

    color: white;

    font-size: 17px;
}


/* =========================================================
   BOTTOM CONTENT
========================================================= */

.bottom-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(320px, 0.75fr);

    gap: 22px;

    margin-top: 25px;
}


.subject-panel {
    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 13px;

    background:
        rgba(9,10,13,0.65);

    backdrop-filter: blur(15px);

    overflow: hidden;
}


.subject-tabs {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 5px;

    padding: 8px;
}


.subject-tab {
    height: 32px;

    border: 0;

    border-radius: 9px;

    background:
        rgba(255,255,255,0.015);

    color: #aaaab0;

    cursor: pointer;

    font-size: 10px;
}


.subject-tab.active {
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.20),
            rgba(100,100,110,0.16)
        );

    color: white;
}


/* SUBJECT GRID */

.subject-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 8px;

    padding: 0 8px 8px;
}


.subject-card {
    position: relative;

    min-height: 150px;

    padding: 15px;

    border:
        1px solid rgba(255,255,255,0.10);

    border-radius: 10px;

    background:
        rgba(18,19,23,0.46);

    transition: 0.25s;
}


.subject-card:hover {
    border-color:
        rgba(170,90,255,0.34);

    background:
        rgba(30,20,39,0.52);
}


.subject-title {
    display: flex;
    align-items: center;

    gap: 8px;

    color: white;

    font-size: 11px;

    font-weight: 600;
}


.subject-title span {
    color: white;

    font-size: 15px;
}


.subject-card ul {
    margin-top: 17px;

    padding-left: 13px;

    color: #bfc0c6;

    font-size: 9px;

    line-height: 1.8;
}


.subject-arrow {
    position: absolute;

    right: 13px;
    top: 14px;

    color: #bbb;

    font-size: 14px;
}


/* =========================================================
   PROGRAMLAR
========================================================= */

.program-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;
}


.program-heading a {
    color: #c6a5dd;

    font-size: 9px;
}


.program-list {
    display: flex;
    flex-direction: column;

    gap: 9px;
}


.program-card {
    min-height: 76px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 10px;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 12px;

    background:
        rgba(11,12,15,0.64);

    backdrop-filter: blur(15px);

    transition: 0.25s;
}


.program-card:hover {
    border-color:
        rgba(170,90,255,0.40);

    background:
        rgba(27,18,34,0.64);
}


.program-planet {
    width: 47px;
    height: 47px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #8d8d93,
            #34343b 42%,
            #050506 75%
        );

    box-shadow:
        inset -10px -8px 17px #000,
        0 0 16px rgba(255,255,255,0.04);
}


.planet-small-two {
    background:
        radial-gradient(
            circle at 35% 30%,
            #b26bdf,
            #3a194a 44%,
            #050306 76%
        );

    box-shadow:
        inset -10px -8px 17px #000,
        0 0 16px rgba(150,70,220,0.15);
}


.planet-small-three {
    background:
        radial-gradient(
            circle at 35% 30%,
            #6d6d72,
            #202026 44%,
            #020203 76%
        );
}


.program-text {
    display: flex;
    flex-direction: column;

    gap: 5px;

    min-width: 0;
}


.program-text strong {
    color: white;

    font-size: 11px;
}


.program-text span {
    color: #aaaab1;

    font-size: 9px;
}


.program-arrow {
    margin-left: auto;

    width: 32px;
    height: 32px;

    border:
        1px solid rgba(255,255,255,0.10);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    flex-shrink: 0;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 35px;

    padding: 0 5px;

    color: #777980;

    font-size: 9px;

    letter-spacing: 2px;
}


footer strong {
    color: #c3c3c7;

    letter-spacing: 4px;
}


/* =========================================================
   HIDDEN
========================================================= */

.hidden {
    display: none !important;
}


/* =========================================================
   RESPONSIVE — MOBİL
========================================================= */

@media (max-width: 1250px) {

    :root {
        --sidebar-width: 230px;
    }

    .hero {
        grid-template-columns:
            minmax(0, 1.4fr)
            1px
            minmax(230px, 0.75fr);
    }

    .hero-quote {
        display: none;
    }

    .tools-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .bottom-content {
        grid-template-columns: minmax(0, 1fr);
    }

}


@media (max-width: 900px) {

    :root {
        --sidebar-width: 0px;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .sidebar {
        display: none;
    }

    .main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        padding: 15px;
        overflow-x: hidden;
    }

    .topbar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-wrap: wrap;
    }

    .search-box {
        order: 1;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .top-actions {
        max-width: 100%;
        min-width: 0;
        margin-left: auto;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        grid-template-columns: minmax(0, 1fr);
    }

    .hero-left,
    .countdown,
    .hero-quote {
        min-width: 0;
        max-width: 100%;
    }

    .hero-divider {
        display: none;
    }

    .countdown {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .tools-grid,
    .bottom-content,
    .subject-panel,
    .subject-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .subject-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .subject-card,
    .tool-card,
    .program-card {
        min-width: 0;
        max-width: 100%;
    }

}


@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .main {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 10px;
    }

    .topbar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .top-actions {
        width: auto;
        max-width: 100%;
        min-width: 0;
    }

    .auth-buttons {
        max-width: 100%;
        min-width: 0;
    }

    .auth-buttons a {
        white-space: nowrap;
    }

    .notification-button {
        display: none;
    }

    .theme-toggle {
        width: 76px;
        flex-shrink: 0;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-left {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding: 30px 24px;
    }

    .hero h1 {
        font-size: 43px;
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .tools-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        grid-template-columns: minmax(0, 1fr);
    }

    .tool-card {
        width: 100%;
        min-width: 0;
    }

    .bottom-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        grid-template-columns: minmax(0, 1fr);
    }

    .subject-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        grid-template-columns: minmax(0, 1fr);
    }

    .subject-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .subject-tabs {
        width: 100%;
        max-width: 100%;

        overflow-x: auto;
        overflow-y: hidden;

        scrollbar-width: none;
    }

    .subject-tabs::-webkit-scrollbar {
        display: none;
    }

    .subject-tab {
        min-width: 110px;
        flex-shrink: 0;
    }

    .exam-dates {
        width: 100%;
        max-width: 100%;

        margin-top: 22px;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .program-list {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .program-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    footer {
        width: 100%;
        max-width: 100%;

        flex-wrap: wrap;
        gap: 10px;
    }

}



/* =========================================================
   LIGHT MODE
   ========================================================= */

body.light-mode {
    /* SAYFANIN VE KARTLARIN RENKLERİ AYNI KALIYOR */
    background: #747983 !important;
    color: #ffffff !important;
}

/* ARKA PLAN GÖRSELİ AYNI */
body.light-mode .space-background {
    background: transparent !important;
}

body.light-mode .space-background img {
    opacity: 1 !important;
    filter: none !important;
}

/* BEYAZ PERDE YOK */
body.light-mode .space-overlay {
    display: none !important;
}

/* SIDEBAR */
body.light-mode .sidebar {
    background: rgba(91, 95, 105, 0.78) !important;
    border-right-color: rgba(255,255,255,0.16) !important;
}

/* ÜST BAR + TÜM KARTLAR */
body.light-mode .search-box,
body.light-mode .notification-button,
body.light-mode .user-box,
body.light-mode .theme-toggle,
body.light-mode .hero,
body.light-mode .tool-card,
body.light-mode .subject-panel,
body.light-mode .subject-card,
body.light-mode .program-card,
body.light-mode .sidebar-card {
    background: rgba(104, 108, 118, 0.72) !important;
    border-color: rgba(255,255,255,0.20) !important;
}

/* =========================================================
   TÜM METİNLER BEYAZ
   ========================================================= */

body.light-mode,
body.light-mode *,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode p,
body.light-mode span,
body.light-mode strong,
body.light-mode small,
body.light-mode a,
body.light-mode button,
body.light-mode label,
body.light-mode li {
    color: #ffffff !important;
}

/* INPUT */
body.light-mode input {
    color: #ffffff !important;
}

body.light-mode input::placeholder {
    color: rgba(255,255,255,0.62) !important;
}

/* AKTİF MENÜ */
body.light-mode .menu-item.active {
    background: rgba(135, 139, 150, 0.60) !important;
    border-color: rgba(255,255,255,0.25) !important;

    box-shadow:
        inset 3px 0 0 #b476ff,
        0 8px 25px rgba(0,0,0,0.10) !important;
}

/* İKONLAR */
body.light-mode .tool-icon,
body.light-mode .program-arrow {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.20) !important;
}

/* SEKME */
body.light-mode .subject-tab {
    color: #ffffff !important;
}

body.light-mode .subject-tab.active {
    background: rgba(135,139,150,0.55) !important;
    color: #ffffff !important;
}

/* BUTONLAR */
body.light-mode .primary-button {
    background: #ffffff !important;
    color: #17191e !important;
}

body.light-mode .secondary-button {
    background: rgba(255,255,255,0.05) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.28) !important;
}

/* KOZMİK EFEKTLER KAYBOLMASIN */
body.light-mode .space-map,
body.light-mode .planet,
body.light-mode .stars,
body.light-mode .orbit {
    opacity: 0 !important;
}

/* TEMA BUTONU */
body.light-mode .theme-toggle .theme-sun {
    background: rgba(255,255,255,0.16) !important;
}

body.light-mode .theme-toggle .theme-moon {
    background: transparent !important;
}