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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 30px 20px;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInDown 0.8s ease-out;
}

header .tagline {
    font-size: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out;
    font-weight: 600;
}

header .subtitle {
    font-size: 1rem;
    opacity: 0.85;
    margin-top: 10px;
    animation: fadeInUp 1s ease-out;
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    padding: 15px 20px;
    border-radius: 15px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

.urgency-icon {
    font-size: 2rem;
    animation: shake 0.5s infinite;
}

.urgency-text {
    flex: 1;
    font-size: 1.1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.countdown-timer {
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    min-width: 150px;
    text-align: center;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

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

/* Live Stats Bar */
.live-stats-bar {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.stat-item.pulse .stat-number {
    animation: colorPulse 2s infinite;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

@keyframes colorPulse {
    0%, 100% { color: #667eea; }
    50% { color: #ff6b6b; }
}


/* Scripture Banner */
.scripture-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 15px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.3);
    color: white;
    text-align: center;
}

.scripture-icon {
    font-size: 2.5rem;
}

.scripture-content {
    flex: 1;
}

.scripture-verse {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.6;
}

.scripture-reference {
    font-size: 0.95rem;
    font-weight: bold;
    opacity: 0.95;
}



.main-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease-out;
}

.story-section {
    text-align: center;
    margin-bottom: 40px;
}

.story-section h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 2rem;
}

.story-section p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.transparency-note {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin-top: 20px;
}

/* Milestone Tracker */
.milestone-tracker {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.milestone-tracker h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.progress-bar-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    height: 40px;
    overflow: hidden;
    margin: 15px 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.progress-bar {
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.5s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.progress-text {
    font-weight: bold;
    color: #1a1a1a;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.milestone-reward {
    text-align: center;
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    background: rgba(0,0,0,0.3);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* Recent Donations Feed */
.recent-donations {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 2px solid #667eea;
}

.recent-donations h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.donation-feed {
    max-height: 200px;
    overflow-y: auto;
}

.feed-item {
    padding: 12px;
    margin: 8px 0;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95rem;
    border-left: 3px solid #667eea;
}

.donor-name {
    font-weight: bold;
    color: #333;
}

.donor-group {
    color: #667eea;
    font-weight: 600;
}

.donor-amount {
    color: #28a745;
    font-weight: bold;
}

.time-ago {
    color: #999;
    font-size: 0.85rem;
    float: right;
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Religion Selection */
.religion-section {
    margin: 40px 0;
}

.religion-section h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.category-tab {
    padding: 15px 30px;
    background: white;
    border: 3px solid #ddd;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.category-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.category-content {
    animation: fadeIn 0.5s ease-out;
}

.religion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.religion-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.religion-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    border-color: #667eea;
}

.religion-card.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.religion-card.selected * {
    color: white !important;
}

.religion-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.religion-card h4 {
    font-size: 1.3rem;
    margin: 10px 0;
    color: #333;
}

.religion-stats {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: bold;
    margin: 8px 0;
}

.religion-subtext {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 8px;
}

/* Denomination Selection */
.denomination-section {
    margin: 30px 0;
}

.denomination-section h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.denomination-select {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #667eea;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.denomination-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Amount Section */
.amount-section {
    margin: 30px 0;
}

.amount-section h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.donation-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.donation-card > * {
    position: relative;
    z-index: 1;
}

.donation-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.donation-card:hover::before {
    opacity: 1;
}

.donation-card:hover .card-icon,
.donation-card:hover h3,
.donation-card:hover .amount,
.donation-card:hover .description {
    color: white;
}

.donation-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.donation-card.selected .card-icon,
.donation-card.selected h3,
.donation-card.selected .amount,
.donation-card.selected .description {
    color: white;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.donation-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.donation-card .amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 8px;
}

.donation-card .description {
    color: #666;
    font-size: 0.95rem;
}

/* Donation Card Badges */
.popular-choice-banner {
    background: #fff3cd;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid #ffc107;
}

.popular-badge {
    background: #ffc107;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

.donor-count {
    font-size: 0.85rem;
    color: #999;
    margin-top: 8px;
    font-style: italic;
}

.impact-badge {
    background: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-top: 8px;
    font-weight: bold;
}

.popular-flag, .recommended-flag, .vip-flag, .legendary-flag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #333;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.recommended-flag {
    background: #ff6b6b;
    color: white;
}

.vip-flag {
    background: #9b59b6;
    color: white;
}

.legendary-flag {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
}

.donation-card.popular {
    border-color: #ffc107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.donation-card.recommended {
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.donation-card.vip {
    border-color: #9b59b6;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}

.donation-card.legendary {
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.custom-card input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
}

.custom-card input:focus {
    outline: none;
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.custom-card:hover input {
    background: white;
    color: #333;
}

.payment-section {
    animation: slideIn 0.5s ease-out;
    margin-top: 30px;
}

.payment-section h2 {
    color: #667eea;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.payment-info {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.selected-amount {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 25px;
}

.selected-amount span {
    color: #764ba2;
    font-size: 1.5rem;
}

.crypto-selector {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
}

.crypto-btn {
    flex: 1;
    max-width: 200px;
    padding: 15px 20px;
    background: white;
    border: 3px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.crypto-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.crypto-icon {
    font-size: 1.3rem;
}

.qr-section {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
}

#qrcode {
    display: inline-block;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.qr-help {
    margin-top: 15px;
    color: #666;
    font-size: 0.95rem;
}

.address-section,
.amount-box {
    margin: 25px 0;
}

.address-section label,
.amount-box label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.address-box {
    display: flex;
    gap: 10px;
}

.address-box input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    background: white;
}

.copy-btn {
    padding: 12px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.copy-btn:active {
    transform: scale(0.95);
}

.amount-display {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #667eea;
    font-size: 1.5rem;
    font-weight: bold;
    color: #764ba2;
}

/* Comment Section */
.comment-section {
    margin: 25px 0;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.comment-section label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1rem;
}

.comment-section textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.comment-section input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #f8f9fa;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.comment-section input[type="text"]:focus {
    outline: none;
    border-color: #764ba2;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.comment-help {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.comment-section textarea:focus {
    outline: none;
    border-color: #764ba2;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.char-counter {
    text-align: right;
    color: #999;
    font-size: 0.85rem;
    margin-top: 5px;
}

.comment-note {
    background: #fff3cd;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #856404;
    border: 1px solid #ffc107;
}

/* Donor Comments in Feed */
.donor-comment {
    margin-top: 8px;
    padding: 10px;
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid #667eea;
    border-radius: 5px;
    font-style: italic;
    color: #333;
    font-size: 0.9rem;
}

.instructions {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.instructions h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.instructions ol {
    padding-left: 25px;
}

.instructions li {
    margin: 10px 0;
    color: #555;
    line-height: 1.6;
}

.instructions strong {
    color: #764ba2;
}

.submit-donation-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.submit-donation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.5);
}

.submit-donation-btn:active {
    transform: translateY(0);
}

.back-btn {
    width: 100%;
    padding: 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.back-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.stats-section {
    margin-top: 40px;
    text-align: center;
}

.stats-section h3 {
    color: #667eea;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

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

.stat {
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat p {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

footer {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    margin-top: 40px;
    padding: 30px 20px;
    border-radius: 20px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.footer-disclaimer {
    font-size: 0.95rem;
    color: #ffffff;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-small {
    font-size: 0.85rem;
    color: #e0e0e0;
    margin-top: 15px;
    font-style: italic;
}

.crypto-addresses {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: monospace;
    backdrop-filter: blur(10px);
}

.crypto-addresses p {
    margin: 10px 0;
    word-break: break-all;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.crypto-addresses strong {
    color: #ffed4e;
    font-weight: bold;
    font-size: 1.05rem;
}

.footer-links {
    margin: 20px 0;
}

.footer-links p {
    color: #ffffff;
    font-size: 1rem;
}

.footer-links a {
    color: #ffed4e;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-links a:hover {
    text-decoration: underline;
    color: #ffd700;
}

/* Charity Section */
.charity-section {
    margin: 40px 0;
    text-align: center;
}

.charity-section h3 {
    color: #667eea;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.charity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.charity-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.charity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.charity-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.charity-card h4 {
    color: #333;
    margin: 10px 0;
    font-size: 1.1rem;
}

.charity-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Share Section */
.share-section {
    margin: 40px 0;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
}

.share-section h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.share-section p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.share-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.reddit {
    background: #FF4500;
    color: white;
}

.share-btn.copy {
    background: #667eea;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.viral-counter {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    display: inline-block;
}

.viral-counter p {
    color: #333;
    font-size: 1.1rem;
    margin: 8px 0;
}

.fomo-text {
    background: #fff3cd;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
    margin-bottom: 15px;
}

.scarcity-text {
    color: #ff6b6b;
    font-weight: bold;
}

/* Testimonials */
.testimonials-section {
    margin: 40px 0;
    text-align: center;
}

.testimonials-section h3 {
    color: #667eea;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-author {
    color: #667eea;
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 5px;
}

/* About Section */
.about-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
}

.about-section h3 {
    color: #667eea;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin: 15px 0;
    line-height: 1.8;
    color: #555;
}

.about-content strong {
    color: #667eea;
    font-size: 1.1rem;
}

.about-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 25px;
    text-align: center;
}

.about-cta p {
    color: white;
    margin: 8px 0;
    font-size: 1.1rem;
}

.about-cta strong {
    color: #ffd700;
}

/* Lottery Modal */
.lottery-modal {
    max-width: 900px;
}

.lottery-explainer {
    margin: 30px 0;
}

.explainer-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.explainer-section h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.explainer-section ul {
    list-style: none;
    padding: 0;
}

.explainer-section li {
    padding: 8px 0;
    color: #555;
    font-size: 1rem;
}

.explainer-section strong {
    color: #333;
}

.recent-winners {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.winner-item {
    padding: 10px;
    margin: 8px 0;
    background: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #ffd700;
}

.odds-calculator {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.odds-calculator h3 {
    color: white;
    margin-bottom: 15px;
}

.odds-calculator select {
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    margin: 0 10px;
}

.odds-calculator strong {
    color: #ffd700;
    font-size: 1.3rem;
}

.cta-btn-lottery {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-btn-lottery:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Modal/Leaderboard */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 800px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideIn 0.3s ease-out;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #333;
    transform: scale(1.2);
}

.modal-content h2 {
    color: #667eea;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.full-leaderboard {
    margin: 30px 0;
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 80px 1fr 2fr 100px;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin: 15px 0;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.leaderboard-item.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.leaderboard-item.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
}

.leaderboard-item.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #e9a76f 100%);
}

.rank {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

.religion-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.religion-icon {
    font-size: 2rem;
}

.religion-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.percentage {
    font-size: 1.3rem;
    font-weight: bold;
    color: #667eea;
}

.bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.bar-fill {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.beat-btn {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.beat-btn:hover {
    background: #764ba2;
    transform: scale(1.05);
}

/* Hall of Fame */
.hall-of-fame {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.hall-of-fame h3 {
    color: #667eea;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.top-donors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.donor-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.donor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.donor-rank {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.donor-name {
    font-weight: bold;
    color: #333;
    margin: 8px 0;
    font-size: 1.1rem;
}

.donor-religion {
    color: #666;
    font-size: 0.95rem;
    margin: 5px 0;
}

.donor-amount {
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    font-weight: bold;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Authentication System Styles */
.auth-button {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.auth-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Auth Modal */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow-y: auto;
}

.auth-modal-content {
    background: white;
    margin: 50px auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideIn 0.3s ease-out;
}

.close-auth-modal, .close-dashboard {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-auth-modal:hover, .close-dashboard:hover {
    color: #333;
    transform: scale(1.2);
}

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

.auth-header h2 {
    color: #667eea;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: #667eea;
    color: white;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.auth-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.auth-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
}

.auth-benefits {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.auth-benefits h3 {
    color: #333;
    margin-bottom: 15px;
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
}

.auth-benefits li {
    padding: 8px 0;
    color: #555;
}

/* User Dashboard */
.user-dashboard {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow-y: auto;
}

.dashboard-content {
    background: white;
    margin: 30px auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 800px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideIn 0.3s ease-out;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.dashboard-header h2 {
    color: #667eea;
    margin: 0;
}

.user-info {
    text-align: right;
}

.user-info p {
    margin: 5px 0;
    color: #555;
}

.sign-out-btn {
    margin-top: 10px;
    padding: 8px 16px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sign-out-btn:hover {
    background: #d32f2f;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    opacity: 0.9;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
}

.donation-history h3 {
    color: #667eea;
    margin-bottom: 20px;
}

.history-list {
    max-height: 400px;
    overflow-y: auto;
}

.history-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
}

.history-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.history-amount {
    color: #28a745;
    font-weight: bold;
}

.history-hash {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-hash code {
    background: #e0e0e0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.history-hash button {
    padding: 2px 8px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.history-comment {
    font-style: italic;
    color: #555;
    margin: 5px 0;
}

.history-date {
    font-size: 0.85rem;
    color: #999;
}

.no-donations {
    text-align: center;
    padding: 40px;
    color: #999;
    font-style: italic;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    header .tagline {
        font-size: 1.2rem;
    }
    
    header .subtitle {
        font-size: 0.9rem;
    }
    
    .urgency-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .live-stats-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .lottery-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .lottery-title {
        font-size: 1.1rem;
    }
    
    .lottery-subtitle {
        font-size: 0.9rem;
    }
    
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    
    .podium {
        flex-direction: column;
        align-items: center;
    }
    
    .podium-place {
        max-width: 250px;
        width: 100%;
    }
    
    .podium-place.first {
        transform: scale(1);
        order: -1;
    }
    
    .main-content {
        padding: 25px;
    }
    
    .religion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donation-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .address-box {
        flex-direction: column;
    }
    
    .address-box input {
        font-size: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .charity-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
    }
    
    .leaderboard-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .religion-info {
        justify-content: center;
    }
    
    .top-donors {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20px;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .story-section h2 {
        font-size: 1.5rem;
    }
}
