/* ============================================
   Victor Oliveira - Link Page
   Design: Ultra Compatible Version
   Works on ALL Safari versions
   ============================================ */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 24px;
    padding-right: 24px;
}

/* Profile Section */
.profile {
    text-align: center;
    margin-bottom: 40px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

.profile-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #aaaaaa;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.05);
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.profile-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
}

.profile-name em {
    font-style: italic;
}

.profile-tagline {
    font-size: 15px;
    color: #888888;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Links Section */
.links {
    margin-bottom: 16px;
}

.link-card {
    display: block;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.link-card::after {
    content: '';
    display: block;
    clear: both;
}

/* Link Icon */
.link-icon {
    width: 44px;
    height: 44px;
    float: left;
    display: table;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-right: 16px;
}

.link-icon svg,
.link-icon img {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin: auto;
}

.link-icon svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
    display: block;
    margin: 11px auto;
}

.link-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    margin: 10px auto;
}

/* Instagram gradient - fallback solid color */
.link-icon.instagram {
    background-color: #E1306C;
    background-image: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

/* WhatsApp */
.link-icon.whatsapp {
    background-color: #25D366;
}

/* WhatsApp Card */
.whatsapp-card {
    background-color: #128C7E;
    border-color: #128C7E;
}

.whatsapp-card .link-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.whatsapp-card .link-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Link Content */
.link-content {
    overflow: hidden;
    padding-right: 30px;
}

.link-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.link-content p {
    font-size: 13px;
    color: #888888;
}

/* Link Arrow */
.link-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -10px;
    color: #888888;
}

/* Section Title */
.section-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #888888;
    text-transform: uppercase;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 16px;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 12px;
    color: #888888;
    margin-bottom: 4px;
}

.footer a {
    color: #aaaaaa;
}

/* Responsive */
@media screen and (max-width: 480px) {
    .container {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 32px;
    }
}