/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ffe0;
    --primary-dark: #00bfae;
    --secondary-color: #00ffe0;
    --error-color: #ff4757;
    --accent-color: #00ffe0;
    --text-primary: #f8fafc;
    --text-secondary: #b0b0b0;
    --text-light: #7b8ca6;
    --bg-primary: #181c26;
    --bg-secondary: #10131b;
    --bg-dark: #0a0c12;
    --border-color: #23273a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 12px 0 rgba(0, 255, 224, 0.08);
    --shadow-lg: 0 10px 24px 0 rgba(0, 255, 224, 0.10);
    --gradient-primary: linear-gradient(135deg, #00ffe0 0%, #00bfae 100%);
    --gradient-secondary: linear-gradient(135deg, #00ffe0 0%, #00bfae 100%);
    --gradient-accent: linear-gradient(135deg, #00ffe0 0%, #00bfae 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: none;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #10131b;
    box-shadow: 0 4px 16px 0 rgba(0, 255, 224, 0.13);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    color: #10131b;
    box-shadow: 0 8px 32px 0 rgba(0, 255, 224, 0.18);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #10131b;
}

.btn-outline1 {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline1:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.btn-social {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-social:hover {
    background: var(--bg-primary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #10131b;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #23273a;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 10px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    padding: 0 4px;
}

.nav-menu .nav-link i {
    width: 16px;
    text-align: center;
    font-size: 16px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    align-items: center;
    display: flex;
    gap: 12px;
}

/* 主页横幅 */
.hero {
    margin-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mining-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.cube-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 10s linear infinite;
}

.cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 8s linear infinite;
}

.face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.front {
    transform: rotateY(0deg) translateZ(50px);
}

.back {
    transform: rotateY(180deg) translateZ(50px);
}

.right {
    transform: rotateY(90deg) translateZ(50px);
}

.left {
    transform: rotateY(-90deg) translateZ(50px);
}

.top {
    transform: rotateX(90deg) translateZ(50px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

.cube1 {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 8s linear infinite;
}

.face1 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(10, 214, 156, 0.16);
    border: 2.5px solid #0ad69c;
    box-shadow: 0 0 18px 0 rgba(10, 214, 156, 0.18);
}

.front1 {
    transform: rotateY(0deg) translateZ(75px);
}

.back1 {
    transform: rotateY(180deg) translateZ(75px);
}

.right1 {
    transform: rotateY(90deg) translateZ(75px);
}

.left1 {
    transform: rotateY(-90deg) translateZ(75px);
}

.top1 {
    transform: rotateX(90deg) translateZ(75px);
}

.bottom1 {
    transform: rotateX(-90deg) translateZ(75px);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particles1 {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.particles1::before,
.particles1::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.particles::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.particles::after {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.particles1::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.particles1::after {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes cubeRotate {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }
    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* 挖矿服务 */
.mining-section {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.mining-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mining-card {
    background: var(--bg-primary);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.mining-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon i {
    font-size: 24px;
    color: white;
}

.mining-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.mining-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.mining-card ul {
    list-style: none;
}

.mining-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.mining-card li i {
    color: var(--secondary-color);
    font-size: 14px;
}

/* 价格方案 */
.pricing-section {
    padding: 10px 0;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 15px;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
}

[dir="rtl"] .badge {
  left: 20px;
}

[dir="ltr"] .badge {
  right: 20px;
}

.badge {
    position: absolute;
    top: 20px;
    background: var(--gradient-accent);
    color: black;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.miner-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
}

.miner-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 255, 224, 0.3));
}

.miner-count {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 255, 224, 0.5);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.card-body {
    padding: 25px;
    text-align: center;
}

.card-body .btn {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.card-body ul {
    list-style: none;
    margin-bottom: 30px;
}

.card-body li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.card-body li i {
    color: var(--secondary-color);
    font-size: 16px;
}

/* 统计数据 */
.stats-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.unit {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: #181c26;
    color: #b6c2d6;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--primary-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* 认证页面样式 */
.auth-body {
    background: linear-gradient(135deg, #0ad69c 0%, #08b886 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.floating-cubes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-cubes .cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-cubes .cube:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-cubes .cube:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.floating-cubes .cube:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-cubes .cube:nth-child(4) {
    top: 40%;
    right: 10%;
    animation-delay: 3s;
}

.floating-cubes .cube:nth-child(5) {
    bottom: 20%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    margin: 60px auto 40px auto;
    padding: 32px 0;
}

.auth-card {
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-link {
    text-decoration: none;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

[dir="rtl"] .input-wrapper i {
  right: 16px;
}

[dir="ltr"] .input-wrapper i {
  left: 16px;
}

.input-wrapper i {
    position: absolute;
    color: var(--text-light);
    font-size: 16px;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    background: var(--bg-primary);
    transition: all 0.3s ease;
    color: #fff;
    padding: 16px 48px 16px 48px;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-wrapper.error input {
    border-color: var(--error-color);
}

.field-error {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    padding-left: 1rem;
}

[dir="rtl"] .password-toggle {
    left: 60px;
}

[dir="ltr"] .password-toggle {
    right: 60px;
}

.password-toggle {
    top: 40%;
    position: absolute;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
    z-index: 1;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
}

.strength-text {
    font-size: 12px;
    color: var(--text-light);
}

.captcha-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
}

.captcha-image {
    position: relative;
    width: 120px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.captcha-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.refresh-captcha {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-secondary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    padding: 0 16px;
    color: var(--text-light);
    font-size: 14px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.help-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.help-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: var(--primary-color);
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-link{
        margin-bottom: 40px;
    }

    .miner-display {
        padding: 8px;
        gap: 6px;
    }

    .miner-icon {
        width: 60px;
        height: 60px;
    }

    .miner-count {
        font-size: 2rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0px;
        margin: 40px auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .mining-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .captcha-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkbox-wrapper {
        flex-wrap: wrap;
        white-space: normal;
        align-items: flex-start;
    }

    .checkbox-wrapper a {
        white-space: nowrap;
    }

    .card-body {
        padding: 25px;
        text-align: center;
    }

    .card-body .btn {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
} 

@media (max-width: 900px) {
    .auth-container {
        max-width: 95vw;
        padding: 16px 0;
    }

    .auth-card {
        padding: 32px 12px;
    }
}

/* 汉堡菜单按钮样式 */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
    display: block;
    background: var(--primary-color);
    height: 3px;
    width: 28px;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s;
}

.hamburger span::before,
.hamburger span::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger span::before {
    top: -9px;
}

.hamburger span::after {
    top: 9px;
}

/* 侧边栏 */
.sidebar {
    overflow-y: auto;
    border: white solid 1px;
    position: fixed;
    top: 0;
    width: 260px;
    height: 100vh;
    background: #10131b;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.08);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 32px 24px 24px 24px;
    right: -300px;
    transition: right 0.3s cubic-bezier(.4, 0, .2, 1);
}

.sidebar.active {
  right: 0;
}

.sidebar .sidebar-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    margin-bottom: 24px;
}

.sidebar .sidebar-menu {
    display: flex;
    flex-direction: column;
}

.sidebar .sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding-left: 0;
}

.sidebar .sidebar-menu a i {
    width: 22px;
    text-align: center;
    font-size: 22px;
}

.sidebar .sidebar-menu a:hover {
    color: var(--primary-color);
}

.sidebar .sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

.nav-link.active, .sidebar-menu a.active {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.nav-link.active::after, .sidebar-menu a.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    bottom: -5px;
}

/* Pricing Calculator Section */
.pricing-calculator-section {
    padding: 100px 0 80px 0;
    background: var(--bg-secondary);
}

.pricing-calculator-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 18px;
    text-align: center;
}

.pricing-calculator-section .section-desc {
    color: #b0b0b0;
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.upgrade-section-custom .section-desc {
    color: #b0b0b0;
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.withdrawals-section-custom .section-desc {
    color: #b0b0b0;
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.commission-section-custom .section-desc {
    color: #b0b0b0;
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.calculator-card {
    margin-bottom: 60px !important;
    background: #1a1f2e;
    border-radius: 28px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding: 40px 32px 32px 32px;
    align-items: stretch;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.calculator-card1 {
    border-radius: 28px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding: 40px 32px 32px 32px;
    align-items: stretch;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.calculator-left, .calculator-right {
    flex: 1 1 340px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calculator-left {
    border-right: 1px solid #f0f0f0;
}

.calculator-row {
    margin-bottom: 22px;
}

.calculator-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.calculator-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.calculator-input-group .icon {
    display: flex;
    align-items: center;
    height: 100%;
}

.calculator-input-group .icon svg {
    display: block;
}

.calculator-input {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1.15rem;
    width: 100%;
    outline: none;
    transition: border 0.2s;
}

.calculator-input:focus {
    border-color: #08b886;
}

.calculator-unit {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-left: 6px;
}

.calculator-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.calculator-info-label {
    color: #b0b0b0;
}

.calculator-info-value {
    color: var(--primary-color);
    font-weight: 700;
}

.calculator-info-sub {
    font-size: 0.95rem;
    color: #b0b0b0;
    margin-left: 2px;
}

.calculator-divider {
    border-top: 1px solid #f0f0f0;
    margin: 18px 0;
}

.calculator-right .income-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1.08rem;
}

.calculator-right .income-label {
    color: #b0b0b0;
}

.calculator-right .income-value {
    color: var(--primary-color);
    font-weight: 700;
}

.calculator-right .income-btc {
    color: #b0b0b0;
    font-size: 1.05rem;
    margin-left: 8px;
}

.calculator-roi {
    margin-top: 18px;
    font-size: 1.08rem;
    color: #b0b0b0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculator-roi .roi-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .calculator-card {
        flex-direction: column;
        padding: 24px 8px 16px 8px;
    }

    .calculator-card1 {
        flex-direction: column;
        padding: 24px 8px 16px 8px;
    }

    .calculator-left, .calculator-right {
        padding: 0 0;
        min-width: 0;
    }

    .calculator-left {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 18px;
    }
}

/* Insights Section */
.insights-section-custom {
    padding: 100px 0 80px 0;
    background: var(--bg-secondary);
}

.insights-section-custom .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 18px;
    text-align: center;
}

.insights-section-custom .section-desc {
    color: #b0b0b0;
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.insights-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.insight-card-custom {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(10, 214, 156, 0.08), 0 1.5px 6px 0 rgba(0, 0, 0, 0.04);
    padding: 32px 28px 28px 28px;
    max-width: 370px;
    min-width: 240px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.insight-card-custom:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(10, 214, 156, 0.16), 0 2px 8px 0 rgba(0, 0, 0, 0.06);
}

.insight-card-custom h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.insight-card-custom p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 18px;
}

.insight-card-custom a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: text-decoration 0.2s;
}

.insight-card-custom a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .insights-cards {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .insight-card-custom {
        max-width: 100%;
        min-width: 0;
    }
}

/* About Page Custom Sections */
.about-section-custom {
    padding: 100px 0 80px 0;
    background: var(--bg-secondary);
}

.about-section-custom .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 18px;
    text-align: center;
}

.about-section-custom .section-desc {
    color: #b0b0b0;
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.about-quote-card {
    border-radius: 28px;
    box-shadow: 0 8px 32px 0 rgba(10, 214, 156, 0.10), 0 2px 8px 0 rgba(0, 0, 0, 0.06);
    padding: 48px 36px 36px 36px;
    max-width: 820px;
    margin: 36px auto 40px auto;
    text-align: center;
    position: relative;
}

.about-quote-card .about-quote {
    font-size: 1.35rem;
    font-style: italic;
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 32px;
}

.about-quote-card .about-quote-ceo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d7ffee;
    box-shadow: 0 2px 8px 0 rgba(10, 214, 156, 0.10);
    margin-bottom: 16px;
}

.about-quote-card .about-quote-sign {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.about-cert-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 38px 48px;
    margin: 0 auto 0 auto;
    max-width: 1100px;
}

.about-cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.about-cert-item img {
    height: 54px;
    object-fit: contain;
}

.about-cert-item .about-cert-label {
    font-size: 1rem;
    color: #b0b0b0;
    margin-top: 2px;
}

.about-vision-section {
    border-radius: 28px;
    box-shadow: 0 4px 24px 0 rgba(10, 214, 156, 0.08), 0 1.5px 6px 0 rgba(0, 0, 0, 0.04);
    padding: 54px 48px 48px 48px;
    max-width: 1500px;
    margin: 56px auto 0 auto;
}

.about-vision-section .about-vision-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
    justify-content: center;
}

.about-vision-section .about-vision-main {
    flex: 1 1 520px;
    min-width: 260px;
    max-width: 900px;
}

.about-vision-section .about-vision-lead {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 18px;
    font-weight: 500;
    text-align: center;
}

.about-vision-section .about-vision-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    text-align: center;
    margin-bottom: 32px;
}

.about-vision-section .about-vision-cols {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-vision-section .about-vision-col {
    flex: 1 1 380px;
    min-width: 260px;
    max-width: 700px;
    color: #b0b0b0;
    font-size: 1.18rem;
    line-height: 1.7;
}

.about-contact-section {
    border-radius: 28px;
    box-shadow: 0 4px 24px 0 rgba(10, 214, 156, 0.08), 0 1.5px 6px 0 rgba(0, 0, 0, 0.04);
    padding: 48px 38px 38px 38px;
    max-width: 1500px;
    margin: 56px auto 0 auto;
}

.about-contact-section .about-contact-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: stretch;
    justify-content: center;
}

.about-contact-section .about-contact-map {
    flex: 1 1 420px;
    min-width: 280px;
    max-width: 600px;
    display: flex;
    align-items: center;
}

.about-contact-section .about-contact-map-inner {
    width: 100%;
    height: 320px;
    max-width: 600px;
}

.about-contact-section .about-contact-info {
    flex: 1 1 420px;
    min-width: 280px;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.about-contact-section .about-contact-lead {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 500;
}

.about-contact-section .about-contact-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 18px;
}

.about-contact-section .about-contact-title .primary {
    color: var(--primary-color);
}

.about-contact-section .about-contact-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #b0b0b0;
}

.about-contact-section .about-contact-value {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 8px;
}

.about-contact-section .about-contact-btns {
    display: flex;
    gap: 18px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.about-contact-section .about-contact-btns .btn {
    font-size: 1.15rem;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 900px) {
    .about-quote-card {
        padding: 32px 10px 28px 10px;
        max-width: 98vw;
    }

    .about-cert-row {
        gap: 24px 18px;
    }

    .about-vision-section {
        padding: 32px 8px 24px 8px;
    }

    .about-vision-section .about-vision-cols {
        gap: 18px;
    }

    .about-contact-section {
        padding: 32px 8px 24px 8px;
    }

    .about-contact-section .about-contact-wrap {
        gap: 18px;
    }

    .about-contact-section .about-contact-map-inner {
        height: 220px;
    }

    .about-contact-section .about-contact-title {
        font-size: 1.5rem;
    }
}

/* Insights & Pricing Custom Sections */
.insights-container {
    max-width: 100%;
}

.insights-stats-table-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    align-items: flex-start;
}

.insights-stats-card {
    background: #1a1f2e;
    border-radius: 24px;
    padding: 38px 32px;
    min-width: 270px;
    max-width: 340px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.insights-stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.insights-stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.insights-stat-label {
    color: #b0b0b0;
    font-size: 1.08rem;
}

.insights-stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
}

.insights-stat-item:first-child .insights-stat-value {
    font-size: 1.6rem;
}

.insights-table-card {
    background: #1a1f2e;
    border-radius: 24px;
    padding: 32px 0 0 0;
    min-width: 320px;
    flex: 3 1 600px;
    overflow-x: auto;
    width: 100%;
}

.insights-table-title {
    padding: 0 32px 18px 32px;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
}

.insights-table-scroll {
    overflow-x: auto;
}

.insights-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
}

.insights-table thead tr {
    background: var(--primary-dark);
    color: #fff;
    font-size: 1.15rem;
}

.insights-table th {
    padding: 16px 18px;
    text-align: start;
}

.insights-table th:first-child {
    border-radius: 8px 0 0 0;
}

.insights-table th:last-child {
    border-radius: 0 8px 0 0;
}

.insights-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.insights-table td {
    padding: 14px 18px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.insights-desc-bottom, .pricing-desc-bottom {
    text-align: center;
    margin-top: 32px;
}

.insights-desc-bottom em, .pricing-desc-bottom em {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.7;
    display: inline-block;
    max-width: 800px;
}

/* Promo Card (Pricing) */
.promo-card {
    margin: 40px auto 0 auto;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    border-radius: 28px;
    box-shadow: 0 8px 32px 0 rgba(10, 214, 156, 0.10), 0 2px 8px 0 rgba(0, 0, 0, 0.06);
    padding: 40px 48px 40px 48px;
    position: relative;
    overflow: hidden;
}

.promo-card-left {
    flex: 1 1 225px;
    min-width: 220px;
    z-index: 1;
}

.promo-card-lead {
    font-size: 1.15rem;
    color: #b0b0b0;
    font-weight: 500;
    margin-bottom: 8px;
}

.promo-card-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.1;
    color: #ffffff;
}

.promo-card-title .primary {
    color: var(--primary-color);
}

.promo-card-desc {
    font-size: 1.15rem;
    color: #b0b0b0;
    font-weight: 400;
}

.promo-card-right {
    flex: 0 0 auto;
    z-index: 1;
}

.promo-card-right .btn {
    font-size: 1.15rem;
    padding: 16px 36px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 900px) {
    .insights-stats-table-wrap {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .insights-stats-card {
        margin: 0 auto 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .insights-table-card {
        min-width: 0;
        padding: 18px 0 0 0;
    }

    .insights-table-title {
        font-size: 1.3rem;
        padding: 0 12px 12px 12px;
    }

    .insights-table {
        min-width: 400px;
    }

    .promo-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 16px 32px 16px;
    }

    .promo-card-left, .promo-card-right {
        position: static !important;
    }

    .promo-card-right .btn {
        margin: 28px auto 0 auto;
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 320px;
    }
}

/* Promo Card Dots Animation */
.promo-bg-dots {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    min-width: 180px;
    pointer-events: none;
    border-radius: 0 28px 28px 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 60%, rgba(215, 255, 238, 0.7) 100%);
    z-index: 0;
}

.promo-bg-dots::before, .promo-bg-dots::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.7;
    pointer-events: none;
}

.promo-bg-dots::before {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #0ad69c 0%, rgba(10, 214, 156, 0.1) 80%);
    top: 18%;
    left: 18%;
    animation: promo-dot1 2s ease-in-out infinite alternate;
}

.promo-bg-dots::after {
    width: 36px;
    height: 36px;
    background: radial-gradient(circle, #0ad69c 0%, rgba(10, 214, 156, 0.08) 80%);
    bottom: 22%;
    right: 16%;
    animation: promo-dot2 2.75s ease-in-out infinite alternate;
}

.promo-bg-dots span {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    filter: blur(1.5px);
}

.promo-bg-dots .dot1 {
    width: 22px;
    height: 22px;
    background: radial-gradient(circle, #0ad69c 0%, rgba(10, 214, 156, 0.08) 80%);
    top: 38%;
    left: 38%;
    animation: promo-dot3 1.6s ease-in-out infinite alternate;
}

.promo-bg-dots .dot2 {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #0ad69c 0%, rgba(10, 214, 156, 0.06) 80%);
    top: 65%;
    left: 22%;
    animation: promo-dot4 2.05s ease-in-out infinite alternate;
}

.promo-bg-dots .dot3 {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #0ad69c 0%, rgba(10, 214, 156, 0.05) 80%);
    top: 28%;
    right: 18%;
    animation: promo-dot5 1.85s ease-in-out infinite alternate;
}

@keyframes promo-dot1 {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.18) translateY(-18px);
        opacity: 0.9;
    }
}

@keyframes promo-dot2 {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.25) translateY(16px);
        opacity: 0.85;
    }
}

@keyframes promo-dot3 {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.3) translateY(-10px);
        opacity: 0.8;
    }
}

@keyframes promo-dot4 {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.2) translateY(12px);
        opacity: 0.7;
    }
}

@keyframes promo-dot5 {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4) translateY(-8px);
        opacity: 0.7;
    }
}

@media (max-width: 900px) {
    .promo-bg-dots {
        width: 100%;
        min-width: 0;
        height: 100%;
        border-radius: 0 0 18px 18px;
        margin-top: 18px;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
    }
}

/* FAQs Main Card Section */
.faqs-section-custom {
    padding: 100px 0 80px 0;
    background: var(--bg-secondary);
}

.faqs-section-custom .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 18px;
    text-align: center;
}

.faqs-section-custom .section-desc {
    color: #b0b0b0;
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.faqs-main-card {
    border-radius: 28px;
    box-shadow: 0 8px 32px 0 rgba(10, 214, 156, 0.10), 0 2px 8px 0 rgba(0, 0, 0, 0.06);
    padding: 48px 36px 36px 36px;
    max-width: 900px;
    margin: 36px auto 40px auto;
    position: relative;
}

.faqs-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    padding: 0 18px;
    height: 48px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px 0 rgba(10, 214, 156, 0.06);
    border: 1.5px solid var(--primary-color);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.faqs-search-bar i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.faqs-search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1.1rem;
    color: #ffffff;
    width: 100%;
    padding: 10px 0;
}

.faqs-group-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    margin-top: 8px;
    letter-spacing: 0.01em;
}

.faqs-cards {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.faq-card-custom {
    border-radius: 18px;
    box-shadow: 0 2px 8px 0 rgba(10, 214, 156, 0.06);
    padding: 0;
    transition: box-shadow 0.2s, transform 0.2s;
    overflow: hidden;
    cursor: pointer;
}

.faq-card-custom:hover {
    box-shadow: 0 8px 32px 0 rgba(10, 214, 156, 0.13), 0 2px 8px 0 rgba(0, 0, 0, 0.06);
    transform: translateY(-2px) scale(1.01);
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    padding: 28px 24px 20px 24px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-toggle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-left: 12px;
    transition: transform 0.2s;
}

.faq-card-custom.open .faq-toggle {
    transform: rotate(90deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-toggle {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    color: #b0b0b0;
    font-size: 1rem;
    padding: 0 24px 20px 24px;
    margin-bottom: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                padding-bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card-custom.open .faq-answer {
    max-height: 800px;
    opacity: 1;
    padding-bottom: 20px;
}

.faq-card-custom:not(.open) .faq-answer {
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
}

@media (max-width: 900px) {
    .faqs-main-card {
        padding: 28px 8px 18px 8px;
        max-width: 98vw;
    }

    .faqs-search-bar {
        max-width: 100%;
        margin-bottom: 22px;
    }
}

/* Affiliate Main Card Section */
.affiliate-section-custom {
    padding: 100px 0 80px 0;
    background: var(--bg-secondary);
}

.affiliate-section-custom .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 18px;
    text-align: center;
}

.affiliate-section-custom .section-desc {
    color: #b0b0b0;
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.affiliate-vision-section {
    border-radius: 28px;
    box-shadow: 0 4px 24px 0 rgba(10, 214, 156, 0.08), 0 1.5px 6px 0 rgba(0, 0, 0, 0.04);
    padding: 54px 48px 48px 48px;
    max-width: 1500px;
    margin: 56px auto 0 auto;
}

.affiliate-vision-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
    justify-content: center;
}

.affiliate-vision-main {
    flex: 1 1 420px;
    min-width: 280px;
    max-width: 600px;
    background: #1a1f2e;
    border-radius: 20px;
    padding: 38px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
}

.affiliate-vision-lead {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 12px;
    font-weight: 500;
}

.affiliate-vision-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
}

.affiliate-vision-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.affiliate-vision-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.18rem;
    color: #b0b0b0;
    margin-bottom: 10px;
}

.affiliate-vision-list i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.affiliate-vision-desc {
    color: #b0b0b0;
    font-size: 1.13rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.affiliate-btn {
    margin-top: 18px;
    font-size: 1.15rem;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 900px) {
    .affiliate-vision-section {
        padding: 32px 8px 24px 8px;
    }

    .affiliate-vision-wrap {
        gap: 18px;
    }

    .affiliate-vision-main {
        padding: 28px 10px 22px 10px;
        max-width: 100%;
    }

    .affiliate-vision-title {
        font-size: 1.3rem;
    }
}

.lang-select-wrap {
    display: flex;
    align-items: center;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 0 8px 0 16px;
    background: #10131b;
    height: 48px;
    box-shadow: 0 2px 8px 0 rgba(10, 214, 156, 0.08);
    margin-left: 12px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.lang-select-wrap i {
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1;
}

.lang-select {
    width: 50px;
    background: #10131b;
    border: none;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    padding: 0 0 0 2px;
    min-width: 90px;
    cursor: pointer;
    appearance: none;
    line-height: 1;
    height: 40px;
    display: flex;
    align-items: center;
}

.lang-select option {
    background: #181c26;
    color: var(--primary-color);
    font-size: 1.13rem;
}

@media (prefers-color-scheme: light) {
    .lang-select option {
        background: #fff;
        color: #0ad69c;
    }
}

.lang-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px #0ad69c33;
}

@media (max-width: 900px) {
    .lang-select-wrap {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

[dir="rtl"] .promo-cube-bg {
  left: 0;
}

[dir="ltr"] .promo-cube-bg {
  right: 0;
}

.promo-cube-bg {
    position: absolute;
    bottom: 0;
    width: 220px;
    height: 220px;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.promo-cube-animation {
    width: 180px;
    height: 180px;
    opacity: 0.85;
}

.promo-cube-bg .face {
    background: rgba(10, 214, 156, 0.16);
    border: 2.5px solid #0ad69c;
    box-shadow: 0 0 18px 0 rgba(10, 214, 156, 0.18);
}

@media (max-width: 900px) {
    .promo-cube-bg {
        position: static;
        width: 100%;
        height: 100%;
        justify-content: center;
    }

    .promo-cube-animation {
        width: 100px;
        height: 100px;
    }
}

/* Dashboard Section */
.dashboard-section-custom {
    padding: 100px 0 40px 0;
    background: var(--bg-secondary);
}

.dashboard-stats-cards {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    justify-content: center;
}

.dashboard-stat-card {
    background: #181c26;
    border-radius: 18px;
    padding: 32px 38px;
    width: 300px;
    flex: 1 1 180px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.dashboard-stat-card .stat-label {
    color: #b6c2d6;
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.dashboard-stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
}

.dashboard-stat-card .stat-value.primary {
    color: var(--primary-color);
}

.dashboard-stat-card .stat-unit {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
}

.dashboard-stat-card .stat-unit.primary {
    color: var(--primary-color);
}

.dashboard-main-cards {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.dashboard-card {
    background: #181c26;
    border-radius: 18px;
    padding: 32px 28px 28px 28px;
    min-width: 280px;
    flex: 1 1 340px;
    margin-bottom: 24px;
}

.dashboard-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-miner-list {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #23273a;
}

.dashboard-miner-list::-webkit-scrollbar {
    width: 6px;
    background: #23273a;
    border-radius: 8px;
}

.dashboard-miner-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 8px;
}

.miner-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #10131b;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 1.08rem;
}

.miner-name {
    font-weight: 600;
}

.miner-hashrate {
    color: var(--primary-color);
    font-weight: 500;
}

[dir="rtl"] .miner-status {
  margin-right: auto;
}

[dir="ltr"] .miner-status {
  margin-left: auto;
}

.miner-status {
    font-size: 0.98rem;
}


.miner-status.online {
    color: #04ff00;
    font-weight: 600;
}

.dashboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #181c26;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(0, 255, 224, 0.08);
    overflow: hidden;
    margin-bottom: 24px;
}

.dashboard-table th, .dashboard-table td {
    padding: 16px 18px;
    text-align: center;
    border-bottom: 1px solid #23273a;
    font-size: 1.08rem;
}

.dashboard-table th {
    background: var(--bg-primary);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.12rem;
    border-bottom: 2px solid var(--primary-color);
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

.dashboard-table tbody tr {
    transition: background 0.2s;
}

.dashboard-table tbody tr:hover {
    background: rgba(0, 255, 224, 0.04);
}

.dashboard-table td {
    color: var(--text-secondary);
}

.dashboard-table td.status-completed {
    color: #00ffe0;
    font-weight: 600;
}

.dashboard-table td.status-pending {
    color: #ffb300;
    font-weight: 600;
}

.dashboard-table td.status-failed {
    color: #ff4d4f;
    font-weight: 600;
}

@media (max-width: 600px) {
    .dashboard-table th, .dashboard-table td {
        padding: 10px 4px;
        font-size: 0.98rem;
    }

    .dashboard-table {
        font-size: 0.98rem;
    }
}

@media (max-width: 768px) {
    .dashboard-stat-card {
        border-left: none;
        border-bottom: 4px solid var(--primary-color);
    }
}

/* Upgrade Section */
.upgrade-section-custom {
    padding: 100px 0 40px 0;
    background: var(--bg-secondary);
}

.upgrade-main-cards {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    justify-content: center;
}

.upgrade-card {
    background: #181c26;
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(0, 255, 224, 0.06);
    padding: 32px 28px 28px 28px;
    min-width: 280px;
    flex: 1 1 340px;
    margin-bottom: 24px;
}

.upgrade-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upgrade-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input {
    color: white;
    background: #0a0e1a;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}

.withdrawbtn {
    display: flex;
    justify-content: center;
}

.form-input:focus {
    border-color: var(--primary-color);
}

.upgrade-records-card {
    background: #181c26;
    border-radius: 18px;
    padding: 32px 28px 28px 28px;
    margin-bottom: 24px;
}

/* Withdrawals Section */
.withdrawals-section-custom {
    padding: 100px 0 40px 0;
    background: var(--bg-secondary);
}

.withdrawals-main-cards {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    justify-content: center;
}

.withdrawals-card {
    background: #181c26;
    border-radius: 18px;
    padding: 32px 28px 28px 28px;
    min-width: 280px;
    flex: 1 1 340px;
    margin-bottom: 24px;
}

.withdrawals-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.withdrawals-balance {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.withdrawals-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.withdrawals-records-card {
    background: #181c26;
    border-radius: 18px;
    padding: 32px 28px 28px 28px;
    margin-bottom: 24px;
}

/* Commission Section */
.commission-section-custom {
    padding: 100px 0 40px 0;
    background: var(--bg-secondary);
}

.commission-stats-cards {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    justify-content: center;
}

.commission-stat-card {
    width: 300px;
    background: #181c26;
    border-radius: 18px;
    padding: 32px 38px;
    min-width: 180px;
    flex: 1 1 180px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.commission-stat-card .stat-unit {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
}

.commission-stat-card .stat-unit.primary {
    color: var(--primary-color);
}

.commission-stat-card .stat-label {
    color: #b6c2d6;
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.commission-stat-card .stat-icon {
    display: block;
    font-size: 2.6rem;
    color: var(--primary-color);
    margin: 0 auto 10px auto;
    line-height: 1;
}

.commission-stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
}

.commission-stat-card .stat-value.primary {
    color: var(--primary-color);
}

.commission-main-cards {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.commission-card {
    background: #181c26;
    border-radius: 18px;
    padding: 32px 28px 28px 28px;
    min-width: 280px;
    flex: 1 1 340px;
}

.commission-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.commission-link-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.commission-link {
    flex: 1;
    min-width: 180px;
}

.commission-records-card {
    background: #181c26;
    border-radius: 18px;
    padding: 32px 28px 28px 28px;
    margin-bottom: 24px;
}

/* Settings Section */
.settings-section-custom {
    padding: 100px 0 40px 0;
    background: var(--bg-secondary);
}

.settings-main-cards {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.settings-card {
    background: #181c26;
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(0, 255, 224, 0.06);
    padding: 32px 28px 28px 28px;
    min-width: 280px;
    flex: 1 1 340px;
    margin-bottom: 24px;
}

.settings-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 900px) {
    .dashboard-stats-cards, .commission-stats-cards {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .dashboard-main-cards, .upgrade-main-cards, .withdrawals-main-cards, .commission-main-cards, .settings-main-cards {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .commission-stat-card {
        border-left: none;
        border-bottom: 4px solid var(--primary-color);
    }
}

.user-avatar-dropdown {
    position: relative;
    display: flex;
    margin-right: 18px;
    align-items: center;
}

.user-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 255, 224, 0.10);
    cursor: pointer;
    transition: box-shadow 0.2s, border 0.2s;
}

.user-avatar:hover {
    box-shadow: 0 4px 16px rgba(0, 255, 224, 0.18);
    border-color: #fff;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: 65px;
    right: -55px;
    min-width: 180px;
    background: #181c26;
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 255, 224, 0.13);
    z-index: 1001;
    padding: 12px 0;
    border: 1.5px solid var(--primary-color);
    animation: fadeIn 0.2s;
}

.user-avatar-dropdown:hover .user-dropdown-menu {
    display: block;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.08rem;
    transition: background 0.2s, color 0.2s;
}

.user-dropdown-menu a:hover {
    background: var(--primary-color);
    color: #10131b;
}

.username {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.08rem;
    transition: background 0.2s, color 0.2s;
}

@media (max-width: 600px) {
    .user-avatar {
        width: 32px;
        height: 32px;
    }

    .user-dropdown-menu {
        min-width: 140px;
        top: 40px;
    }

    .user-dropdown-menu a {
        padding: 10px 12px;
        font-size: 0.98rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--primary-color);
    box-shadow: 0 2px 12px rgba(0, 255, 224, 0.13);
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    word-break: break-all;
}

.sidebar-user-balance {
    font-size: 1.02rem;
    color: #fff;
    opacity: 0.85;
    margin-top: 2px;
}

@media (max-width: 600px) {
    .sidebar-avatar-large {
        width: 50px;
        height: 50px;
    }

    .sidebar-user-name {
        font-size: 1.02rem;
    }

    .sidebar-user-balance {
        font-size: 0.95rem;
    }
}

.dashboard-stat-card {
    position: relative;
    text-align: center;
    padding-top: 32px;
}

.dashboard-stat-card .stat-icon {
    display: block;
    font-size: 2.6rem;
    color: var(--primary-color);
    margin: 0 auto 10px auto;
    line-height: 1;
}

.dashboard-card-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.dashboard-card-title .card-icon-large {
    font-size: 2.1rem;
    color: var(--primary-color);
    flex-shrink: 0;
    line-height: 1;
}

@media (max-width: 600px) {
    .dashboard-stat-card .stat-icon {
        font-size: 2rem;
        margin-bottom: 6px;
    }

    .dashboard-card-title .card-icon-large {
        font-size: 1.4rem;
    }

    .dashboard-card-title {
        gap: 10px;
        font-size: 1.08rem;
    }
}

.invite-section {
    padding: 28px 0 10px 0;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.invite-link-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
    max-width: 100%;
    flex-wrap: wrap;
}

.invite-link-input {
    height: 44px;
    line-height: 44px;
    display: inline-block;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1.5px solid var(--primary-color);
    background: #181c26;
    color: #fff;
    font-size: 1.08rem;
    padding: 0 16px;
    width: 100%;
    max-width: 320px;
    min-width: 0;
    outline: none;
    resize: none;
}

.invite-desc {
    color: #b0b0b0;
    font-size: 1.08rem;
    max-width: 420px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .invite-section {
        max-width: 98vw;
        padding-left: 0;
        padding-right: 0;
    }

    .invite-link-box {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .invite-link-input {
        width: 100%;
        max-width: 100%;
    }
}

.commission-share-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 16px;
    justify-content: flex-start;
}

.commission-share-group .btn {
    flex: 1 1 0;
    min-width: 120px;
    max-width: 180px;
    box-sizing: border-box;
    text-align: center;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 601px) {
    .commission-share-group {
        flex-wrap: nowrap;
        gap: 16px;
        justify-content: flex-start;
    }

    .commission-share-group .btn {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        flex: 1 1 0;
    }
}

@media (max-width: 600px) {
    .commission-share-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 10px;
        justify-items: stretch;
    }

    .commission-share-group .btn {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        height: 48px;
        margin: 0;
    }
}

.commission-link-label,
.commission-share-label {
    font-weight: 600;
    font-size: 1.08rem;
    margin-bottom: 10px;
    text-align: left;
}

.commission-share-label {
    margin-bottom: 16px;
}

.commission-link-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.commission-link {
    flex: 1;
    min-width: 0;
}

.commission-share-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 16px;
    justify-content: flex-start;
}

@media (max-width: 600px) {
    .commission-link-group {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .commission-share-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 10px;
        justify-items: stretch;
    }
}

.input-icon-group {
    position: relative;
}

.input-icon-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ffe0;
    font-size: 1.1em;
}

.input-icon-group .form-input {
    padding-left: 40px;
}

.main-color {
    color: #00ffe0;
    font-weight: bold;
}

.btn-gradient {
    background: linear-gradient(90deg, #00ffe0 0%, #00c3ff 100%);
    color: #181c26;
    border: none;
    transition: box-shadow 0.2s;
}

.btn-gradient:hover {
    box-shadow: 0 4px 24px 0 rgba(0, 255, 224, 0.18);
    color: #181c26;
}

.form-input:focus {
    border: 2px solid #00ffe0;
    outline: none;
}

.form-select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #0a0e1a;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
}

@media (max-width: 600px) {
    .withdrawals-form .btn {
        width: 100%;
    }

    .input-icon-group .form-input {
        font-size: 1em;
    }
}

/* Withdrawals Card 标题和说明 */
.withdrawals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.withdrawals-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.withdrawals-minimum {
    color: #bfc9d4;
    font-size: 0.9rem;
}

.withdrawals-divider {
    border: none;
    border-top: 1px solid #232837;
    margin: 18px 0 24px 0;
}

.withdrawals-form label {
    font-weight: 600;
}

.withdrawals-form .form-input {
    margin-bottom: 0.5em;
}

.withdrawals-help {
    color: #00aaff;
    font-weight: 600;
    text-decoration: underline;
    font-size: 1.05em;
    display: inline-block;
    margin: 16px 0 24px 0;
}

.withdrawals-help-icon {
    font-size: 1.1em;
    margin-right: 2px;
}

@media (max-width: 768px) {
    .withdrawals-header {
        flex-direction: column;
        align-items: center;
    }

    .withdrawals-minimum {
        align-self: center;
        margin-top: 6px;
        text-align: center;
        width: 100%;
    }
}

.guide-step-overlay {
    position: fixed; left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
}
.guide-step-highlight {
    position: relative;
    z-index: 10001 !important;
    box-shadow: 0 0 0 4px #00ffec, 0 0 20px #00ffec;
    animation: guide-pulse 1.2s infinite;
}
@keyframes guide-pulse {
    0%,100% { box-shadow: 0 0 0 4px #00ffec, 0 0 20px #00ffec; }
    50% { box-shadow: 0 0 0 8px #00ffec, 0 0 40px #00ffec; }
}
.guide-step-modal {
    position: absolute;
    background: #fff;
    color: #222;
    min-width: 280px;
    max-width: 320px;
    padding: 20px;
    border-radius: 12px;
    z-index: 10010;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    text-align: center;
    font-size: 14px;
}
.guide-step-modal::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 12px solid transparent;
}
.guide-step-modal.arrow-top::before {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: #fff;
}
.guide-step-modal.arrow-bottom::before {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #fff;
}
.guide-step-modal.arrow-left::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-right-color: #fff;
}
.guide-step-modal.arrow-right::before {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-left-color: #fff;
}
.guide-step-modal .guide-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}
.guide-step-modal .guide-desc {
    margin-bottom: 16px;
    line-height: 1.4;
    color: #666;
}
.guide-step-modal .guide-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.guide-step-modal button {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    background: var(--gradient-primary, #00ffec);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}
.guide-step-modal button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 236, 0.3);
}
.guide-step-modal button[disabled] {
    background: #eee;
    color: #aaa;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(0, 255, 224, 0.3);
    animation: income-glow 2s ease-in-out infinite alternate;
}

.bonus-miner {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 0.9em;
    margin-left: 4px;
    background: rgba(255, 107, 107, 0.1);
    padding: 2px 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.3);
    animation: bonus-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes bonus-pulse {
    from {
        background: rgba(255, 107, 107, 0.1);
        border-color: rgba(255, 107, 107, 0.3);
    }
    to {
        background: rgba(255, 107, 107, 0.2);
        border-color: rgba(255, 107, 107, 0.5);
        box-shadow: 0 0 8px rgba(255, 107, 107, 0.3);
    }
}

.telegram-fixed {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
}

.telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #10131b;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 255, 224, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.telegram-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.telegram-btn:hover::before {
    left: 100%;
}

.telegram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 255, 224, 0.4);
}

.telegram-btn i {
    font-size: 24px;
    z-index: 1;
}

.telegram-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.telegram-tooltip::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.telegram-btn:hover .telegram-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes float-animation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.telegram-btn {
    animation: float-animation 2s ease-in-out infinite;
}

.welcome-popup {
    position: fixed;
    right: 90px;
    bottom: 100px;
    background: #111;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    max-width: 200px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.6s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--primary-color);
}
.welcome-popup::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--primary-color);
}
.welcome-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .telegram-fixed {
        right: 15px;
        bottom: 80px;
    }
    
    .telegram-btn {
        width: 50px;
        height: 50px;
    }
    
    .telegram-btn i {
        font-size: 20px;
    }
    
    .telegram-tooltip {
        display: none;
    }
    
    .welcome-popup {
        right: 70px;
        bottom: 80px;
        max-width: 150px;
        font-size: 12px;
        padding: 10px 12px;
    }
}

.modal-overlay {
    position: fixed;
    z-index: 1000;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(10,20,30,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.modal-box {
    background: var(--bg-primary);
    border-radius: 18px;
    /*box-shadow: var(--shadow-card);*/
    min-width: 340px;
    max-width: 800px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    position: relative;
    animation: fadeIn 0.3s;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}
.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover { color: var(--primary-color);}
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.modal-balance {
    color: var(--text-secondary);
    font-size: 1rem;
}
.modal-input-group {
    display: flex;
    gap: 0.5rem;
}
#modalInvestAmount {
    flex: 1;
    padding: 0.7rem 1rem;
    border-radius: 8px 0 0 8px;
    border: 2px solid var(--primary-color);
    background: #18222e;
    color: var(--text-primary);
    font-size: 1.1rem;
    outline: none;
    transition: border 0.2s;
}
#modalInvestAmount:focus {
    border-color: var(--accent-color);
}
.modal-invest-btn {
    padding: 0 1.5rem;
    border: none;
    border-radius: 0 8px 8px 0;
    background: var(--gradient-secondary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.modal-invest-btn:hover {
    background: var(--gradient-primary);
}
@media (max-width: 480px) {
    .modal-box { min-width: 90vw; padding: 1.2rem 0.5rem; }
    .modal-title { font-size: 1rem; }
}

/* 通用条款/隐私页面美化 */
.terms-section-custom, .privacy-section-custom {
    padding: 80px 0 60px 0;
    background: var(--bg-secondary);
    min-height: 80vh;
}
.terms-section-custom .container,
.privacy-section-custom .container {
    max-width: 800px;
    background: var(--bg-primary);
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,255,224,0.07), 0 1.5px 6px 0 rgba(0,0,0,0.10);
    padding: 48px 32px 36px 32px;
}
.terms-section-custom .section-title,
.privacy-section-custom .section-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.terms-section-custom .section-title i,
.privacy-section-custom .section-title i {
    font-size: 2.2rem;
}
.terms-section-custom .section-desc,
.privacy-section-custom .section-desc {
    color: var(--text-secondary);
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 36px;
}
.terms-content, .privacy-content {
    color: var(--text-primary);
    font-size: 1.13rem;
    line-height: 1.8;
}
.terms-content h2, .privacy-content h2 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 32px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.terms-content p, .privacy-content p {
    margin-bottom: 18px;
}
.terms-content a, .privacy-content a {
    color: var(--primary-color);
    text-decoration: underline;
    word-break: break-all;
}
.terms-content a:hover, .privacy-content a:hover {
    color: #fff;
    background: var(--primary-color);
    border-radius: 4px;
    padding: 0 4px;
    transition: all 0.2s;
}
@media (max-width: 600px) {
    .terms-section-custom .container,
    .privacy-section-custom .container {
        padding: 18px 4vw 18px 4vw;
    }
    .terms-section-custom, .privacy-section-custom {
        padding: 100px 0 24px 0;
    }
    .terms-section-custom .section-title,
    .privacy-section-custom .section-title {
        font-size: 1.5rem;
        gap: 8px;
    }
}

/* Bottom Navigation Bar (Mobile Only) */
.bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background: #10131b;
        border-top: 1px solid #2a2f3e;
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        padding: 5px 0;
    }

    .bottom-nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #b0b0b0;
        flex: 1;
        height: 100%;
        transition: all 0.3s ease;
        border-radius: 10px;
        margin: 0 5px;
    }

    .bottom-nav-link i {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }

    .bottom-nav-link span {
        font-size: 0.7rem;
        font-weight: 500;
    }

    .bottom-nav-link.active,
    .bottom-nav-link:hover {
        color: #00ffec;
        background: rgba(0, 255, 236, 0.1);
    }
}