:root {
    --bg-black: #000000;
    --bg-void: #0a001a;
    --purple-main: #1a0033;
    --purple-light: #4c0099;
    --purple-neon: #a020f0;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --glass-bg: rgba(26, 0, 51, 0.4);
    --glass-border: rgba(160, 32, 240, 0.2);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Atmospheric Background --- */
.void-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, var(--bg-void) 0%, var(--bg-black) 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: starsMove 100s linear infinite;
    opacity: 0.3;
}

.nebula {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, rgba(160, 32, 240, 0.05) 0%, transparent 50%);
    animation: nebulaPulse 20s ease-in-out infinite alternate;
}

@keyframes starsMove {
    from { transform: translateY(0); }
    to { transform: translateY(-550px); }
}

@keyframes nebulaPulse {
    from { transform: scale(1) rotate(0deg); opacity: 0.5; }
    to { transform: scale(1.2) rotate(10deg); opacity: 0.8; }
}

/* --- Main Layout --- */
.container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 10;
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

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

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

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--purple-main);
    border: 2px solid var(--purple-neon);
    box-shadow: 0 0 30px rgba(160, 32, 240, 0.3);
}

.logo-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(160, 32, 240, 0.2) 0%, transparent 70%);
    animation: breathe 4s ease-in-out infinite;
}

.logo-icon {
    font-size: 3rem;
    color: var(--text-white);
    z-index: 2;
}

.title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(160, 32, 240, 0.5);
}

.subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.badges {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(160, 32, 240, 0.15);
    border: 1px solid rgba(160, 32, 240, 0.3);
    font-size: 0.75rem;
    color: #e0b0ff;
    font-weight: 600;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0.6; }
}

/* --- Links Section --- */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-btn {
    text-decoration: none;
    color: var(--text-white);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--glass-bg);
}

.link-btn:hover {
    transform: translateX(5px) scale(1.02);
    background: rgba(160, 32, 240, 0.2);
    border-color: var(--purple-neon);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(160, 32, 240, 0.2);
}

.link-btn i:first-child {
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
    color: var(--purple-neon);
}

.link-btn span {
    font-weight: 600;
    font-size: 1.1rem;
    flex-grow: 1;
}

.arrow {
    font-size: 0.8rem;
    opacity: 0.5;
    transition: var(--transition);
}

.link-btn:hover .arrow {
    transform: translateX(5px);
    opacity: 1;
}

/* --- Footer --- */
.footer-section {
    margin-top: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: var(--purple-main);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--purple-neon);
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    .title {
        font-size: 1.8rem;
    }
}
