:root {
    --black: #050505;
    --dark: #0d0d0d;
    --card: #111111;
    --border: #222222;

    --red: #e50914;
    --red-hover: #ff1a25;

    --text: #ffffff;
    --muted: #888888;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* NAVBAR */

.main-navbar {
    height: 70px;
    background: #080808;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-inner {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    color: white;
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.brand span {
    color: var(--red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link-custom {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: .2s;
}

.nav-link-custom:hover {
    color: white;
}

/* SEARCH */

.search-box {
    flex: 1;
    max-width: 520px;
    margin-left: auto;
    position: relative;
}

.search-box input {
    width: 100%;
    height: 42px;
    background: #151515;
    border: 1px solid #292929;
    border-radius: 8px;
    color: white;
    padding: 0 45px 0 15px;
    outline: none;
    transition: .2s;
}

.search-box input:focus {
    border-color: var(--red);
}

.search-box input::placeholder {
    color: #666;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;

    width: 32px;
    height: 32px;

    border: 0;
    border-radius: 6px;

    background: var(--red);
    color: white;

    cursor: pointer;
    font-weight: bold;
}

/* RIGHT SIDE */

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.login-btn {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    padding: 9px 14px;
}

.upload-btn {
    background: var(--red);
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

.upload-btn:hover {
    background: var(--red-hover);
    color: white;
}

/* MOBILE */

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 0;
    color: white;
    font-size: 24px;
}

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    /* Mobil navbar'da arama gizli */
    .main-navbar .search-box {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 600px) {
    .navbar-inner {
        padding: 0 14px;
        gap: 12px;
    }

    .brand {
        font-size: 19px;
    }

    .upload-btn {
        padding: 8px 11px;
        font-size: 12px;
    }
}

/* PAGE */

.page-container {
    max-width: 1400px;
    margin: auto;
    padding: 30px 24px;
}

/* LOGIN BUTTON */

.login-btn {
    background: transparent;
    border: 0;
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    padding: 9px 14px;
    cursor: pointer;
    transition: .2s;
}

.login-btn:hover {
    color: white;
}


/* LOGIN MODAL */

.login-modal {
    background: #111;
    border: 1px solid #292929;
    border-radius: 14px;
    color: white;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .65);
}

.login-modal .modal-header {
    border-bottom: 1px solid #242424;
    padding: 24px 26px 20px;
}

.login-modal .modal-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.login-subtitle {
    color: #777;
    font-size: 13px;
    margin: 6px 0 0;
}

.login-modal .modal-body {
    padding: 26px;
}


/* FORM */

.login-form-group {
    margin-bottom: 20px;
}

.login-form-group label {
    display: block;
    color: #ddd;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;

    background: #080808;
    border: 1px solid #292929;
    border-radius: 8px;

    color: white;
    outline: none;

    font-family: inherit;
    font-size: 14px;

    transition: .2s;
}

.login-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, .12);
}

.login-input::placeholder {
    color: #555;
}


/* PASSWORD */

.password-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.password-label label {
    margin-bottom: 8px;
}

.forgot-password {
    color: #888;
    font-size: 12px;
    text-decoration: none;
    margin-bottom: 8px;
}

.forgot-password:hover {
    color: var(--red);
}


/* REMEMBER */

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.remember-me input {
    width: 15px;
    height: 15px;
    accent-color: var(--red);
    cursor: pointer;
}

.remember-me label {
    color: #888;
    font-size: 12px;
    cursor: pointer;
}


/* SUBMIT */

.login-submit {
    width: 100%;
    height: 46px;

    border: 0;
    border-radius: 8px;

    background: var(--red);
    color: white;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: .2s;
}

.login-submit:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
}


/* DIVIDER */

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #555;
    font-size: 12px;

    margin: 24px 0;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #292929;
}


/* REGISTER */

.register-text {
    text-align: center;
    color: #777;
    font-size: 13px;
}

.register-text a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.register-text a:hover {
    color: var(--red);
}


/* MODAL BACKDROP */

.modal-backdrop.show {
    opacity: .8;
}


/* MOBILE */

@media (max-width: 576px) {
    .login-modal .modal-header {
        padding: 20px;
    }

    .login-modal .modal-body {
        padding: 20px;
    }

    .login-modal .modal-title {
        font-size: 20px;
    }
}

/* Masaüstü */
@media (min-width: 769px) {
    .footer-socials {
        justify-content: flex-end;
    }
}

/* Mobil */
@media (max-width: 768px) {
    .footer-socials {
        justify-content: flex-start;
        margin-top: 25px;
    }
}

.register-link {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;

    color: white;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    transition: .2s;
}

.register-link:hover {
    color: var(--red);
}

/* REGISTER/LOGIN SUCCESS */

.login-success, .register-success {
    text-align: center;
    padding: 20px 5px 15px;
}

.success-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(40, 200, 90, .12);
    border: 1px solid rgba(40, 200, 90, .3);

    color: #45e477;

    font-size: 30px;
    font-weight: 700;

    animation: successPop .4s ease;
}

.login-success, .register-success h3 {
    margin: 0 0 8px;

    color: white;
    font-size: 21px;
}

.login-success, .register-success p {
    margin: 0 0 20px;

    color: #888;
    font-size: 13px;
}

.redirect-text {
    color: #666;
    font-size: 12px;
}

.redirect-text span {
    color: var(--red);
    font-size: 15px;
    font-weight: 700;
}

@keyframes successPop {
    0% {
        transform: scale(.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.account-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 15px;

    border: 1px solid #292929;
    border-radius: 9px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
    cursor: pointer;

    transition: all .2s ease;
}

.account-icon {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    font-size: 14px;
}

/* Giriş Yap */

.login-account-btn {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.login-account-btn:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, .25);
}

.login-account-btn .account-icon {
    background: rgba(255,255,255,.13);
    color: white;
}

/* ================================
PROFILE DROPDOWN
================================ */

.profile-dropdown {
    position: relative;
}


/* PROFILE BUTTON */

.profile-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    height: 42px;
    padding: 4px 10px 4px 5px;

    background: #151515;
    border: 1px solid #292929;
    border-radius: 10px;

    color: #ddd;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.profile-user-btn:hover,
.profile-user-btn.show {
    background: #1b1b1b;
    border-color: #383838;
    color: white;
}


/* AVATAR */

.profile-user-avatar {
    width: 32px;
    height: 32px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--red);
    color: white;

    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;

    box-shadow: 0 0 0 3px rgba(229, 9, 20, .10);
}

.logged-in-profile-user-avatar {
    width: 32px;
    height: 32px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}


/* USERNAME */

.profile-user-name {
    max-width: 140px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #ddd;
}


/* CHEVRON */

.profile-user-chevron {
    color: #666;
    font-size: 14px;
    line-height: 1;

    transition: transform .2s ease;
}

.profile-user-btn.show .profile-user-chevron {
    transform: rotate(180deg);
}


/* DROPDOWN */

.profile-dropdown-menu {
    min-width: 210px;

    margin-top: 8px !important;
    padding: 7px;

    background: #111;
    border: 1px solid #292929;
    border-radius: 10px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .5);

    animation: profileDropdown .15s ease;
}

@keyframes profileDropdown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* DROPDOWN ITEM */

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 11px;

    width: 100%;

    padding: 10px 11px;

    border-radius: 7px;

    background: transparent;

    color: #bbb;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background .15s ease,
        color .15s ease;
}

.profile-dropdown-item:hover {
    background: #1d1d1d;
    color: white;
}


/* ICON */

.profile-dropdown-icon {
    width: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777;
    font-size: 15px;
}

.profile-dropdown-item:hover .profile-dropdown-icon {
    color: #aaa;
}


/* DIVIDER */

.profile-dropdown-divider {
    margin: 6px 3px;

    border-color: #292929;
    opacity: 1;
}


/* LOGOUT */

.profile-logout {
    border: 0;
    cursor: pointer;

    color: #e55;
}

.profile-logout .profile-dropdown-icon {
    color: #d44;
}

.profile-logout:hover {
    background: rgba(229, 9, 20, .10);
    color: #ff4b55;
}

.profile-logout:hover .profile-dropdown-icon {
    color: #ff4b55;
}

/* ================================
FOOTER
================================ */

.site-footer {
    position: relative;
    margin-top: 50px;

    background: #080808;
    border-top: 1px solid #202020;

    color: white;
}


.footer-inner {
    max-width: 1400px;
    margin: 0 auto;

    padding: 30px 24px 16px;
}


/* MAIN */

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}


/* BRAND */

.footer-brand-section {
    flex: 1;
}

.footer-brand {
    display: inline-block;

    color: white;
    text-decoration: none;

    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;

    margin-bottom: 12px;
}

.footer-brand span {
    color: var(--red);
}


.footer-description {
    margin: 0 0 12px;

    color: #707070;

    font-size: 13px;
    line-height: 1.7;
}


/* AGE BADGE */

.footer-age-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 6px 10px;

    background: rgba(229, 9, 20, .07);
    border: 1px solid rgba(229, 9, 20, .22);
    border-radius: 7px;
}

.footer-age-badge span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    border-radius: 6px;

    background: var(--red);

    color: white;

    font-size: 11px;
    font-weight: 800;
}

.footer-age-badge small {
    color: #888;

    font-size: 11px;
    font-weight: 500;
}

/* SOCIAL MEDIA */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 15px;
    padding-bottom: 10px;
}

.footer-social-link {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #121212;
    border: 1px solid #292929;
    border-radius: 9px;

    color: #888;
    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.footer-social-link svg {
    width: 19px;
    height: 19px;
}

.footer-social-link:hover {
    background: #1b1b1b;
    border-color: #3a3a3a;
    color: white;
    transform: translateY(-2px);
}

.footer-social-link.instagram:hover {
    color: #e1306c;
    border-color: rgba(225, 48, 108, .4);
}

.footer-social-link.telegram:hover {
    color: #229ed9;
    border-color: rgba(34, 158, 217, .4);
}


/* LINKS */

.footer-links-section {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;

    gap: 90px;

    flex: 1;
}


.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;

    min-width: 120px;
}


.footer-column h4 {
    margin: 0 0 7px;

    color: #eee;

    font-size: 13px;
    font-weight: 700;
}


.footer-column a {
    color: #666;

    text-decoration: none;

    font-size: 12px;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-column a:hover {
    color: white;
    transform: translateX(2px);
}


/* BOTTOM */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 20px;
    padding-top: 14px;

    border-top: 1px solid #1c1c1c;
}


.footer-copyright {
    color: #505050;
    font-size: 11px;
}


.footer-warning {
    color: #555;
    font-size: 11px;
}


/* MOBILE */

@media (max-width: 800px) {

    .footer-main {
        flex-direction: column;
        gap: 35px;
    }

    .footer-brand-section {
        max-width: 500px;
    }

    .footer-links-section {
        width: 100%;
        justify-content: flex-start;
        gap: 60px;
    }

}


@media (max-width: 550px) {

    .footer-inner {
        padding: 35px 18px 20px;
    }

    .footer-links-section {
        justify-content: flex-start;
        gap: 20px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

}

/* =================================
DESKTOP FOOTER - KOMPAKT
================================= */

@media (min-width: 801px) {

    .footer-inner {
        padding-top: 30px;
        padding-bottom: 15px;
    }

    .footer-socials {
        justify-content: flex-end;

        margin-top: -5px;
        padding-bottom: 0;

        position: relative;
        z-index: 2;
    }

    .footer-bottom {
        margin-top: 10px;
        padding-top: 15px;
    }

}


/* ================================
MOBILE OFFCANVAS MENU
================================ */

.mobile-offcanvas {
    width: 300px !important;
    max-width: 85vw;

    background: #0b0b0b;
    border-right: 1px solid #252525;

    color: white;
}


/* HEADER */

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 70px;

    padding: 0 18px;

    border-bottom: 1px solid #222;
}

.mobile-menu-brand {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.mobile-menu-brand img {
    width: 100px;
    height: 64px;

    object-fit: contain;
}

.mobile-menu-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    padding: 5px 10px;
    cursor: pointer;
}

.mobile-menu-close:hover {
    background: #202020;
    color: white;
}


/* BODY */

.mobile-menu-body {
    padding: 18px;
}


/* USER */

.mobile-user-card {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px;

    margin-bottom: 18px;

    background: #121212;
    border: 1px solid #242424;
    border-radius: 10px;
}

.mobile-user-avatar {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 50%;

    object-fit: cover;
}

.mobile-user-avatar-text {
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--red);

    color: white;

    font-size: 16px;
    font-weight: 800;
}

.mobile-user-info {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.mobile-user-label {
    color: #666;

    font-size: 11px;
    margin-bottom: 2px;
}

.mobile-user-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #eee;

    font-size: 14px;
}


/* SEARCH */

.mobile-search {
    display: flex;

    height: 44px;

    margin-bottom: 25px;
}

.mobile-search input {
    flex: 1;

    min-width: 0;

    padding: 0 13px;

    background: #151515;

    border: 1px solid #292929;
    border-right: 0;

    border-radius: 8px 0 0 8px;

    outline: none;

    color: white;

    font-family: inherit;
    font-size: 13px;
}

.mobile-search input::placeholder {
    color: #666;
}

.mobile-search input:focus {
    border-color: var(--red);
}

.mobile-search button {
    width: 45px;

    border: 0;
    border-radius: 0 8px 8px 0;

    background: var(--red);

    color: white;

    cursor: pointer;

    transition: .2s;
}

.mobile-search button:hover {
    background: var(--red-hover);
}


/* SECTION */

.mobile-menu-section {
    margin-bottom: 25px;
}

.mobile-menu-title {
    margin: 0 0 8px 5px;

    color: #555;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
}


/* ITEM */

.mobile-menu-item {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px 11px;

    margin-bottom: 3px;

    background: transparent;

    border: 0;
    border-radius: 8px;

    color: #aaa;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    text-align: left;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}

.mobile-menu-item:hover {
    background: #191919;

    color: white;

    transform: translateX(2px);
}

.mobile-menu-item-icon {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777;

    font-size: 17px;
}

.mobile-menu-item:hover .mobile-menu-item-icon {
    color: #ddd;
}


/* LOGIN */

.mobile-login {
    color: white;

    background: rgba(229, 9, 20, .08);

    border: 1px solid rgba(229, 9, 20, .15);
}

.mobile-login .mobile-menu-item-icon {
    color: var(--red);
}

.mobile-login:hover {
    background: rgba(229, 9, 20, .14);

    color: white;
}


/* LOGOUT */

.mobile-logout {
    color: #e66;
}

.mobile-logout .mobile-menu-item-icon {
    color: #d44;
}

.mobile-logout:hover {
    background: rgba(229, 9, 20, .10);

    color: #ff5a63;
}


/* FOOTER */

.mobile-menu-footer {
    margin-top: 35px;
    padding-top: 18px;

    border-top: 1px solid #202020;

    color: #444;

    font-size: 10px;

    text-align: center;
}


/* BACKDROP */

.mobile-offcanvas + .offcanvas-backdrop {
    background: #000;
}

.mobile-offcanvas + .offcanvas-backdrop.show {
    opacity: .75;
}


/* DESKTOP'TA GİZLE */

@media (min-width: 901px) {
    .mobile-offcanvas {
        display: none !important;
    }
}