/* ==========================================================================
   CSS Variables & Theming - Linktree Style
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary-blue: #0A2463;
    --secondary-blue: #247BA0;
    --accent-orange: #FB3640;
    --text-dark: #1A1A1A;
    --text-light: #F4F4F9;

    /* Social Colors */
    --color-whatsapp: #25D366;
    --color-facebook: #1877F2;
    --color-instagram: #E1306C;
    --color-youtube: #FF0000;
    --color-tiktok: #000000;
    --color-google: #DB4437;
    --color-pay: #0070BA;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --transition-speed: 0.3s;
}

/* ==========================================================================
   Base Overrides
   ========================================================================== */
body {
    font-family: var(--font-body);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.9) 0%, rgba(36, 123, 160, 0.9) 100%), url('./statics/images/bg-hero.jpg') center/cover fixed;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ui.header {
    font-family: var(--font-heading) !important;
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.lang-switcher .button {
    border-radius: 20px !important;
    backdrop-filter: blur(5px);
}

/* ==========================================================================
   Main Funnel Container
   ========================================================================== */
.funnel-container {
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ==========================================================================
   Profile Section
   ========================================================================== */
.profile-section {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease forwards;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-avatar i {
    color: var(--accent-orange);
    margin: 0 !important;
}

.profile-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 5px 0;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.profile-title span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.profile-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* ==========================================================================
   Links Section
   ========================================================================== */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

/* Staggered animation delays for buttons */
.link-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.link-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.link-btn:nth-child(3) {
    animation-delay: 0.3s;
}

.link-btn:nth-child(4) {
    animation-delay: 0.4s;
}

.link-btn:nth-child(5) {
    animation-delay: 0.5s;
}

.link-btn:nth-child(6) {
    animation-delay: 0.6s;
}

.link-btn:nth-child(7) {
    animation-delay: 0.7s;
}

.link-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 15px;
    transition: background 0.3s ease;
}

.link-btn i {
    margin: 0 !important;
    font-size: 1.2rem;
}

.btn-text {
    flex-grow: 1;
    text-align: left;
}

/* Brand Specific Colors on Hover */
.btn-call:hover {
    border-color: var(--accent-orange);
    background: rgba(251, 54, 64, 0.2);
}

.btn-call:hover .icon-wrapper {
    background: var(--accent-orange);
}

.btn-whatsapp:hover {
    border-color: var(--color-whatsapp);
    background: rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover .icon-wrapper {
    background: var(--color-whatsapp);
}

.btn-google:hover {
    border-color: var(--color-google);
    background: rgba(219, 68, 55, 0.2);
}

.btn-google:hover .icon-wrapper {
    background: var(--color-google);
}

.btn-facebook:hover {
    border-color: var(--color-facebook);
    background: rgba(24, 119, 242, 0.2);
}

.btn-facebook:hover .icon-wrapper {
    background: var(--color-facebook);
}

.btn-instagram:hover {
    border-color: var(--color-instagram);
    background: rgba(225, 48, 108, 0.2);
}

.btn-instagram:hover .icon-wrapper {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-tiktok:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.btn-tiktok:hover .icon-wrapper {
    background: var(--color-tiktok);
}

.btn-youtube:hover {
    border-color: var(--color-youtube);
    background: rgba(255, 0, 0, 0.2);
}

.btn-youtube:hover .icon-wrapper {
    background: var(--color-youtube);
}

.btn-pay {
    border-color: var(--color-pay);
    background: var(--color-pay);
    box-shadow: inset white 0 0 5px 0px;
}

.btn-pay:hover {
    border-color: var(--color-pay);
    background: rgba(0, 112, 186, 0.2);
}

.btn-pay:hover .icon-wrapper {
    background: var(--color-pay);
}

/* Make the Call and WhatsApp buttons pop initially */
.btn-call {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.btn-call .icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.funnel-footer {
    margin-top: 40px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.web-link {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.web-link:hover {
    color: var(--accent-orange);
}

.funnel-footer p {
    margin-top: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 480px) {
    .funnel-container {
        padding: 30px 15px;
    }

    .profile-title {
        font-size: 1.8rem;
    }

    .link-btn {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .icon-wrapper {
        width: 35px;
        height: 35px;
    }
}
