/*
Theme Name: OVW Career Theme
Theme URI: https://onvirtualworld.com/
Author: On Virtual World
Author URI: https://onvirtualworld.com/
Description: Dark futuristic glassmorphic WordPress theme matching onvirtualworld.com header, footer, and visual design for the OVW Career & Application subdomain.
Version: 1.0.1
Text Domain: ovw-career-theme
*/

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --ovw-bg: #050814;
    --ovw-surface: rgba(255, 255, 255, 0.03);
    --ovw-border: rgba(255, 255, 255, 0.09);
    --ovw-text: #e2e8f0;
    --ovw-muted: #94a3b8;
    --ovw-cyan: #38bdf8;
    --ovw-purple: #c084fc;
}

html {
    scroll-behavior: smooth;
}

body.ovw-body {
    margin: 0;
    padding-top: 88px;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--ovw-bg);
    color: var(--ovw-text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

@media (max-width: 767px) {
    body.ovw-body { padding-top: 76px; }
}

/* Ambient Glowing Orbs */
.ovw-ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ovw-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.25;
}

.ovw-orb-1 { width: 520px; height: 520px; background: #38bdf8; top: -140px; left: -120px; }
.ovw-orb-2 { width: 560px; height: 560px; background: #7c3aed; top: 30%; right: -180px; }
.ovw-orb-3 { width: 440px; height: 440px; background: #ec4899; bottom: -140px; left: 25%; opacity: 0.16; }

.ovw-site-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 88px);
}

.ovw-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Exact Header Matching onvirtualworld.com */
.ovw-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.96) 0%, rgba(5, 7, 14, 0.94) 55%, rgba(76, 29, 149, 0.88) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ovw-header-glow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.ovw-header-glow span {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(70px);
}

.ovw-hg-blue { top: -180px; left: -100px; background: rgba(59, 130, 246, 0.12); }
.ovw-hg-purple { top: -120px; right: -80px; background: rgba(168, 85, 247, 0.22); }
.ovw-hg-cyan { bottom: -180px; left: 35%; background: rgba(6, 182, 212, 0.1); }

.ovw-header-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 16px;
}

.ovw-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.ovw-logo-img {
    display: block;
    width: 120px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.ovw-logo-link:hover .ovw-logo-img {
    transform: scale(1.05);
}

.ovw-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.ovw-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.ovw-nav-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.ovw-nav-pill.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.ovw-chevron {
    transition: transform 0.25s ease;
}

.ovw-nav-item {
    position: static;
}

.ovw-nav-item.has-dropdown:hover .ovw-chevron,
.ovw-nav-item.has-dropdown:focus-within .ovw-chevron {
    transform: rotate(180deg);
}

.ovw-dropdown-panel {
    position: absolute;
    left: 50%;
    top: calc(100% - 4px);
    width: min(calc(100vw - 32px), 1320px);
    transform: translateX(-50%) translateY(-8px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 60;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, #0b0a14 0%, #07070c 55%, #070b0f 100%);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.12), 0 0 40px -12px rgba(139, 92, 246, 0.25), 0 30px 80px -20px rgba(0, 0, 0, 0.95);
    padding: 24px;
}

.ovw-compact-panel {
    width: min(calc(100vw - 32px), 760px);
}

.ovw-nav-item.has-dropdown:hover .ovw-dropdown-panel,
.ovw-nav-item.has-dropdown:focus-within .ovw-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.ovw-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ovw-mega-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ovw-mega-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.ovw-icon-cyan { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.ovw-icon-pink { background: linear-gradient(135deg, #f472b6, #a855f7); }
.ovw-icon-emerald { background: linear-gradient(135deg, #34d399, #06b6d4); }
.ovw-icon-purple { background: linear-gradient(135deg, #a855f7, #ec4899); }

.ovw-mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ovw-mega-col li {
    margin-bottom: 4px;
}

.ovw-mega-col li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.ovw-mega-col li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.ovw-soon {
    margin-left: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ovw-mega-cta-box {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ovw-mega-cta-box p {
    margin: 0 0 10px;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
}

.ovw-mega-link {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin-top: 6px;
}

.ovw-mega-link-accent { color: #38bdf8; }

.ovw-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    align-items: start;
}

.ovw-compact-intro {
    padding: 10px 8px;
}

.ovw-compact-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #c084fc;
    margin-bottom: 8px;
}

.ovw-compact-intro h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: #ffffff;
}

.ovw-compact-intro p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.ovw-compact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ovw-compact-list a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ovw-compact-list a:hover,
.ovw-compact-list a.is-current {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.ovw-compact-list strong {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.ovw-compact-list span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

/* Holographic CTA Button matching screenshot */
@keyframes ovwHoloShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ovw-holo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: ovwHoloShift 6s ease infinite;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.ovw-holo-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 36px rgba(168, 85, 247, 0.42);
    color: #ffffff;
}

.ovw-cta-bar {
    width: 3px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
}

.ovw-mobile-toggle {
    display: none;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
}

.ovw-mobile-drawer {
    background: rgba(7, 9, 19, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px 24px;
}

.ovw-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ovw-mobile-links a:not(.ovw-holo-cta) {
    color: #e2e8f0;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 500;
}

.ovw-mobile-links a.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #38bdf8;
}

.ovw-mobile-cta {
    justify-content: center;
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .ovw-header-right { display: none; }
}

@media (max-width: 767px) {
    .ovw-desktop-nav { display: none; }
    .ovw-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* Hero */
.ovw-hero {
    padding: 58px 20px 54px;
    text-align: center;
}

.ovw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.ovw-hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 auto 18px;
    max-width: 820px;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.ovw-hero p {
    font-size: 1.12rem;
    color: var(--ovw-muted);
    max-width: 660px;
    margin: 0 auto 38px;
    line-height: 1.65;
}

.ovw-stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 720px) {
    .ovw-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ovw-hero-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ovw-border);
    border-radius: 16px;
    padding: 18px 14px;
    backdrop-filter: blur(12px);
}

.ovw-hero-stat strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.ovw-hero-stat span {
    font-size: 0.85rem;
    color: var(--ovw-muted);
}

.ovw-main { flex: 1; }

/* Footer */
.ovw-footer {
    border-top: 1px solid var(--ovw-border);
    background: rgba(5, 8, 20, 0.92);
    padding: 54px 20px 30px;
    margin-top: auto;
}

.ovw-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.3fr;
    gap: 32px;
    margin-bottom: 36px;
}

@media (max-width: 960px) {
    .ovw-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .ovw-footer-grid { grid-template-columns: 1fr; }
}

.ovw-footer h4 {
    color: #ffffff;
    font-size: 1rem;
    margin: 0 0 14px;
}

.ovw-footer p,
.ovw-footer li,
.ovw-footer a {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.65;
    text-decoration: none;
}

.ovw-footer a:hover { color: #38bdf8; }

.ovw-footer ul { list-style: none; padding: 0; margin: 0; }
.ovw-footer li { margin-bottom: 8px; }

.ovw-social-row {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.ovw-social-row a {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #cbd5e1;
}

.ovw-social-row a:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}

.ovw-footer-bottom {
    border-top: 1px solid var(--ovw-border);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
}
