﻿/* wwwroot/css/campaign.css */
.campaign-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #FF6B35 0%, #1A365D 100%);
    padding: 2rem 1rem;
}

.campaign-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.campaign-header {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

    .campaign-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .campaign-header .subtitle {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 1rem;
    }

    .campaign-header .description {
        font-size: 1rem;
        opacity: 0.8;
        max-width: 600px;
        margin: 0 auto;
    }

/* Registration Section */
.registration-section {
    padding: 3rem 2rem;
}

    .registration-section h2 {
        color: #1A365D;
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: center;
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        color: #1A365D;
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

        .form-group label i {
            margin-right: 0.5rem;
            color: #FF6B35;
        }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: #FF6B35;
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    }

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #718096;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    }

.btn-block {
    width: 100%;
}

/* Dashboard Section */
.dashboard-section {
    padding: 2rem;
}

.welcome-message {
    background: linear-gradient(135deg, #4299E1 0%, #3182CE 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

    .welcome-message h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .welcome-message strong {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

/* Progress Section */
.progress-section {
    margin-bottom: 3rem;
}

    .progress-section h3 {
        color: #1A365D;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A365D;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Prize Tiers */
.prize-tiers {
    margin-bottom: 3rem;
}

    .prize-tiers h3 {
        color: #1A365D;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

.tier {
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

    .tier.unlocked {
        border-color: #48BB78;
        background: linear-gradient(135deg, #F0FFF4 0%, #C6F6D5 100%);
    }

.tier-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1A365D;
}

.tier.unlocked .tier-badge {
    color: #48BB78;
}

.tier-badge i {
    font-size: 1.5rem;
}

.tier-content h4 {
    color: #1A365D;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tier-content p {
    color: #718096;
    font-size: 0.95rem;
}

.tier-progress {
    margin-top: 1rem;
}

.progress-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35 0%, #FF8C5A 100%);
    transition: width 0.5s ease;
}

.tier-progress span {
    font-size: 0.85rem;
    color: #718096;
}

/* Share Section */
.share-section {
    background: linear-gradient(135deg, #EBF8FF 0%, #BEE3F8 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

    .share-section h3 {
        color: #1A365D;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

.tracking-link {
    margin-bottom: 2rem;
}

    .tracking-link p {
        color: #1A365D;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

.link-container {
    display: flex;
    gap: 0.5rem;
}

    .link-container input {
        flex: 1;
        padding: 0.75rem 1rem;
        border: 2px solid #CBD5E0;
        border-radius: 10px;
        font-size: 0.95rem;
        background: white;
    }

.btn-copy {
    padding: 0.75rem 1.5rem;
    background: #4299E1;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-copy:hover {
        background: #3182CE;
        transform: translateY(-2px);
    }

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

    .share-buttons button {
        padding: 1rem;
        border: none;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        color: white;
    }

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.btn-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.btn-twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0C85D0 100%);
}

.btn-instagram {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088CC 0%, #006BA6 100%);
}

.share-buttons button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* How It Works */
.how-it-works {
    margin-bottom: 2rem;
}

    .how-it-works h3 {
        color: #1A365D;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-content h4 {
    color: #1A365D;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #718096;
    font-size: 0.95rem;
}

/* Terms Section */
.terms-section {
    background: #F7FAFC;
    padding: 2rem;
    border-top: 3px solid #e2e8f0;
}

    .terms-section h4 {
        color: #1A365D;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .terms-section ul {
        list-style: none;
        padding: 0;
    }

    .terms-section li {
        color: #718096;
        font-size: 0.9rem;
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        position: relative;
    }

        .terms-section li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #48BB78;
            font-weight: 700;
        }

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1A365D;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: bottom 0.3s ease;
    z-index: 1000;
    font-weight: 600;
}

    .toast.show {
        bottom: 2rem;
    }

.toast-success {
    background: #48BB78;
}

.toast-error {
    background: #F56565;
}

.toast-info {
    background: #4299E1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .campaign-header h1 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .link-container {
        flex-direction: column;
    }

    .btn-copy {
        width: 100%;
    }
}
