* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b071e;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
}

/* Main Container with Dashed Pink Border */
.outer-container {
    border: 2px dashed #f45bbf;
    border-radius: 12px;
    padding: 30px 40px;
    width: 100%;
    max-width: 800px;
    background-color: #0b071e;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 25px;
}

.title {
    color: #f755c7;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.divider {
    height: 2px;
    background-color: #00d2ff;
    border: none;
    margin-bottom: 15px;
    width: 100%;
}

.subtitle {
    color: #a0a6cc;
    font-size: 0.95rem;
}

/* Inner Card */
.card {
    background-color: #0f0a2a;
    border: 1px solid #1a143d;
    border-radius: 12px;
    padding: 25px;
    max-width: 500px;
    margin: 0 auto;
}

/* Form Fields */
.field-group {
    margin-bottom: 20px;
}

.field-label {
    color: #00d2ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
}

.text-input {
    width: 100%;
    background-color: #0d0824;
    border: 1px solid #f755c7;
    border-radius: 6px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
}

.text-input::placeholder {
    color: #635f7d;
}

.color-picker-wrapper {
    background-color: #0d0824;
    border: 1px solid #231c4f;
    border-radius: 6px;
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.color-picker-label {
    color: #00d2ff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Color Picker Control */
.color-input-container {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #ffffff;
}

.color-input {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    cursor: pointer;
    border: none;
    background: none;
}

/* Action Button */
.btn-submit {
    width: 100%;
    background: linear-gradient(90deg, #f755c7 0%, #7b2cbf 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 25px;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    opacity: 0.9;
}

/* Gallery Section */
.gallery-title {
    color: #00d2ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    min-height: 80px;
}

.planet-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
}

/* 3D Sphere Effect */
.planet-sphere {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.planet-name {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    word-break: break-word;
}

.gallery-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.clear-btn {
    background: none;
    border: none;
    color: #00d2ff;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
}

.clear-btn:hover {
    color: #f755c7;
}

/* Page Footer */
.site-footer {
    width: 100%;
    border-top: 1px solid #1a143d;
    padding: 15px 0;
    text-align: center;
    color: #a0a6cc;
    font-size: 0.85rem;
    background-color: #080517;
}

.site-footer a {
    color: #00d2ff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}