/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body and Typography */
body {
    font-family: "Montserrat", sans-serif;
    background-color: #0f2027;
    color: #fff;
    line-height: 1.6;
}

/* Sections */
section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(6px);
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
}
a {
    color: #00ffe0; /* default link color */
    text-decoration: none;
}

a:hover {
    color: #ff00ff; /* hover color */
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

nav a {
    color: #00ffe0;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0%;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #00ffe0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
}

/* Projects */
/* --- Project Cards Hover Animation --- */
.project-card {
    flex: 0 0 260px;
    background: #1e1e2f;
    border-radius: 10px;
    padding: 20px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px rgba(0, 255, 224, 0.4);
    border: none;
}
.project-card img {
    width: 100%;
    max-width: 50px; /* or whatever size works for your layout */
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.more-projects-note {
    text-align: center;
    margin: 30px auto;
    color: #ccc;
}

.more-projects-note hr {
    width: 60%;
    border: none;
    height: 1px;
    background: #a442ff;
    margin-bottom: 10px;
}

.more-projects-note a {
    color: #a442ff;
    font-weight: 500;
    text-decoration: none;
}

.more-projects-note a:hover {
    text-decoration: underline;
}

/* Games */
.game-card {
    margin-bottom: 30px;
}

/* Services Section */
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service {
    flex: 1 1 200px;
    background: #1e1e2f;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
    border: 1px solid #00ffe0;
    box-shadow: 0 0 15px rgba(0, 255, 224, 0.5);
}
body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #111;
    color: #eee;
}
header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Contact */
form {
    max-width: 500px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form textarea {
    padding: 10px;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    width: 100%;
}

form button {
    padding: 12px;
    background: #00ffe0;
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #00bfae;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.socials a {
    color: #00bfae;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: #f95738;
}

/* WhatsApp Floating Button */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 255, 213, 0.8);
    transition: transform 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.15);
}

/* Footer */
footer {
    text-align: center;
    font-size: 14px;
    padding: 30px 10px;
    color: #aaa;
    background: #00000090;
}

/* Scrollbar for horizontal project list */
.scroll-x::-webkit-scrollbar {
    height: 6px;
}
.scroll-x::-webkit-scrollbar-thumb {
    background: #00ffe0;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 12px;
    }

    .services-list {
        flex-direction: column;
        align-items: center;
    }

    .game-card iframe {
        height: 300px;
    }

    .socials {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .float-btn {
        width: 45px;
        height: 45px;
    }
}
