:root {
    --bg-main: #0a0a0b;
    --bg-card: #121214;
    --border-color: #27272a;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --accent: #ffffff;

    --transition-fast: 0.15s ease;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    user-select: none;
    -webkit-user-select: none;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Global scrollbar removed to isolate scroll within main */

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: -50px;
    left: -50px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: left 0.15s ease-out, top 0.15s ease-out, width 0.3s cubic-bezier(0.19, 1, 0.22, 1), height 0.3s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.4s ease, border-color 0.4s ease;
}

/* Custom Context Menu */
#custom-context-menu {
    position: fixed;
    background: rgba(18, 18, 20, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    z-index: 100000;
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
    transform-origin: top left;
    transition: opacity 0.2s cubic-bezier(0.19, 1, 0.22, 1), transform 0.2s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

#custom-context-menu.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1), transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-item {
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    margin-bottom: 2px;
}

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transform: translateX(6px);
    box-shadow: -3px 0 0 0 var(--text-primary);
}

.menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 6px 8px;
    border-radius: 1px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    z-index: 100;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;
}

.nav-left {
    flex: 1;
    gap: 24px;
    justify-content: flex-start;
}

.nav-center {
    flex: 1;
    justify-content: center;
}

.nav-right {
    flex: 1;
    gap: 16px;
    justify-content: flex-end;
}

.nav-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.nav-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.nav-tab.active {
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.nav-tab:active {
    transform: translateY(0) scale(0.94);
    transition: transform 0.15s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.6s ease, text-shadow 0.6s ease, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    display: inline-block;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-4px);
}

.nav-separator {
    color: #3f3f46;
    font-size: 0.9rem;
    pointer-events: none;
    user-select: none;
}

.discord-link:hover {
    color: #5865F2;
    text-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.tiktok-link:hover {
    color: #ff4d79;
    text-shadow: 0 4px 15px rgba(255, 77, 121, 0.4);
}

.roblox-link:hover {
    color: #e2e8f0;
    text-shadow: 0 4px 15px rgba(226, 232, 240, 0.4);
}

.brand-logo-container {
    display: flex;
    align-items: center;
    position: relative;
    padding: 10px;
    cursor: none;
    transition: all 0.4s ease;
}

.brand-icon {
    width: 48px;
    height: 48px;
    mix-blend-mode: screen;
    object-fit: contain;
}

.main-scroll {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.main-scroll::-webkit-scrollbar {
    width: 6px;
}
.main-scroll::-webkit-scrollbar-track {
    background: transparent;
    margin-top: 4px;
    margin-bottom: 4px;
}
.main-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}
.main-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.content-container {
    padding: 60px 40px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: tabEnter 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes tabEnter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero {
    text-align: center;
    padding: 80px 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    animation: slideUpFade 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 0;
    transform: translateY(10px);
    animation: slideUpFade 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.2s forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.dev-header {
    text-align: left;
    margin-bottom: 32px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 12px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.dev-layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
}

.horizontal-card {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    justify-content: space-between !important;
}

.dev-info-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dev-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s ease, background 0.8s ease, box-shadow 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dev-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
}

.dev-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(25, 25, 28, 0.95);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8), 0 0 20px -10px rgba(255, 255, 255, 0.04);
}

.dev-card:hover::before {
    left: 200%;
    transition: left 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.dev-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #27272a;
    margin-bottom: 24px;
    border: 2px solid #3f3f46;
    padding: 4px;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.6s ease, box-shadow 0.6s ease;
}

.dev-card:hover .dev-avatar {
    transform: scale(1.05) rotate(2deg);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px -5px rgba(255, 255, 255, 0.15);
}

.dev-display-name {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.dev-username {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.discord-tag {
    color: #e4e4e7;
    font-weight: 500;
}

.dev-bio {
    color: #a1a1aa;
    font-size: 0.95rem;
    line-height: 1.5;
    user-select: none;
    -webkit-user-select: none;
}

.dev-socials {
    display: flex;
    gap: 16px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 32px;
    flex-direction: column;
}

.social-icon {
    color: var(--text-secondary);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.08);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px -5px rgba(255, 255, 255, 0.1);
}

.projects-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.projects-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: left;
}

.hero-project-card {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.hero-project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.hero-project-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-project-card:hover .hero-project-bg {
    transform: scale(1.05);
}

.hero-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 11, 0.95) 0%, rgba(10, 10, 11, 0.5) 40%, transparent 100%);
    z-index: 2;
}

.hero-project-content {
    position: relative;
    z-index: 3;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-project-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-project-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: fit-content;
    backdrop-filter: blur(10px);
    margin-bottom: 8px;
}

.hero-status-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 10px #34d399;
    animation: blinkFlash 2s infinite;
}

@keyframes blinkFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-project-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-project-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 600px;
}

.hero-project-right {
    text-align: right;
}

.hero-project-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-project-time span#aurora-time {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 0.85;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-time-lbl {
    font-size: 1rem;
    font-weight: 800;
    color: #a1a1aa;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-center {
        display: none;
    }
}

.ironman-assemble .dev-card {
    animation: suitUpCard 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ironman-assemble .dev-avatar {
    opacity: 0;
    animation: flyInTop 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.ironman-assemble .dev-display-name {
    opacity: 0;
    animation: flyInLeft 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.ironman-assemble .dev-username {
    opacity: 0;
    animation: flyInRight 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.ironman-assemble .dev-bio {
    opacity: 0;
    animation: flyInBottom 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.ironman-assemble .dev-socials {
    opacity: 0;
    animation: flyInBottom 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.ironman-assemble .projects-section {
    opacity: 0;
    animation: flyInRight 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes suitUpCard {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes flyInTop {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes flyInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes flyInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes flyInBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}