body {
    font-family: 'Gothic', serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    text-align: center;
}

.title-container {
    margin: 20px 0;
    padding: 20px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.game-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: -2;
}

.game-description {
    font-size: 1.2rem;
    margin: 20px 0;
    line-height: 1.6;
}

.cta-button {
    background-color: #ff6b6b;
    color: #1a1a2e;
    border: none;
    padding: 15px 30px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 20px 0;
    z-index: 1;
}

.cta-button:hover {
    transform: scale(1.1);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background-color: #16213e;
    padding: 20px;
    border-radius: 10px;
}

.feature-icon {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 10px;
}

#bubbleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 5; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content p, h2 {
    color: black;
}

.bubble {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(0, 162, 255, 0.7);
    box-shadow: 0 0 20px rgba(0, 162, 255, 0.5);
    animation: float 2s infinite ease-in-out;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}