/* Start Screen Styles */
.start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #101020 0%, #000000 80%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.start-screen::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 25% 25%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 75%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(2px 2px at 15% 85%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 85% 15%, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    background-repeat: repeat;
    background-size: 200px 200px, 150px 150px, 250px 250px, 300px 300px, 150px 150px;
    opacity: 0.3;
    z-index: -1;
}

.start-screen-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    background-color: rgba(0, 9, 15, 0.7);
    box-shadow: 0 0 30px rgba(0, 185, 215, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 185, 215, 0.3);
}

.game-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #30cfd0;
    text-shadow: 0 0 10px rgba(48, 207, 208, 0.7);
    text-align: center;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 80%;
    max-width: 300px;
}

.start-button {
    background-color: rgba(48, 207, 208, 0.1);
    color: #fff;
    border: 1px solid #30cfd0;
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.start-button:hover {
    background-color: rgba(48, 207, 208, 0.3);
    box-shadow: 0 0 10px rgba(48, 207, 208, 0.5);
}

.start-button:active {
    transform: scale(0.98);
}

.version {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    background-color: rgba(7, 20, 30, 0.95);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(48, 207, 208, 0.3);
    box-shadow: 0 0 20px rgba(48, 207, 208, 0.2);
    backdrop-filter: blur(10px);
}

.modal-content h2 {
    color: #30cfd0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.7rem;
    text-shadow: 0 0 5px rgba(48, 207, 208, 0.5);
}

.control-section {
    margin-bottom: 1.5rem;
}

.control-section h3 {
    color: #30cfd0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(48, 207, 208, 0.3);
    padding-bottom: 0.3rem;
}

.control-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    align-items: center;
}

.key {
    background-color: rgba(48, 207, 208, 0.2);
    border: 1px solid #30cfd0;
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    min-width: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: white;
}

.modal-close-button {
    background-color: rgba(48, 207, 208, 0.1);
    color: #fff;
    border: 1px solid #30cfd0;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    margin: 1.5rem auto 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-close-button:hover {
    background-color: rgba(48, 207, 208, 0.3);
    box-shadow: 0 0 10px rgba(48, 207, 208, 0.5);
}

.modal-close-button:active {
    transform: scale(0.98);
}

/* Gameplay Section Styles */
.gameplay-section {
    margin-bottom: 2rem;
    background-color: rgba(0, 15, 30, 0.6);
    border-radius: 6px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(48, 207, 208, 0.15);
}

.gameplay-section h3 {
    color: #30cfd0;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    text-align: center;
}

.gameplay-section p {
    color: #fff;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.gameplay-section h4 {
    color: #30cfd0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.gameplay-section ul {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.gameplay-section li {
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.gameplay-section li strong {
    color: #30cfd0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .game-title {
        font-size: 2rem;
    }
    
    .start-button {
        padding: 0.8rem 1rem;
        font-size: 1.1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        width: 85%;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .control-section h3 {
        font-size: 1.2rem;
    }
    
    .gameplay-section {
        padding: 1rem;
    }
    
    .gameplay-section h3 {
        font-size: 1.2rem;
    }
    
    .gameplay-section h4 {
        font-size: 1rem;
    }
    
    .gameplay-section li {
        font-size: 0.9rem;
    }
} 