body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at top, #0b1d3a, #000000);
    color: white;
}

.container {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 12px;
    box-shadow: 0 0 20px #1e90ff;
}

h1 {
    text-align: center;
    color: #1e90ff;
    margin-bottom: 30px;
}

.section {
    margin-bottom: 25px;
}

.section h2 {
    color: #87cefa;
    margin-bottom: 10px;
}

label {
    display: inline-block;
    margin-right: 15px;
    cursor: pointer;
}

input[type="radio"] {
    accent-color: #1e90ff;
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

.age-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #ccc;
}

.output {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #1e90ff;
    border-radius: 10px;
    text-align: center;
}

#result {
    font-size: 20px;
    letter-spacing: 2px;
    color: #ffffff;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 25px;
    background-color: #1e90ff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    color: black;
    cursor: pointer;
}

button:hover {
    background-color: #63b3ff;
}

body {
    margin: 0;
    font-family: 'Audiowide', Arial, sans-serif;
    background: radial-gradient(circle at 20% 30%, #0b1d3a, #000000 80%);
    color: white;
    overflow-x: hidden;
    position: relative;
}



h1, h2 {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Audiowide', cursive;
}

#result {
    font-size: 22px;
    letter-spacing: 4px;
    color: #87cefa;
    font-family: 'Audiowide', cursive;
}


/* Body with starfield + nebula effect */
body {
    margin: 0;
    font-family: 'Orbitron', Arial, sans-serif;
    background: radial-gradient(circle at 20% 30%, #0b1d3a, #000000 80%);
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Starfield using pseudo-elements */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><circle cx="50" cy="50" r="1" fill="white"/><circle cx="150" cy="120" r="1" fill="white"/><circle cx="90" cy="180" r="1" fill="white"/></svg>') repeat;
    animation: starfield 120s linear infinite;
    z-index: -1;
}

/* Starfield animation */
@keyframes starfield {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

/* Container for content */
.container {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.6); /* Slight transparency to see stars */
    border-radius: 12px;
    box-shadow: 0 0 30px #1e90ff;
}

/* Headings */
h1 {
    text-align: center;
    color: #1e90ff;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

h2 {
    color: #87cefa;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Labels and inputs */
label {
    display: inline-block;
    margin-right: 15px;
    cursor: pointer;
}

input[type="radio"] {
    accent-color: #1e90ff;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    background-color: rgba(0,0,0,0.8);
    border: 1px solid #1e90ff;
    border-radius: 6px;
    color: white;
    font-size: 16px;
}

input[type="text"]::placeholder {
    color: #aaa;
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

.age-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #ccc;
}

/* Output */
.output {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #1e90ff;
    border-radius: 10px;
    text-align: center;
}

#result {
    font-size: 22px;
    letter-spacing: 4px;
    color: #87cefa;
}

/* Button */
button {
    width: 100%;
    padding: 12px;
    margin-top: 25px;
    background-color: #1e90ff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    color: black;
    cursor: pointer;
}

button:hover {
    background-color: #63b3ff;
}

select {
    width: 100%;
    padding: 10px;
    background-color: rgba(0,0,0,0.8);
    border: 1px solid #1e90ff;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    appearance: none; /* removes default arrow on some browsers */
}

select option {
    background-color: black;
    color: white;
}

select:focus {
    outline: 2px solid #1e90ff;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.color-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #1e90ff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.color-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px #1e90ff;
}

.color-btn.selected {
    box-shadow: 0 0 15px #1e90ff;
    transform: scale(1.3);
}

