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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --text-primary: #000000;
    --text-secondary: #666666;
    --accent: #000000;
    --accent-light: #333333;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100vw;
    position: relative;
}

body.bio-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
    height: 100dvh;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 3rem;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    color: var(--bg-primary);
}

.nav-transform-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.nav-transform-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.nav-transform-btn:hover::before {
    width: 300px;
    height: 300px;
}

.nav-transform-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nav-transform-btn i,
.nav-transform-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.nav-transform-btn:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 3rem 4rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.015) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-description {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin: 0;
}

.hero-right {
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-title {
    font-size: clamp(5rem, 11vw, 12rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin: 0;
    text-transform: uppercase;
    word-break: keep-all;
    overflow-wrap: normal;
    max-width: 100%;
    white-space: nowrap;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(120px);
    animation: slideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    will-change: transform, opacity;
}

.title-line:nth-child(1) {
    animation-delay: 0.5s;
}

.title-line:nth-child(2) {
    animation-delay: 0.65s;
}

.title-line:nth-child(3) {
    animation-delay: 0.8s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    font-weight: 500;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background: var(--text-primary);
    animation: scrollLineMove 2s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes scrollLineMove {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(200%);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        white-space: normal;
        word-break: break-word;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-left {
        order: 1;
    }
    
    .hero-right {
        order: 2;
    }
    
    .hero-title {
        font-size: clamp(4rem, 15vw, 10rem);
        white-space: normal;
        word-break: break-word;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-left {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1.5rem 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .nav-transform-btn {
        font-size: 0.75rem;
        padding: 0.4rem 1.25rem;
        gap: 0.4rem;
    }
    
    .nav-transform-btn i,
    .nav-transform-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .hero {
        padding: 6rem 2rem 3rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(3rem, 18vw, 7rem);
    }
    
    .hero-description {
        font-size: clamp(1.25rem, 4vw, 2rem);
    }
    
    .scroll-indicator {
        left: 2rem;
        bottom: 2rem;
    }
    
    .skills {
        padding: 6rem 2rem;
    }
    
    .skills-heading {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 3rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .contact {
        padding: 6rem 2rem 4rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-left {
        position: static;
    }
    
    .contact-heading {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
    
    .contact-subtext {
        font-size: 1rem;
    }
    
    .footer {
        padding: 3.5rem 2rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1.25rem 1.5rem;
    }
    
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-link {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }
    
    .nav-transform-btn {
        font-size: 0.7rem;
        padding: 0.35rem 1rem;
        gap: 0.35rem;
    }
    
    .nav-transform-btn span {
        display: none;
    }
    
    .nav-transform-btn i,
    .nav-transform-btn svg {
        width: 18px;
        height: 18px;
        margin: 0;
    }
    
    .hero {
        padding: 5rem 1rem 2.5rem;
        max-width: 100vw;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }
    
    .hero-title {
        font-size: clamp(2rem, 16vw, 4rem);
        line-height: 0.9;
        letter-spacing: -0.02em;
    }
    
    .hero-description {
        font-size: clamp(0.95rem, 4.5vw, 1.25rem);
    }
    
    .hero-content {
        gap: 2rem;
        padding: 0;
        max-width: 100%;
    }
    
    .hero-left,
    .hero-right {
        max-width: 100%;
    }
    
    .hero-right {
        overflow: visible;
    }
    
    .scroll-indicator {
        left: 1.5rem;
        bottom: 1.5rem;
        gap: 0.75rem;
    }
    
    .scroll-line {
        width: 40px;
    }
    
    .skills {
        padding: 5rem 1rem;
        max-width: 100vw;
    }
    
    .skills-container {
        max-width: 100%;
        padding: 0;
    }
    
    .skills-heading {
        font-size: clamp(1.5rem, 9vw, 2.25rem);
        margin-bottom: 2rem;
        word-break: break-word;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .skill-card {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .skill-icon {
        margin-bottom: 1.25rem;
    }
    
    .skill-icon i,
    .skill-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .skill-title {
        font-size: 1.1rem;
    }
    
    .skill-description {
        font-size: 0.9rem;
    }
    
    .contact {
        display: none;
    }
    
    .contact-container {
        max-width: 100%;
        padding: 0;
        width: 100%;
    }
    
    .contact-content {
        gap: 2rem;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .contact-left {
        position: static;
        max-width: 100%;
        width: 100%;
    }
    
    .contact-right {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-heading {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 1rem;
        line-height: 0.95;
        max-width: 100%;
        letter-spacing: -0.03em;
        font-weight: 900;
        word-wrap: break-word;
    }
    
    .contact-subtext {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
        margin-bottom: 0;
        color: var(--text-secondary);
    }
    
    .contact-methods {
        gap: 0.75rem;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .contact-card {
        padding: 0;
        gap: 0;
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
        display: inline-block;
        border-radius: 0;
        background: transparent;
        border: none;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }
    
    .contact-card:hover {
        opacity: 0.7;
        transform: none;
        border: none;
        box-shadow: none;
    }
    
    .contact-icon {
        display: none;
    }
    
    .contact-info {
        display: inline;
    }
    
    .contact-label {
        display: inline;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-weight: 600;
        color: var(--text-secondary);
        margin-right: 0.5rem;
    }
    
    .contact-value {
        display: inline;
        font-size: 1.125rem;
        font-weight: 700;
        word-break: break-all;
        line-height: 1.5;
        color: var(--text-primary);
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-underline-offset: 4px;
    }
    
    .contact-arrow {
        display: none;
    }
    
    .footer {
        padding: 3rem 1rem 2rem;
        max-width: 100vw;
    }
    
    .footer p {
        font-size: 0.85rem;
        word-break: break-word;
    }
}

/* Skills Section */
.skills {
    min-height: 100vh;
    padding: 8rem 3rem;
    background: var(--bg-primary);
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
}

.skills-heading {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.2s; }
.skill-card:nth-child(3) { animation-delay: 0.3s; }
.skill-card:nth-child(4) { animation-delay: 0.4s; }
.skill-card:nth-child(5) { animation-delay: 0.5s; }
.skill-card:nth-child(6) { animation-delay: 0.6s; }
.skill-card:nth-child(7) { animation-delay: 0.7s; }
.skill-card:nth-child(8) { animation-delay: 0.8s; }

.skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.skill-icon {
    margin-bottom: 1.5rem;
    line-height: 1;
}

.skill-icon i,
.skill-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon i,
.skill-card:hover .skill-icon svg {
    transform: scale(1.1);
}

.skill-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.skill-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Contact Section */
.contact {
    padding: 8rem 3rem 6rem;
    background: var(--bg-primary);
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.contact-left {
    position: sticky;
    top: 10rem;
}

.contact-heading {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    max-width: 100%;
    word-wrap: break-word;
}

.contact-heading.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-subtext {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.contact-subtext.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(50px);
    position: relative;
    overflow: hidden;
}

.contact-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.02), transparent);
    transition: left 0.6s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:nth-child(1) {
    transition-delay: 0.1s;
}

.contact-card:nth-child(2) {
    transition-delay: 0.2s;
}

.contact-card:hover {
    transform: translateX(8px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-card.visible:hover {
    transform: translateX(8px);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-icon i,
.contact-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon svg {
    transform: scale(1.1);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.contact-arrow {
    flex-shrink: 0;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.3s ease;
}

.contact-arrow i,
.contact-arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    color: var(--text-primary);
}

.contact-card:hover .contact-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Footer */
.footer {
    text-align: center;
    padding: 4rem 3rem 3rem;
    background: var(--bg-primary);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.footer-tagline {
    font-size: 0.875rem;
    font-style: italic;
    opacity: 0.7;
}

/* Bio Card Site */
.bio-site {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    overflow: hidden;
}

.bio-site.active {
    opacity: 1;
    pointer-events: all;
}


.bio-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.bio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.bio-card {
    position: relative;
    z-index: 3;
    background: rgba(15, 20, 35, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bio-site.active .bio-card {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.3s;
}

.bio-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.bio-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.bio-close i,
.bio-close svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.bio-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
}

.bio-left {
    flex-shrink: 0;
}

.bio-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bio-avatar {
    position: relative;
    width: 140px;
    height: 140px;
}

.bio-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bio-name {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: #ffffff;
}

.bio-quote {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 1.5rem;
    padding: 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.bio-quote i,
.bio-quote svg {
    width: 16px;
    height: 16px;
    color: rgba(100, 150, 255, 0.8);
    flex-shrink: 0;
    margin-top: 2px;
}

.bio-quote em {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
    font-style: normal;
}

.bio-socials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.bio-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bio-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.bio-social-link:hover::before {
    left: 100%;
}

.bio-social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.bio-social-link i,
.bio-social-link svg {
    width: 20px;
    height: 20px;
}

.discord-link:hover {
    background: rgba(88, 101, 242, 0.25);
    border-color: rgba(88, 101, 242, 0.5);
}

.instagram-link:hover {
    background: rgba(225, 48, 108, 0.25);
    border-color: rgba(225, 48, 108, 0.5);
}

.paypal-link:hover {
    background: rgba(0, 112, 186, 0.25);
    border-color: rgba(0, 112, 186, 0.5);
}

/* Volume Widget - Completely Recoded */
.volume-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10001;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.bio-site.active .volume-widget {
    opacity: 1;
    pointer-events: all;
    transition-delay: 0.5s;
}

.volume-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.volume-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.volume-toggle:active {
    transform: scale(0.98);
}

.volume-toggle i,
.volume-toggle svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.volume-slider-container {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateX(10px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.volume-slider-container.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    max-width: 200px;
}

.volume-percentage {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    min-width: 35px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    position: relative;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.volume-slider::-webkit-slider-thumb:active {
    transform: scale(1.1);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.volume-slider::-moz-range-thumb:active {
    transform: scale(1.1);
}

/* Volume slider track fill */
.volume-slider::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
}

.volume-slider::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
}

/* Volume Widget Mobile */
@media (max-width: 768px) {
    .volume-widget {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .volume-toggle {
        width: 50px;
        height: 50px;
    }
    
    .volume-toggle i,
    .volume-toggle svg {
        width: 22px;
        height: 22px;
    }
    
    .volume-slider-container {
        padding: 0.65rem 1rem;
    }
    
    .volume-slider {
        width: 100px;
    }
    
    .volume-percentage {
        font-size: 0.8rem;
        min-width: 32px;
    }
}

@media (max-width: 480px) {
    .volume-widget {
        bottom: 1rem;
        right: 1rem;
        gap: 0.75rem;
    }
    
    .volume-toggle {
        width: 48px;
        height: 48px;
    }
    
    .volume-toggle i,
    .volume-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .volume-slider-container {
        padding: 0.6rem 0.9rem;
    }
    
    .volume-slider {
        width: 80px;
    }
    
    .volume-percentage {
        font-size: 0.75rem;
        min-width: 28px;
    }
}

/* Bio Card Responsive */
@media (max-width: 768px) {
    .bio-card {
        padding: 2rem;
        max-width: 600px;
    }
    
    .bio-content {
        gap: 2rem;
    }
    
    .bio-avatar {
        width: 110px;
        height: 110px;
    }
    
    .bio-name {
        font-size: 1.5rem;
    }
    
    .bio-quote {
        font-size: 0.85rem;
    }
    
    .bio-social-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .bio-card {
        padding: 1.75rem 1.25rem;
        max-width: calc(100vw - 2rem);
        width: calc(100% - 2rem);
        margin: 0 1rem;
        max-height: 90vh;
        max-height: 90dvh;
        overflow-y: auto;
    }
    
    .bio-content {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    .bio-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .bio-right {
        align-items: center;
        width: 100%;
    }
    
    .bio-avatar {
        width: 90px;
        height: 90px;
    }
    
    .bio-name {
        font-size: 1.35rem;
        word-break: break-word;
    }
    
    .bio-quote {
        font-size: 0.8rem;
        justify-content: center;
        line-height: 1.5;
    }
    
    .bio-socials {
        gap: 0.65rem;
    }
    
    .bio-social-link {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }
    
    .bio-close {
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--accent);
    color: var(--text-primary);
}
