/* Omni Academy Hyper-Realistic CSS */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&display=swap');

:root {
    --omni-dark: #030b1c;
    --omni-glow: #00d2ff;
    --omni-glow-dark: #0077ff;
    --omni-teal: #00ffd5;
    --omni-border: rgba(0, 210, 255, 0.3);
    --omni-text: #b3c5e5;
    --font-omni: 'Exo 2', sans-serif;
}

[data-theme="light"] {
    --omni-dark: #f8fafc;
    --omni-glow: #0ea5e9;
    --omni-glow-dark: #0284c7;
    --omni-teal: #0d9488;
    --omni-border: rgba(14, 165, 233, 0.3);
    --omni-text: #475569;
}

[data-theme="light"] .omni-wrapper {
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .omni-wrapper::before {
    background-image: 
        linear-gradient(rgba(14, 165, 233, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.1) 1px, transparent 1px);
    opacity: 0.6;
}

[data-theme="light"] .omni-logo, [data-theme="light"] .omni-logo i {
    color: #1e293b;
}

[data-theme="light"] .omni-menu a {
    color: #334155;
    background: rgba(14, 165, 233, 0.05);
}

[data-theme="light"] .omni-titles h1, [data-theme="light"] .stat-big h2, [data-theme="light"] .c-title {
    color: #1e293b;
    text-shadow: none;
}

[data-theme="light"] .omni-glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: rgba(14, 165, 233, 0.2);
}

[data-theme="light"] .c-icon {
    color: rgba(14, 165, 233, 0.5);
}

[data-theme="light"] .hud-bar-fill::after {
    background: var(--omni-glow);
    box-shadow: 0 0 10px var(--omni-glow);
}

[data-theme="light"] .circ-ind {
    background: #ffffff;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

[data-theme="light"] .circ-ind::after {
    background: #ffffff;
}

[data-theme="light"] .circ-ind span {
    color: #1e293b;
}

body {
    background-color: var(--omni-dark);
    font-family: var(--font-omni);
}

.omni-wrapper {
    background: radial-gradient(circle at center, #071739 0%, #030b1c 100%);
    border: 1px solid var(--omni-border);
    border-radius: 20px;
    margin: 20px auto;
    padding: 30px;
    max-width: 1300px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.05), inset 0 0 30px rgba(0, 212, 255, 0.05);
    overflow: hidden;
}

/* Background Grid & Particles Effect */
.omni-wrapper::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) perspective(500px) rotateX(60deg);
    width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* Header Navbar matches image */
.omni-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}
.omni-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 24px;
    font-weight: bold;
}
.omni-logo i {
    font-size: 30px;
    color: white;
}
.omni-menu {
    display: flex;
    gap: 15px;
}
.omni-menu a {
    padding: 8px 25px;
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 25px;
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(0, 212, 255, 0.05);
}
.omni-menu a:hover, .omni-menu a.active {
    border-color: var(--omni-glow);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Titles */
.omni-titles {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}
.omni-titles h1 {
    color: white;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 3px;
}
.omni-titles p {
    color: var(--omni-teal);
    font-size: 16px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Core Dashboard Layout */
.omni-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

/* Left Stats Config */
.omni-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 280px;
    padding-left: 20px;
}
.hud-progress {
    position: relative;
}
.hud-progress-label {
    display: flex;
    justify-content: space-between;
    color: var(--omni-text);
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.hud-progress-val {
    color: var(--omni-glow);
    font-size: 16px;
    font-weight: bold;
}
.hud-bar {
    width: 100%;
    height: 3px;
    background: rgba(0, 212, 255, 0.2);
    position: relative;
    border-radius: 2px;
}
.hud-bar-fill {
    height: 100%;
    background: var(--omni-glow);
    box-shadow: 0 0 10px var(--omni-glow);
    position: relative;
}
.hud-bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 7px;
    height: 7px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
}

/* Huge Hologram Center */
.omni-center {
    flex: 2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

/* The giant left arc */
.giant-arc {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 15px solid transparent;
    border-left-color: var(--omni-glow);
    opacity: 0.8;
    filter: drop-shadow(0 0 20px var(--omni-glow));
    animation: pulse-arc 3s infinite alternate;
}
.giant-arc-inner {
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-left-color: var(--omni-teal);
    opacity: 0.5;
}

@keyframes pulse-arc {
    0% { filter: drop-shadow(0 0 10px var(--omni-glow)); }
    100% { filter: drop-shadow(0 0 35px var(--omni-glow)); }
}

.sphere-core {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sphere-ring-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(0, 212, 255, 0.4);
    animation: rotate 20s linear infinite;
}
.sphere-ring-2 {
    position: absolute;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--omni-glow);
    border-bottom-color: var(--omni-glow-dark);
    animation: rotate 12s linear infinite reverse;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}
.sphere-ring-3 {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 213, 0.3);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
}
.brain-icon {
    font-size: 110px;
    color: var(--omni-glow);
    z-index: 10;
    animation: energy-charge 2.5s infinite;
}
@keyframes energy-charge {
    0% { 
        filter: drop-shadow(0 0 15px var(--omni-glow)); 
        transform: scale(1); 
    }
    40% { 
        filter: drop-shadow(0 0 25px var(--omni-glow)); 
        transform: scale(1.02); 
    }
    50% { 
        filter: drop-shadow(0 0 70px var(--omni-teal)) brightness(1.8); 
        transform: scale(1.15); 
        color: #ffffff; /* chaqnash qismi oq rangga yaqinlashadi */
    }
    60% { 
        filter: drop-shadow(0 0 25px var(--omni-glow)); 
        transform: scale(1.02); 
        color: var(--omni-glow);
    }
    100% { 
        filter: drop-shadow(0 0 15px var(--omni-glow)); 
        transform: scale(1); 
    }
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Right Numbers */
.omni-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    max-width: 250px;
}
.stat-big {
    margin-bottom: 10px;
}
.stat-big h2 {
    font-size: 46px;
    color: white;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.stat-big p {
    color: var(--omni-text);
    font-size: 12px;
}

.circular-indicators {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.circ-ind {
    position: relative;
    width: 70px;
    height: 70px;
    background: #061129;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}
.circ-ind::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(var(--color) var(--perc), rgba(255,255,255,0.1) 0);
    z-index: 1;
}
.circ-ind::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: #061129;
    border-radius: 50%;
    z-index: 2;
}
.circ-ind span {
    position: relative;
    z-index: 3;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

/* Explore Button */
.explore-btn-container {
    text-align: center;
    margin: 40px 0;
    z-index: 10;
    position: relative;
}
.explore-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--omni-glow);
    border-radius: 30px;
    color: var(--omni-glow);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    text-decoration: none;
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2), inset 0 0 10px rgba(0, 212, 255, 0.1);
    transition: all 0.3s;
}
.explore-btn:hover {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), inset 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Latest Updates Cards aligned to Image */
.omni-updates-section {
    margin-top: 30px;
    position: relative;
    z-index: 10;
}
.updates-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.updates-heading-row h2 {
    color: var(--omni-text);
    font-size: 20px;
    font-weight: 500;
}
.omni-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.omni-glass-card {
    background: linear-gradient(145deg, rgba(16, 29, 66, 0.8) 0%, rgba(6, 17, 41, 0.9) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.omni-glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--omni-glow), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.omni-glass-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-5px);
}
.omni-glass-card:hover::before {
    opacity: 1;
}

.c-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.c-date-box {
    color: var(--omni-teal);
    font-size: 12px;
    background: rgba(0, 255, 213, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}
.c-icon {
    color: rgba(255,255,255,0.4);
    font-size: 18px;
}
.c-title {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}
.c-desc {
    color: var(--omni-text);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.c-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.c-foot-date {
    color: var(--omni-text);
    font-size: 11px;
}
.c-play {
    width: 25px; height: 25px;
    border-radius: 50%;
    border: 1px solid var(--omni-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--omni-glow);
    text-decoration: none;
    font-size: 10px;
    transition: all 0.3s;
}
.c-play:hover {
    background: var(--omni-glow);
    color: var(--omni-dark);
}

/* Responsive Styles for Omni Theme */
@media (max-width: 992px) {
    .omni-layout {
        flex-direction: column;
        gap: 50px;
    }
    
    .omni-left {
        max-width: 100%;
        padding-left: 0;
        align-items: center;
        width: 100%;
    }
    
    .hud-progress {
        width: 100%;
        max-width: 400px;
    }
    
    .omni-right {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .omni-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .omni-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .omni-wrapper {
        padding: 15px;
        margin: 10px;
        border-radius: 12px;
    }
    
    .omni-nav {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .omni-logo {
        font-size: 20px;
    }
    
    .omni-menu {
        gap: 10px;
    }
    
    .omni-menu a {
        padding: 6px 15px;
        font-size: 11px;
    }
    
    .omni-center {
        height: 350px;
    }
    
    .sphere-core {
        width: 250px;
        height: 250px;
    }
    
    .giant-arc {
        width: 300px;
        height: 300px;
        left: -90px;
    }
    
    .giant-arc-inner {
        width: 240px;
        height: 240px;
        left: -60px;
    }
    
    .brain-icon {
        font-size: 70px;
    }
    
    .omni-titles h1 {
        font-size: 26px;
        line-height: 1.3;
        letter-spacing: 1px;
    }
    
    .omni-titles p {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .stat-big h2 {
        font-size: 36px;
    }
    
    .omni-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .updates-heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .circular-indicators {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .sphere-core {
        width: 200px;
        height: 200px;
    }
    
    .giant-arc, .giant-arc-inner {
        display: none; /* Hide arcs on very small screens to avoid overflow */
    }
    
    .brain-icon {
        font-size: 60px;
    }
    
    .omni-titles h1 {
        font-size: 22px;
    }
}
