/* ============================================================
   GLOBAL
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: radial-gradient(circle at top, #180006 0%, #050002 90%);
    color: #fff;
    overflow-x: hidden;
}

/* ============================================================
   HEADER (TOPBAR)
============================================================ */
.top-header {
    position: fixed;
    top: 0;
    left: 250px;
    right: 0;
    height: 90px;
    background: rgba(40, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
    border-bottom: 1px solid rgba(255,0,50,0.25);
    z-index: 1000;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(90deg, #ff0033, #ff5577);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 16px rgba(255, 0, 50, .6);
}

/* ============================================================
   SOSYAL MEDYA (80px Premium)
============================================================ */
.social-icons {
    display: flex;
    gap: 22px;
    align-items: center;
}

.social-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    font-size: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #ff0033, #ff5577);
    color: #fff;

    box-shadow:
        0 0 35px rgba(255,0,70,.55),
        inset 0 0 18px rgba(255,255,255,.18);

    border: 2px solid rgba(255,255,255,0.1);
    transition: 0.25s ease;
}

.social-icon:hover {
    transform: translateY(-6px) scale(1.12);
    box-shadow:
        0 0 55px rgba(255,0,90,.95),
        inset 0 0 25px rgba(255,255,255,.25);
    opacity: 0.95;
}

/* ============================================================
   TOP RIGHT
============================================================ */
.top-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.logged-user {
    opacity: 0.9;
    font-weight: 600;
}

.logout-btn,
.login-btn,
.register-btn {
    padding: 10px 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, #ff0033, #ff5577);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: .25s ease;
    box-shadow: 0 4px 20px rgba(255,0,50,.4);
}

.logout-btn:hover,
.login-btn:hover,
.register-btn:hover {
    transform: translateY(-3px);
    opacity: .9;
}

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: #0a0003;
    padding: 30px 0;
    border-right: 1px solid rgba(255,0,50,.25);
    box-shadow: 4px 0 40px rgba(255,0,40,.2);
    z-index: 900;
}

.sidebar-user {
    padding: 0 25px 20px 25px;
    color: #bbb;
}

.sidebar-menu {
    list-style: none;
    padding: 0 20px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    background: rgba(255,0,0,.08);
    padding: 14px 18px;
    color: #fff;
    border-radius: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-decoration: none;
    transition: .25s ease;
}

.sidebar-item:hover {
    transform: translateX(6px);
    background: rgba(255,0,0,.18);
}

.icon {
    width: 36px;
    height: 36px;
    background: rgba(255,0,0,.15);
    border-radius: 10px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   CONTENT
============================================================ */
.main {
    margin-left: 250px;
    margin-top: 120px;
    padding: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff0033, #ff6688);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 35px;
}

/* ============================================================
   GÖREVLER (TASK CARDS)
============================================================ */
.gorevler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 35px;
}

.gorev-card {
    background: linear-gradient(180deg, #170005, #090003);
    padding: 28px;
    border-radius: 22px;
    border: 1px solid rgba(255,0,70,.22);
    box-shadow: 0 0 35px rgba(255,0,70,.25);
    position: relative;
    transition: .25s ease;
}

.gorev-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 50px rgba(255,0,90,.35);
}

.gorev-puan {
    position: absolute;
    top: -14px;
    left: 22px;
    background: linear-gradient(90deg, #ffcc33, #ff9933);
    padding: 8px 16px;
    color: #000;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 0 20px rgba(255,180,30,.7);
}

.gorev-info h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 7px;
}

.gorev-info p {
    font-size: 15px;
    opacity: .75;
    margin-bottom: 20px;
    color: #ffccd9;
}

.gorev-btn {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(90deg, #ff0033, #ff5577);
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(255,0,50,.3);
    text-decoration: none;
    transition: .25s ease;
}

.gorev-btn:hover {
    transform: translateY(-3px);
    opacity: .9;
}

/* ============================================================
   MARKET
============================================================ */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
}

.market-card {
    background: linear-gradient(180deg, #1b0007, #0a0003);
    border-radius: 22px;
    padding: 25px;
    border: 1px solid rgba(255,0,60,.25);
    box-shadow: 0 0 30px rgba(255,0,60,.25);
    position: relative;
    transition: .3s ease;
}

.market-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(255,0,60,.35);
}

.urun-puan-badge {
    position: absolute;
    top: -14px;
    right: 20px;
    padding: 8px 16px;
    color: #000;
    background: linear-gradient(90deg, #ffcc33, #ff9933);
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255,180,30,.7);
}

.urun-gorsel {
    height: 200px;
    border-radius: 16px;
    border: 1px solid rgba(255,0,50,.15);
    background: rgba(255,0,50,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.no-img-icon {
    font-size: 40px;
    color: #ff4466;
    opacity: .7;
}

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background: #80001a;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0003;
}
