:root {
    /* Cyber-Pop Shrine Theme */
    --bg-color: #0b0f19;
    --text-color: #e2e8f0;
    --accent-color: #00ffcc; /* Neon Cyan */
    --accent-hover: #00ccaa;
    --neon-pink: #ff007f;
    --shrine-red: #ff3366;
    --border-color: rgba(0, 255, 204, 0.3);
    --form-bg: rgba(15, 20, 35, 0.8);
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.8;
    background-image: radial-gradient(circle at 50% 0%, #1a1025 0%, #0b0f19 80%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.2rem;
    letter-spacing: 0.1em;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
    font-weight: 900;
}

.subtitle {
    color: var(--neon-pink);
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

/* Cyber Mascot Styling */
.mascot-container {
    text-align: center;
    margin-bottom: 3rem;
}

.urana-chan-avatar {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
    position: relative;
    max-width: 300px;
}

.urana-chan-avatar img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.speech-bubble {
    background: rgba(10, 15, 30, 0.9);
    border: 2px solid var(--neon-pink);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    position: relative;
    margin-top: 15px;
    max-width: 90%;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
    font-weight: bold;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 12px 12px 12px;
    border-style: solid;
    border-color: transparent transparent var(--neon-pink) transparent;
}

.input-section, .questions-section {
    background-color: var(--form-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

h2 {
    color: var(--accent-color);
    border-bottom: 2px dashed var(--border-color);
    padding-bottom: 0.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    text-align: center;
}

h3 {
    color: var(--neon-pink);
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #a0aec0;
    font-size: 1rem;
    font-weight: bold;
}

.required {
    background: var(--shrine-red);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

input[type="text"],
input[type="date"],
select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

input[type="text"]:focus,
input[type="date"]:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s;
    font-weight: normal;
}

.radio-group label:hover {
    border-color: var(--accent-color);
    background-color: rgba(0, 255, 204, 0.05);
}

.blood-type-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.blood-type-group label {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    color: #a0aec0;
    transition: all 0.3s;
    font-weight: bold;
}

.blood-type-group label:hover,
.blood-type-group input[type="radio"]:checked + label {
    border-color: var(--neon-pink);
    color: #fff;
    background-color: rgba(255, 0, 127, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.disclaimer-box {
    background: rgba(255, 255, 0, 0.1);
    border: 1px solid #d4af37;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #0088cc 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.6);
    background: linear-gradient(135deg, #00ffea 0%, #0099ff 100%);
}

.back-btn {
    display: block;
    max-width: 250px;
    width: 80%;
    margin: 3rem auto 0;
    padding: 1rem;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.back-btn:hover {
    background: rgba(0, 255, 204, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #666;
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
