/* Modern Neon Theme */
:root {
    --primary: #8000FF;
    --secondary: #8000FF;
    --accent: #ff0;
    --dark: #000;
    --light: #fff;
    --bg: #06071b;
    --card-bg: rgba(255, 255, 255, 0.03);
    --success: #0f0;
    --warning: #ff0;
    --error: #f00;
    --info: #0ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg);
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Noise Effect */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANxM8mAAAACHRSTlMzMzMzMzMzM85JBgUAAAA1SURBVDjLY2CgJmBWENElyhQUtICQaCUhUSpJCGMSFQWLEpUEixKVhIgSFQWJEpUEiVKXAADMdwwRCrDKxwAAAABJRU5ErkJggg==');
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(6, 7, 27, 0.4), var(--bg));
    z-index: 2;
    pointer-events: none;
}

.maintenance-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--light);
}

.logo-text span {
    color: var(--primary);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--light);
    text-shadow: 
        0 0 10px var(--primary),
        2px 2px var(--primary),
        -2px -2px var(--secondary);
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

/* Status Ring */
.status-display {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 2rem 0;
}

.status-ring {
    width: 100%;
    height: 100%;
    position: relative;
}

.status-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.status-ring circle {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
}

.status-ring circle:first-child {
    stroke: rgba(255, 255, 255, 0.1);
}

.status-ring circle:nth-child(2) {
    stroke: var(--primary);
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    animation: ring-progress 2s ease-out forwards;
}

.status-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.percentage {
    font-family: 'Orbitron', sans-serif;
        font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
    }

.label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* Countdown */
.countdown-wrapper {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.countdown-segment {
    text-align: center;
}

.time-unit {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.time-unit::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--primary),
        transparent
    );
    animation: rotate 4s linear infinite;
}

.time-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);
    text-shadow: 0 0 10px var(--primary);
    position: relative;
    z-index: 1;
}

.time-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-top: 1rem;
    color: var(--primary);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 2rem 0;
}

.info-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    }

.info-card::before {
    content: '';
    position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--primary);
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.card-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-status.active {
    background: rgba(0, 255, 0, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.card-status.upgrading {
    background: rgba(255, 255, 0, 0.1);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.card-status.updating {
    background: rgba(0, 255, 255, 0.1);
    color: var(--info);
    border: 1px solid var(--info);
}

.card-status.standby {
    background: rgba(255, 0, 0, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    position: relative;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s infinite;
}

/* Message Box */
.message-box {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.message-title {
    display: flex;
        align-items: center;
    gap: 1rem;
    font-family: 'Orbitron', sans-serif;
        font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    }

.message-title i {
    font-size: 1.8rem;
    }

.message-content {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    }

.message-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

.contact-info {
    font-size: 0.9rem;
    }

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    }

.contact-info a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
    }

.social-links {
    display: flex;
    gap: 1rem;
    }

.social-link {
    color: var(--light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    }

.social-link:hover {
    color: var(--primary);
    transform: translateY(-3px);
    text-shadow: 0 0 10px var(--primary);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
}
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
}
    to {
        transform: rotate(360deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
}
    100% {
        transform: translateX(100%);
}
}

@keyframes ring-progress {
    from {
        stroke-dashoffset: 1;
    }
    to {
        stroke-dashoffset: 0.35;
}
}

@keyframes glitch-anim {
    0% {
        clip: rect(44px, 450px, 56px, 0);
}
    5% {
        clip: rect(12px, 450px, 76px, 0);
    }
    10% {
        clip: rect(54px, 450px, 96px, 0);
}
    15% {
        clip: rect(34px, 450px, 46px, 0);
    }
    20% {
        clip: rect(64px, 450px, 86px, 0);
    }
    25% {
        clip: rect(14px, 450px, 26px, 0);
}
    30% {
        clip: rect(84px, 450px, 96px, 0);
    }
    35% {
        clip: rect(24px, 450px, 36px, 0);
}
    40% {
        clip: rect(74px, 450px, 86px, 0);
    }
    45% {
        clip: rect(4px, 450px, 16px, 0);
}
    50% {
        clip: rect(94px, 450px, 106px, 0);
    }
    55% {
        clip: rect(34px, 450px, 46px, 0);
}
    60% {
        clip: rect(64px, 450px, 76px, 0);
    }
    65% {
        clip: rect(24px, 450px, 36px, 0);
}
    70% {
        clip: rect(74px, 450px, 86px, 0);
    }
    75% {
        clip: rect(4px, 450px, 16px, 0);
    }
    80% {
        clip: rect(94px, 450px, 106px, 0);
    }
    85% {
        clip: rect(34px, 450px, 46px, 0);
    }
    90% {
        clip: rect(64px, 450px, 76px, 0);
    }
    95% {
        clip: rect(14px, 450px, 26px, 0);
}
    100% {
        clip: rect(84px, 450px, 96px, 0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .maintenance-container {
        padding: 1rem;
    }

    .logo {
        margin-bottom: 2rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .countdown-wrapper {
        gap: 1rem;
    }

    .time-unit {
        padding: 1rem;
    }

    .time-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .maintenance-container {
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1.5rem;
    }

    .logo-icon {
        font-size: 2rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .glitch {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .status-display {
        width: 150px;
        height: 150px;
        margin: 1.5rem 0;
    }

    .percentage {
        font-size: 2rem;
    }

    .countdown-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .countdown-segment {
        width: 100%;
    }

    .time-unit {
        padding: 1rem;
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .time-value {
        font-size: 2rem;
    }

    .time-label {
        font-size: 0.7rem;
        margin-top: 0.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 1.5rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .message-box {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .message-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .message-content {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .message-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-top: 1rem;
    }

    .contact-info {
        font-size: 0.8rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-link {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .maintenance-container {
        padding: 0.8rem;
    }

    .logo-icon {
        font-size: 1.8rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .glitch {
        font-size: 1.5rem;
    }

    .status-display {
        width: 120px;
        height: 120px;
    }

    .percentage {
        font-size: 1.8rem;
    }

    .countdown-wrapper {
        padding: 0;
    }

    .time-unit {
        height: 90px;
    }

    .time-value {
        font-size: 1.8rem;
    }

    .time-label {
        font-size: 0.6rem;
    }

    .info-card {
        padding: 1.2rem;
    }

    .card-status {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }

    .message-box {
        padding: 1.2rem;
    }

    .message-title {
        font-size: 1.1rem;
    }

    .message-content {
        font-size: 0.85rem;
    }

    .social-link {
        font-size: 1.2rem;
    }
}

/* Yatay Mobil Görünüm */
@media (max-height: 600px) and (orientation: landscape) {
    .maintenance-container {
        padding: 0.8rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .status-display {
        width: 100px;
        height: 100px;
        margin: 1rem 0;
    }

    .countdown-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.8rem;
    }

    .time-unit {
        height: 80px;
        padding: 0.8rem;
    }

    .time-value {
        font-size: 1.5rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .message-box {
        margin-top: 1rem;
    }
}

/* Karanlık Mod Desteği */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #030308;
        --card-bg: rgba(255, 255, 255, 0.02);
    }
}

/* Yüksek Kontrast Modu */
@media (prefers-contrast: high) {
    :root {
        --primary: #00ffff;
        --secondary: #ff00ff;
        --accent: #ffff00;
    }

    .info-card,
    .time-unit,
    .message-box {
        border-width: 2px;
    }

    .text-shadow {
        text-shadow: none;
    }
}

/* Animasyon Tercihi */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
} 