body {
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.comment-section { border-top:1px solid #dee2e6; padding-top:1.25rem; margin-top:1.25rem; }
.comment-toggle { cursor:pointer; user-select:none; }
.comment-avatar { width:36px; height:36px; min-width:36px; border-radius:50%; background:#198754; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.9rem; }
.comment-avatar.sm { width:30px; height:30px; min-width:30px; font-size:.75rem; }
.comment-body { background:#f8f9fa; border-radius:12px; padding:.6rem 1rem; }
.comment-name { font-size:.85rem; }
.comment-date { font-size:.72rem; color:#999; }
.comment-body p { font-size:.82rem; line-height:1.5; }
.comment-actions .btn-link { color:#666; text-decoration:none; font-size:.78rem; }
.comment-actions .btn-link:hover { color:#198754; }
.comment-actions .btn-link.liked { color:#dc3545; }
.comment-actions .btn-link.liked i { color:#dc3545; }
.reply-item .comment-body { background:#fff; border:1px solid #eee; }
footer {
    margin-top: auto !important;
}

.hero-section {
    background: linear-gradient(135deg, #0d6e2b 0%, #198754 40%, #145c32 100%);
    color: white;
    padding: 80px 0;
    border-radius: 0 0 40px 40px;
    margin-bottom: 0;
    position: relative;
}
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: white;
}
.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}
.shape-2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: 10%;
}
.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 30%;
}
.hero-title {
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.hero-desc {
    opacity: 0.9;
    font-size: 1.15rem;
}
.hero-btn {
    transition: all 0.3s ease;
}
.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}
.hero-btn-outline {
    transition: all 0.3s ease;
}
.hero-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}
.hero-card-preview {
    perspective: 800px;
}
.preview-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 6px;
    display: inline-block;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.preview-card-inner {
    background: white;
    border-radius: 16px;
    padding: 25px 35px;
    width: 240px;
    text-align: center;
    color: #333;
}
.preview-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: #198754;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.preview-photo {
    font-size: 4rem;
    color: #adb5bd;
    line-height: 1;
}
.preview-id {
    font-size: 1.4rem;
    font-weight: 700;
    color: #198754;
    letter-spacing: 2px;
    margin: 10px 0 5px;
}
.preview-name {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
}
.preview-footer {
    font-size: 0.75rem;
    color: #adb5bd;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed #dee2e6;
}
.animate-float {
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
.badge {
    font-size: 0.85rem;
}

.stats-section {
    background: transparent;
}
.stat-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.stat-icon {
    font-size: 2rem;
    color: #198754;
}
.stat-card h3 {
    font-size: 1.8rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-color: rgba(25,135,84,0.2);
}
.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, #198754, #145c32);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}
.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.about-section .card {
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}
.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #198754, #145c32);
    border-radius: 2px;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-2px);
}
.card-icon {
    font-size: 2.5rem;
    color: #198754;
}
.id-card-container {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    max-width: 500px;
    margin: 0 auto;
}
.id-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #198754;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.id-card .logo {
    max-width: 80px;
    margin-bottom: 10px;
}
.id-card .photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #198754;
    margin: 10px auto;
    display: block;
}
.id-card .membership-id {
    font-size: 1.5rem;
    font-weight: 700;
    color: #198754;
    letter-spacing: 2px;
}
.id-card .name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 5px 0;
}
.id-card .phone {
    font-size: 0.95rem;
    color: #6c757d;
}
.btn-success {
    padding: 10px 25px;
    font-weight: 600;
}
.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25,135,84,0.25);
}
.alert {
    border-radius: 10px;
}
.search-box {
    max-width: 400px;
}
.beneficiary-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.badge-cash {
    background: #198754;
    color: white;
}
.badge-item {
    background: #0d6efd;
    color: white;
}
.watermark-bg {
    position: absolute;
    inset: 0;
    background: url('../logo/ajumesi.jpeg') center/contain no-repeat;
    opacity: 0.15;
    z-index: 1;
    margin-top: -3em;
    height: 100%;
    pointer-events: none;
}

.form-logo {
    border-radius: 8px;
}

.id-card-display .id-card-frame {
    display: inline-block;
    background: linear-gradient(135deg, #198754, #0d6e2b, #145c32);
    padding: 6px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(25,135,84,0.25);
}
.id-card-display .id-card-frame-inner {
    background: white;
    border-radius: 13px;
    padding: 12px;
}
.id-card-display .id-card-img {
    max-width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}
.welcome-badge {
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(25,135,84,0.2);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        border-radius: 0 0 24px 24px;
    }
    .hero-section h1 { font-size: 1.8rem; }
    .hero-title { font-size: 2rem !important; }
    .stat-card h3 { font-size: 1.4rem; }
    .stat-card { padding: 1rem !important; }
}
