/* ==========================================================================
   GetAllMyLinks (gaml.io) Exact Clone Style - Sira Asia
   ========================================================================== */

:root {
    --text-white: #ffffff;
    --pill-bg: #ffffff;
    --pill-text: #000000;
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Social Brand Colors for Icons */
    --color-of: #00aff0;
    --color-fansly: #1ea1f1;
    --color-instagram: #e1306c;
    --color-twitter: #000000;
    --color-youtube: #ff0000;
}

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

html {
    height: 100%;
    background-color: #0b0b0b;
}

body {
    min-height: 100vh;
    font-family: var(--font-inter);
    color: var(--text-white);
    background-color: #0b0b0b;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   1. Outer Blurred Background (Desktop Ambience)
   -------------------------------------------------------------------------- */
.bg-blurred-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(35px) brightness(0.35);
    transform: scale(1.15);
    z-index: 0;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   2. Central gaml.io Card Column (Sharp Background Image)
   -------------------------------------------------------------------------- */
.gaml-card-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Dark gradient overlay for text readability */
.gaml-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.42) 40%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. Content Area
   -------------------------------------------------------------------------- */
.gaml-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 50px 22px 36px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto 0;
}

/* --------------------------------------------------------------------------
   4. Profile Header
   -------------------------------------------------------------------------- */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 28px;
}

.avatar-wrapper {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3.5px solid rgba(255, 255, 255, 0.95);
    display: block;
    background-color: #1a1a1a;
}

.profile-name {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    margin-bottom: 5px;
}

.profile-bio {
    font-size: 0.98rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

/* --------------------------------------------------------------------------
   5. Link Buttons Section (gaml.io White Pill Buttons)
   -------------------------------------------------------------------------- */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 26px;
}

.gaml-pill {
    position: relative;
    width: 100%;
    height: 52px;
    background: var(--pill-bg);
    color: var(--pill-text);
    border-radius: 9999px;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, background-color 0.2s ease, height 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.gaml-pill:hover {
    transform: translateY(-2px);
    background-color: #f8fafc;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.gaml-pill:active {
    transform: scale(0.985);
}

.pill-normal-content {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Pill Icon on Left */
.pill-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    flex-shrink: 0;
}

.of-icon { color: var(--color-of); }
.fansly-icon { color: var(--color-fansly); }
.insta-icon { color: var(--color-instagram); }
.twitter-icon { color: var(--color-twitter); }
.youtube-icon { color: var(--color-youtube); }

/* Pill Centered Title */
.pill-title {
    flex: 1;
    text-align: center;
    font-size: 0.98rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.2px;
    padding-right: 28px; /* Counter-balance the left icon for exact center alignment */
}

/* --------------------------------------------------------------------------
   5.1 Sensitive Content Pill (18+ Warning State)
   -------------------------------------------------------------------------- */
.pill-sensitive-content {
    display: none;
    align-items: center;
    width: 100%;
    text-align: left;
}

.gaml-sensitive-pill {
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gaml-sensitive-pill.is-sensitive-active {
    background: #000000 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    height: auto;
    min-height: 84px;
    padding: 12px 24px 12px 20px;
    border-radius: 9999px;
    animation: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75);
}

.gaml-sensitive-pill.is-sensitive-active:hover {
    background-color: #0d0d0d !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.gaml-sensitive-pill.is-sensitive-active .pill-normal-content {
    display: none;
}

.gaml-sensitive-pill.is-sensitive-active .pill-sensitive-content {
    display: flex;
}

.sensitive-icon {
    font-size: 1.35rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    margin-right: 14px;
    flex-shrink: 0;
}

.sensitive-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
    flex: 1;
}

.sensitive-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.25;
}

.sensitive-desc {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.25;
}

.sensitive-action {
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: underline;
    margin-top: 3px;
    line-height: 1.25;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   6. Pulsing Effect (gaml.io button-pulsing)
   -------------------------------------------------------------------------- */
.btn-pulse {
    animation: gamlPulsing 2.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gamlPulsing {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.75), 0 4px 15px rgba(0, 0, 0, 0.35);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0), 0 4px 15px rgba(0, 0, 0, 0.35);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 4px 15px rgba(0, 0, 0, 0.35);
    }
}

/* --------------------------------------------------------------------------
   7. Social Quick Dock Icons
   -------------------------------------------------------------------------- */
.socials-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.social-circle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-circle-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    transform: translateY(-2px) scale(1.08);
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    text-align: center;
}

.footer-copy {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* --------------------------------------------------------------------------
   9. Mobile Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 500px) {
    .gaml-card-container {
        box-shadow: none;
    }
    
    .gaml-content {
        padding: 40px 16px 28px 16px;
    }

    .avatar-wrapper {
        width: 125px;
        height: 125px;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .gaml-pill {
        height: 50px;
    }

    .pill-title {
        font-size: 0.92rem;
    }

    .gaml-sensitive-pill.is-sensitive-active {
        min-height: 80px;
        padding: 10px 18px 10px 16px;
    }

    .sensitive-icon {
        font-size: 1.25rem;
        margin-right: 12px;
    }

    .sensitive-title {
        font-size: 0.92rem;
    }

    .sensitive-desc {
        font-size: 0.77rem;
    }

    .sensitive-action {
        font-size: 0.8rem;
    }
}
