/* Eclipse of Two Moons - Mystical Theme */

body {
    background: #0a0a14;
    color: #e2dff5;
    font-family: "Montserrat", serif;
}

/* Mystical Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 25%, #16072c 0%, transparent 50%),
    radial-gradient(circle at 25% 75%, #1f0a3b 0%, transparent 50%);
    z-index: -2;
}

/* Stars in the background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(1px 1px at 50px 50px, #ffffff30 1%, transparent 0),
            radial-gradient(1px 1px at 100px 150px, #ffffff40 1%, transparent 0),
            radial-gradient(2px 2px at 150px 250px, #ffffff25 1%, transparent 0),
            radial-gradient(1px 1px at 200px 200px, #ffffff25 1%, transparent 0),
            radial-gradient(1px 1px at 250px 300px, #ffffff40 1%, transparent 0),
            radial-gradient(1px 1px at 300px 350px, #ffffff30 1%, transparent 0),
            radial-gradient(2px 2px at 350px 150px, #ffffff25 1%, transparent 0),
            radial-gradient(1px 1px at 400px 250px, #ffffff40 1%, transparent 0),
            radial-gradient(1px 1px at 450px 300px, #ffffff25 1%, transparent 0),
            radial-gradient(1px 1px at 500px 200px, #ffffff30 1%, transparent 0);
    background-size: 550px 550px;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4 {
    color: #e6e0ff;
    text-shadow: 0 0 15px #9d71ff, 0 0 25px #6e3db5;
}

h1 {
    color: #ffffff;
    text-shadow: 0 0 15px #b987ff, 0 0 25px #7842d9, 0 0 35px #5e2bb3;
}

/* Navigation Bar */
.navbar {
    background: rgba(13, 10, 30, 0.7);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #6e3db550;
}

.navbar a {
    color: #c4b8f0;
}

.navbar a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #a678ff;
    opacity: 1;
}

.navbar-container .hamburger-lines .line {
    background: #a678ff;
}

/* Eclipse Section Styling */
.casino-wrapper {
    border: 1px solid #6e3db5;
    box-shadow: 0 0 20px #6e3db530;
    overflow: hidden;
}

.casino-item {
    background: rgba(25, 18, 43, 0.7);
    border: 1px solid #6e3db580;
    box-shadow: inset 0 0 15px #6e3db530;
}

.casino-item h4 {
    color: #d4c7ff;
}

.casino-item p {
    color: #ad9fe0;
}

/* Buttons */
.btn {
    border: none;
    box-shadow: 0 0 10px rgba(109, 61, 181, 0.5);
}

.btn-red {
    background: linear-gradient(45deg, #8424b3, #c53f98);
}

.btn-white {
    background: linear-gradient(45deg, #d4c7ff, #ffffff);
    color: #16072c;
}

.btn-blue {
    background: linear-gradient(45deg, #2d2db3, #5151e0);
}

.btn-green {
    background: linear-gradient(45deg, #4E9800, #6cc01f);
}

.btn-light-red {
    background: linear-gradient(45deg, #b92f79, #e45e9e);
}

/* Footer Styling */
footer {
    background: rgba(13, 10, 30, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid #6e3db550;
}

.footer-age {
    background: rgba(25, 18, 43, 0.7);
}

.footer-links a {
    color: #c4b8f0;
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #a678ff;
}

/* Modal */
.modal-overlay {
    background-color: rgba(10, 7, 20, 0.95);
}

.modal {
    background: #1a1333;
    color: #e2dff5;
    box-shadow: 0 0 20px #6e3db580;
    border: 1px solid #6e3db5;
}

.modal .age-circle {
    background: linear-gradient(135deg, #8424b3, #c53f98);
}

.modal h2 {
    color: #d4c7ff;
}

.modal button {
    background: linear-gradient(45deg, #a678ff, #7842d9);
    color: #ffffff;
}

.modal button:hover {
    background: linear-gradient(45deg, #8955e0, #5e2bb3);
}

/* Content Sections */
.container {
    position: relative;
}

.col, .col-2, .col-3 {
    position: relative;
}

/* Add eclipse effects on specific elements */
#choose::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #6e3db510 0%, #3f1a7720 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #c53f9810 0%, #8424b320 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Second moon effect on specific section */
.info::before {
    content: '';
    position: absolute;
    top: 100px;
    right: 50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #2d2db310 0%, #5151e020 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Eclipse of Two Moons - Mystical Theme */

body {
    background: #0a0a14;
    color: #e2dff5;
    font-family: "Montserrat", serif;
}

/* Mystical Gradient Background with Aurora Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 75% 25%, #16072c 0%, transparent 50%),
            radial-gradient(circle at 25% 75%, #1f0a3b 0%, transparent 50%),
            linear-gradient(125deg, #2a114500 40%, #2a114530 45%, #2a114500 50%);
    animation: aurora 15s infinite alternate;
    z-index: -2;
}

@keyframes aurora {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 50%;
    }
    50% {
        background-position: 0% 0%, 0% 0%, 100% 50%;
    }
    100% {
        background-position: 0% 0%, 0% 0%, 0% 50%;
    }
}

/* Cosmic Dust Effect */
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%237842d9' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.3;
}

/* Stars in the background with twinkling effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(1px 1px at 50px 50px, #ffffff30 1%, transparent 0),
            radial-gradient(1px 1px at 100px 150px, #ffffff40 1%, transparent 0),
            radial-gradient(2px 2px at 150px 250px, #ffffff25 1%, transparent 0),
            radial-gradient(1px 1px at 200px 200px, #ffffff25 1%, transparent 0),
            radial-gradient(1px 1px at 250px 300px, #ffffff40 1%, transparent 0),
            radial-gradient(1px 1px at 300px 350px, #ffffff30 1%, transparent 0),
            radial-gradient(2px 2px at 350px 150px, #ffffff25 1%, transparent 0),
            radial-gradient(1px 1px at 400px 250px, #ffffff40 1%, transparent 0),
            radial-gradient(1px 1px at 450px 300px, #ffffff25 1%, transparent 0),
            radial-gradient(1px 1px at 500px 200px, #ffffff30 1%, transparent 0);
    background-size: 550px 550px;
    z-index: -1;
    animation: twinkle 10s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Typography with Cosmic Animation */
h1, h2, h3, h4 {
    color: #e6e0ff;
    text-shadow: 0 0 15px #9d71ff, 0 0 25px #6e3db5;
    position: relative;
}

h1 {
    color: #ffffff;
    text-shadow: 0 0 15px #b987ff, 0 0 25px #7842d9, 0 0 35px #5e2bb3;
    background: linear-gradient(45deg, #ffffff, #e6e0ff, #c4b8f0, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Navigation Bar with Nebula Effect */
.navbar {
    background: rgba(13, 10, 30, 0.7);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #6e3db550;
    box-shadow: 0 5px 15px rgba(110, 61, 181, 0.2);
    position: relative;
}

.navbar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, transparent 0%, #16072c 70%);
    opacity: 0.1;
    animation: rotate 30s linear infinite;
    z-index: -1;
}

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

.navbar a {
    color: #c4b8f0;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, transparent, #a678ff, transparent);
    transition: width 0.4s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #a678ff;
    opacity: 1;
}

.navbar-container .hamburger-lines .line {
    background: #a678ff;
}

/* Eclipse Section Styling with Cosmic Glow */
.casino-wrapper {
    border: 1px solid #6e3db5;
    box-shadow: 0 0 20px #6e3db530;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(25, 18, 43, 0.7), rgba(41, 24, 77, 0.5));
    position: relative;
    z-index: 1;
}

.casino-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 30%, rgba(156, 72, 193, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(110, 61, 181, 0.15) 0%, transparent 50%);
    z-index: -1;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.casino-item {
    background: rgba(25, 18, 43, 0.7);
    border: 1px solid #6e3db580;
    box-shadow:
            inset 0 0 15px #6e3db530,
            0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.casino-item:hover {
    transform: translateY(-5px);
    box-shadow:
            inset 0 0 20px #6e3db550,
            0 10px 20px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(110, 61, 181, 0.2);
}

.casino-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(156, 72, 193, 0.05) 100%);
    pointer-events: none;
}

.casino-item h4 {
    color: #d4c7ff;
    position: relative;
}

.casino-item h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #8424b3, transparent);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.casino-item p {
    color: #ad9fe0;
}

/* Magical Cosmic Buttons */
.btn {
    border: none;
    box-shadow: 0 0 10px rgba(109, 61, 181, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3), 0 0 15px rgba(109, 61, 181, 0.6);
}

.btn-red {
    background: linear-gradient(45deg, #8424b3, #c53f98);
}

.btn-white {
    background: linear-gradient(45deg, #d4c7ff, #ffffff);
    color: #16072c;
}

.btn-blue {
    background: linear-gradient(45deg, #2d2db3, #5151e0);
}

.btn-green {
    background: linear-gradient(45deg, #4E9800, #6cc01f);
}

.btn-light-red {
    background: linear-gradient(45deg, #b92f79, #e45e9e);
}

/* Footer Styling with Ethereal Effects */
footer {
    background: rgba(13, 10, 30, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid #6e3db550;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 10% 20%, rgba(110, 61, 181, 0.1) 0%, transparent 30%),
            radial-gradient(circle at 90% 80%, rgba(156, 72, 193, 0.1) 0%, transparent 30%);
    z-index: -1;
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(110, 61, 181, 0.3) 20%,
    rgba(156, 72, 193, 0.5) 50%,
    rgba(110, 61, 181, 0.3) 80%,
    transparent 100%);
}

.footer-age {
    background: rgba(25, 18, 43, 0.7);
    position: relative;
    overflow: hidden;
}

.footer-age::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(ellipse at center, transparent, rgba(110, 61, 181, 0.1));
    animation: rotate 60s linear infinite;
    z-index: -1;
}

.footer-links a {
    color: #c4b8f0;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #6e3db5, #c53f98);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #a678ff;
    transform: translateY(-2px);
}

/* Modal */
.modal-overlay {
    background-color: rgba(10, 7, 20, 0.95);
}

.modal {
    background: #1a1333;
    color: #e2dff5;
    box-shadow: 0 0 20px #6e3db580;
    border: 1px solid #6e3db5;
}

.modal .age-circle {
    background: linear-gradient(135deg, #8424b3, #c53f98);
}

.modal h2 {
    color: #d4c7ff;
}

.modal button {
    background: linear-gradient(45deg, #a678ff, #7842d9);
    color: #ffffff;
}

.modal button:hover {
    background: linear-gradient(45deg, #8955e0, #5e2bb3);
}

/* Content Sections */
.container {
    position: relative;
}

.col, .col-2, .col-3 {
    position: relative;
}

/* Eclipse Effects with Celestial Animation */
#choose::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background:
            radial-gradient(circle, rgba(110, 61, 181, 0.05) 0%, rgba(63, 26, 119, 0.1) 40%, transparent 70%),
            radial-gradient(circle at center, rgba(156, 72, 193, 0.1) 0%, transparent 30%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(5px);
    animation: eclipseGlow 15s infinite alternate ease-in-out;
}

@keyframes eclipseGlow {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background:
            radial-gradient(circle, rgba(197, 63, 152, 0.05) 0%, rgba(132, 36, 179, 0.1) 40%, transparent 70%),
            radial-gradient(circle at center, rgba(197, 63, 152, 0.08) 20%, transparent 50%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(3px);
    animation: moonOrbit 30s infinite linear;
}

@keyframes moonOrbit {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(30px) translateY(-20px); }
    50% { transform: translateX(0) translateY(0); }
    75% { transform: translateX(-30px) translateY(20px); }
    100% { transform: translateX(0) translateY(0); }
}

/* Second moon effect with eclipse animation */
.info::before {
    content: '';
    position: absolute;
    top: 100px;
    right: 50px;
    width: 150px;
    height: 150px;
    background:
            radial-gradient(circle, rgba(45, 45, 179, 0.05) 0%, rgba(81, 81, 224, 0.1) 40%, transparent 70%),
            radial-gradient(circle at center, rgba(110, 61, 181, 0.08) 10%, transparent 40%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(4px);
    animation: eclipsePhase 20s infinite alternate ease-in-out;
}

@keyframes eclipsePhase {
    0% {
        box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.3);
        background-position: 0% 0%;
    }
    50% {
        box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0);
        background-position: 100% 100%;
    }
    100% {
        box-shadow: inset 10px 10px 20px rgba(0, 0, 0, 0.3);
        background-position: 0% 0%;
    }
}

/* Eclipse Centerpiece for dramatic cosmic focus */
.container::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background:
            radial-gradient(circle, transparent 60%, rgba(13, 10, 30, 0.5) 100%),
            radial-gradient(circle, rgba(110, 61, 181, 0.03) 10%, transparent 60%);
    border-radius: 50%;
    z-index: -3;
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
    animation: cosmic 60s infinite alternate linear;
}

@keyframes cosmic {
    0%, 100% { transform: translate(-50%, -50%) scale(1); filter: hue-rotate(0deg); }
    25% { transform: translate(-50%, -50%) scale(1.1); filter: hue-rotate(20deg); }
    50% { transform: translate(-50%, -50%) scale(0.9); filter: hue-rotate(0deg); }
    75% { transform: translate(-50%, -50%) scale(1.2); filter: hue-rotate(-20deg); }
}

