/* ===== BASE STYLES ===== */
:root {
    --primary-color: #00f0ff;
    --secondary-color: #0051ff;
    --accent-color: #ff00e6;
    --dark-color: #0a0b1a;
    --darker-color: #05060f;
    --light-color: #ffffff;
    --grid-color: rgba(0, 240, 255, 0.1);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--darker-color), var(--dark-color));
    color: var(--light-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* ===== BACKGROUND EFFECTS ===== */
.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(30px);
    }
}

.circles .circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.2;
    animation: pulse 10s infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
    animation-delay: 2s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: -100px;
    animation-delay: 4s;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
}

.circle-4 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: -125px;
    animation-delay: 6s;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

.scanner-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    top: 50%;
    animation: scannerMove 5s ease-in-out infinite alternate;
    box-shadow: 0 0 15px var(--primary-color);
    opacity: 0.7;
}

@keyframes scannerMove {
    0% {
        top: 0;
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    45% {
        opacity: 0.7;
    }
    50% {
        top: 100%;
        opacity: 0;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* ===== CONTENT WRAPPER ===== */
.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* ===== LOADING BAR ===== */
.loading-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.loading-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--accent-color));
    background-size: 300% 100%;
    animation: loading 3s infinite, moveGradient 3s linear infinite;
}

@keyframes loading {
    0% {
        width: 0;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

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

/* ===== HEADER ===== */
.header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.logo {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: hexagonDraw 3s forwards, hexagonGlow 5s infinite alternate;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

@keyframes hexagonDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes hexagonGlow {
    0% {
        filter: drop-shadow(0 0 3px var(--primary-color));
    }
    100% {
        filter: drop-shadow(0 0 10px var(--primary-color));
    }
}

.gear-icon {
    position: absolute;
    color: var(--primary-color);
    font-size: 2.5rem;
    animation: gearRotate 10s linear infinite;
}

@keyframes gearRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    flex-grow: 1;
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Glitch effect */
.glitch {
    position: relative;
    color: var(--light-color);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

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

.glitch::before {
    color: var(--accent-color);
    z-index: -1;
    animation: glitch-effect 3s infinite;
}

.glitch::after {
    color: var(--primary-color);
    z-index: -2;
    animation: glitch-effect 2s infinite reverse;
}

@keyframes glitch-effect {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

.status-line {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 10px;
}

.pulse {
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 230, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 230, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 230, 0);
    }
}

.status-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
}

.info-text {
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.info-text p {
    margin-bottom: 0.5rem;
    font-weight: 300;
}

/* ===== COUNTDOWN ===== */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.countdown-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    margin-top: auto;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    color: var(--light-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        width: 60px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .title {
        font-size: 2rem;
    }
    
    .status-line {
        padding: 0.4rem 1rem;
    }
    
    .status-text {
        font-size: 0.8rem;
    }
    
    .countdown {
        gap: 0.7rem;
    }
    
    .countdown-item {
        width: 50px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.6rem;
    }
    
    .info-text {
        font-size: 0.9rem;
    }
}
