/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(42, 27, 61, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(233, 30, 254, 0.1);
    z-index: 1000;
}

.header-icon {
    max-height: 24px;
}

.theme-dark .header {
    background: rgba(26, 26, 26, 0.95);
}

.header-container {
    max-width: 1920px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.burger-menu {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.burger-menu:hover {
    transform: scale(1.1);
}

.burger-menu span {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    transition: all 0.3s;
}

.logo img {
    max-height: 40px;
}

.header-info,
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search,
.btn-theme-toggle,
.btn-messages {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.btn-search:hover,
.btn-theme-toggle:hover,
.btn-messages:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-header {
    padding: 11px 28px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-header:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-header.btn-primary {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
}

.btn-header.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(233, 30, 254, 0.4);
    transform: translateY(-2px);
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 70px;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(42, 27, 61, 0.98);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(233, 30, 254, 0.1);
    overflow-y: auto;
    transition: transform 0.3s;
    z-index: 999;
}

.theme-dark .sidebar {
    background: rgba(26, 26, 26, 0.98);
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(233, 30, 254, 0.3);
    border-radius: 3px;
}

.sidebar-content {
    padding: 24px 16px;
}

.sidebar-item {
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 6px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.sidebar-item:hover {
    background: rgba(233, 30, 254, 0.1);
    color: var(--text-primary);
    transform: translateX(4px);
}

.sidebar-item.active {
    background: rgba(233, 30, 254, 0.15);
    color: var(--text-primary);
}

.sidebar-item.earn-free {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(233, 30, 254, 0.3);
}

.sidebar-item.earn-free:hover {
    transform: translateX(0) translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 254, 0.4);
}

.sidebar-item .icon {
    width: 20px;
    height: 20px;
}

.sidebar-item .arrow {
    margin-left: auto;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s;
}

.sidebar-item.expandable.active .arrow {
    transform: rotate(-135deg);
}

.sidebar-section {
    margin-bottom: 8px;
}

.sidebar-submenu {
    display: none;
    padding-left: 16px;
    margin-top: 6px;
}

.sidebar-section .expandable.active + .sidebar-submenu {
    display: block;
}

.submenu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.3s;
    margin-bottom: 4px;
}

.submenu-item:hover {
    background: rgba(233, 30, 254, 0.08);
    color: var(--text-primary);
    transform: translateX(4px);
}

.submenu-item .icon {
    width: 16px;
    height: 16px;
}

.sidebar-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-buy-crypto {
    width: 100%;
    padding: 13px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buy-crypto:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--accent);
}

.payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-methods,
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.payment-icon {
    height: 26px;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crypto-icons {
	  height: 40px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-icon:hover,
.social-icon:hover {
    background: rgba(233, 30, 254, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Page Wrapper */
.page-wrapper {
    margin-left: 280px;
    margin-top: 70px;
    padding: 24px;
    min-height: calc(100vh - 70px);
    transition: margin-left 0.3s;
}

.page-wrapper.full-width {
    margin-left: 0;
}

/* Main Content */
.main-content {
    max-width: 1600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: rgba(42, 27, 61, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(233, 30, 254, 0.1);
    padding: 64px 24px 24px;
    margin-top: 64px;
}

.theme-dark .footer {
    background: rgba(26, 26, 26, 0.5);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #FF00FF 0%, #E91EFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.footer-license {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-license p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.7;
}

.footer-copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 12px;
}

/* Bottom Navigation (Mobile) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(42, 27, 61, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(233, 30, 254, 0.2);
    z-index: 1000;
}

.theme-dark .bottom-nav {
    background: rgba(26, 26, 26, 0.98);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-item.active {
    color: var(--accent);
}

.nav-item.nav-deposit {
    background: linear-gradient(135deg, #E91EFE 0%, #C01EFE 100%);
    color: var(--text-primary);
    border-radius: 20px 20px 0 0;
    margin: -8px 4px 0;
    box-shadow: 0 -4px 20px rgba(233, 30, 254, 0.4);
}

.nav-item.active .icon {
    opacity: 1;
}