/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #111827;
    color: white;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: block;
}

/* Typography */
.main-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.description {
    color: #9ca3af;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: #9ca3af;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 4rem;
    width: auto;
}

/* Buttons */
.cta-button {
    background: linear-gradient(to right, #9333ea, #7c3aed);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: linear-gradient(to right, #7c3aed, #6d28d9);
    transform: scale(1.05);
}

.cta-button .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.warning-text {
    font-size: 0.875rem;
    color: #f87171;
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.red-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #ef4444;
    border-radius: 50%;
}

/* Progress */
.progress-badge {
    background-color: #9333ea;
    border-radius: 9999px;
    padding: 0.5rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.progress-badge .icon {
    width: 1rem;
    height: 1rem;
}

.progress-badge span {
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-container {
    max-width: 24rem;
    margin: 0 auto;
    background-color: #374151;
    border-radius: 9999px;
    height: 0.5rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 0.5rem;
    background: linear-gradient(to right, #a855f7, #9333ea);
    border-radius: 9999px;
    transition: width 0.5s ease;
    width: 10%;
}

.progress-text {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Earnings Card */
.earnings-card {
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 0.5rem;
    padding: 1rem;
    max-width: 20rem;
    margin: 0 auto;
}

.earnings-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.earnings-header .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.earnings-header span {
    font-size: 0.875rem;
    font-weight: 500;
}

.earnings-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #10b981;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #374151;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #4b5563;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.avatar-container {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #9333ea;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-name span {
    font-weight: 600;
}

.stars {
    color: #fbbf24;
}

.testimonial-comment {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-size: 0.75rem;
}

.verified-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #10b981;
    border-radius: 50%;
}

.participants-count {
    text-align: center;
    margin-top: 1.5rem;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.participants-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #9ca3af;
    border-radius: 50%;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.feature-card {
    background-color: #374151;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #4b5563;
    transition: border-color 0.3s ease;
}

.feature-card:hover {
    border-color: #6b7280;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.purple-gradient {
    background: linear-gradient(to right, #a855f7, #9333ea);
}

.yellow-gradient {
    background: linear-gradient(to right, #eab308, #ca8a04);
}

.orange-gradient {
    background: linear-gradient(to right, #f97316, #ea580c);
}

.blue-gradient {
    background: linear-gradient(to right, #3b82f6, #2563eb);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* How it Works */
.how-it-works {
    max-width: 64rem;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.purple-bg {
    background-color: #9333ea;
}

.green-bg {
    background-color: #10b981;
}

.blue-bg {
    background-color: #3b82f6;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Special Alert */
.special-alert {
    max-width: 32rem;
    margin: 4rem auto 0;
}

.alert-content {
    background: linear-gradient(to right, #ca8a04, #a16207);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #eab308;
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.alert-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #fef3c7;
}

.alert-title {
    font-weight: 600;
    color: #fef3c7;
}

.alert-text {
    color: #fef3c7;
    font-size: 0.875rem;
}

/* Question Card */
.question-container {
    max-width: 42rem;
    margin: 0 auto;
}

.question-card {
    background-color: #374151;
    border-radius: 0.5rem;
    border: 1px solid #4b5563;
    overflow: hidden;
}

.streamer-info {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #4b5563;
}

.streamer-avatar {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #9333ea;
}

.streamer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.streamer-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.streamer-username {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.streamer-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: #4b5563;
    color: #d1d5db;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.question-content {
    padding: 1.5rem;
}

.question-text {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-button {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #4b5563;
    background-color: #4b5563;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.option-button:hover:not(:disabled) {
    border-color: #6b7280;
    background-color: #6b7280;
    transform: scale(1.02);
}

.option-button:disabled {
    cursor: not-allowed;
}

.option-button.selected {
    background-color: #9333ea;
    border-color: #a855f7;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.option-radio {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-button.selected .option-radio {
    border-color: white;
    background-color: white;
}

.option-radio-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #9333ea;
    border-radius: 50%;
    display: none;
}

.option-button.selected .option-radio-dot {
    display: block;
}

/* Success Message */
.success-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(5, 150, 105, 0.2);
    border: 1px solid #10b981;
    border-radius: 0.5rem;
}

.success-message.hidden {
    display: none;
}

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

.success-earnings {
    color: #10b981;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.success-text {
    color: #6ee7b7;
    font-size: 0.875rem;
}

/* Form Styles */
.form-container {
    max-width: 28rem;
    margin: 0 auto;
}

.form-card {
    background-color: #374151;
    border-radius: 0.5rem;
    border: 1px solid #4b5563;
    padding: 1.5rem;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.form-header .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.form-header span {
    font-weight: 500;
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.form-select,
.form-input {
    width: 100%;
    background-color: #4b5563;
    border: 1px solid #6b7280;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    ring: 2px;
    ring-color: #9333ea;
    border-color: transparent;
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Amount Display */
.amount-display {
    background-color: #475569;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.amount-label {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.amount-value {
    font-size: 1.875rem;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.amount-info {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Withdraw Button */
.withdraw-button {
    width: 100%;
    background: linear-gradient(to right, #9333ea, #7c3aed);
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.withdraw-button:hover:not(:disabled) {
    background: linear-gradient(to right, #7c3aed, #6d28d9);
    transform: scale(1.05);
}

.withdraw-button:disabled {
    background: linear-gradient(to right, #4b5563, #4b5563);
    cursor: not-allowed;
    transform: none;
}

/* Success Page */
.success-container {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.success-card {
    background-color: #374151;
    border-radius: 0.75rem;
    border: 1px solid #4b5563;
    overflow: hidden;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.trophy-container {
    margin-bottom: 1.5rem;
}

.trophy-circle {
    width: 6rem;
    height: 6rem;
    margin: 0 auto;
    background: linear-gradient(to bottom right, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.money-emoji {
    font-size: 3rem;
}

.success-header {
    margin-bottom: 1.5rem;
}

.success-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.success-title {
    font-size: 1.875rem;
    font-weight: bold;
}

.success-subtitle {
    color: #d1d5db;
    font-size: 1.125rem;
}

/* Final Earnings */
.final-earnings {
    background: linear-gradient(to right, #059669, #047857);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.final-earnings-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #d1fae5;
    margin-bottom: 0.5rem;
}

.final-earnings-header .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.final-earnings-header span {
    font-size: 0.875rem;
    font-weight: 500;
}

.final-earnings-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.final-earnings-text {
    color: #d1fae5;
    font-size: 0.875rem;
}

.final-withdraw-button {
    width: 100%;
    background: linear-gradient(to right, #10b981, #059669);
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.final-withdraw-button:hover {
    background: linear-gradient(to right, #059669, #047857);
    transform: scale(1.05);
}

.final-withdraw-button .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.processing-info {
    background-color: rgba(202, 138, 4, 0.2);
    border: 1px solid #eab308;
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.processing-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fde047;
    font-size: 0.875rem;
}

.processing-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #fbbf24;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Anti-Fraud Card */
.anti-fraud-card {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #fb923c;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.2);
}

.anti-fraud-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: white;
}

.anti-fraud-header .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.anti-fraud-header span {
    font-size: 1.125rem;
    font-weight: 600;
}

.anti-fraud-content {
    color: #fed7aa;
}

.anti-fraud-text {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.anti-fraud-benefits {
    margin-bottom: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.benefit-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: #fef3c7;
    border-radius: 50%;
    flex-shrink: 0;
}

.fee-amount {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fee-label {
    display: block;
    font-size: 0.875rem;
    color: #fed7aa;
    margin-bottom: 0.25rem;
}

.fee-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.pay-fee-button {
    width: 100%;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: #92400e;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.pay-fee-button:hover:not(:disabled) {
    background: linear-gradient(to right, #f59e0b, #d97706);
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
}

.pay-fee-button:disabled {
    background: linear-gradient(to right, #6b7280, #6b7280);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pay-fee-button .icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 2rem;
    left: 1rem;
    right: 1rem;
    z-index: 50;
    max-width: 24rem;
    margin: 0 auto;
}

.notification.hidden {
    display: none;
}

.notification.show {
    display: block;
    animation: bounce 0.5s ease;
}

.notification-content {
    background-color: rgba(31, 41, 55, 0.95);
    border: 1px solid #4b5563;
    border-radius: 1rem;
    padding: 1rem;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.notification-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
}

.notification-subtitle {
    color: #d1d5db;
    font-size: 0.75rem;
}

.notification-total {
    color: #10b981;
    font-weight: bold;
    font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.mb-12 {
    margin-bottom: 3rem;
}

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

.mt-6 {
    margin-top: 1.5rem;
}

.hidden {
    display: none;
}

.icon {
    width: 1rem;
    height: 1rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}