/* Basic reset */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { background-color: #f4f4f9; color: #333; }

/* Main Container */
.container { max-width: 600px; margin: 0 auto; background: #fff; min-height: 100vh; padding-bottom: 50px; box-shadow: 0 0 20px rgba(0,0,0,0.05); }

/* Header Image */
.hero-image { height: 400px; position: relative; overflow: hidden; background: #2c3e50; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%); display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.organizer-info { display: flex; align-items: center; color: white; font-weight: 600; font-size: 14px; }
.avatar { width: 30px; height: 30px; background: white; color: #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 10px; font-weight: bold; }
.hero-overlay h1 { color: white; font-size: 28px; text-shadow: 1px 1px 4px rgba(0,0,0,0.8); margin-bottom: 10px; }

/* Progress Card */
.progress-card { display: flex; align-items: center; padding: 25px 20px; border-bottom: 1px solid #eee; }
.progress-ring { width: 70px; height: 70px; border-radius: 50%; border: 6px solid #e0e0e0; border-top-color: #4CAF50; border-right-color: #4CAF50; border-bottom-color: #4CAF50; display: flex; justify-content: center; align-items: center; margin-right: 20px; transform: rotate(45deg); }
.ring-content { transform: rotate(-45deg); font-weight: bold; font-size: 16px; }
.progress-text h2 { font-size: 24px; margin-bottom: 4px; }
.progress-text p { color: #666; font-size: 15px; margin-bottom: 5px; }
.recent-donation { font-size: 14px !important; color: #333 !important; }

/* Buttons */
.action-buttons { display: flex; gap: 15px; padding: 20px; border-bottom: 1px solid #eee; }
.btn-donate-top, .btn-share { flex: 1; padding: 16px; border-radius: 30px; font-size: 16px; font-weight: bold; cursor: pointer; border: none; }
.btn-donate-top { background: #c5f5a1; color: #1a4d2e; } 
.btn-share { background: #1a4d2e; color: white; } 

/* Story */
.story-section { padding: 25px 20px; line-height: 1.6; color: #333; font-size: 16px; border-bottom: 1px solid #eee; }
.story-section p { margin-bottom: 15px; }
.read-more { color: #333; font-weight: bold; text-decoration: underline; }
.story-buttons { display: flex; gap: 15px; margin-top: 25px; }
.btn-outline { flex: 1; padding: 14px; border-radius: 30px; border: 1px solid #ccc; background: white; font-weight: bold; font-size: 16px; cursor: pointer;}

/* Payment Section */
.payment-section { padding: 25px 20px; background: #fff; }
.payment-section h3 { margin-bottom: 15px; font-size: 18px; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 15px; }
.amount-btn { padding: 15px; border: 1px solid #ccc; background: white; border-radius: 8px; font-size: 16px; cursor: pointer; color: #333; }
.amount-btn.active { border-color: #4CAF50; background: #e8f5e9; font-weight: bold; color: #1a4d2e; }

/* Custom Input */
.custom-input { display: flex; align-items: center; border: 1px solid #ccc; border-radius: 8px; padding: 10px 15px; margin-bottom: 25px; background: white; }
.custom-input input { flex-grow: 1; border: none; outline: none; font-size: 20px; }
.custom-input span { color: #555; margin: 0 10px; }

/* Payment Methods */
.payment-section h4 { margin-bottom: 10px; font-size: 16px; }
.payment-methods { border: 1px solid #ccc; border-radius: 8px; background: white; margin-bottom: 20px; }
.payment-option { display: flex; align-items: center; padding: 18px; border-bottom: 1px solid #eee; cursor: pointer; font-size: 16px; }
.payment-option:last-child { border-bottom: none; }
.payment-option input { margin-right: 15px; transform: scale(1.2); }
.icon { margin-right: 10px; font-size: 18px; }

/* Checkbox */
.checkbox-label { display: flex; align-items: flex-start; font-size: 14px; color: #555; margin-bottom: 15px; line-height: 1.4; }
.checkbox-label input { margin-right: 10px; margin-top: 3px; transform: scale(1.2); }

/* Final Button */
.btn-donate-final { width: 100%; padding: 18px; background: #000; color: white; border: none; border-radius: 30px; font-size: 18px; font-weight: bold; cursor: pointer; margin-top: 10px; }

/* Footer */
.footer { text-align: center; padding: 20px; color: #666; font-size: 14px; border-top: 1px solid #eee; }