/* ═══════════════════════════════════════════════════════
   GKI Peterongan — Linktree Styles
   Design: 60th Anniversary Brand — Navy & Diamond
   ═══════════════════════════════════════════════════════ */

/* --- Design Tokens --- */
:root {
    --navy:               #1a3562;
    --navy-dark:          #0f2241;
    --navy-light:         #2a4a7a;
    --accent-blue:        #5ba4d9;
    --accent-orange:      #e8874a;
    --accent-coral:       #e06060;
    --accent-pink:        #d4a0b0;
    --accent-yellow:      #f0d060;
    --accent-sky:         #a8d4f0;
    --bg-white:           #ffffff;
    --bg-cream:           #faf8f5;
    --text-dark:          #1a3562;
    --text-muted:         #6b7b95;
    --text-light:         #ffffff;

    --radius-card:  24px;
    --radius-btn:   16px;
    --shadow-card:  0 8px 40px rgba(26, 53, 98, 0.08), 0 2px 12px rgba(26, 53, 98, 0.05);
    --shadow-btn:   0 2px 8px rgba(26, 53, 98, 0.10);
    --transition:   all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Body --- */
body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: var(--bg-cream);
    position: relative;
    overflow-x: hidden;
}

/* --- Geometric Diamond Corner Decorations --- */
.geo-corner {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.geo-corner--top-right {
    top: -40px;
    right: -40px;
    width: 320px;
    height: 320px;
}

.geo-corner--bottom-left {
    top: -40px;
    left: -40px;
    width: 280px;
    height: 280px;
}

/* --- Card Container --- */
.link-container {
    width: 100%;
    max-width: 440px;
    text-align: center;
    background: var(--bg-white);
    padding: 48px 32px 40px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(26, 53, 98, 0.06);
    position: relative;
    z-index: 1;

    /* Entrance animation */
    animation: fadeSlideUp 0.6s ease-out;
}

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

/* --- Profile Header --- */
.profile-header {
    margin-bottom: 20px;
    text-align: center;
}

.profile-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
    max-width: 100%;
}

.profile-logo-side {
    height: 70px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    opacity: 0.7;
}

.profile-logo-building {
    height: 120px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.7;
}

.profile-logo-main {
    height: 90px;
    width: auto;
    max-width: 140px;
}

.profile-tagline {
    height: 40px;
    width: auto;
    max-width: 180px;
    display: block;
    margin: 0 auto;
    opacity: 0.85;
}

.profile-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange), var(--accent-coral));
    border-radius: 2px;
    margin: 12px auto 0;
    border: none;
}

/* --- Link Buttons --- */
.link-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 16px 22px;
    text-decoration: none;
    background: var(--navy);
    color: var(--text-light);
    border-radius: var(--radius-btn);
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-btn);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient shimmer on hover */
.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    transition: left 0.5s ease;
}

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

/* Staggered entrance */
.link-btn { opacity: 0; animation: fadeSlideUp 0.5s ease-out forwards; }
.link-btn:nth-child(1) { animation-delay: 0.10s; }
.link-btn:nth-child(2) { animation-delay: 0.18s; }
.link-btn:nth-child(3) { animation-delay: 0.26s; }
.link-btn:nth-child(4) { animation-delay: 0.34s; }
.link-btn:nth-child(5) { animation-delay: 0.42s; }
.link-btn:nth-child(6) { animation-delay: 0.50s; }
.link-btn:nth-child(7) { animation-delay: 0.58s; }
.link-btn:nth-child(8) { animation-delay: 0.66s; }

/* Icon — uses brand accent colors */
.link-btn i {
    margin-right: 16px;
    font-size: 1.35rem;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    flex-shrink: 0;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

/* Diamond accent colors per button */
.link-btn:nth-child(1) i { background: rgba(91, 164, 217, 0.25); color: var(--accent-sky); }
.link-btn:nth-child(2) i { background: rgba(232, 135, 74, 0.25); color: var(--accent-orange); }
.link-btn:nth-child(3) i { background: rgba(168, 212, 240, 0.25); color: var(--accent-sky); }
.link-btn:nth-child(4) i { background: rgba(240, 208, 96, 0.25); color: var(--accent-yellow); }
.link-btn:nth-child(5) i { background: rgba(91, 164, 217, 0.25); color: var(--accent-blue); }
.link-btn:nth-child(6) i { background: rgba(224, 96, 96, 0.25); color: var(--accent-coral); }

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.btn-subtitle {
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.85);
}

/* Hover — standard buttons */
.link-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 24px rgba(26, 53, 98, 0.25);
    background: var(--navy-light);
}

/* --- Special / Featured Button --- */
.link-btn.special-highlight {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-coral));
    color: var(--text-light);
    border: 2px solid transparent;
    box-shadow: 0 4px 16px rgba(232, 135, 74, 0.25);
}

.link-btn.special-highlight i {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.link-btn.special-highlight .btn-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Hover — special button */
.link-btn.special-highlight:hover {
    box-shadow: 0 8px 28px rgba(232, 135, 74, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.link-btn.special-highlight:hover i {
    color: var(--text-light);
}

/* --- Footer --- */
.footer {
    margin-top: 36px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-icons {
    margin-bottom: 14px;
}

.footer-icons a {
    color: var(--navy);
    margin: 0 10px;
    font-size: 1.4rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    opacity: 0.6;
}

.footer-icons a:hover {
    color: var(--accent-blue);
    transform: translateY(-2px);
    opacity: 1;
}

.footer p {
    letter-spacing: 0.3px;
}

/* --- Small-screen tweaks --- */
@media (max-width: 520px) {
    body {
        padding: 24px 16px;
    }

    .link-container {
        padding: 36px 20px 32px;
        border-radius: 20px;
    }

    .profile-logo-side {
        height: 55px;
    }

    .profile-logo-building {
        height: 95px;
    }

    .profile-logo-main {
        height: 80px;
    }

    .profile-tagline {
        height: 32px;
    }

    .link-btn {
        padding: 14px 18px;
        border-radius: 14px;
    }

    .btn-label  { font-size: 0.93rem; }
    .btn-subtitle { font-size: 0.72rem; }

    .geo-corner--top-right {
        width: 200px;
        height: 200px;
        top: -20px;
        right: -20px;
    }

    .geo-corner--bottom-left {
        width: 180px;
        height: 180px;
        bottom: -20px;
        left: -20px;
    }
}
