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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a1e3e 0%, #1a2b52 50%, #2c3e66 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00d4ff, #0099ff, #007bff);
    background-size: 200% 100%;
    animation: techFlow 2s ease-in-out infinite;
}

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

.header-link {
    text-decoration: none;
    display: block;
    margin-bottom: 30px;
}

.header-link h1 {
    margin: 0;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
    position: relative;
}

.header-link h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    border-radius: 1px;
}

p {
    margin: 20px 0;
    font-size: 1.1rem;
    color: #e1e8f0;
}

.keep-open-text {
    color: #00d4ff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.keep-open-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

#user-ip {
    color: #007bff;
    font-size: 1.4rem;
    font-weight: bold;
    background: rgba(0, 123, 255, 0.15);
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-block;
    margin: 15px 0;
    border: 1px solid rgba(0, 123, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    letter-spacing: 0.5px;
}

#status-message {
    margin-top: 25px;
    color: #b8c5d3;
    font-size: 1.05rem;
    font-style: italic;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .header-link h1 {
        font-size: 1.8rem;
    }
    
    #user-ip {
        font-size: 1.2rem;
        padding: 10px 16px;
    }
    
    .keep-open-text {
        font-size: 1rem;
        padding: 15px;
    }
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Teknolojik efekt animasyonu */
@keyframes dataFlow {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* Ana site ile uyumlu mavi accent rengi */
:root {
    --primary-blue: #007bff;
    --secondary-blue: #00d4ff;
    --dark-bg: #0a1e3e;
}

.mst-logo {
    width: 320px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
    transition: transform 0.3s ease;
}

.mst-logo:hover {
    transform: scale(1.05);
}

.mst-logo-outside {
    display: block;
    margin: 40px auto 0 auto;
    width: 90px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 123, 255, 0.25));
    z-index: 10;
    position: relative;
    transition: transform 0.3s ease;
}

.mst-logo-outside:hover {
    transform: scale(1.07);
}

@media (max-width: 600px) {
    .mst-logo-outside {
        width: 60px;
        margin: 20px auto 0 auto;
    }
    .mst-logo {
        width: 200px;
    }
}

input[type="text"]#answer {
    width: 70%;
    padding: 13px 18px;
    border-radius: 16px;
    border: 1.5px solid var(--secondary-blue);
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: 1.13rem;
    margin-bottom: 20px;
    outline: none;
    transition: border 0.25s, box-shadow 0.25s, background 0.25s;
    box-shadow: 0 2px 12px rgba(0,212,255,0.10);
    letter-spacing: 0.2px;
    text-align: center;
}
input[type="text"]#answer:focus {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 0 12px 2px var(--secondary-blue);
    background: rgba(0,212,255,0.13);
}

button[type="submit"] {
    background: linear-gradient(90deg, #00d4ff 0%, #007bff 100%);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 13px 38px;
    font-size: 1.13rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 16px rgba(0,212,255,0.13);
    transition: background 0.25s, transform 0.18s, box-shadow 0.18s;
    margin-top: 10px;
    letter-spacing: 0.3px;
    outline: none;
    position: relative;
    z-index: 1;
}
button[type="submit"]:hover, button[type="submit"]:focus {
    background: linear-gradient(90deg, #0099ff 0%, #00d4ff 100%);
    transform: translateY(-1px) scale(1.035);
    box-shadow: 0 6px 28px rgba(0,212,255,0.18);
} 