/* Bitget Digital - Dark Theme Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

a:focus,
button:focus {
    outline: none;
}

:root {
    --bg-dark: #000000;
    --bg-card: #121212;
    --bg-card-secondary: #1a1a1a;
    --bg-card-hover: #1e1e1e;
    --accent-cyan: #00f0ff;
    --accent-teal: #13c6cf;
    --accent-green: #00c853;
    --accent-red: #ff4757;
    --accent-gradient: linear-gradient(135deg, #00f0ff, #13c6cf);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    --border-color: #222222;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    padding-bottom: 85px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.lang-btn {
    background: var(--accent-gradient);
    border: none;
    color: #000;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn svg {
    width: 14px;
    height: 14px;
}

/* Main Content */
.main-content {
    padding: 12px 16px;
}

/* Announcement Bar */
.announcement-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.announcement-icon {
    flex-shrink: 0;
    color: var(--accent-cyan);
}

.announcement-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.announcement-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.marquee {
    display: inline-block;
    animation: marquee 15s linear infinite;
    font-size: 13px;
    color: var(--text-secondary);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Support Button */
.support-btn {
    position: fixed;
    bottom: 100px;
    right: 16px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
    z-index: 99;
    transition: transform 0.2s, box-shadow 0.2s;
}

.support-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
}

.support-btn svg {
    width: 24px;
    height: 24px;
    fill: #000;
}

/* User Info Section */
.user-info-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 16px;
    margin: 15px 0;
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.user-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-id {
    font-size: 13px;
    color: var(--text-secondary);
}

.vip-badge {
    background: var(--accent-gradient);
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.wallet-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
}

.wallet-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.balance-display {
    background: var(--bg-card-secondary);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.balance-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.balance-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-cyan);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    justify-content: space-around;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px 10px;
    margin: 15px 0;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    gap: 10px;
}

.action-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-card-secondary);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
    transition: all 0.2s ease;
}

.action-icon:hover {
    border-color: var(--accent-cyan);
}

.action-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.action-item span {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Banner */
.banner {
    border-radius: 16px;
    overflow: hidden;
    margin: 15px 0;
    background: linear-gradient(135deg, #0a1628, #0a0a0a);
    border: 1px solid var(--accent-cyan);
    position: relative;
}

.banner-slide {
    padding: 30px 20px;
    text-align: left;
}

.banner-logo {
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-logo svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-cyan);
}

.banner-content h3 {
    margin: 15px 0 5px;
    font-size: 18px;
    letter-spacing: 2px;
}

.banner-content p {
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: 1px;
}

/* Task Hall */
.task-hall h2 {
    margin: 25px 0 15px;
    font-size: 18px;
    font-weight: 600;
}

.vip-card {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid var(--accent-cyan);
    transition: background 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.vip-card:hover {
    background: var(--bg-card-hover);
}

.vip-level {
    background: var(--accent-gradient);
    color: #000;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    margin-right: 16px;
    min-width: 60px;
    text-align: center;
}

.vip-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vip-info span {
    font-size: 14px;
    color: var(--text-secondary);
}

.vip-info strong {
    color: var(--accent-cyan);
}

.vip-name {
    color: var(--text-secondary);
    font-size: 12px !important;
}

.vip-arrow {
    background: var(--accent-gradient);
    padding: 12px 16px;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.vip-arrow svg {
    width: 20px;
    height: 20px;
    fill: #000;
}

/* VIP Lock Icon */
.vip-lock {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

.lock-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.lock-icon {
    position: relative;
    width: 24px;
    height: 24px;
    fill: var(--text-secondary);
    z-index: 1;
}

/* Regulatory Authority Section */
.regulatory-section {
    margin-top: 24px;
    padding-bottom: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.regulatory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
}

.regulatory-card {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.regulatory-card img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: var(--bg-card);
    padding: 10px 0 20px;
    border-top: 1px solid var(--border-color);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10px;
    gap: 4px;
    padding: 4px 12px;
}

.nav-item.active {
    color: var(--accent-cyan);
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.nav-label {
    font-weight: 500;
}

/* Page Section */
.page-section {
    text-align: center;
    padding: 60px 20px;
}

.page-section h2 {
    margin-bottom: 15px;
    color: var(--accent-cyan);
    font-size: 24px;
}

.page-section p {
    color: var(--text-secondary);
}

/* Auth Pages */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: var(--bg-dark);
}

.auth-container {
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.auth-logo {
    margin-bottom: 40px;
}

.auth-logo img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.auth-logo h1 {
    font-size: 22px;
    font-weight: 600;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-form input {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.auth-form input::placeholder {
    color: var(--text-secondary);
}

.btn-primary {
    background: var(--accent-gradient);
    border: none;
    padding: 14px;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.auth-link {
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-link a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 15px 0;
    /* border: 1px solid var(--accent-cyan); */
}

.slider-container {
    position: relative;
    width: 100%;
    height: 180px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--accent-cyan);
}

/* Utilities */
.text-cyan {
    color: var(--accent-cyan);
}

.text-red {
    color: var(--accent-red);
}

.text-green {
    color: var(--accent-green);
}

/* Profile Menu */
.menu-list {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    margin: 15px 0;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: var(--bg-card-hover);
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-secondary);
    border-radius: 8px;
    color: var(--accent-cyan);
}

.menu-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.menu-text {
    font-size: 14px;
    font-weight: 500;
}

.menu-arrow {
    color: var(--text-muted);
}

.menu-arrow svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Custom Modal */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.show {
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    padding: 30px 24px;
    border-radius: 20px;
    width: 85%;
    max-width: 340px;
    text-align: center;
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-modal.show .modal-content {
    transform: scale(1);
}

.modal-text {
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 500;
}

.modal-btn {
    width: 100%;
    margin-top: 0;
    background: var(--accent-gradient);
    color: #000;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
}