* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.main-container {
    background: rgba(48, 43, 99, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    padding: 30px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
}

header h1 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 10px;
    text-transform: uppercase;
}

header p { color: #d1d1d1; margin-bottom: 30px; }

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    background: rgba(157, 0, 255, 0.1);
    border: 1px solid #ffd700;
    color: #ffd700;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.btn:hover {
    background: #ffd700;
    color: #0f0c29;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.result-box {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px;
    text-align: left;
    border-left: 5px solid #ffd700;
}

#res-title { color: #ffd700; font-size: 1rem; margin-bottom: 10px; }
#res-content { color: #fff; font-size: 1rem; line-height: 1.5; }

@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }