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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #89CFF0;
    --accent-secondary: #ffd700;
    --border-color: #222222;
    --pill-bg: #151515;
    --fluent: #00d26a;
    --intermediate: #f5a623;
    --proficient: #4fc3f7;
    --online: #23a55a;
    --idle: #f0b232;
    --dnd: #f23f43;
    --offline: #80848e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0d0d0f;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Grid Background - Abhay style */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 220px 220px;
    pointer-events: none;
    z-index: 0;
}

/* Sunrays effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse 80% 50% at 50% 0%,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* Stars Container */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Glowing Stars */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #fff;
}

.stars-1 {
    box-shadow: 
        100px 50px #fff,
        200px 150px #fff,
        350px 80px #fff,
        500px 200px #fff,
        650px 120px #fff,
        800px 250px #fff,
        950px 80px #fff,
        1100px 180px #fff,
        1250px 100px #fff,
        1400px 220px #fff,
        150px 300px #fff,
        400px 350px #fff,
        700px 400px #fff,
        1000px 320px #fff,
        1300px 380px #fff;
    animation: glowing-stars 2s linear alternate infinite;
}

.stars-2 {
    box-shadow: 
        50px 120px #fff,
        180px 220px #fff,
        320px 170px #fff,
        470px 90px #fff,
        620px 280px #fff,
        770px 150px #fff,
        920px 320px #fff,
        1070px 100px #fff,
        1220px 250px #fff,
        1370px 180px #fff,
        250px 400px #fff,
        550px 450px #fff,
        850px 380px #fff,
        1150px 420px #fff;
    animation: glowing-stars 2s linear alternate infinite;
    animation-delay: 0.5s;
}

.stars-3 {
    box-shadow: 
        80px 180px #fff,
        230px 100px #fff,
        380px 280px #fff,
        530px 150px #fff,
        680px 350px #fff,
        830px 200px #fff,
        980px 280px #fff,
        1130px 150px #fff,
        1280px 320px #fff,
        1430px 100px #fff,
        120px 450px #fff,
        420px 500px #fff,
        720px 480px #fff,
        1020px 520px #fff;
    animation: glowing-stars 2s linear alternate infinite;
    animation-delay: 1s;
}

@keyframes glowing-stars {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 35px;
    height: 35px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
    opacity: 0.5;
}

.cursor-follower.hover {
    width: 50px;
    height: 50px;
    opacity: 1;
    border-color: var(--accent);
}

/* Constellation Canvas */
#constellation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 40px;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.navbar::before {
    display: none;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 8px;
}



.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

/* Profile */
.profile-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.profile-picture {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    background: var(--bg-secondary);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.15); opacity: 0; }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 12px;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--offline);
}

.status-dot.online { background: var(--online); box-shadow: 0 0 10px var(--online); }
.status-dot.idle { background: var(--idle); box-shadow: 0 0 10px var(--idle); }
.status-dot.dnd { background: var(--dnd); box-shadow: 0 0 10px var(--dnd); }
.status-dot.offline { background: var(--offline); }

/* Greeting */
.greeting {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

.greeting .name {
    color: var(--text-primary);
    font-weight: 600;
}

.greeting-text {
    display: inline-block;
    min-width: 1ch;
    color: var(--text-primary);
}

.greeting-text::after {
    content: '|';
    display: inline-block;
    animation: blink 1s step-end infinite;
    color: var(--text-primary);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.wave-emoji {
    display: inline-block;
    animation: wave 4s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    5% { transform: rotate(14deg); }
    10% { transform: rotate(-8deg); }
    15% { transform: rotate(14deg); }
    20% { transform: rotate(-4deg); }
    25% { transform: rotate(10deg); }
    30% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/* Headline */
.headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.03em;
}

.headline em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--text-secondary);
}

.headline em.shine-text {
    background: linear-gradient(to right, #868686 0%, #868686 40%, #fff 50%, #868686 60%, #868686 100%);
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: engineer-shine 3s ease-in-out infinite;
}

@-webkit-keyframes engineer-shine {
    0% {
        background-position: 100% 0;
    }
    50% {
        background-position: 0% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

@keyframes engineer-shine {
    0% {
        background-position: 100% 0;
    }
    50% {
        background-position: 0% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

/* Bio */
.bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 15px;
    text-align: center;
}

.brasil-text {
    background: linear-gradient(90deg, #009c3b, #ffdf00, #009c3b, #ffdf00);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brasil-gradient 3s ease-in-out infinite;
    font-weight: 600;
}

@keyframes brasil-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Experience Badge */
.experience {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 35px;
}

.exp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    position: relative;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 2px solid var(--text-primary);
    overflow: visible;
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

/* Star elements for button hover */
.btn-primary .star {
    position: absolute;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
    z-index: -1;
}

.btn-primary .star svg {
    width: 100%;
    height: 100%;
    fill: #fffdef;
    filter: drop-shadow(0 0 0 #fffdef);
}

.btn-primary .star-1 { width: 20px; height: 20px; top: 50%; left: 20%; }
.btn-primary .star-2 { width: 12px; height: 12px; top: 50%; left: 50%; }
.btn-primary .star-3 { width: 8px; height: 8px; top: 50%; left: 70%; }
.btn-primary .star-4 { width: 10px; height: 10px; top: 50%; left: 30%; }
.btn-primary .star-5 { width: 14px; height: 14px; top: 50%; left: 80%; }
.btn-primary .star-6 { width: 6px; height: 6px; top: 50%; left: 60%; }

.btn-primary:hover .star {
    opacity: 1;
}

.btn-primary:hover .star-1 { top: -70%; left: -20%; filter: drop-shadow(0 0 8px #fffdef); }
.btn-primary:hover .star-2 { top: -30%; left: 5%; filter: drop-shadow(0 0 8px #fffdef); }
.btn-primary:hover .star-3 { top: 80%; left: 20%; filter: drop-shadow(0 0 8px #fffdef); }
.btn-primary:hover .star-4 { top: 40%; left: 100%; filter: drop-shadow(0 0 8px #fffdef); }
.btn-primary:hover .star-5 { top: -50%; left: 110%; filter: drop-shadow(0 0 8px #fffdef); }
.btn-primary:hover .star-6 { top: 90%; left: 85%; filter: drop-shadow(0 0 8px #fffdef); }

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: none;
}

.btn-secondary:hover {
    color: var(--text-primary);
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 60px 0;
}

/* Skills Pills */
.skills-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.skill-pill:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 8px 35px rgba(0, 0, 0, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.skill-pill .skill-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Roblox Info Button */
.roblox-info-wrapper {
    display: inline-block;
    margin-top: 30px;
}

.roblox-info-wrapper .btn-primary {
    gap: 8px;
}

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

/* Works Modal */
.works-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.works-modal.active {
    opacity: 1;
    visibility: visible;
}

.works-content {
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.works-modal.active .works-content {
    transform: scale(1) translateY(0);
}

.works-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.works-close:hover {
    transform: rotate(90deg);
}

.works-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.works-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.works-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 16px;
    min-width: 220px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.works-search:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.search-icon {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.works-search input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    width: 100%;
}

.works-search input::placeholder {
    color: var(--text-secondary);
}

.search-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.works-filter {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: none;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.filter-icon {
    width: 16px;
    height: 16px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.work-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: cardAppear 0.5s ease forwards;
}

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

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

.work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.work-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.work-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.work-info {
    padding: 20px;
}

.work-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.work-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.work-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent);
}

.work-card.hidden {
    display: none;
}

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

.profile-wrapper {
    animation: fadeInUp 0.6s ease forwards;
}

.greeting {
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.headline {
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.experience {
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.cta-buttons {
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 6px 10px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .container {
        padding: 20px 20px;
    }

    .headline {
        font-size: 2rem;
    }

    .profile-picture {
        width: 70px;
        height: 70px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.85rem;
    }

    .skills-pills {
        gap: 8px;
    }

    .skill-pill {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .skill-pill .skill-icon {
        width: 16px;
        height: 16px;
    }

    .works-content {
        padding: 30px 20px;
        max-height: 90vh;
    }

    .works-title {
        font-size: 1.5rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .custom-cursor,
    .cursor-follower {
        display: none;
    }

    * {
        cursor: auto;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

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

/* Video Player Modal */
.video-player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-player-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.video-player-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-player-modal.active .video-player-container {
    transform: scale(1);
}

.video-player-container video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-player-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 10;
}

.video-player-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.work-video {
    cursor: pointer;
}

.work-video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
}

.work-video:hover::after {
    opacity: 1;
}

/* LuauInfo Page */
.luau-info-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto;
}

.luau-info-page.active {
    opacity: 1;
    visibility: visible;
}

.luau-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 220px 220px;
    pointer-events: none;
    z-index: 0;
}

.luau-navbar::before {
    display: none;
}

.luau-navbar {
    z-index: 100;
}

.luau-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.luau-constellation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.luau-sunrays {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse 80% 50% at 50% 0%,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 3;
}

.luau-info-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 30px 60px;
}

.luau-info-header {
    text-align: center;
    margin-bottom: 40px;
}

.info-header-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 16px;
}

.luau-info-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
}

.luau-info-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-grid-row.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.info-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.info-card.compact {
    padding: 18px;
}

.info-card.mini {
    padding: 20px;
    text-align: center;
}

.mini-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.info-card.mini h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-card.mini p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.15),
        inset 0 0 25px rgba(255, 255, 255, 0.1);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.info-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.info-card-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.pricing-note {
    font-size: 0.75rem;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: auto;
    font-weight: 500;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.info-list.compact-list {
    margin: 0;
}

.info-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    color: var(--text-primary);
    line-height: 1.4;
    font-size: 0.9rem;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

.warning-list li::before {
    background: var(--text-primary);
}

.info-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.info-warning {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    font-size: 0.9rem;
}

.info-highlight {
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 1.1rem;
}

.info-thanks {
    color: var(--accent) !important;
    font-weight: 500;
    margin-top: 16px !important;
}

/* Pricing Compact */
.pricing-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.price-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.price-values {
    display: flex;
    align-items: center;
    gap: 16px;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--accent);
}

.price-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.price-value {
    font-size: 0.85rem;
    color: var(--accent);
}

.payment-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: fit-content;
    margin: 0 auto;
}

.payment-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.payment-icon:hover {
    transform: scale(1.15);
}

.payment-options {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, rgba(255, 180, 100, 0.1), rgba(255, 140, 80, 0.05));
    border-color: rgba(255, 180, 100, 0.2);
    width: fit-content;
    margin: 0 auto;
}

.contact-card:hover {
    background: linear-gradient(135deg, rgba(255, 180, 100, 0.15), rgba(255, 140, 80, 0.08));
    border-color: rgba(255, 180, 100, 0.35);
}

.contact-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
    flex-shrink: 0;
}

.contact-content span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Games Banner - Full Width Marquee */
.games-banner-section {
    margin-top: 40px;
    padding: 30px 0;
    position: relative;
}

.games-banner-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-weight: 500;
}

.games-banner-wrapper {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.games-banner-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.games-banner-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.games-banner-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.games-banner {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: banner-scroll 20s linear infinite;
    width: max-content;
    padding: 15px 0;
}

.games-banner:hover {
    animation-play-state: paused;
}

@keyframes banner-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-12.5%);
    }
}

.game-banner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    opacity: 0.75;
}

.game-banner-item:hover {
    opacity: 1;
    transform: scale(1.08);
}

.game-banner-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.game-banner-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.game-banner-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-banner-visits {
    font-size: 0.85rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-banner-visits svg {
    width: 13px;
    height: 13px;
}

.game-banner-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Pricing Card - Legacy */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.pricing-tier {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-tier:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.pricing-tier h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.price svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    fill: var(--accent);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.payment-method svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

/* Warning Card */
.warning-card {
    border-color: rgba(239, 68, 68, 0.3);
}

.warning-card .info-icon {
    color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .luau-info-container {
        padding: 90px 20px 40px;
    }
    
    .luau-info-header h1 {
        font-size: 1.6rem;
    }
    
    .info-card {
        padding: 16px;
    }
    
    .info-grid-row {
        grid-template-columns: 1fr;
    }
    
    .info-grid-row.three-cols {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price-row {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .games-banner-section {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    .games-banner-label {
        font-size: 0.75rem;
    }
    
    .games-banner {
        gap: 50px;
        animation-duration: 25s;
    }
    
    .game-banner-icon {
        width: 48px;
        height: 48px;
    }
    
    .game-banner-name {
        font-size: 0.9rem;
        max-width: 140px;
    }
    
    .games-banner-fade {
        width: 80px;
    }
}

/* ==========================================
   Music Player - Compact Rectangle
   ========================================== */
.music-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.music-player:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.music-player.playing {
    border-color: rgba(137, 207, 240, 0.3);
}

.player-cover {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.music-player.playing .player-cover img {
    animation: cover-pulse 4s ease-in-out infinite;
}

@keyframes cover-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 100px;
    max-width: 140px;
}

.player-song-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.player-progress {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #b4e1f7);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.player-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.player-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.player-btn svg {
    width: 14px;
    height: 14px;
    fill: var(--text-secondary);
    transition: fill 0.2s ease;
}

.player-btn:hover svg {
    fill: var(--text-primary);
}

.player-btn.play-btn {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), #6ab8d8);
    box-shadow: 0 2px 12px rgba(137, 207, 240, 0.3);
}

.player-btn.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(137, 207, 240, 0.4);
}

.player-btn.play-btn svg {
    width: 16px;
    height: 16px;
    fill: #0a0a0a;
}

.player-btn.play-btn .pause-icon {
    display: none;
}

.music-player.playing .player-btn.play-btn .play-icon {
    display: none;
}

.music-player.playing .player-btn.play-btn .pause-icon {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .music-player {
        bottom: 12px;
        left: 12px;
        padding: 8px 10px;
        gap: 8px;
    }
    
    .player-cover {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }
    
    .player-info {
        min-width: 80px;
        max-width: 100px;
    }
    
    .player-song-name {
        font-size: 0.7rem;
    }
    
    .player-btn {
        width: 24px;
        height: 24px;
    }
    
    .player-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .player-btn.play-btn {
        width: 28px;
        height: 28px;
    }
    
    .player-btn.play-btn svg {
        width: 14px;
        height: 14px;
    }
}
