/* Setup Guide Page Specific Styles */

/* Main Content */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

/* Hero Section */
.setup-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.setup-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.sticky-nav-container {
    padding: 1rem 0;
    margin-top: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    width: 100%;
}

/* Desktop Floating Navigation */
.sticky-nav-container.scrolled {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1000;
    width: auto;
    padding: 0;
    margin: 0;
    background: transparent;
}

.sticky-nav-container.scrolled .setup-progress {
    flex-direction: column;
    max-width: none;
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 2rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    gap: 0.5rem;
}

.sticky-nav-container.scrolled .progress-step {
    margin: 0;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
    padding: 0.75rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.sticky-nav-container.scrolled .progress-step span {
    display: none;
}

.sticky-nav-container.scrolled .step-number {
    margin: 0;
    position: relative;
    top: auto;
    right: auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Floating Navigation Animations */
.sticky-nav-container.scrolled .progress-step:hover {
    transform: scale(1.1);
    background: rgba(139, 92, 246, 0.1);
}

.sticky-nav-container.scrolled .progress-step:hover .step-number {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.sticky-nav-container.scrolled .progress-step.active {
    background: rgba(139, 92, 246, 0.15);
}

.sticky-nav-container.scrolled .progress-step.active .step-number {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Tooltip for floating navigation */
.sticky-nav-container.scrolled .progress-step::before {
    content: attr(data-step-name);
    position: absolute;
    right: calc(100% + 1rem);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.sticky-nav-container.scrolled .progress-step:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-0.5rem);
}

/* Force Mobile for Testing */
.force-mobile .sticky-nav-container.scrolled {
    position: fixed !important;
    bottom: 2rem !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    z-index: 1000;
    width: auto;
    padding: 0;
    margin: 0;
}

.force-mobile .sticky-nav-container.scrolled .setup-progress {
    flex-direction: row !important;
    max-width: none;
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 2rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.force-mobile .sticky-nav-container.scrolled .progress-step {
    margin: 0 0.25rem;
    justify-content: center;
    min-width: 50px;
    padding: 0.5rem;
}

.force-mobile .sticky-nav-container.scrolled .progress-step span {
    display: none;
}

.force-mobile .sticky-nav-container.scrolled .step-number {
    margin: 0;
    position: relative;
    top: auto;
    right: auto;
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
}

/* Mobile Responsive Floating Navigation */
@media (max-width: 768px) {
    .sticky-nav-container {
        padding: 0.75rem 0;
        margin-top: 1.5rem;
    }
    
    .sticky-nav-container.scrolled {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        right: auto;
        top: auto;
        transform: translateX(-50%);
        z-index: 1000;
        width: auto;
        padding: 0;
        margin: 0;
        /* iOS Safe Area Support */
        bottom: calc(2rem + env(safe-area-inset-bottom));
    }
    
    .sticky-nav-container.scrolled .setup-progress {
        flex-direction: row;
        max-width: none;
        width: auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        border-radius: 2rem;
        padding: 0.75rem 1rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        gap: 0.5rem;
    }
    
    .sticky-nav-container.scrolled .progress-step {
        margin: 0;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
        border-radius: 1rem;
    }
    
    .sticky-nav-container.scrolled .progress-step span {
        display: none;
    }
    
    .sticky-nav-container.scrolled .step-number {
        margin: 0;
        position: relative;
        top: auto;
        right: auto;
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Normal navigation on mobile */
    .setup-progress {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .progress-step {
        flex: 1;
        min-width: 0;
        text-align: center;
    }
    
    .progress-step span {
        font-size: 0.875rem;
        line-height: 1.2;
    }
    
    /* Tooltip positioning for mobile */
    .sticky-nav-container.scrolled .progress-step::before {
        right: auto;
        left: 50%;
        bottom: calc(100% + 1rem);
        top: auto;
        transform: translateX(-50%);
    }
    
    .sticky-nav-container.scrolled .progress-step:hover::before {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-0.5rem);
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .sticky-nav-container.scrolled {
        right: 1rem;
    }
    
    .sticky-nav-container.scrolled .setup-progress {
        padding: 0.875rem;
    }
    
    .sticky-nav-container.scrolled .progress-step {
        min-width: 46px;
        min-height: 46px;
    }
    
    .sticky-nav-container.scrolled .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .sticky-nav-container {
        padding: 0.5rem 0;
        margin-top: 1rem;
    }
    
    .sticky-nav-container.scrolled {
        bottom: 1rem;
        /* iOS Safe Area Support for small devices */
        bottom: calc(1rem + env(safe-area-inset-bottom));
    }
    
    .sticky-nav-container.scrolled .setup-progress {
        padding: 0.5rem 0.75rem;
        gap: 0.25rem;
    }
    
    .sticky-nav-container.scrolled .progress-step {
        margin: 0;
        min-width: 40px;
        min-height: 40px;
        padding: 0.375rem;
    }
    
    .sticky-nav-container.scrolled .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    /* Normal navigation adjustments for small screens */
    .progress-step {
        padding: 0.75rem 0.5rem;
    }
    
    .progress-step span {
        font-size: 0.8rem;
    }
}

/* iOS Safari specific adjustments */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .sticky-nav-container.scrolled {
            bottom: max(2rem, env(safe-area-inset-bottom, 2rem));
        }
    }
    
    @media (max-width: 480px) {
        .sticky-nav-container.scrolled {
            bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
        }
    }
}

/* Setup Progress Navigation */
.setup-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-radius: 60px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.sticky-nav-container.scrolled .setup-progress {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    flex: 1;
    justify-content: center;
    min-width: 0;
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.8);
}

.progress-step:hover {
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.progress-step.active {
    opacity: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: #667eea;
    box-shadow: 
        0 4px 20px rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Scrolled state for navigation items */
/* .sticky-nav-container.scrolled .progress-step {
    color: rgba(102, 126, 234, 0.7);
}

.sticky-nav-container.scrolled .progress-step.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 
        0 4px 20px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(102, 126, 234, 0.2);
} */

.sticky-nav-container.scrolled .progress-step.completed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.sticky-nav-container.scrolled .step-number {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.sticky-nav-container.scrolled .progress-step.active .step-number {
    background: white;
    color: #667eea;
    border-color: white;
}

.sticky-nav-container.scrolled .progress-step.completed .step-number {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.progress-step.completed {
    opacity: 0.8;
    background: rgba(16, 185, 129, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

.step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.progress-step.active .step-number {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.progress-step.completed .step-number {
    background: #10b981;
    color: white;
    border-color: #10b981;
    position: relative;
}

.progress-step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 0.8rem;
    font-weight: 900;
}

.progress-step span {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-step.active span {
    color: #667eea;
    font-weight: 700;
}

.progress-step.completed span {
    color: rgba(255, 255, 255, 0.95);
}

/* Navigation Dividers */
.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    opacity: 0.5;
}

.progress-step.active::after {
    opacity: 0;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.9;
}

/* Donation Stats */
.donation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    max-width: 600px;
    margin: 0 auto 32px;
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Progress Bar */
/* .progress-container {
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 6px;
    transition: width 0.8s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
} */

/* Setup Section */
.setup-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.setup-step {
    margin-bottom: 4rem;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.step-header .step-number {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.step-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.step-header p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Instruction Cards */
.instruction-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.instruction-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.card-header i {
    font-size: 1.5rem;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.75rem;
    border-radius: 12px;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.card-content {
    color: #4a5568;
    line-height: 1.6;
}

.card-content ol, .card-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.card-content li {
    margin-bottom: 0.5rem;
}

.card-content code {
    background: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #2d3748;
}

.card-content strong {
    color: #2d3748;
    font-weight: 600;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    color: white;
}

/* Permissions List */
.permissions-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.permissions-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid #e2e8f0;
}

.permissions-list code {
    font-weight: 600;
}

.required {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.recommended {
    background: #fef3c7;
    color: #d97706;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.optional {
    background: #f0f9ff;
    color: #0369a1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* API Note */
.api-note {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.api-note i {
    color: #d97706;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.api-note p {
    margin: 0;
    color: #92400e;
    font-weight: 500;
}

/* Code Blocks */
.code-block {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.code-header {
    background: #334155;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #475569;
}

.code-header span {
    color: #e2e8f0;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.copy-code-btn {
    background: #475569;
    color: #e2e8f0;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.copy-code-btn:hover {
    background: #64748b;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    background: transparent;
}

.code-block code {
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    background: transparent;
}

/* Success Note */
.success-note {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.success-note i {
    color: #16a34a;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.success-note p {
    margin: 0;
    color: #166534;
    font-weight: 500;
}

/* Help Section */
.help-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.help-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
}

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

.help-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.help-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.help-card i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.help-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.help-card p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

/* Donation Form */
.donation-form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.donation-form h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1a202c;
}

/* Amount Selection */
.amount-section {
    margin-bottom: 40px;
}

.preset-amounts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.amount-btn {
    padding: 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.amount-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.amount-btn:hover::before {
    left: 100%;
}

.amount-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.amount-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Custom Amount */
.custom-amount {
    margin-top: 24px;
}

.custom-amount label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.amount-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
    z-index: 2;
}

#customAmount {
    width: 100%;
    padding: 16px 16px 16px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    background: white;
    transition: all 0.3s ease;
}

#customAmount:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 40px;
}

.payment-methods h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2d3748;
}

.payment-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.payment-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-tab:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.1);
}

.payment-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.payment-tab i {
    font-size: 1.2rem;
}

/* Payment Content */
.payment-content {
    display: none;
    padding: 24px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.payment-content.active {
    display: block;
}

.payment-description {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.payment-description i {
    font-size: 1.5rem;
    color: #667eea;
}

.payment-description p {
    margin: 0;
    color: #4a5568;
    line-height: 1.5;
}

/* PayPal Button Container */
#paypal-button-container {
    margin-top: 16px;
}

/* Stripe Button */
.stripe-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stripe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Crypto Addresses */
.crypto-addresses {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crypto-address {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.crypto-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #2d3748;
}

.crypto-header i {
    font-size: 1.2rem;
    color: #f7931a;
}

.crypto-header i.fa-ethereum {
    color: #627eea;
}

.address-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7fafc;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.crypto-code {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #2d3748;
    word-break: break-all;
}

.copy-btn {
    padding: 8px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: #5a67d8;
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #48bb78;
}

.crypto-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: #fef5e7;
    border-radius: 8px;
    border: 1px solid #f6e05e;
}

.crypto-note i {
    color: #d69e2e;
    margin-top: 2px;
    flex-shrink: 0;
}

.crypto-note p {
    margin: 0;
    font-size: 0.9rem;
    color: #744210;
    line-height: 1.4;
}

/* Donor Information */
.donor-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2d3748;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #4a5568;
    position: relative;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Impact Section */
.impact-section {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a202c;
}

.impact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.impact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.impact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact-icon i {
    font-size: 1.2rem;
    color: white;
}

.impact-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #2d3748;
}

.impact-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
}

/* Recent Donors */
.recent-donors {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.recent-donors h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a202c;
}

.donors-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.donor-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.donor-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.donor-info {
    flex: 1;
}

.donor-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.donor-message {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
}

.donor-amount {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
}

.donor-time {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 4px;
}

.load-more-btn {
    width: 100%;
    padding: 12px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #4a5568;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.load-more-btn:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .setup-container {
        padding: 0 1rem;
    }
    
    .setup-step {
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .sticky-nav-container {
        top: 60px;
        padding: 0.75rem 0;
    }
    
    .sticky-nav-container.scrolled {
        top: 10px;
        padding: 0.4rem 0;
    }
    
    .setup-progress {
        max-width: 700px;
        padding: 0.5rem;
    }
    
    .sticky-nav-container.scrolled .setup-progress {
        transform: scale(0.9);
    }
    
    .progress-step {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
    
    .step-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
    }
    
    .progress-step span {
        font-size: 0.85rem;
    }
    
    .help-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 60px;
    }
    
    .setup-hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .setup-section {
        padding: 60px 0;
    }
    
    .setup-step {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .step-header {
        margin-bottom: 2rem;
    }
    
    .step-header h2 {
        font-size: 1.5rem;
    }
    
    .instruction-card {
        padding: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .sticky-nav-container {
        top: 50px;
        padding: 0.5rem 0;
        margin-top: 1.5rem;
    }
    
    .sticky-nav-container.scrolled {
        top: 5px;
        padding: 0.3rem 0;
    }
    
    .setup-progress {
        max-width: 100%;
        padding: 0.4rem;
        margin: 0 1rem;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .sticky-nav-container.scrolled .setup-progress {
        transform: scale(0.85);
        padding: 0.3rem;
    }
    
    .progress-step {
        padding: 0.4rem 0.75rem;
        gap: 0.4rem;
        min-width: 0;
        flex-shrink: 0;
    }
    
    .step-number {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
    }
    
    .progress-step span {
        font-size: 0.75rem;
        display: none; /* Hide text on very small screens */
    }
    
    .progress-step.active span,
    .progress-step:hover span {
        display: block;
    }
    
    .help-section {
        padding: 2rem 1.5rem;
    }
    
    .code-block {
        margin: 1rem 0;
    }
    
    .code-header {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .code-block pre {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .preset-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donation-form-container,
    .impact-section,
    .recent-donors {
        padding: 20px;
    }
    
    .crypto-code {
        font-size: 0.8rem;
    }
    
    .address-container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .copy-btn {
        align-self: flex-end;
        width: auto;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success States */
.success-message {
    padding: 16px;
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    color: #276749;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-message i {
    color: #48bb78;
}

/* Error States */
.error-message {
    padding: 16px;
    background: #fed7d7;
    border: 1px solid #feb2b2;
    border-radius: 8px;
    color: #c53030;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message i {
    color: #e53e3e;
}

/* Download Popup Styles */
.download-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
}

.download-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.download-popup {
    background: white;
    border-radius: 1.5rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-popup-overlay.active .download-popup {
    transform: scale(1) translateY(0);
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.popup-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.popup-close {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: scale(1.1);
}

.popup-content {
    padding: 1rem 2rem 2rem;
}

.popup-subtitle {
    margin: 0 0 2rem;
    color: #666;
    font-size: 1rem;
    text-align: center;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-option {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.download-option:not(.coming-soon):hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 
        0 10px 25px rgba(102, 126, 234, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}

.download-option:not(.coming-soon):active {
    transform: translateY(-1px);
}

.download-option.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(240, 240, 240, 0.9) 0%, rgba(230, 230, 230, 0.7) 100%);
}

.option-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.download-option[data-platform="builtbybit"] .option-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.download-option[data-platform="spigotmc"] .option-icon {
    background: linear-gradient(135deg, #ed8a19 0%, #f4a261 100%);
    color: white;
}

.download-option[data-platform="modrinth"] .option-icon {
    background: linear-gradient(135deg, #1bd96a 0%, #00d084 100%);
    color: white;
}

.download-option:not(.coming-soon):hover .option-icon {
    transform: scale(1.1) rotate(5deg);
}

.option-content {
    flex: 1;
}

.option-content h4 {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.option-content p {
    margin: 0 0 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.option-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-badge:not(.coming-soon):not(.trusted) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.option-badge.trusted {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.option-badge.coming-soon {
    background: linear-gradient(135deg, #bbb 0%, #999 100%);
    color: white;
}

.option-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.download-option:not(.coming-soon):hover .option-arrow {
    transform: translateX(5px);
    color: #5a67d8;
}

.download-option.coming-soon .option-arrow {
    color: #999;
}

.popup-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #666;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.footer-note i {
    color: #56ab2f;
}

/* Button Shimmer Effect */
.download-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.download-btn:hover .btn-shimmer {
    left: 100%;
}

/* Mobile Responsive Popup */
@media (max-width: 768px) {
    .download-popup {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
        border-radius: 1rem;
    }
    
    .popup-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .popup-header h3 {
        font-size: 1.25rem;
    }
    
    .popup-content {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .download-option {
        padding: 1rem;
    }
    
    .option-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-right: 0.75rem;
    }
    
    .option-content h4 {
        font-size: 1.1rem;
    }
    
    .option-content p {
        font-size: 0.85rem;
    }
    
    .option-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .download-popup {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }
    
    .popup-header {
        padding: 1rem 1rem 0.75rem;
    }
    
    .popup-content {
        padding: 0.75rem 1rem 1rem;
    }
    
    .download-option {
        padding: 0.75rem;
    }
    
    .option-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }
}
