:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-pink: #ff0099;
    --dark-bg: #050505;
    --glass: rgba(20, 20, 30, 0.6);
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --font-sans: 'Montserrat', sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Utilities */
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
.hidden { display: none !important; }
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.relative { position: relative; }
.absolute { position: absolute; }
.font-display { font-family: var(--font-display); }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }

/* Colors & Gradients */
.text-neon-blue { color: var(--neon-blue); }
.text-neon-purple { color: var(--neon-purple); }
.text-neon-pink { color: var(--neon-pink); }
.text-gradient {
    background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--neon-purple), var(--neon-blue));
    border-radius: 5px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.nav-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: white;
    display: flex;
    align-items: center;
}
.nav-links { display: none; }
.nav-links a {
    margin-left: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0.75rem;
}
.nav-links a:hover { color: var(--neon-blue); }
.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 0.75rem;
}
.nav-links a:hover::after { width: calc(100% - 1.5rem); }

.btn-nav-cta {
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s;
}
.btn-nav-cta:hover {
    background-color: var(--neon-blue);
    color: black;
}
.btn-nav-cta::after { display: none; }

.mobile-toggle {
    display: inline-flex;
    padding: 0.5rem;
    color: #9ca3af;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.mobile-toggle:hover { color: white; }

.mobile-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
}
.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    font-weight: 500;
    border-radius: 0.375rem;
}
.mobile-menu a:hover { color: var(--neon-blue); }

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 0 1rem;
}
#hero-canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.6;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, transparent, var(--dark-bg));
    pointer-events: none;
}
.hero-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    border: 1px solid #4b5563;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    margin-bottom: 1rem;
}
.hero-badge span {
    color: var(--neon-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}
.hero-desc {
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.25rem;
    color: #d1d5db;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.btn-group { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.btn-primary {
    position: relative;
    padding: 1rem 2rem;
    background: white;
    color: black;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    overflow: hidden;
    border-radius: 0.125rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}
.btn-primary:hover { transform: scale(1.05); }
.btn-primary span { position: relative; z-index: 10; }
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--neon-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}
.btn-primary:hover::before { transform: scaleX(1); }

.btn-secondary {
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.125rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}
.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, -25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: translate(-50%, 0); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

/* Sections */
section { padding: 5rem 0; position: relative; }
.section-header { margin-bottom: 4rem; }
.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-bar { width: 5rem; height: 0.25rem; background: var(--neon-blue); }

/* Cards & Grid */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}
.grid-spotlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 6rem;
}
.spotlight-image-wrapper {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.2);
}
.aspect-video { aspect-ratio: 16 / 9; position: relative; background: #1f2937; }
.aspect-square { aspect-ratio: 1 / 1; position: relative; background: #1f2937; }
.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #312e81, #581c87, #000000);
}
.overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spotlight-icon { font-size: 8rem; color: rgba(255, 255, 255, 0.1); transition: transform 0.7s; }
.spotlight-image-wrapper:hover .spotlight-icon { transform: scale(1.1); }

.badge-new {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--neon-pink);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #1f2937;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-right: 0.5rem;
}

.game-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.game-card {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.3);
    border-color: var(--neon-purple);
}
.game-card-content { padding: 1.5rem; }
.game-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.game-card:hover .game-card-title { color: var(--neon-blue); }
.game-card-desc { font-size: 0.875rem; color: #9ca3af; }

/* Studio Section */
.studio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
.studio-decor {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(64px);
    z-index: -10;
}
.decor-1 { top: 0; right: 0; background: rgba(188, 19, 254, 0.1); }
.decor-2 { bottom: 0; left: 0; background: rgba(0, 243, 255, 0.1); }

.tech-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.feature-box {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.image-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
}
.collage-col-1 { transform: translateY(2rem); }
.collage-img {
    height: 12rem;
    background-color: #1f2937;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    transition: all 0.3s;
}
.collage-img:hover { filter: grayscale(0%); background-color: #374151; }
.collage-img.tall { height: 16rem; }
.collage-icon { font-size: 3rem; color: #4b5563; }

/* Stats Section */
.stats-section {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    text-align: center;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Careers */
.careers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.career-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
    text-align: left;
}
.career-card:hover { background: rgba(255, 255, 255, 0.05); }
.career-card.blue:hover { border-color: var(--neon-blue); }
.career-card.purple:hover { border-color: var(--neon-purple); }
.career-card.pink:hover { border-color: var(--neon-pink); }

.career-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.career-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.career-arrow { color: #4b5563; transition: all 0.3s; }
.career-card:hover .career-arrow { transform: translateX(5px); }
.career-card.blue:hover .career-arrow { color: var(--neon-blue); }
.career-card.purple:hover .career-arrow { color: var(--neon-purple); }
.career-card.pink:hover .career-arrow { color: var(--neon-pink); }

.career-location { font-size: 0.875rem; color: #6b7280; margin-bottom: 0.5rem; }
.career-tags span {
    font-size: 0.75rem;
    background: #1f2937;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid white;
    color: white;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: background 0.3s, color 0.3s;
}
.btn-outline:hover { background: white; color: black; }

/* Footer */
footer {
    background: black;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid #111827;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.social-links { display: flex; gap: 1rem; }
.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.3s;
}
.social-icon:hover { color: white; }
.social-icon.blue:hover { background: var(--neon-blue); }
.social-icon.purple:hover { background: var(--neon-purple); }
.social-icon.pink:hover { background: var(--neon-pink); }

.footer-col h4 { font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; font-size: 0.875rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { font-size: 0.875rem; color: #6b7280; }
.footer-col ul a:hover { color: var(--neon-blue); }

.newsletter-form { display: flex; }
.newsletter-input {
    background: #111827;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    width: 100%;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
    outline: none;
}
.newsletter-input:focus { box-shadow: 0 0 0 1px var(--neon-blue); }
.newsletter-btn {
    background: var(--neon-blue);
    color: black;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    transition: background 0.3s;
}
.newsletter-btn:hover { background: white; }

.footer-bottom {
    border-top: 1px solid #111827;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    color: #4b5563;
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
    .hero-title { font-size: 4.5rem; }
    .btn-group { flex-direction: row; }
}
@media (min-width: 768px) {
    .navbar .nav-links { display: block; }
    .navbar .mobile-toggle { display: none; }
    .hero-title { font-size: 5rem; }
    .game-grid, .careers-grid { grid-template-columns: repeat(3, 1fr); }
    .studio-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 1024px) {
    .hero-title { font-size: 6rem; }
    .grid-spotlight { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* Page-specific styles for job-2d-artist.php */
header.job-header {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out;
}
.job-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #ffffff, var(--neon-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}
.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
}
.section {
    background-color: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.04);
    transition: transform 0.2s ease;
}
.section:hover { transform: translateY(-2px); border-color: var(--neon-purple); }
.details-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .details-grid { grid-template-columns: 1fr 1fr; } }
.highlight-box {
    background-color: rgba(188, 19, 254, 0.06);
    border-left: 4px solid var(--neon-purple);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
}
.pay-tag {
    display: inline-block;
    background-color: #00e676;
    color: #000;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}
.apply-section { text-align: center; padding: 3rem; background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.03)); border: 1px solid rgba(188,19,254,0.06); }
.btn { display: inline-block; background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue)); color: white; padding: 1rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.05rem; border: none; cursor: pointer; }
.btn:hover { transform: scale(1.03); }
.note { font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; font-style: italic; }

/* Small utility classes to replace inline styles */
.brand-logo { height: 40px; width: 40px; margin-right: 0.75rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--neon-purple); }
.disc-list { list-style-type: disc; margin-left: 1.5rem; }
.section-subtitle { color: #fff; margin-bottom: 0.5rem; }
.muted-text { color: var(--text-muted); }
.bordered-list { border-left: 2px solid var(--text-muted); padding-left: 1rem; }
.apply-details { text-align: left; max-width: 600px; margin: 2rem auto; color: var(--text-muted); }
.page-footer { text-align: center; color: var(--text-muted); font-size: 0.8rem; margin-top: 3rem; padding-bottom: 2rem; }

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

/* Privacy Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}
.modal-backdrop.show { display: flex; }
.modal-card {
    background: linear-gradient(180deg, #0b0b0b, #0f0f10);
    border: 1px solid rgba(188,19,254,0.06);
    max-width: 720px;
    width: 100%;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    color: var(--text-main);
}
.modal-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.modal-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.modal-body { margin-top: 0.75rem; max-height: 60vh; overflow: auto; color: var(--text-muted); line-height: 1.6; }
.modal-close { background: transparent; border: none; color: var(--text-muted); font-size: 1.25rem; cursor: pointer; }
.modal-footer { margin-top: 1rem; text-align: right; }
.modal-actions .btn { padding: 0.5rem 1rem; border-radius: 8px; }

@media (max-width: 480px) {
    .modal-card { padding: 1rem; border-radius: 8px; }
    .modal-title { font-size: 1rem; }
}
