.nav-link,
.portfolio-filter,
.nav-toggle {
    border: none;
    background: none;
}

.nav-link {
    position: relative;
    color: rgba(220, 200, 255, 0.7);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    background: transparent;
    z-index: 1;
}

.nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(155, 48, 255, 0.2), rgba(106, 13, 173, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    z-index: -1;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fff;
    text-shadow: 0 0 12px rgba(191, 95, 255, 0.8);
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.is-active::before {
    opacity: 1;
    box-shadow: 0 0 20px rgba(155, 48, 255, 0.3), inset 0 0 10px rgba(155, 48, 255, 0.2);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    cursor: pointer;
}

.profile-card,
.social-section,
.mode-card,
.portfolio-card,
.launcher-card {
    width: 100%;
    background: linear-gradient(145deg, rgba(90, 20, 150, 0.25), rgba(20, 0, 40, 0.5));
    border: 1px solid rgba(191, 95, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 20px rgba(155, 48, 255, 0.1);
    backdrop-filter: blur(24px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.profile-card:hover,
.social-section:hover,
.mode-card:hover,
.portfolio-card:hover,
.launcher-card:hover {
    border-color: rgba(191, 95, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(155, 48, 255, 0.2), inset 0 1px 20px rgba(155, 48, 255, 0.15);
}

.profile-card {
    max-width: 520px;
    padding: 38px 30px;
    text-align: center;
}

.character-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 24px;
}

.character-glow {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 95, 255, 0.8), rgba(106, 13, 173, 0.4), transparent 70%);
    filter: blur(15px);
    opacity: 0.8;
    animation: orbPulse 4s ease-in-out infinite alternate;
}

.character-img {
    position: relative;
    z-index: 1;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(155, 48, 255, 0.48);
    background: #1a0030;
    box-shadow: 0 0 30px rgba(155, 48, 255, 0.3);
}

.sparkle-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 2px solid rgba(155, 48, 255, 0.3);
    background: 
        radial-gradient(circle, transparent 60%, rgba(155, 48, 255, 0.1) 70%),
        repeating-conic-gradient(from 0deg, transparent 0deg 20deg, rgba(155, 48, 255, 0.15) 20deg 22deg, transparent 22deg 40deg),
        repeating-radial-gradient(circle, transparent 0 10px, rgba(155, 48, 255, 0.1) 10px 11px, transparent 11px 20px);
    box-shadow: 0 0 20px rgba(155, 48, 255, 0.4), inset 0 0 20px rgba(155, 48, 255, 0.4);
    mix-blend-mode: screen;
}

.profile-name,
.server-header h1,
.portfolio-section .server-header h1 {
    font-family: var(--font-title);
}

.profile-name {
    font-size: 30px;
    color: var(--accent-soft);
}

.profile-title {
    margin-top: 10px;
    color: var(--text-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
}

.magic-divider {
    width: 100%;
    height: 4px;
    margin: 24px auto;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent-deep), var(--accent), var(--accent-soft), var(--accent), var(--accent-deep), transparent);
    box-shadow: 0 0 15px rgba(155, 48, 255, 0.5);
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}

.magic-divider::after {
    content: "✦";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px 18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 48, 255, 0.8), rgba(30, 0, 60, 0.9));
    border: 2px solid rgba(155, 48, 255, 0.6);
    color: var(--text);
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(155, 48, 255, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
    animation: starSpin 8s linear infinite;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.magic-divider.casting::after {
    animation: starSpin 8s linear infinite, particleBurst 0.5s ease-out;
}

.profile-bio,
.server-tagline,
.mode-list li,
.portfolio-card p {
    color: var(--text-soft);
}

.social-section {
    max-width: 520px;
    padding: 24px;
}

.section-label {
    margin-bottom: 18px;
    text-align: center;
    color: var(--text-dim);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 112px;
    padding: 18px 10px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(75, 0, 130, 0.26), rgba(30, 0, 60, 0.5));
    border: 1px solid rgba(155, 48, 255, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(191, 95, 255, 0.8);
    box-shadow: 0 15px 35px rgba(155, 48, 255, 0.5), inset 0 0 20px rgba(155, 48, 255, 0.2);
    background: linear-gradient(145deg, rgba(106, 13, 173, 0.4), rgba(45, 0, 77, 0.6));
}

.social-link i {
    font-size: 28px;
}

.social-link span {
    color: var(--text-dim);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.social-link--instagram i { color: #E1306C; }
.social-link--tiktok i { color: #69C9D0; }
.social-link--youtube i { color: #FF0000; }
.social-link--discord i { color: #5865F2; }
.social-link--twitch i { color: #9146FF; }
.social-link--twitter i { color: #1DA1F2; }

.footer-note {
    width: 100%;
}

.magic-text {
    text-align: center;
    color: rgba(200, 170, 255, 0.78);
    letter-spacing: 2px;
    font-weight: 700;
}

.server-header {
    text-align: center;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: linear-gradient(90deg, rgba(155, 48, 255, 0.2), rgba(106, 13, 173, 0.4));
    border: 1px solid rgba(191, 95, 255, 0.4);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(155, 48, 255, 0.3), inset 0 0 10px rgba(191, 95, 255, 0.2);
    animation: badgePulse 2s ease-in-out infinite alternate;
}

.coming-soon-badge i {
    color: var(--accent-soft);
}

.server-header h1 {
    font-size: 34px;
    color: var(--accent-soft);
}

.server-tagline {
    margin-top: 18px;
    font-style: italic;
    line-height: 1.7;
}

.mode-card {
    padding: 28px;
}

.mode-card h2 {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(155, 48, 255, 0.3);
    color: var(--accent-soft);
    font-size: 22px;
}

.mode-card h2 i {
    color: var(--accent);
    margin-right: 8px;
}

.mode-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.mode-list li {
    position: relative;
    padding-left: 18px;
    line-height: 1.6;
}

.mode-list li::before {
    content: "*";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
}

.mode-list strong,
.portfolio-card h3,
.portfolio-group-title,
.launcher-card h3,
.launcher-card__name {
    color: var(--text);
}

/* Touch & Mobile Active States */
@media (hover: none) {
    .nav-link:active,
    .social-link:active,
    .portfolio-filter:active,
    .magic-divider:active::after {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
}

@media (max-width: 520px) {
    .profile-card {
        padding: 26px 16px;
    }

    .character-container,
    .character-img {
        width: 150px;
        height: 150px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .profile-title {
        font-size: 11px;
    }

    .social-link {
        min-height: 80px;
        padding: 12px 6px;
    }
    
    .social-link i {
        font-size: 24px;
    }
    
    .server-header h1,
    .portfolio-group-title {
        font-size: 28px;
    }
    
    .mode-card,
    .portfolio-card {
        padding: 20px 16px;
    }
}
