/* Main Styles for Usdt Collector Web App - Enhanced Vivid Design */

:root {
    --primary-color: #00c2ff;
    --primary-hover: #00a6ff;
    --secondary-color: #ff00aa;
    --accent-color: #ffcc00;
    --background-dark: #000;
    --background-light: #0f172a;
    --text-color: #fff;
    --text-muted: #a8b8d0;
    --border-color: #2a3a5a;
    --card-bg: rgba(15, 23, 42, 0.7);
    --success-color: #00ff88;
    --error-color: #ff3366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    color: var(--text-color);
    background: linear-gradient(135deg, #000428, #004e92, #000428) fixed;
    min-height: 100vh;
    padding-bottom: 4rem;
    position: relative;
}

/* Add animated background elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 194, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 170, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 204, 0, 0.05) 0%, transparent 30%);
    z-index: -1;
}

.container {
    max-width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 4rem);
}

.card {
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.card:hover::after {
    left: 100%;
}

.auth-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.w-full {
    width: 100%;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 194, 255, 0.3);
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary-color);
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-mono {
    font-family: monospace;
}

.points-circle {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.2), rgba(255, 0, 170, 0.2));
    border-radius: 50%;
    width: 10rem;
    height: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 194, 255, 0.3), inset 0 0 20px rgba(255, 0, 170, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.points-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent 30%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.points-value {
    color: var(--accent-color);
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    height: 3.25rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 194, 255, 0.4);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 194, 255, 0.5);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(1px);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(30deg);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-disabled {
    background-color: #1e293b;
    color: var(--text-muted);
    cursor: not-allowed;
}

.countdown-box {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(255, 0, 170, 0.1));
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-box #countdown {
    font-size: 1.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 50;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link.active {
    color: var(--primary-color);
}

.footer-link:hover:not(.active) {
    color: var(--text-color);
    transform: translateY(-3px);
}

.footer-icon {
    margin-bottom: 0.25rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-link.active .footer-icon {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.2), rgba(255, 0, 170, 0.2));
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.3);
}

.footer-label {
    font-size: 0.75rem;
    font-weight: 500;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1px;
}

.task-item {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.05), rgba(255, 0, 170, 0.05));
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.task-item:hover {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(255, 0, 170, 0.1));
    transform: translateX(5px);
}

.task-icon {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.2), rgba(255, 0, 170, 0.2));
    padding: 0.75rem;
    border-radius: 50%;
    margin-right: 1rem;
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.2);
}

.profile-avatar {
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.2), rgba(255, 0, 170, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 194, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.profile-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent 30%);
    animation: rotate 10s linear infinite;
}

.profile-avatar svg {
    width: 3.5rem;
    height: 3.5rem;
    position: relative;
    z-index: 1;
}

.profile-info {
    margin-bottom: 2rem;
}

.profile-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.05), rgba(255, 0, 170, 0.05));
    transition: all 0.3s ease;
}

.profile-detail:hover {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(255, 0, 170, 0.1));
}

.profile-icon {
    color: var(--primary-color);
    margin-right: 1rem;
}

.settings-item {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.05), rgba(255, 0, 170, 0.05));
    transition: all 0.3s ease;
}

.settings-item:hover {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(255, 0, 170, 0.1));
}

.settings-icon {
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.2), rgba(255, 0, 170, 0.2));
    padding: 0.5rem;
    border-radius: 50%;
    margin-right: 0.75rem;
    color: var(--accent-color);
}

.settings-info {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

@media (min-width: 768px) {
    .settings-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .settings-item {
        width: calc(33.333% - 1rem);
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.75rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1e293b;
    transition: .4s;
    border-radius: 1.75rem;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.25rem;
    width: 1.25rem;
    left: 0.25rem;
    bottom: 0.25rem;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

input:checked + .slider:before {
    transform: translateX(1.25rem);
}

.hidden {
    display: none;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.input {
    width: 100%;
    padding: 0.875rem;
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.2);
}

.success-message {
    background-color: rgba(0, 255, 136, 0.1);
    color: var(--success-color);
    padding: 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    margin-bottom: 1.25rem;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.error-message {
    background-color: rgba(255, 51, 102, 0.1);
    color: var(--error-color);
    padding: 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 51, 102, 0.2);
    margin-bottom: 1.25rem;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.1);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.logout-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 194, 255, 0.3);
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 194, 255, 0.4);
}

.task-status {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.task-status.completed {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 194, 255, 0.2));
    color: var(--success-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.task-status.claimed {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), rgba(255, 0, 170, 0.2));
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.task-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
}

.btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    height: 2.5rem;
    border-radius: 0.5rem;
}

.wallet-warning {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Animated background elements */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .card {
        max-width: 400px;
    }
}
