:root {
    /* www.skinmoney.com.tr */
    --primary: #ee7d2c;
    --primary-alt: #d66d25;
    --bg-deep: #0a0a0b;
    --bg-panel: #111113;
    --bg-card: #161619;
    --border: rgba(255, 255, 255, 0.06);
    --text-main: #ffffff;
    --text-muted: #6b6b76;
    --sidebar-width: 260px;
    --navbar-height: 70px;
    --mobile-nav-height: 60px;
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

body {
    background: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* www.skinmoney.com.tr */
aside.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-panel);
    border-right: 1px solid var(--border);
    position: fixed;
    display: flex;
    flex-direction: column;
    padding: 30px 15px;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1024px) {
    aside.sidebar {
        transform: translateX(-100%);
        width: 280px;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
    }

    aside.sidebar.active {
        transform: translateX(0);
    }
}

.nav-links {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* www.skinmoney.com.tr */
.level-container {
    margin-top: 25px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.level-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.level-number {
    font-size: 0.85rem;
    font-weight: 850;
    color: white;
}

.xp-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
}

.level-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.level-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff9d5c);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(238, 125, 44, 0.3);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item {
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(238, 125, 44, 0.08);
    color: var(--primary);
}

.nav-item i {
    font-size: 1.1rem;
}

/* www.skinmoney.com.tr */
main.content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding-bottom: 80px;
    flex: 1;
    min-height: 100vh;
    transition: margin-left 0.4s ease;
}

@media (max-width: 1024px) {
    main.content {
        margin-left: 0;
        width: 100%;
        padding-bottom: calc(var(--mobile-nav-height) + var(--safe-area-inset-bottom) + 20px);
    }
}

@media (max-width: 768px) {

    section,
    .info-section,
    .ranking-area,
    .inventory-stats {
        padding: 40px 15px !important;
    }
}

/* www.skinmoney.com.tr */
.navbar {
    height: var(--navbar-height);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 900;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
        gap: 8px;
    }

    .breadcrumb {
        font-size: 0.75rem !important;
        gap: 5px !important;
    }

    .breadcrumb img {
        width: 14px !important;
        height: 14px !important;
    }

    .breadcrumb span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        display: none !important;
    }

    .navbar {
        justify-content: space-between;
    }
}

.user-balance {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-balance>i {
    font-size: 1.2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(238, 125, 44, 0.2));
}

#add-funds-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

#add-funds-btn i {
    font-size: 0.9rem !important;
    filter: none !important;
}

@media (max-width: 768px) {
    .user-balance {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
        gap: 4px;
    }

    #add-funds-btn {
        margin-left: 5px !important;
        padding: 2px 6px !important;
    }
}

#user-profile-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    #user-profile-btn {
        width: 35px;
        height: 35px;
    }
}

#user-profile-btn:hover {
    border-color: var(--primary);
}

/* www.skinmoney.com.tr */
#user-profile-btn.guest-warn {
    border-color: #ff4444 !important;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3) !important;
}

#user-profile-btn.guest-warn:hover {
    border-color: #ff4444 !important;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5) !important;
    transform: scale(1.05);
}

#user-profile-btn.needs-auth::after {
    content: '!';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    border: 2px solid var(--bg-deep);
    animation: pulse-warn 2s infinite;
}

@keyframes pulse-warn {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 180px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1100;
    transform-origin: top right;
    animation: dropdownOpen 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-dropdown.active {
    display: flex;
}

@keyframes dropdownOpen {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dropdown-item {
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.dropdown-item.logout {
    color: #ff4444;
}

.dropdown-item.logout:hover {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

/* www.skinmoney.com.tr */
.inventory-value {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: default;
    user-select: none;
}

.inventory-value:hover {
    border-color: var(--primary);
    background: rgba(238, 125, 44, 0.05);
}

@media (max-width: 768px) {
    .inventory-value {
        padding: 6px 10px;
        gap: 6px;
    }

    .inventory-value i {
        font-size: 0.9rem;
    }

    #inventory-value-header {
        font-size: 0.85rem;
    }
}

.inventory-value i {
    font-size: 1.3rem;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(238, 125, 44, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.iv-content {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

#inventory-value-header {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.iv-content label {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

.user-balance span {
    color: #fff;
}

/* www.skinmoney.com.tr */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 850;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    z-index: 5;
}

#spin-btn {
    z-index: 50;
    /* www.skinmoney.com.tr */
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.feed-container {
    height: 70px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.online-widget {
    min-width: 140px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(238, 125, 44, 0.05);
    border-right: 1px solid var(--border);
    gap: 2px;
}

.online-widget i {
    color: var(--primary);
    font-size: 1.1rem;
}

.online-widget .count {
    color: #fff;
    font-weight: 850;
    font-size: 1.1rem;
    line-height: 1;
}

.online-widget .label {
    color: var(--text-muted);
    font-size: 0.6rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .feed-container {
        height: 60px !important;
    }

    .online-widget {
        min-width: 100px !important;
    }

    .online-widget i {
        font-size: 0.9rem !important;
    }

    .online-widget .count {
        font-size: 0.95rem !important;
    }

    .online-widget .label {
        font-size: 0.5rem !important;
    }
}

.live-drops {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    overflow-x: auto;
    padding: 0 15px;
    gap: 12px;
    scrollbar-width: none;
}

.live-drops::-webkit-scrollbar {
    display: none;
}

.drop-item {
    min-width: 170px;
    height: 52px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    padding: 5px 12px;
    gap: 12px;
    font-size: 0.75rem;
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    animation: slideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    transition: transform 0.3s;
}

.drop-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.stattrak-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(238, 125, 44, 0.95);
    color: #000;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* www.skinmoney.com.tr */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    width: 95%;
    max-width: 650px;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 20px 15px;
        border-radius: 16px;
        max-height: 95vh;
    }

    .modal-content h2 {
        font-size: 1.4rem !important;
        margin-bottom: 2px !important;
    }

    .modal-content p {
        font-size: 0.75rem !important;
        margin-bottom: 12px !important;
    }

    .sm-partner-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
        margin: 12px 0;
    }

    .sm-partner-box {
        padding: 6px;
        border-radius: 10px;
    }

    .sm-partner-box img {
        height: 110px;
        /* www.skinmoney.com.tr */
    }

    .sm-partner-badge {
        top: 6px;
        left: 6px;
        font-size: 0.5rem;
        padding: 1px 4px;
    }

    .sm-partner-box div {
        font-size: 0.6rem !important;
        line-height: 1.1;
    }

    .amount-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        /* www.skinmoney.com.tr */
        gap: 8px;
    }

    .amount-btn {
        padding: 10px 5px;
        font-size: 0.8rem;
    }

    .btn-reset {
        padding: 10px;
        font-size: 0.75rem;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .amount-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .modal-content h2 {
        font-size: 1.5rem !important;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: white;
}

.sm-partner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.sm-partner-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sm-partner-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(238, 125, 44, 0.2);
}

.sm-partner-box img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    margin-bottom: 5px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.sm-partner-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 850;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.amount-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: white;
    padding: 15px;
    border-radius: 12px;
    font-weight: 850;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* www.skinmoney.com.tr */
.btn-reset {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.2);
    color: #ff4444;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 850;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-reset:hover {
    background: #ff4444;
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 68, 68, 0.3);
    border-color: #ff4444;
    transform: translateY(-2px);
}

/* www.skinmoney.com.tr */
.sell-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.sell-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* www.skinmoney.com.tr */
.menu-toggler {
    display: none;
    margin-right: auto;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .menu-toggler {
        display: block;
    }
}

/* www.skinmoney.com.tr */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(var(--mobile-nav-height) + var(--safe-area-inset-bottom));
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
    z-index: 950;
    justify-content: space-around;
    padding-bottom: var(--safe-area-inset-bottom);
}

@media (max-width: 1024px) {
    .mobile-nav {
        display: flex;
    }
}

.m-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 850;
    gap: 5px;
}

.m-nav-item i {
    font-size: 1.2rem;
}

.m-nav-item.active {
    color: var(--primary);
}

.hidden-auth {
    display: none !important;
}

.auth-active .hidden-auth {
    display: flex !important;
}

.auth-active .hidden-guest {
    display: none !important;
}

.modal-input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: white;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.2s;
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary);
}

.pw-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: white;
}

.error-message {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    user-select: none;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    margin: 0;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: normal;
}

.terms-link {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.2s;
    font-weight: 500;
}

.terms-link:hover {
    color: white;
    text-decoration-color: white;
}