* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.logo-container h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24, #ff9ff3, #54a0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-stats {
    display: flex;
    gap: 20px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
    opacity: 0.9;
}

.stat i {
    color: #4CAF50;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step {
    display: none;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-header h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

/* Input Container */
.input-container {
    margin-bottom: 30px;
}

.email-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.email-input-wrapper:focus-within {
    border-color: #ff6b6b;
    background: rgba(255, 255, 255, 0.15);
}

.email-icon {
    color: #ff6b6b;
    margin-right: 10px;
    font-size: 18px;
}

.email-input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    flex: 1;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.email-notice {
    text-align: center;
    margin-bottom: 20px;
}

.email-notice p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-style: italic;
}

/* Buttons */
.btn-primary {
    width: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.btn-primary.disabled {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Features */
.features {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.feature i {
    font-size: 24px;
    color: #4CAF50;
    margin-bottom: 5px;
}

.feature span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Profile Info */
.profile-info {
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.profile-check-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.profile-check-icon i {
    font-size: 35px;
    color: white;
    animation: checkPulse 2s infinite;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.profile-details h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-size: 14px;
    font-weight: 500;
}

.verified-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-size: 14px;
}

/* Store Selection */
.store-selection {
    text-align: center;
    margin-bottom: 30px;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.popup-header h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.close-popup {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Store Grid */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.store-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.store-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ff6b6b;
    transform: translateY(-2px);
}

.store-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
}

.store-card span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: block;
}

/* Amount Grid */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.amount-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.amount-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ff6b6b;
    transform: translateY(-2px);
}

.amount-value {
    color: #ff6b6b;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.amount-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

/* Code Ready Section */
.code-ready-section {
    margin-bottom: 30px;
    text-align: center;
}

.code-header {
    margin-bottom: 25px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.success-icon i {
    font-size: 35px;
    color: white;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.code-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #4CAF50;
    margin-bottom: 10px;
}

.code-display {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.code-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.code-text {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid rgba(76, 175, 80, 0.3);
    letter-spacing: 2px;
}

.heartbeat-code {
    animation: heartbeatCode 1.5s infinite;
}

@keyframes heartbeatCode {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.copy-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.code-notice {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Live Activity Cards */
.live-activity {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.live-activity h4 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.live-activity h4 i {
    color: #4CAF50;
    animation: pulse 2s infinite;
}

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

.activity-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 200px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.activity-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInUp 0.5s ease-out;
    transition: all 0.3s ease;
}

.activity-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.activity-card .card-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4CAF50;
    margin-right: 12px;
}

.activity-card .card-info {
    flex: 1;
}

.activity-card .card-username {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    margin-bottom: 2px;
}

.activity-card .card-action {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.activity-card .card-amount {
    font-weight: 600;
    color: #4CAF50;
    font-size: 13px;
    white-space: nowrap;
}

/* Step 3 - Loading Messages */
.loading-messages {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
}

.loading-icon {
    margin-bottom: 40px;
}

.spinner-large {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.message-container {
    max-width: 500px;
    width: 100%;
}

.loading-message {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #ff6b6b;
    opacity: 0;
    transform: translateY(20px);
    animation: messageSlideIn 0.5s ease-out forwards;
}

@keyframes messageSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-message.final {
    background: rgba(255, 152, 0, 0.2);
    border-left-color: #ff9800;
    font-weight: 600;
    color: #ff9800;
}

.loading-message p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* Verification Tasks */
.verification-tasks {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.task-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.task-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.task-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.task-icon.youtube {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

.task-icon.twitter {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.task-icon i {
    font-size: 20px;
    color: white;
}

.task-text {
    flex: 1;
}

.task-text span {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.spam-notice {
    text-align: center;
    background: rgba(255, 152, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    border: 2px solid rgba(255, 152, 0, 0.3);
    margin-top: 10px;
}

.spam-notice p {
    margin: 0;
    color: #ff9800;
    font-weight: 500;
    font-size: 16px;
}

.sms-verification {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.countdown-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px 30px;
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.heartbeat {
    color: #e74c3c;
    font-size: 24px;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.countdown-timer span {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
    min-width: 80px;
}

.countdown-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.sms-verification-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.sms-verification-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    text-align: center;
    color: #fff;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

    .step {
        padding: 30px 20px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .verified-badge {
        margin-left: 0;
    }

    .popup-content {
        padding: 20px;
        width: 95%;
    }

    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .store-card {
        padding: 10px;
    }

    .store-card img {
        width: 50px;
        height: 50px;
    }

    .store-card span {
        font-size: 12px;
    }

    .amount-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .amount-card {
        padding: 15px;
    }

    .amount-value {
        font-size: 20px;
    }

    .code-text {
        font-size: 18px;
        padding: 12px 15px;
    }

    .code-container {
        flex-direction: column;
        gap: 10px;
    }

    .features {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }

    .feature {
        flex-direction: row;
        gap: 12px;
    }

    .activity-card {
        padding: 8px 10px;
    }

    .activity-card .card-avatar {
        width: 25px;
        height: 25px;
        margin-right: 8px;
    }

    .task-item {
        padding: 12px 15px;
        gap: 12px;
    }

    .task-number {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .task-icon {
        width: 35px;
        height: 35px;
    }

    .countdown-timer {
        gap: 12px;
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }

    .sms-verification-btn {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
    }

    .loading-messages {
        min-height: 300px;
        padding: 20px 0;
    }

    .spinner-large {
        width: 60px;
        height: 60px;
        border-width: 4px;
    }

    .loading-message {
        padding: 15px;
        margin-bottom: 12px;
    }

    .loading-message p {
        font-size: 14px;
    }

    .code-header h2 {
        font-size: 20px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .success-icon i {
        font-size: 28px;
    }
}
