:root {
    --primary-gradient: linear-gradient(135deg, #333333 0%, #000000 100%);
    --bg-dark: #121212; /* Deep charcoal */
    --text-main: #e2e2e2;
    --text-muted: #888888;
    --glass-bg: rgba(28, 28, 28, 0.7); /* Matte charcoal cards */
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    --hover-bg: rgba(40, 40, 40, 0.9);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
}

/* Background Logo Watermark - Full Screen Subtle Circle */
.background-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vh;
    height: 100vh;
    background-image: url('logo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%; /* Crop to circle */
    opacity: 0.08; /* Very subtle */
    z-index: -1;
    pointer-events: none;
    filter: blur(5px);
}

/* Background Refinement */
.background-container {
    display: none; /* Hide old blobs as they are replaced by the theme image */
}

/* Layout */
.container {
    width: 100%;
    max-width: 550px;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
    margin: 0 auto;
}

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

/* Profile Section */
.profile-section {
    margin-bottom: 50px;
}

.avatar-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 28px;
    border-radius: 50%;
    padding: 2px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #000;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(0.2);
}

.avatar-container:hover .avatar {
    transform: scale(1.1);
}

.main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.sub-heading {
    font-size: 1.2rem;
    color: #aaaaaa;
    font-weight: 400;
    margin-bottom: 0;
}

/* Links Container - iPhone Glass Theme */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 60px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08); /* iPhone-like translucency */
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}

.link-card:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.15);
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-right: 14px;
    font-size: 1.1rem;
    color: #ffffff;
}

.link-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.link-text {
    font-weight: 600;
    font-size: 1.1rem;
    flex-grow: 1;
    text-align: left;
}

.external-icon {
    opacity: 0.4;
    transition: all 0.3s ease;
}

.link-card:hover .external-icon {
    opacity: 1;
    transform: translateX(4px);
}

/* Footer */
.footer {
    padding: 40px 0;
    color: #888888;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Section Description & Tags */
.section-description {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.section-description:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.section-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 20px;
    opacity: 0.85;
}

.services-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Service Tags */
.service-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px; /* More industrial/charcoal feel */
    color: #888888;
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.card-animation {
    animation: fadeIn 0.8s ease-out both;
}

/* Link Sections */
.link-section {
    margin-bottom: 48px;
    text-align: left;
    animation: fadeIn 0.8s ease-out both;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #888888;
    margin-bottom: 20px;
    padding-left: 0;
    border-left: none;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #444;
    margin: 8px auto 0;
}

.section-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 80px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateX(15px);
    backdrop-filter: blur(4px);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Grid Adjustments */
@media (min-width: 1024px) {
    .container {
        max-width: 1100px;
    }
    .links-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: start;
    }
    .profile-section {
        margin-bottom: 70px;
    }
    .main-title {
        font-size: 4rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 700px;
    }
    .links-container {
        gap: 40px;
    }
}

/* Loading Shimmer */
.loading-shimmer {
    height: 70px;
    background: linear-gradient(90deg, var(--glass-bg) 25%, var(--hover-bg) 50%, var(--glass-bg) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 20px;
    margin-bottom: 16px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    body {
        padding: 30px 20px;
    }
    .main-title {
        font-size: 2.4rem;
    }
    .sub-heading {
        font-size: 1rem;
    }
    .avatar-container {
        width: 90px;
        height: 90px;
    }
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}
