/* ==========================================
   APJAKTU NSS Cell Under Construction Style
   Theme: Cosmic Navy Blue & Energy Red
   ========================================== */

/* Design Tokens & Custom Variables */
:root {
    --bg-dark: #070B16;
    --navy-base: #1E3A8A;
    --navy-glow: #3B82F6;
    --navy-dark: #0F172A;
    --red-base: #DC2626;
    --red-glow: #EF4444;
    --red-light: #FF8A8A;
    
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --glass-bg: rgba(15, 23, 42, 0.45);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(255, 255, 255, 0.12);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --glow-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 1.5rem;
}

/* Interactive Background Canvas */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Pulsing Ambient Background Glow Blobs */
.ambient-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 12s infinite alternate ease-in-out;
}

.glow-blue {
    background: radial-gradient(circle, var(--navy-glow) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.glow-red {
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -6s;
}

/* Giant Background Rotating Konark Wheel */
.bg-wheel-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vw;
    max-width: 800px;
    max-height: 800px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-konark-wheel {
    width: 100%;
    height: 100%;
    animation: rotateWheel 160s linear infinite;
    transform-origin: center;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.02));
}

/* Main Wrapper / Layout */
.container {
    width: 100%;
    max-width: 640px;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

/* Premium Glassmorphic Card */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 10px 40px -10px rgba(0, 0, 0, 0.5),
        0 0 50px -10px rgba(30, 58, 138, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 
        0 20px 60px -10px rgba(0, 0, 0, 0.6),
        0 0 60px -5px rgba(59, 130, 246, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

/* Header & Identity */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.5rem;
}

.logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.logo-wrapper {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 0.65rem;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.univ-logo-wrapper {
    background: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.univ-logo-wrapper:hover {
    background: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.logo-wrapper:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-univ {
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.15));
}

.logo-nss {
    animation: rotateWheel 30s linear infinite;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.2));
}

.logo-divider {
    height: 36px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.brand-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.badge {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--red-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 0.25rem;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.05);
}

.title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF 30%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 0.45rem;
}

/* System Maintenance Info & Progress */
.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #10B981;
    border-radius: 50%;
    animation: dotPulse 1.8s infinite ease-out;
}

.status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #34D399;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.headline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
}

.description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 480px;
}

/* Progress Meter */
.progress-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-label {
    color: var(--text-muted);
}

.progress-val {
    color: var(--navy-glow);
}

.progress-bar-track {
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--navy-glow) 0%, var(--red-glow) 100%);
    border-radius: 100px;
    position: relative;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    animation: barShimmer 2s infinite linear;
}

/* Actions & Contact Details */
.action-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    margin-bottom: 2rem;
}

.action-heading {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-box {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    text-align: left;
    transition: var(--transition-fast);
}

.contact-box:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(15, 23, 42, 0.7);
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--navy-glow);
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.btn-copy:active {
    transform: scale(0.96);
}

/* Card Footer */
.card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.motto {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    background: linear-gradient(90deg, var(--red-light) 0%, var(--navy-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.divider {
    height: 1px;
    width: 60px;
    background: rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Toast Notification Styling */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 100px);
    background: rgba(16, 185, 129, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    z-index: 100;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

/* Keyframes & Animations */
@keyframes rotateWheel {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(3.2);
        opacity: 0;
    }
}

@keyframes pulseGlow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.15) translate(30px, -20px);
        opacity: 0.25;
    }
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.15;
    }
}

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

/* Responsiveness Rules */
@media (max-width: 480px) {
    body {
        padding: 1rem;
    }
    
    .card {
        padding: 2.25rem 1.5rem;
        border-radius: 20px;
    }
    
    .title {
        font-size: 1.75rem;
    }
    
    .logos-container {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .logo-wrapper {
        width: 68px;
        height: 68px;
        border-radius: 16px;
        padding: 0.5rem;
    }
    
    .logo-divider {
        height: 28px;
    }
    
    .headline {
        font-size: 1.25rem;
    }
    
    .description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .action-section {
        padding: 1.25rem 1rem;
    }
    
    .contact-box {
        padding: 0.65rem 0.85rem;
    }
    
    .contact-value {
        font-size: 0.85rem;
    }
    
    .btn-copy {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}
