/* Galaxy Theme Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.6) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(109, 8, 139, 0.6) 0%, transparent 60%),
                radial-gradient(circle at 40% 40%, rgba(8, 192, 248, 0.5) 0%, transparent 60%),
                radial-gradient(circle at 60% 20%, rgba(198, 120, 255, 0.4) 0%, transparent 60%),
                radial-gradient(circle at 10% 60%, rgba(101, 3, 131, 0.4) 0%, transparent 60%);
    animation: nebula-pulse 15s infinite ease-in-out;
    z-index: -1;
}

/* Particle Effects */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s infinite ease-in-out;
}

.particle:nth-child(odd) {
    animation-duration: 8s;
    animation-delay: -2s;
}

.particle:nth-child(even) {
    animation-duration: 10s;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes nebula-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Stars Animation */
.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Specific Stars */
.star:nth-child(1) { width: 2px; height: 2px; top: 10%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { width: 3px; height: 3px; top: 30%; left: 70%; animation-delay: 0.5s; }
.star:nth-child(3) { width: 2px; height: 2px; top: 50%; left: 40%; animation-delay: 1s; }
.star:nth-child(4) { width: 4px; height: 4px; top: 70%; left: 10%; animation-delay: 1.5s; }
.star:nth-child(5) { width: 2px; height: 2px; top: 20%; left: 80%; animation-delay: 2s; }
.star:nth-child(6) { width: 3px; height: 3px; top: 60%; left: 60%; animation-delay: 0.3s; }
.star:nth-child(7) { width: 2px; height: 2px; top: 40%; left: 30%; animation-delay: 0.8s; }
.star:nth-child(8) { width: 4px; height: 4px; top: 80%; left: 50%; animation-delay: 1.2s; }
.star:nth-child(9) { width: 2px; height: 2px; top: 15%; left: 90%; animation-delay: 1.7s; }
.star:nth-child(10) { width: 3px; height: 3px; top: 85%; left: 25%; animation-delay: 0.2s; }
.star:nth-child(11) { width: 2px; height: 2px; top: 35%; left: 15%; animation-delay: 0.6s; }
.star:nth-child(12) { width: 4px; height: 4px; top: 55%; left: 75%; animation-delay: 1.3s; }
.star:nth-child(13) { width: 2px; height: 2px; top: 25%; left: 45%; animation-delay: 1.8s; }
.star:nth-child(14) { width: 3px; height: 3px; top: 75%; left: 35%; animation-delay: 0.4s; }
.star:nth-child(15) { width: 2px; height: 2px; top: 45%; left: 85%; animation-delay: 0.9s; }
.star:nth-child(16) { width: 4px; height: 4px; top: 65%; left: 5%; animation-delay: 1.4s; }
.star:nth-child(17) { width: 2px; height: 2px; top: 5%; left: 55%; animation-delay: 1.9s; }
.star:nth-child(18) { width: 3px; height: 3px; top: 90%; left: 65%; animation-delay: 0.1s; }
.star:nth-child(19) { width: 2px; height: 2px; top: 50%; left: 95%; animation-delay: 0.7s; }
.star:nth-child(20) { width: 4px; height: 4px; top: 30%; left: 5%; animation-delay: 1.1s; }

.container {
    text-align: center;
    z-index: 1;
    position: relative;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

p {
    font-size: 1.2em;
    margin-bottom: 40px;
    animation: fadeIn 2s ease-in-out 0.5s both;
}

#download-btn {
    background: linear-gradient(45deg, #87CEEB, #4682B4);
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 1.5em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(135, 206, 235, 0.5); }
    50% { box-shadow: 0 0 30px rgba(135, 206, 235, 0.8); }
    100% { box-shadow: 0 0 20px rgba(135, 206, 235, 0.5); }
}

#download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(135, 206, 235, 0.8);
}

#download-btn.disabled {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    cursor: not-allowed;
    opacity: 0.6;
}

#download-btn.disabled:hover {
    transform: none;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

/* Windows icon is now in HTML */

.other-platforms {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
    cursor: not-allowed;
}

.platform-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.platform-label {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.3);
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.show {
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 15px;
    padding: 0;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.close-btn {
    color: #cccccc;
    font-size: 2em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ffffff;
}

.modal-body {
    padding: 25px;
    color: #e0e0e0;
    line-height: 1.6;
}

.modal-body p {
    margin: 15px 0;
    font-size: 1em;
}

.available-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(135, 206, 235, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(135, 206, 235, 0.3);
    margin: 20px 0;
}

.available-platform i {
    color: #87CEEB;
    font-size: 1.5em;
}

.available-platform span {
    color: #87CEEB;
    font-weight: bold;
}

.coming-soon {
    color: #ffd700;
    font-style: italic;
    margin: 15px 0 0 0;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.close-modal-btn {
    background: linear-gradient(45deg, #87CEEB, #4682B4);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
}

.close-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        max-height: 90vh;
        margin: 10px;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-header h3 {
        font-size: 1.3em;
    }

    .modal-body {
        padding: 20px;
        font-size: 0.9em;
    }

    .modal-footer {
        padding: 15px 20px;
    }

    .close-modal-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Platform available styling */
.platform.available {
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform.available:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.platform.available .platform-icon {
    color: #87CEEB;
}

.platform.available .platform-label {
    color: #87CEEB;
    font-weight: bold;
}

/* Add stars to body */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}
