* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* Main Card */
.container {
    width: 95%;
    max-width: 800px;
    background: linear-gradient(135deg, #020617, #020617cc);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.1);
}

/* Title */
h2 {
    margin-top: 0;
    text-align: center;
    font-size: 28px;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Input */
textarea {
    width: 100%;
    height: 120px;
    background: #020617;
    color: #38bdf8;
    border: 2px solid #1e293b;
    border-radius: 12px;
    padding: 15px;
    font-size: 14px;
    resize: vertical;
    outline: none;
    transition: 0.2s;
}

textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf855;
}

/* Button */
button {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    color: black;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px #38bdf8aa;
}

/* Loading */
.loading {
    margin-top: 20px;
    text-align: center;
    color: #38bdf8;
}

/* Output */
.output {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Result card */
.result-block {
    background: linear-gradient(135deg, #020617, #020617dd);
    border-radius: 15px;
    padding: 20px;
    animation: fadeIn 0.4s ease-in;
    border: 1px solid #1e293b;
    box-shadow: 0 0 25px rgba(56,189,248,0.15);
}

.result-block:hover {
    box-shadow: 0 0 40px rgba(56,189,248,0.35);
}

.result-block p {
    margin: 6px 0;
    font-size: 14px;
}

.domain-title {
    font-size: 18px;
    font-weight: bold;
    color: #38bdf8;
}

/* Cloudflare status */
.cf-full {
    color: #22c55e;
    font-weight: bold;
}
.cf-partial {
    color: #eab308;
    font-weight: bold;
}
.cf-none {
    color: #ef4444;
    font-weight: bold;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
