/* 🌟 Dark Background & Centering */
body {
    background: black;
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* 🌟 Glowing Header */
h1 {
    text-shadow: 0 0 10px cyan, 0 0 20px cyan;
}

p {
    font-size: 18px;
}

/* 🌟 Learn & Program Section */
#learn-program {
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

button {
    background: blue;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
}

button:hover {
    background: darkblue;
    box-shadow: 0 0 10px cyan;
}

/* 🌟 Team Section */
.team-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 220px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: 0.3s;
}

.team-member:hover {
    box-shadow: 0 0 15px cyan;
}

.team-member h3 {
    color: cyan;
    text-shadow: 0 0 10px cyan;
}

.team-member p {
    color: white;
}

/* 🏠 Home Button */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.home-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

.home-button:hover {
    background: linear-gradient(45deg, #00d4ff, #007bff);
    box-shadow: 0 0 15px rgba(0, 212, 255, 1);
    transform: scale(1.05);
}

/* 🔗 Member Button */
.member-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #ff4e50, #fc913a);
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 78, 80, 0.7);
}

.member-button:hover {
    background: linear-gradient(45deg, #fc913a, #ff4e50);
    box-shadow: 0 0 15px rgba(255, 78, 80, 1);
    transform: scale(1.05);
}

/* 🌟 Responsive Design for TDLD & Game */
@media (max-width: 768px) {
    /* 🔹 Adjust Header Size */
    h1 {
        font-size: 22px;
    }

    /* 📌 Adjust Learn & Program Section */
    #learn-program {
        width: 90%;
        padding: 15px;
    }

    /* 🏆 Adjust Team Members */
    .team-container {
        flex-direction: column;
        align-items: center;
    }

    .team-member {
        width: 80%;
        margin-bottom: 15px;
    }

    /* 🎮 Game Board */
    #gameBoard {
        gap: 3px;
        width: min(95vw, 400px);
        height: min(95vw, 400px);
    }

    /* 🔲 Tic-Tac-Toe Cells */
    .cell {
        font-size: 1.5rem;
        width: 100%;
        height: auto;
    }

    /* 🏆 Status Message */
    #status {
        font-size: 18px;
        margin-top: 10px;
    }

    /* 📌 Dropdown & Buttons */
    select, button {
        font-size: 16px;
        padding: 10px;
        width: 80%;
        max-width: 300px;
        margin-top: 10px;
    }

    /* 🔹 Ensure Layout is Centered */
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 20px;
    }
}

/* 🔹 Extra Small Screens (Phones) */
@media (max-width: 480px) {
    h1 {
        font-size: 18px;
    }

    #gameBoard {
        width: min(95vw, 350px);
        height: min(95vw, 350px);
    }

    .cell {
        font-size: 1.2rem;
    }

    select, button {
        font-size: 14px;
        padding: 8px;
    }
    }
