body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #f0f8ff;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #ffcc00, #ff6f61);
    padding: 20px 0;
    text-align: center;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Add text shadow for depth */
}

nav ul {
    padding: 0;
    list-style: none;
    text-align: center;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    transition: color 0.3s; /* Add smooth color transition on hover */
}

nav ul li a:hover {
    color: #ff3333; /* Change color on hover */
}

main {
    padding: 150px 0 60px; /* Adjusted padding to account for fixed header */
}

#intro {
    text-align: center;
    margin-bottom: 20px;
}

#intro h2 {
    margin-top: 0;
    font-size: 2em;
    color: #ff6f61;
}

#intro p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2em;
    color: #333;
}

#cta {
    text-align: center;
    margin: 20px 0;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2em;
    color: #fff;
    background-color: #32cd32;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin: 10px;
}

.cta-button:hover {
    background-color: #228b22;
}

#features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.game-card {
    background: #fffacd;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 30%;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit text color */
    height: 200px; /* Adjusted height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-card h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: #663399;
}

.game-card p {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

footer {
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, #ffcc00, #ff6f61);
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }

    #features {
        flex-direction: column;
        align-items: center;
    }

    .game-card {
        width: 80%;
        margin-bottom: 20px;
    }

    .cta-button {
        width: 80%;
        margin: 10px 0;
    }
}

/* Chatbox Icon Styles */
#gamerbot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above the chatbox */
}

/* Chatbox Styles */
#chat-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    max-height: 400px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    z-index: 1000; /* Ensure it's below the icon */
}

.hidden {
    display: none;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
}

#user-input {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #32cd32;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #228b22;
}
