* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(250, 204, 21, 0.14), transparent 28%),
        linear-gradient(145deg, #8eb9d2 0%, #72a9c7 38%, #376780 100%);
    color: #e2e8f0;
    padding-bottom: 70px;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 55%),
        url('logo.png') center 18% / min(62vw, 440px) auto no-repeat;
    opacity: 0.065;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(1) saturate(0.35) contrast(0.9);
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 9, 18, 0.08), rgba(4, 9, 18, 0.18)),
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.012) 0,
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px,
            transparent 28px
        );
    pointer-events: none;
    z-index: 0;
}
body > * {
    position: relative;
    z-index: 1;
}
.app-header {
    position: sticky;
    top: 0;
    background: rgba(11, 21, 37, 0.9);
    backdrop-filter: blur(24px);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    z-index: 100;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}
.app-header h1 {
    font-size: clamp(0.95rem, 2.6vw, 1.35rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    white-space: normal;
    line-height: 1.2;
    text-align: center;
}
.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #d4af37;
    background: white;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 
                0 8px 16px rgba(0, 0, 0, 0.3),
                inset 0 0 10px rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
    animation: logoFloat 3s ease-in-out infinite;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.logo-icon i {
    font-size: 22px;
    color: #0f172a;
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}
.hero-card {
    background: linear-gradient(135deg, rgba(8, 17, 32, 0.92), rgba(30, 41, 59, 0.88));
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 32px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}
.hero-card h2 {
    font-size: 1.8rem;
    color: #f8fafc;
    margin-bottom: 10px;
}
.hero-card p {
    color: #cbd5e1;
    line-height: 1.6;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: #facc15;
}
.card {
    background: rgba(17, 27, 43, 0.76);
    backdrop-filter: blur(14px);
    border-radius: 32px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 18px 36px rgba(5, 10, 20, 0.14);
}
.card:active {
    transform: scale(0.99);
}
.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-left: 4px solid #d4af37;
    padding-left: 16px;
    color: #facc15;
}
.form-group {
    margin-bottom: 18px;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.field-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #cbd5e1;
    font-size: 0.92rem;
}
input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 28px;
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
}
input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
button {
    background: linear-gradient(95deg, #d4af37, #b8860b);
    border: none;
    padding: 14px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
button:active {
    transform: scale(0.97);
}
.alert {
    padding: 14px;
    border-radius: 28px;
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.success { background: #166534cc; color: #bbf7d0; border-left: 4px solid #22c55e; }
.error { background: #991b1bcc; color: #fecaca; border-left: 4px solid #ef4444; }
.member-profile {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 32px;
    padding: 20px;
    margin-top: 16px;
}
.profile-header {
    display: flex;
    gap: 15px;
    align-items: center;
}
.profile-img {
    width: 90px;
    height: 90px;
    border-radius: 45px;
    object-fit: cover;
    border: 3px solid #d4af37;
}
.profile-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 65, 85, 0.95);
    color: #f8fafc;
    font-size: 2rem;
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.social-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 16px;
}
.social-links a {
    color: #cbd5e1;
    font-size: 1.8rem;
    transition: 0.2s;
}
.social-links a:hover {
    color: #d4af37;
    transform: scale(1.2);
}
.detail-label {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 6px;
}
.detail-value {
    color: #f8fafc;
    font-weight: 600;
}
.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(22, 101, 52, 0.2);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.helper-text {
    margin-top: 12px;
    color: #cbd5e1;
    line-height: 1.5;
}
.helper-text a,
.text-link {
    color: #facc15;
    text-decoration: none;
}
.text-link:hover,
.helper-text a:hover {
    text-decoration: underline;
}
.dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.status-approved {
    background: rgba(22, 101, 52, 0.18);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.status-pending {
    background: rgba(146, 64, 14, 0.18);
    color: #fde68a;
    border: 1px solid rgba(234, 179, 8, 0.25);
}
.status-rejected {
    background: rgba(153, 27, 27, 0.18);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.stat-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(8, 17, 32, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
}
.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.7rem;
    color: #f8fafc;
}
.list-section {
    margin-top: 18px;
}
.list-section h3 {
    margin-bottom: 12px;
    color: #f8fafc;
}
.member-list {
    display: grid;
    gap: 12px;
}
.member-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(8, 17, 32, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.12);
    padding: 16px 18px;
    border-radius: 24px;
}
.inline-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.small-button {
    width: auto;
    min-width: 90px;
    padding: 10px 14px;
    font-size: 0.92rem;
}
.danger-button {
    background: linear-gradient(95deg, #ef4444, #b91c1c);
    color: #fff;
}
.action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -6px;
    margin-bottom: 24px;
}
.site-footer {
    padding: 0 20px 96px;
}
.site-footer-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 18px 20px 22px;
    border-radius: 28px;
    background: rgba(8, 17, 32, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}
.site-footer-title {
    margin-bottom: 14px;
    color: #facc15;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.site-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #e2e8f0;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.site-footer-link:hover {
    transform: translateY(-1px);
    border-color: rgba(250, 204, 21, 0.5);
    color: #facc15;
}
.site-footer-link span {
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}
.official-links-grid {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.official-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(8, 17, 32, 0.92), rgba(30, 41, 59, 0.88));
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #f8fafc;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.official-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    border-color: rgba(250, 204, 21, 0.5);
}
.official-link-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.14);
    color: #facc15;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.official-link-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.official-link-copy strong {
    font-size: 1rem;
    color: #f8fafc;
}
.official-link-copy small {
    color: #cbd5e1;
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}
.official-link-arrow {
    margin-left: auto;
    color: #94a3b8;
    flex-shrink: 0;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 16px 16px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    z-index: 200;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.7rem;
    transition: 0.2s;
    gap: 4px;
}
.nav-item i {
    font-size: 1.6rem;
}
.nav-item.active {
    color: #d4af37;
}
.nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}
@media (max-width: 480px) {
    .app-header {
        gap: 12px;
        padding: 10px 14px;
    }
    .app-header h1 {
        font-size: 0.95rem;
        letter-spacing: 0.05em;
    }
    body::before {
        background-size: min(74vw, 320px);
        background-position: center 16%;
    }
    .container {
        padding: 16px;
    }
    .site-footer {
        padding: 0 16px 96px;
    }
    .site-footer-inner {
        padding: 16px 16px 20px;
    }
    .site-footer-links {
        flex-direction: column;
    }
    .site-footer-link {
        width: 100%;
        justify-content: flex-start;
    }
    .card {
        padding: 18px;
    }
    .hero-card {
        padding: 20px;
    }
    .hero-card h2 {
        font-size: 1.45rem;
    }
    .form-row,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-header,
    .member-row,
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .inline-buttons {
        width: 100%;
    }
    .small-button {
        width: 100%;
    }
    .official-link-card {
        align-items: flex-start;
    }
}
