/* ========================================
   Public Pages Styles - Apnacashy
   Inspired by Reference Design
   ======================================== */
/* ========================================
   Global Font Settings - Public Pages
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
/* Force consistent font rendering across devices */
html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-synthesis: none;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures;
}
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Rest of your public.css styles below */
.public-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

/* Campaign Card */
.campaign-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    max-width: 520px;
    width: 100%;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header Section */
.campaign-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.campaign-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.campaign-name {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.campaign-name span {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.campaign-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

/* Body Section */
.campaign-body {
    padding: 30px;
    background: white;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 18px;
    z-index: 2;
}

.input-with-icon .form-control {
    padding-left: 48px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #1f2937;
    height: 52px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-with-icon .form-control:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
    background: white;
}

.input-with-icon .form-control::placeholder {
    color: #9ca3af;
}

/* Company Header Styles */
.company-logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(102,126,234,0.3);
}

.logo-icon i {
    font-size: 32px;
    color: white;
}

.company-name {
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin-top: 12px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff 0%, #9f7aea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.company-tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

/* Campaign Header Modifications */
.campaign-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 35px 30px 30px;
    text-align: center;
}

.exclusive-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(251,191,36,0.2) 0%, rgba(245,158,11,0.2) 100%);
    border: 1px solid rgba(251,191,36,0.3);
    border-radius: 50px;
    padding: 5px 16px;
    margin-bottom: 15px;
    font-size: 11px;
    font-weight: 600;
    color: #fbbf24;
}

.campaign-name {
    font-size: 26px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.campaign-name span {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.offer-desc {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 8px 15px;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}
.btn-send {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 0 20px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    height: 52px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

.btn-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Info Notice */
.info-notice {
    background: #fef3c7;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    gap: 12px;
    border-left: 4px solid #f59e0b;
}

.info-notice i {
    font-size: 18px;
    color: #f59e0b;
}

.info-notice-content {
    flex: 1;
}

.info-notice-title {
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 4px;
}

.info-notice-text {
    font-size: 11px;
    color: #b45309;
    line-height: 1.4;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 14px;
    padding: 16px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.4);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
/* Reward Highlight */
.reward-highlight {
    background: linear-gradient(135deg, rgba(251,191,36,0.15) 0%, rgba(245,158,11,0.1) 100%);
    border-radius: 24px;
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid rgba(251,191,36,0.3);
}

.reward-amount {
    font-size: 48px;
    font-weight: 800;
    color: #f59e0b;
}

/* Event Steps */
.event-step {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.event-step:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1);
}

.event-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.event-icon i {
    font-size: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.badge-step {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
}

/* Alert Info Custom */
.alert-info-custom {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-info-custom i {
    color: #f59e0b;
}

/* Responsive */
@media (max-width: 576px) {
    .reward-amount {
        font-size: 36px;
    }
    
    .event-step {
        padding: 15px;
    }
    
    .event-icon {
        width: 45px;
        height: 45px;
    }
    
    .event-icon i {
        font-size: 20px;
    }
}
/* Steps List */
.steps-list {
    background: #f9fafb;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
}
/* Telegram badge*/
  .telegram-link-footer {
            margin-top: 25px;
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(0,0,0,0.05);
        }
        .telegram-link-footer a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #1a1730 0%, #2d2b45 100%);
            color: white;
            padding: 10px 24px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
        }
        .telegram-link-footer a:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
/* Alert Messages */
.alert-custom {
    background: #fee2e2;
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #dc2626;
}

.alert-success-custom {
    background: #d1fae5;
    color: #059669;
}

.alert-success-custom i {
    color: #059669;
}

/* Paused Card */
.paused-card {
    text-align: center;
    padding: 50px 40px;
}

.paused-icon {
    width: 80px;
    height: 80px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.paused-icon i {
    font-size: 40px;
    color: #dc2626;
}

/* Responsive */
@media (max-width: 576px) {
    .campaign-header {
        padding: 30px 20px;
    }
    
    .campaign-name {
        font-size: 24px;
    }
    
    .campaign-body {
        padding: 20px;
    }
    
    .otp-section {
        flex-direction: column;
    }
    
    .btn-send {
        padding: 12px;
        width: 100%;
    }
}