
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.floating-btc {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(247, 147, 26, 0.3);
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.floating-usdt {
    position: absolute;
    font-size: 2rem;
    color: rgba(0, 162, 122, 0.2);
    z-index: -1;
    animation: float 9s ease-in-out infinite;
}

.bitcoin-coin {
    position: absolute;
    width: 35px;
    height: 35px;
    background: rgba(247, 147, 26, 0.25);
    border-radius: 50%;
    z-index: -1;
    animation: coinFall 10s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 0 12px rgba(247, 147, 26, 0.3);
}

.bitcoin-coin:before {
    content: '₿';
}

@keyframes coinFall {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) translateX(20px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 30px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo-icon {
    font-size: 3.5rem;
    color: #f7931a;
    animation: rotate 10s linear infinite;
    filter: drop-shadow(0 0 15px rgba(247, 147, 26, 0.8));
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

h1 {
    font-size: 3.2rem;
    margin-bottom: 10px;
    color: #f7931a;
    text-shadow: 0 0 20px rgba(247, 147, 26, 0.8);
    background: linear-gradient(45deg, #f7931a, #ffab3d, #f7931a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: 1.4rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

.dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        margin: 0;
    }

    .balance-display {
        font-size: 2.5rem;
    }

    .timer {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .card {
        padding: 20px;
    }

    .balance-display {
        font-size: 2rem;
    }

    .timer {
        font-size: 2rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .upgrades {
        grid-template-columns: 1fr;
    }
}

.card {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 116, 139, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f7931a, #ffab3d, #f7931a);
    background-size: 200% 100%;
    animation: shimmer 3s ease infinite;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card h2 {
    color: #f7931a;
    margin-bottom: 20px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    background: rgba(51, 65, 85, 0.6);
    flex: 1;
    margin: 0 5px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(247, 147, 26, 0.1);
    border-color: rgba(247, 147, 26, 0.4);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #f7931a;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.6);
}

.usdt-value {
    color: #00a27a;
    text-shadow: 0 0 10px rgba(0, 162, 122, 0.6);
}

.stat-label {
    font-size: 1rem;
    color: #cbd5e1;
    margin-top: 5px;
}

.balance-container {
    position: relative;
    text-align: center;
    padding: 30px;
    background: rgba(51, 65, 85, 0.6);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(247, 147, 26, 0.3);
}

.balance-display {
    font-size: 3.5rem;
    font-weight: bold;
    color: #f7931a;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 20px rgba(247, 147, 26, 0.8);
}

.balance-digits {
    display: flex;
}

.digit {
    transition: all 0.3s ease;
}

.digit.increasing {
    animation: digitIncrease 0.5s ease;
    color: #4ade80;
}

@keyframes digitIncrease {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); color: #4ade80; text-shadow: 0 0 15px rgba(74, 222, 128, 0.8); }
    100% { transform: translateY(0); }
}

.mining-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.mining-dot {
    width: 12px;
    height: 12px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 15px #4ade80;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.5); }
    100% { opacity: 1; transform: scale(1); }
}

.timer-container {
    text-align: center;
    padding: 30px;
    background: rgba(51, 65, 85, 0.6);
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(247, 147, 26, 0.3);
}

.timer {
    font-size: 3.5rem;
    font-weight: bold;
    color: #f7931a;
    margin: 10px 0;
    text-shadow: 0 0 20px rgba(247, 147, 26, 0.8);
}

.mining-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mining-animation.active {
    opacity: 1;
}

.mining-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #f7931a;
    border-radius: 50%;
    animation: float 3s infinite;
    box-shadow: 0 0 15px #f7931a;
}

.btn {
    background: linear-gradient(135deg, #f7931a 0%, #ffab3d 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 8px 20px rgba(247, 147, 26, 0.4);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(247, 147, 26, 0.6);
    background: linear-gradient(135deg, #ffab3d 0%, #f7931a 100%);
}

.btn:disabled {
    background: #475569;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.usdt-btn {
    background: linear-gradient(135deg, #00a27a 0%, #00c997 100%);
    box-shadow: 0 8px 20px rgba(0, 162, 122, 0.4);
}

.usdt-btn:hover {
    box-shadow: 0 12px 25px rgba(0, 162, 122, 0.6);
    background: linear-gradient(135deg, #00c997 0%, #00a27a 100%);
}

.btn:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.btn:hover:after {
    transform: rotate(45deg) translate(10%, 10%);
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.action-btn {
    background: rgba(51, 65, 85, 0.7);
    color: white;
    border: 1px solid #64748b;
    padding: 14px 15px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-btn:hover {
    background: rgba(247, 147, 26, 0.2);
    border-color: #f7931a;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.usdt-action-btn:hover {
    background: rgba(0, 162, 122, 0.2);
    border-color: #00a27a;
}

.upgrades {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 480px) {
    .upgrades {
        grid-template-columns: 1fr;
    }
}

.upgrade-item {
    background: rgba(51, 65, 85, 0.7);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #64748b;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upgrade-item:hover {
    border-color: #f7931a;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.upgrade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.upgrade-name {
    font-weight: bold;
    font-size: 1.2rem;
}

.upgrade-price {
    color: #f7931a;
    font-weight: bold;
    font-size: 1.1rem;
}

.usdt-price {
    color: #00a27a;
}

.upgrade-description {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    line-height: 1.4;
}

.upgrade-btn {
    background: #475569;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.upgrade-btn:hover {
    background: #f7931a;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(247, 147, 26, 0.4);
}

.usdt-upgrade-btn:hover {
    background: #00a27a;
    box-shadow: 0 8px 15px rgba(0, 162, 122, 0.4);
}

.upgrade-btn:disabled {
    background: #374151;
    color: #64748b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #38a169;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #e53e3e;
}

.trust-section {
    margin-top: 30px;
    padding: 30px;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(100, 116, 139, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.trust-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f7931a, #ffab3d, #f7931a);
    background-size: 200% 100%;
    animation: shimmer 3s ease infinite;
}

.trust-section h2 {
    color: #f7931a;
    margin-bottom: 20px;
    text-align: center;
    font-size: 2.2rem;
}

.trust-indicators {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.trust-item {
    text-align: center;
    padding: 20px;
    background: rgba(51, 65, 85, 0.6);
    border-radius: 16px;
    margin: 10px;
    flex: 1;
    min-width: 150px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.trust-item:hover {
    transform: translateY(-5px);
    background: rgba(247, 147, 26, 0.1);
    border-color: rgba(247, 147, 26, 0.4);
}

.trust-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #f7931a;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.6);
}

.trust-label {
    font-size: 1rem;
    color: #cbd5e1;
    margin-top: 5px;
}

.withdrawals-container {
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.withdrawals-scroll {
    display: flex;
    gap: 15px;
    padding: 10px 5px;
    scrollbar-width: thin;
    scrollbar-color: #f7931a #334155;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    cursor: grab;
}

.withdrawals-scroll::-webkit-scrollbar {
    height: 8px;
}

.withdrawals-scroll::-webkit-scrollbar-track {
    background: #334155;
    border-radius: 10px;
}

.withdrawals-scroll::-webkit-scrollbar-thumb {
    background: #f7931a;
    border-radius: 10px;
}

.withdrawal-card {
    min-width: 280px;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.8), rgba(30, 41, 59, 0.9));
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(247, 147, 26, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.withdrawal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(247, 147, 26, 0.6);
}

.withdrawal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.withdrawal-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7931a, #ffab3d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: bold;
    color: #f1f5f9;
    font-size: 1rem;
}

.user-location {
    color: #94a3b8;
    font-size: 0.8rem;
}

.withdrawal-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f7931a;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
}

.withdrawal-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(100, 116, 139, 0.3);
}

.withdrawal-time {
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.withdrawal-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.live-update {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 769px) {
    .withdrawals-scroll {
        animation: autoScroll 40s linear infinite;
    }

    .withdrawals-scroll:hover {
        animation-play-state: paused;
    }
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.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;
    padding: 20px;
}

.modal-content {
    background: rgba(30, 41, 59, 0.95);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(247, 147, 26, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
}

.modal-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f7931a, #ffab3d, #f7931a);
    background-size: 200% 100%;
    animation: shimmer 3s ease infinite;
}

.usdt-modal:before {
    background: linear-gradient(90deg, #00a27a, #00c997, #00a27a);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.5rem;
    color: #f7931a;
}

.usdt-title {
    color: #00a27a;
}

.close-modal {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #f7931a;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.form-input {
    width: 100%;
    padding: 14px 15px;
    border-radius: 10px;
    border: 1px solid #64748b;
    background: rgba(51, 65, 85, 0.7);
    color: white;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #f7931a;
    box-shadow: 0 0 15px rgba(247, 147, 26, 0.4);
}

.usdt-input:focus {
    border-color: #00a27a;
    box-shadow: 0 0 15px rgba(0, 162, 122, 0.4);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid rgba(100, 116, 139, 0.3);
    color: #cbd5e1;
    font-size: 0.9rem;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(51, 65, 85, 0.6);
    border-radius: 20px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.badge:hover {
    transform: translateY(-3px);
    background: rgba(247, 147, 26, 0.1);
    border-color: rgba(247, 147, 26, 0.4);
}

.mining-illustration {
    text-align: center;
    margin: 20px 0;
}

.trust-banner {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.15), rgba(0, 162, 122, 0.15));
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.trust-banner h3 {
    color: #f7931a;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.trust-banner p {
    color: #cbd5e1;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .withdrawal-card {
        min-width: 85vw;
    }

    .withdrawals-scroll {
        gap: 10px;
        padding: 10px 0;
    }
}
