@charset "UTF-8";

.tools-parent-container {
    position: relative;
    color: #FFF;
}

.tools-parent-container .stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    pointer-events: none;

}


.tools-parent-container .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.tools-parent-container .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.tools-parent-container .header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.tools-parent-container .header h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color:#1e1e1e;
    background-clip: text;
}

.tools-parent-container .header p{
    color:#1e1e1e;

}

.quiz-header p{
    color: #FFF;
}


.tools-parent-container .main-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    width: 100%;
    position: relative;
    padding: var(--fs-16-32) 0;
}

.tools-parent-container .menu-card {
    background: linear-gradient(45deg, #dfab46 40%, #dfb86d 40%, #dfab46 61%);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    max-width: 220px;
    border: 3px solid transparent;
    position: relative;
    z-index: 2;
}

.tools-parent-container .menu-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #FFD700;
}

.tools-parent-container .menu-card h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #FFD700;
}

.tools-parent-container .menu-card p {
    font-size: 1rem;
    line-height: 1.5;
}

.tools-parent-container .section {
    display: none;
    animation: fadeIn 0.5s ease-in;
    padding: var(--fs-20-42);
}

.tools-parent-container .section.active {
    display: block;
}

.tools-parent-container .back-btn {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tools-parent-container .back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.tools-parent-container {
    /* Quiz Styles */
}

.tools-parent-container .quiz-header {
    text-align: center;
    margin-bottom: 30px;
}

.tools-parent-container .quiz-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #FFD700;
}

.tools-parent-container .difficulty-selection {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tools-parent-container .difficulty-btn {
    background: linear-gradient(145deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 120px;
}

.tools-parent-container .difficulty-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.4);
}

.tools-parent-container .quiz-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tools-parent-container .quiz-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
    color: #FFF;
}

.tools-parent-container .lives {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tools-parent-container .life-btn {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tools-parent-container .life-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tools-parent-container .timer {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
}

.tools-parent-container .question-container {
    text-align: center;
    margin-bottom: 30px;
}

.tools-parent-container .question {
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #FFF;
}

.tools-parent-container .start-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tools-parent-container .start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.tools-parent-container .options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.tools-parent-container .option {
    background: linear-gradient(45deg, #dfab46 40%, #dfb86d 40%, #dfab46 61%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: left;
}

.tools-parent-container .option:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.tools-parent-container .option.correct {
    background: linear-gradient(145deg, #4CAF50, #45a049);
}

.tools-parent-container .option.wrong {
    background: linear-gradient(145deg, #f44336, #d32f2f);
}

.tools-parent-container {
    /* Planet Facts Styles */
}

.tools-parent-container .planet-facts {
    max-width: 1000px;
    margin: 0 auto;
}

.tools-parent-container .solar-system {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 40px 0;
    overflow: hidden;
    border-radius: 20px;
    background: radial-gradient(circle, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.tools-parent-container .sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #FFD700, #FFA500);
    border-radius: 50%;
    box-shadow: 0 0 30px #FFD700;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 30px #FFD700;
    }

    to {
        box-shadow: 0 0 50px #FFD700, 0 0 70px #FFA500;
    }
}

.tools-parent-container .planet {
    position: absolute;
    border-radius: 50%;
    animation: orbit linear infinite;
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(var(--orbit-radius)) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(var(--orbit-radius)) rotate(-360deg);
    }
}

.tools-parent-container .planet-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tools-parent-container .planet-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tools-parent-container .planet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tools-parent-container .planet-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tools-parent-container .planet-emoji {
    font-size: 2.5rem;
}

.tools-parent-container .planet-name {
    font-size: 1.8rem;
    color: #FFD700;
}

.tools-parent-container .planet-details {
    list-style: none;
}

.tools-parent-container .planet-details li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.tools-parent-container .planet-details li:before {
    content: "🌟";
    position: absolute;
    left: 0;
}

.tools-parent-container {
    /* Astronaut Styles */
}

.tools-parent-container .astronaut-facts {
    max-width: 1000px;
    margin: 0 auto;
}

.tools-parent-container .astronaut-animation {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 40px 0;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.tools-parent-container .floating-astronaut {
    position: absolute;
    font-size: 3rem;
    animation: float 4s ease-in-out infinite;
    top: 50%;
    left: 20%;
}

.tools-parent-container .space-station {
    position: absolute;
    font-size: 2.5rem;
    top: 20%;
    right: 20%;
    animation: rotate 8s linear infinite;
}

.tools-parent-container .rocket {
    position: absolute;
    font-size: 2rem;
    bottom: 20%;
    left: 60%;
    animation: rocket-fly 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rocket-fly {

    0%,
    100% {
        transform: translateX(0px) rotate(0deg);
    }

    50% {
        transform: translateX(30px) rotate(10deg);
    }
}

.tools-parent-container .astronaut-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tools-parent-container .astronaut-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tools-parent-container .astronaut-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tools-parent-container .astronaut-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tools-parent-container .astronaut-emoji {
    font-size: 2.5rem;
}

.tools-parent-container .astronaut-name {
    font-size: 1.8rem;
    color: #FFD700;
}

.tools-parent-container .astronaut-details {
    list-style: none;
}

.tools-parent-container .astronaut-details li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.tools-parent-container .astronaut-details li:before {
    content: "🚀";
    position: absolute;
    left: 0;
}

.tools-parent-container {
    /* Constellation Styles */
}

.tools-parent-container .constellation-facts {
    max-width: 1000px;
    margin: 0 auto;
}

.tools-parent-container .ursa-major-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 40px 0;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

.tools-parent-container .night-sky {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.tools-parent-container .constellation-display {
    position: relative;
    width: 100%;
    height: 80%;
}

.tools-parent-container .ursa-star {
    position: absolute;
    font-size: 1.8rem;
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 10;
}

.tools-parent-container .ursa-star:hover {
    transform: scale(1.3);
    filter: brightness(1.5);
}

.tools-parent-container .ursa-star.connected {
    color: #FFD700;
    transform: scale(1.2);
    filter: brightness(1.8);
    text-shadow: 0 0 10px #FFD700;
}

.tools-parent-container .constellation-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    z-index: 5;
    animation: drawLine 0.8s ease-out;
    box-shadow: 0 0 5px #FFD700;
}

@keyframes drawLine {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 100%;
        opacity: 1;
    }
}

.tools-parent-container .constellation-name {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffd7003d;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    transition: all 0.5s ease;
}

.tools-parent-container .watch-animation-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tools-parent-container .watch-animation-btn:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.tools-parent-container .watch-animation-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.tools-parent-container .constellation-sparkle {
    position: absolute;
    font-size: 1.5rem;
    pointer-events: none;
    z-index: 15;
}

.tools-parent-container .constellation-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tools-parent-container .constellation-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tools-parent-container .constellation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tools-parent-container .constellation-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tools-parent-container .constellation-emoji {
    font-size: 2.5rem;
}

.tools-parent-container .constellation-name {
    font-size: 1.8rem;
    color: #FFD700;
}

.tools-parent-container .constellation-details {
    list-style: none;
}

.tools-parent-container .constellation-details li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.tools-parent-container .constellation-details li:before {
    content: "⭐";
    position: absolute;
    left: 0;
}

.tools-parent-container {
    /* Celebration Modal */
}

.tools-parent-container .celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.tools-parent-container .celebration-content {
    background: linear-gradient(45deg, #dfab46 40%, #dfb86d 40%, #dfab46 61%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
    animation: bounceIn 0.6s ease-out;
}

.tools-parent-container .stars-rating {
    font-size: 3rem;
    margin: 20px 0;
}

.tools-parent-container .certificate {
    background: linear-gradient(145deg, #FFD700, #FFA500);
    color: #333;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    border: 3px solid #FF6347;
}

.tools-parent-container {
    /* Animations */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }

    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.tools-parent-container {
    /* Confetti animation */
}

.tools-parent-container .confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #FFD700;
    animation: confetti-fall 3s linear infinite;
    z-index: 1001;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.tools-parent-container {
    /* Success message */
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    20%,
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.tools-parent-container {
    /* Responsive Design */
}

@media (max-width: 768px) {
    .tools-parent-container .container {
        padding: 10px;
    }

    .tools-parent-container .main-menu {
        flex-direction: column;
        align-items: center;
    }

    .tools-parent-container .menu-card {
        min-width: 90%;
        max-width: 90%;
    }

    .tools-parent-container .difficulty-selection {
        flex-direction: column;
        align-items: center;
    }

    .tools-parent-container .quiz-info {
        flex-direction: column;
        text-align: center;
    }

    .tools-parent-container .options {
        grid-template-columns: 1fr;
    }

    .tools-parent-container .planet-info,
    .tools-parent-container .astronaut-info,
    .tools-parent-container .constellation-info {
        grid-template-columns: 1fr;
    }

    .tools-parent-container .ursa-major-container {
        height: 400px;
    }

    .tools-parent-container .ursa-star {
        font-size: 1.5rem;
    }

    .tools-parent-container .constellation-name {
        font-size: 1.2rem;
        bottom: 50px;
    }

    .tools-parent-container .watch-animation-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .tools-parent-container .header h1 {
        font-size: 2rem;
    }

    .tools-parent-container .quiz-header h2 {
        font-size: 2rem;
    }

    .tools-parent-container .planet-emoji,
    .tools-parent-container .astronaut-emoji,
    .tools-parent-container .constellation-emoji {
        font-size: 2rem;
    }

    .tools-parent-container .planet-name,
    .tools-parent-container .astronaut-name,
    .tools-parent-container .constellation-name {
        font-size: 1.4rem;
    }

    .tools-parent-container .ursa-major-container {
        height: 350px;
    }

    .tools-parent-container .ursa-star {
        font-size: 1.3rem;
    }

    .tools-parent-container .constellation-name {
        font-size: 1rem;
        bottom: 40px;
    }

    .tools-parent-container .watch-animation-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

.tools-parent-container {
    /* Accessibility improvements */
}

@media (prefers-reduced-motion: reduce) {

    .tools-parent-container *,
    .tools-parent-container *::before,
    .tools-parent-container *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.tools-parent-container {
    /* High contrast mode */
}

@media (prefers-contrast: high) {

    .tools-parent-container .menu-card,
    .tools-parent-container .planet-card,
    .tools-parent-container .astronaut-card,
    .tools-parent-container .constellation-card {
        border: 2px solid white;
    }

    .tools-parent-container .difficulty-btn,
    .tools-parent-container .start-btn,
    .tools-parent-container .back-btn,
    .tools-parent-container .watch-animation-btn {
        border: 2px solid white;
    }
}

.tools-parent-container {
    /* Focus styles for keyboard navigation */
}

.tools-parent-container button:focus,
.tools-parent-container .menu-card:focus,
.tools-parent-container .planet-card:focus,
.tools-parent-container .constellation-card:focus {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

.tools-parent-container {
    /* Loading states */
}

.tools-parent-container .loading {
    opacity: 0.6;
    pointer-events: none;
}

.tools-parent-container .loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #FFD700;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.tools-parent-container {
    /* Custom scrollbar */
}

.tools-parent-container ::-webkit-scrollbar {
    width: 8px;
}

.tools-parent-container ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.tools-parent-container ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 4px;
}

.tools-parent-container ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #FFA500, #FF6347);
}

.tools-parent-container {
    /* Selection styles */
}

.tools-parent-container ::selection {
    background: rgba(255, 215, 0, 0.3);
    color: white;
}

.tools-parent-container ::-moz-selection {
    background: rgba(255, 215, 0, 0.3);
    color: white;
}

.tools-parent-container {
    /* Smooth scrolling */
}

.tools-parent-container html {
    scroll-behavior: smooth;
}

.tools-parent-container {
    /* Touch-friendly adjustments */
}

@media (pointer: coarse) {
    .tools-parent-container .ursa-star {
        font-size: 2rem;
        padding: 10px;
    }

    .tools-parent-container .watch-animation-btn {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}

.tools-parent-container {
    /* Final responsive adjustments */
}

@media (min-width: 1200px) {
    .tools-parent-container .container {
        max-width: 1400px;
    }

    .tools-parent-container .main-menu {
        gap: 30px;
    }

    .tools-parent-container .menu-card {
        min-width: 240px;
    }

    .tools-parent-container .ursa-major-container {
        height: 600px;
    }
}

.tools-parent-container {
    /* Ensure all interactive elements are accessible */
}

.tools-parent-container [role=button],
.tools-parent-container [tabindex="0"] {
    cursor: pointer;
}

.tools-parent-container [aria-disabled=true] {
    opacity: 0.5;
    pointer-events: none;
}

.tools-parent-container {
    /* Final touch for smooth interactions */
}

.tools-parent-container * {
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.3);
}

.tools-parent-container {
    /* Ensure proper z-index stacking */
}


.tools-parent-container .container {
    z-index: 1;
}

.tools-parent-container .celebration {
    z-index: 1000;
}

.tools-parent-container .confetti {
    z-index: 1001;
}

.tools-parent-container constellation-canvas-container {
    position: relative;
    width: 100%;
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
}

.tools-parent-container .constellation-large-header {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    border-radius: 20px;
}

.tools-parent-container #constellation-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.tools-parent-container .constellation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-parent-container .constellation-title {
    color: rgba(255, 215, 0, 0.8);
    font-size: 2rem;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}