* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    background-image: url('./imagens/background mobile.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.container-linktree {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 24px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Header */
.header {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.logo-wrapper {
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
}

.logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Links */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 40px 0;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.link-btn i {
    font-size: 1.25rem;
}

.link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    background: #f5f5f5;
    color: #000;
}

.link-btn:active {
    transform: translateY(-1px);
}

/* Footer */
.footer {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 22px;
    padding-top: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.25rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
    background: #ffffff;
    color: #1a1a1a;
    transform: translateY(-3px) scale(1.05);
}

/* Responsive backgrounds */
@media (min-width: 768px) and (max-width: 1023px) {
    html, body {
        background-image: url('./imagens/background tablet.png');
    }
    .logo {
        width: 130px;
        height: 130px;
    }
    .title {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    html, body {
        background-image: url('./imagens/background desktop.png');
    }
    .container-linktree {
        max-width: 520px;
        padding: 60px 24px 40px;
    }
    .logo {
        width: 140px;
        height: 140px;
    }
    .title {
        font-size: 2.25rem;
    }
    .subtitle {
        font-size: 1.05rem;
    }
    .link-btn {
        padding: 18px 24px;
        font-size: 1.05rem;
    }
}
