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

body {
    min-height: 100vh;
    background: radial-gradient(ellipse at top, #4a0a1a 0%, #1a0008 50%, #0d0005 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}

.search-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 50px 20px 60px;
}

.search-container {
    width: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.search-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* LOGO */
.logo {
    font-size: 60px;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 30px rgba(255, 80, 80, 0.45);
    margin-bottom: 32px;
    letter-spacing: -1px;
    text-align: center;
}

/* SEARCH BOX */
.search-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.search-box input[type="text"] {
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 0, 6, 0.88);
    color: white;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-box input[type="text"]:focus {
    border-color: rgba(255, 80, 120, 0.55);
}

.search-box button {
    width: 100%;
    padding: 17px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #e0205a 0%, #e87530 100%);
    color: white;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.search-box button:hover { opacity: 0.87; }
.search-box button:active { transform: scale(0.98); }

/* ERROR MESSAGE */
.search-error {
    display: none;
    width: 100%;
    background: rgba(220, 40, 40, 0.12);
    border: 1.5px solid rgba(220, 60, 60, 0.35);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #ff7070;
    margin-bottom: 28px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.search-error.show {
    display: block;
}

/* REDIRECT NOTICE */
.redirect-notice {
    display: none;
    width: 100%;
    background: rgba(0, 180, 80, 0.1);
    border: 1.5px solid rgba(0, 220, 100, 0.3);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #70ffaa;
    margin-bottom: 28px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.redirect-notice.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* INFO */
.info {
    text-align: center;
    margin-bottom: 32px;
    line-height: 2.4;
}

.info p {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.text-neon {
    color: #ff6090;
    font-weight: 700;
}

.text-strong {
    font-weight: 900;
    letter-spacing: 0.8px;
    color: #ff4a7a;
}

.safe-link {
    margin-top: 8px;
}

/* SITE BANNER */
.site-banner {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.site-banner span {
    padding: 9px 20px;
    border: 1.5px solid rgba(255, 200, 100, 0.5);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 220, 130, 0.88);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.1s;
    letter-spacing: 0.5px;
    user-select: none;
}

.site-banner span:hover {
    background: rgba(255, 200, 100, 0.12);
    color: #ffdf80;
    transform: scale(1.04);
}

.site-banner span:active { transform: scale(0.97); }

/* FOOTER */
.footer {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    text-align: center;
    line-height: 2.2;
    margin-top: auto;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .logo { font-size: 40px; }
    .search-box input[type="text"] { padding: 14px 18px; }
    .search-box button { padding: 14px; font-size: 15px; }
}
