@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --btn-bg: rgba(255, 255, 255, 0.95);
    --btn-text: #1a1a2e;
    --btn-hover-bg: #ffffff;
    --accent-color: #8a4fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    /* We use the custom minimal_abstract_bg generated via gemini, which was copied as background.png */
    background: url('background.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Subtle dark over-layer to improve reading visibility over wild backgrounds */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient mapping of dark shades over the background */
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.6) 0%, rgba(48, 43, 99, 0.6) 50%, rgba(36, 36, 62, 0.7) 100%);
    backdrop-filter: blur(4px);
    z-index: -1;
}

.dashboard-container {
    width: 100%;
    max-width: 480px;
    /* Deep frosted glass feel */
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 35px;
    padding: 45px 30px;
    text-align: center;
    animation: fadeIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.profile-header {
    margin-bottom: 25px;
}

.profile-img-container {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 3px;
    /* Spinning color gradient for profile border */
    background: linear-gradient(45deg, #0cebeb, #20e3b2, #29ffc6, #0cebeb);
    border-radius: 50%;
    animation: spin 6s linear infinite;
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4);
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1a1a2e; /* matches interior dark backdrop */
    animation: counter-spin 6s linear infinite;
    background-color: #eee; /* fallback */
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes counter-spin { 100% { transform: rotate(-360deg); } }

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.profile-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.icon-link {
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255,255,255,0.05);
}

.icon-link:hover {
    background: var(--text-primary);
    color: var(--accent-color);
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.button-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    padding: 18px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.button-link::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    transform: translateX(-100%);
    transition: 0.7s;
}

.button-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: var(--btn-hover-bg);
}

.button-link:hover::before {
    transform: translateX(100%);
}

.button-icon {
    position: absolute;
    left: 25px;
    font-size: 1.3rem;
    opacity: 0.8;
}

/* Animations for mounting links stagger */
.links-container .button-link {
    opacity: 0;
    animation: slideUp 0.6s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.links-container .button-link:nth-child(1) { animation-delay: 0.2s; }
.links-container .button-link:nth-child(2) { animation-delay: 0.3s; }
.links-container .button-link:nth-child(3) { animation-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 480px) {
    .dashboard-container {
        padding: 35px 20px;
        border-radius: 25px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .profile-name { font-size: 1.5rem; }
    .button-link { padding: 16px 20px; font-size: 1.05rem; border-radius: 40px; }
    .button-icon { left: 20px; font-size: 1.2rem; }
}