/* ===== BASE STYLES ===== */
:root {
    --primary-color: #0cff0c;
    --secondary-color: #00eeff;
    --accent-color: #ff00ff;
    --background-color: #0a0a0a;
    --terminal-bg: #121212;
    --text-color: #e0e0e0;
    --dark-overlay: rgba(0, 0, 0, 0.85);
    --font-mono: 'Share Tech Mono', monospace;
    --font-display: 'Rajdhani', sans-serif;
    --glow-intensity: 5px;
}

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

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===== NOISE OVERLAY EFFECT ===== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAADnklEQVR4nO2ZS08TURiGHxEBL1EBQcHLT9CdiYlbjTvduNXEP+DCH+DCuDCa6E6jbtQFokGRS0GRSy9cCrQUaKEUSkspUNrSdvxOPMNMh5nOtNMOMj3JSfr1nO+83+TrOd85U1FRwAEcB5qBbuA5MAX8AP4AKeA3sAC8BzqAi0D5bpO4QKoijHMd6AE2kxYkgEfAkWIl4gc6gXSO5LOFVqhRQxF0O/WxzLg3HZ6tKjTtaoE/HhK3YkdBcAf4W0ASZmwB9wqROUv4SkKiYfQYZIi8KiABK5p8rCNu66iviCSsaPK5nr0mJpF3HhL4akjimYdJfzEk0eYhmR5DEu0eklkwJDHiIZlBQxKvPSQzbEii20My/YYkxklPd6HhR/NnH5KRfaXfkIg01nsuJT9nSKTGZdKpkJu4OXcO/X6S2TQictOlZm44jFVpPP+/D5FnB/h/Dqd3F+hnL6DbnwT6JvBFc1y8PQ40ANVALXAZuAU8QPYI+UuIR01mPKK52tKjuVP6vl9zN2hOsRdOcxdTrXKcE8aNs4UhkUfnAB+BSxkk3FRhfHN8C3jgYbPrlg+NQFJnPaBFEsrHNPAEuAYcM7TJvWG8GN7qeQnVGxJZdJCQl8BltifEbl4EVLOJnlP7MnCW7IeZXLTdUFuZVlJnGKTLMhEnk9gPKN+X1UeK7K+PXA8wAZlLm2FSpdbkpIGk3HxQJp/tVe+iS71L+QeG2hrJLoOGifV4qJEuDxJinR4lZKqNKw4SYs+Q73ZTnWHCjzzW16CHGpGNNZ/6qHLR1ki/+pD6epRD0o0GCUeR29YWDxJi8wF8v6IaMpWQI+2Gwxil3m5wOGrkdL9nPvU47t5BfWUuD1VTXcC/cBqQXeuc9jnDFd/J8e5Erl3FxOW61q9zC7nhxJy3ESWI0uLXgFdcPpKbCqCDNbsIx4GnOSTxhfzv+H0ZfAyE8G9n1A7Pl9KCuNwzE9hfv9m+8YRdNrSNLMNXgTPAUZc7Tzn2Fz4ZSK7brHWc0Cbt8gAg5zT5y1KBvG4WQlFU+8BaERIYIztzS8uxYnhskX/OXwrgn9d+8R8TpwtFQB6DwwVIoCfLhsJhk7ypI/OSRN5tEoWQDnkdN8WQzK3k+Pz6sNkpk26mR3b7JpkKkMS4U/u9m65CIcnVi0O5Sc7vk8RyKlxY99F1F3AAO+5HuNKQdmIAAAAASUVORK5CYII=');
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.scanner-line {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    opacity: 0.8;
    z-index: 100;
    box-shadow: 0 0 15px var(--primary-color);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

/* ===== CYBER GRID BACKGROUND ===== */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.grid-line {
    position: absolute;
    background-color: rgba(12, 255, 12, 0.1);
}

.horizontal {
    width: 100%;
    height: 1px;
}

.vertical {
    height: 100%;
    width: 1px;
}

#gridLine1 { top: 25%; }
#gridLine2 { top: 50%; }
#gridLine3 { top: 75%; }
#gridLine4 { left: 25%; }
#gridLine5 { left: 50%; }
#gridLine6 { left: 75%; }

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0.6;
}

#floatingElement1 {
    top: 15%;
    left: 10%;
    animation: float 12s ease-in-out infinite;
}

#floatingElement2 {
    top: 70%;
    right: 15%;
    animation: float 10s ease-in-out infinite 1s;
}

#floatingElement3 {
    top: 40%;
    right: 5%;
    animation: float 8s ease-in-out infinite 2s;
}

.hex-container {
    position: relative;
    width: 60px;
    height: 60px;
}

.hex {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: pulse 3s ease-in-out infinite;
}

.circle-pulse {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    animation: pulse 4s ease-in-out infinite;
}

.data-packet {
    width: 40px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: dataMove 5s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes dataMove {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0.2;
    }
    50% {
        transform: translateX(100px) translateY(-50px);
        opacity: 1;
    }
    100% {
        transform: translateX(200px) translateY(0);
        opacity: 0.2;
    }
}

/* ===== MAIN CONTENT STYLING ===== */
.maintenance-container {
    padding: 50px 20px;
    position: relative;
    z-index: 2;
}

.main-content {
    background-color: rgba(10, 10, 10, 0.85);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(12, 255, 12, 0.2);
    position: relative;
    overflow: hidden;
}

/* ===== GLITCH TEXT EFFECT ===== */
.glitch-text {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-color);
    text-shadow: 0 0 var(--glow-intensity) var(--primary-color);
    position: relative;
    animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 var(--secondary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 var(--accent-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(17px, 9999px, 94px, 0);
        transform: skew(0.65deg);
    }
    5% {
        clip: rect(36px, 9999px, 10px, 0);
        transform: skew(0.27deg);
    }
    10% {
        clip: rect(86px, 9999px, 59px, 0);
        transform: skew(0.57deg);
    }
    15% {
        clip: rect(42px, 9999px, 84px, 0);
        transform: skew(0.43deg);
    }
    20% {
        clip: rect(15px, 9999px, 32px, 0);
        transform: skew(0.89deg);
    }
    25% {
        clip: rect(69px, 9999px, 56px, 0);
        transform: skew(0.1deg);
    }
    30% {
        clip: rect(75px, 9999px, 71px, 0);
        transform: skew(0.94deg);
    }
    35% {
        clip: rect(40px, 9999px, 1px, 0);
        transform: skew(0.67deg);
    }
    40% {
        clip: rect(29px, 9999px, 92px, 0);
        transform: skew(0.9deg);
    }
    45% {
        clip: rect(75px, 9999px, 39px, 0);
        transform: skew(0.76deg);
    }
    50% {
        clip: rect(33px, 9999px, 10px, 0);
        transform: skew(0.46deg);
    }
    55% {
        clip: rect(89px, 9999px, 31px, 0);
        transform: skew(0.75deg);
    }
    60% {
        clip: rect(1px, 9999px, 46px, 0);
        transform: skew(0.27deg);
    }
    65% {
        clip: rect(27px, 9999px, 21px, 0);
        transform: skew(0.69deg);
    }
    70% {
        clip: rect(90px, 9999px, 16px, 0);
        transform: skew(0.92deg);
    }
    75% {
        clip: rect(46px, 9999px, 39px, 0);
        transform: skew(0.46deg);
    }
    80% {
        clip: rect(81px, 9999px, 4px, 0);
        transform: skew(0.43deg);
    }
    85% {
        clip: rect(86px, 9999px, 88px, 0);
        transform: skew(0.7deg);
    }
    90% {
        clip: rect(54px, 9999px, 77px, 0);
        transform: skew(0.84deg);
    }
    95% {
        clip: rect(1px, 9999px, 3px, 0);
        transform: skew(0.63deg);
    }
    100% {
        clip: rect(55px, 9999px, 34px, 0);
        transform: skew(0.45deg);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 91px, 0);
        transform: skew(0.19deg);
    }
    5% {
        clip: rect(4px, 9999px, 15px, 0);
        transform: skew(0.6deg);
    }
    10% {
        clip: rect(76px, 9999px, 5px, 0);
        transform: skew(0.38deg);
    }
    15% {
        clip: rect(82px, 9999px, 92px, 0);
        transform: skew(0.66deg);
    }
    20% {
        clip: rect(30px, 9999px, 49px, 0);
        transform: skew(0.84deg);
    }
    25% {
        clip: rect(68px, 9999px, 36px, 0);
        transform: skew(0.23deg);
    }
    30% {
        clip: rect(10px, 9999px, 13px, 0);
        transform: skew(0.01deg);
    }
    35% {
        clip: rect(89px, 9999px, 25px, 0);
        transform: skew(0.6deg);
    }
    40% {
        clip: rect(42px, 9999px, 51px, 0);
        transform: skew(0.94deg);
    }
    45% {
        clip: rect(4px, 9999px, 97px, 0);
        transform: skew(0.2deg);
    }
    50% {
        clip: rect(4px, 9999px, 53px, 0);
        transform: skew(0.01deg);
    }
    55% {
        clip: rect(20px, 9999px, 65px, 0);
        transform: skew(0.09deg);
    }
    60% {
        clip: rect(45px, 9999px, 25px, 0);
        transform: skew(0.65deg);
    }
    65% {
        clip: rect(18px, 9999px, 100px, 0);
        transform: skew(0.37deg);
    }
    70% {
        clip: rect(46px, 9999px, 82px, 0);
        transform: skew(0.18deg);
    }
    75% {
        clip: rect(57px, 9999px, 97px, 0);
        transform: skew(0.93deg);
    }
    80% {
        clip: rect(77px, 9999px, 40px, 0);
        transform: skew(0.25deg);
    }
    85% {
        clip: rect(89px, 9999px, 44px, 0);
        transform: skew(0.06deg);
    }
    90% {
        clip: rect(54px, 9999px, 92px, 0);
        transform: skew(0.39deg);
    }
    95% {
        clip: rect(7px, 9999px, 34px, 0);
        transform: skew(0.11deg);
    }
    100% {
        clip: rect(63px, 9999px, 97px, 0);
        transform: skew(0.03deg);
    }
}

/* ===== STATUS INDICATOR ===== */
.status-bar {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-right: 10px;
    box-shadow: 0 0 10px var(--primary-color);
    animation: blink 1.5s infinite;
}

.blink {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* ===== TERMINAL STYLING ===== */
.terminal-container {
    background-color: var(--terminal-bg);
    border-radius: 6px;
    margin: 30px 0;
    overflow: hidden;
    border: 1px solid rgba(12, 255, 12, 0.3);
    box-shadow: 0 0 10px rgba(12, 255, 12, 0.1);
}

.terminal-header {
    background-color: #1e1e1e;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-buttons {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.close {
    background-color: #ff5f56;
}

.minimize {
    background-color: #ffbd2e;
}

.maximize {
    background-color: #27c93f;
}

.terminal-title {
    font-size: 0.8rem;
    color: #aaa;
}

.terminal-body {
    padding: 15px;
    height: 220px;
    overflow-y: auto;
    font-size: 0.9rem;
}

.line {
    margin-bottom: 8px;
    font-family: var(--font-mono);
}

.command {
    color: var(--primary-color);
}

/* ===== COUNTDOWN TIMER ===== */
.countdown-section {
    margin: 30px 0;
    text-align: center;
}

.countdown-section h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    padding: 15px 20px;
    min-width: 80px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 238, 255, 0.2);
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

.count-value {
    font-size: 2rem;
    font-weight: bold;
    font-family: var(--font-display);
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(0, 238, 255, 0.5);
}

.count-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: #aaa;
}

/* ===== NOTIFICATION FORM ===== */
.notification-section {
    margin: 30px 0;
    text-align: center;
}

.notification-section h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.cyber-input {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--text-color) !important;
    padding: 12px 20px !important;
    font-family: var(--font-mono) !important;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(12, 255, 12, 0.1) !important;
    transition: all 0.3s ease !important;
}

.cyber-input:focus {
    box-shadow: 0 0 15px rgba(12, 255, 12, 0.3) !important;
    outline: none !important;
    border-color: var(--primary-color) !important;
}

.cyber-input::placeholder {
    color: #888;
}

.cyber-btn {
    background-color: transparent !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    padding: 12px 25px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transition: all 0.3s ease !important;
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(12, 255, 12, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.cyber-btn:hover::before {
    left: 0;
}

.cyber-btn:hover {
    box-shadow: 0 0 15px rgba(12, 255, 12, 0.4) !important;
    color: #fff !important;
}

.cyber-alert {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--text-color) !important;
    font-family: var(--font-mono) !important;
}

/* ===== SOCIAL SECTION ===== */
.social-section {
    margin: 30px 0;
    text-align: center;
}

.social-section h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
    color: #fff;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 255, 0.2);
    transition: all 0.4s ease;
}

.social-icon:hover::before {
    top: 0;
}

/* ===== FOOTER ===== */
.cyber-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    position: relative;
    font-size: 0.9rem;
    color: #888;
}

.cyber-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin-bottom: 15px;
    opacity: 0.5;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 2.5rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px;
    }
    
    .count-value {
        font-size: 1.5rem;
    }
    
    .terminal-body {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .glitch-text {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 8px;
    }
    
    .count-value {
        font-size: 1.2rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}