@charset "UTF-8";
:root {
    --मुख्य-पृष्ठभूमि: #060b1a;
    --नील-वर्ण: #00d4ff;
    --काच-पृष्ठभूमि: rgba(255, 255, 255, 0.05);
    --काच-सीमा: rgba(255, 255, 255, 0.1);
    --मुख्य-पाठ्य: #f8fafc;
    --त्रुटि-वर्ण: #ff4444;
}

body.शरीरम् {
    margin: 0;
    padding: 0;
    background-color: var(--मुख्य-पृष्ठभूमि);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--मुख्य-पाठ्य);
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

#शीर्षपट्टिका {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1000;
    background: rgba(6, 11, 26, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--काच-सीमा);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    box-sizing: border-box;
}

#चिह्नपात्रम् a {
    display: flex;
    align-items: center;
}

#चिह्नम् {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    transition: all 0.3s ease;
}

#चिह्नम्:hover {
    transform: scale(3);
    transform-origin: top left;
}

#मार्गसञ्चारकडी {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

#मार्गसञ्चारकडी a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

#मार्गसञ्चारकडी a:hover {
    color: yellow;
    transform: translateY(-2px) scale(1.05);
    display: inline-block;
}

.मुख्यपात्रम् {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100vh - 50px);
    margin-top: 50px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

#उपकरण-पात्रम् {
    height: calc(100vh - 150px);
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    padding-bottom: 20px;
    box-sizing: border-box;
}

/* Odometer specific styles */
.घटी-पात्रम् {
    position: relative;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#घटी-मुखम् {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--काच-सीमा);
    box-shadow: inset 0 0 50px rgba(0, 212, 255, 0.05);
}

.घटी-चिह्निका {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform-origin: center center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.घटी-चिह्निका:hover {
    /* Do NOT apply transform here as it overrides JS positioning! */
}

.घटी-चिह्निका:hover span {
    transform: scale(1.2);
    display: inline-block;
    text-shadow: 0 0 10px var(--नील-वर्ण);
}

.घटी-चिह्निका.सक्रिय {
    color: var(--नील-वर्ण);
    text-shadow: 0 0 15px var(--नील-वर्ण);
    font-weight: bold;
}

.घटी-चिह्निका.सक्रिय span {
    transform: scale(1.3);
    display: inline-block;
}

.चिह्निका-दशमलव {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.चिह्निका-द्विमान {
    font-size: 0.9rem;
    opacity: 0.7;
    font-family: monospace;
}

#घटी-केन्द्रम् {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--नील-वर्ण);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 0 15px var(--नील-वर्ण);
}

#सूचिका {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 140px;
    background: linear-gradient(to top, transparent 0%, var(--नील-वर्ण) 100%);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 5;
    pointer-events: none;
}

#सूचिका::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -4px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid var(--नील-वर्ण);
}

/* Secondary opposite needle */
#विपरीत-सूचिका {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 140px;
    background: linear-gradient(to top, transparent 0%, var(--त्रुटि-वर्ण) 100%);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(180deg);
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 4;
    pointer-events: none;
}

#विपरीत-सूचिका::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -4px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid var(--त्रुटि-वर्ण);
}

.उपकरणकीलः {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--काच-सीमा);
    color: var(--मुख्य-पाठ्य);
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.उपकरणकीलः:hover {
    background: var(--नील-वर्ण);
    color: #060b1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 212, 255, 0.4);
}
.उपकरणकीलः:active {
    transform: translateY(1px);
}

.समस्या-पट्टिका {
    background: var(--काच-पृष्ठभूमि);
    border: 1px solid var(--काच-सीमा);
    padding: 15px 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.विकल्प-सूची {
    background: rgba(0, 0, 0, 0.5);
    color: var(--मुख्य-पाठ्य);
    border: 1px solid var(--काच-सीमा);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1.2rem;
    outline: none;
    cursor: pointer;
}

/* --- Footer Section --- */
.site-footer {
    background: #030610;
    padding: 40px 5% 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 30px;
    gap: 20px;
}

.footer-section {
    min-width: 200px;
    margin-bottom: 20px;
    text-align: left;
}

.footer-section h4 {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-section p, .footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 1.6;
    display: block;
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}
