/* ===========================
   Bang Play Studio
   style.css
===========================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    background: linear-gradient(135deg,
            #231068,
            #63c6dd,
            #182947,
            #231068);
    background-size: 400% 400%;
    animation: bgMove 15s ease infinite;
    overflow-x: hidden;
}

/* Background Animation */

@keyframes bgMove {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}

/* ========================= */

#particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

#particles canvas {
    width: 100%;
    height: 100%;
    display: block;
}

nav a.active {
    color: #63c6dd;
}

nav a.active::after {
    width: 100%;
}

/* ========================= */

header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 8%;

    backdrop-filter: blur(20px);

    background: rgba(0, 0, 0, .18);

    border-bottom: 1px solid rgba(255, 255, 255, .08);

    z-index: 1000;

}

.logo-box {

    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 22px;

    font-weight: bold;

}

.logo-box img {

    width: 55px;

    height: 55px;

    border-radius: 16px;

    transition: .4s;

}

.logo-box img:hover {

    transform: rotate(8deg) scale(1.08);

}

.logo-box h2 a {
    text-decoration: none;
    color: inherit;
}

/* ========================= */

nav {

    display: flex;

    gap: 28px;

}

nav a {

    text-decoration: none;

    color: white;

    font-weight: 600;

    transition: .35s;

    position: relative;

}

nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -6px;

    width: 0;

    height: 2px;

    background: #63c6dd;

    transition: .35s;

}

nav a:hover {

    color: #63c6dd;

}

nav a:hover::after {

    width: 100%;

}

/* ========================= */

section {

    padding: 110px 8%;

}

/* ========================= */

.hero {

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

}

.hero-content {

    max-width: 850px;

}

.hero h1 {

    font-size: 68px;

    line-height: 1.2;

    margin-bottom: 25px;

}

.hero p {

    font-size: 20px;

    line-height: 1.8;

    opacity: .92;

}

/* ========================= */

.hero-buttons {

    margin-top: 45px;

    display: flex;

    justify-content: center;

    gap: 18px;

    flex-wrap: wrap;

}

/* ========================= */

.btn {

    display: inline-block;

    padding: 15px 34px;

    border-radius: 50px;

    text-decoration: none;

    color: white;

    border: 2px solid rgba(255, 255, 255, .3);

    transition: .35s;

    font-weight: bold;

}

.btn:hover {

    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, .3);

}

.btn.primary {

    background: #63c6dd;

    color: #14213d;

    border: none;

}

.btn.primary:hover {

    background: white;

}

/* ========================= */

.section-title {

    text-align: center;

    font-size: 42px;

    margin-bottom: 60px;

}

/* ========================= */

.about-grid,

.service-grid,

.game-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;

}

/* ========================= */

.glass-card {

    background: rgba(255, 255, 255, .08);

    border: 1px solid rgba(255, 255, 255, .12);

    backdrop-filter: blur(12px);

    border-radius: 24px;

    padding: 35px;

    transition: .4s;

}

.glass-card:hover {

    transform: translateY(-12px);

    background: rgba(255, 255, 255, .14);

    box-shadow: 0 20px 45px rgba(0, 0, 0, .25);

}

.glass-card h3 {

    margin-bottom: 18px;

    font-size: 26px;

}

.glass-card p {

    line-height: 1.8;

}

/* ========================= */

.game-card {

    background: rgba(255, 255, 255, .08);

    overflow: hidden;

    border-radius: 24px;

    transition: .4s;

    border: 1px solid rgba(255, 255, 255, .12);

}

.game-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 25px 50px rgba(0, 0, 0, .35);

}

.game-card > img {

    width: 100%;

    height: 420px;

    object-fit: cover;

    transition: .5s;

}

.game-card:hover img {

    transform: scale(1.08);

}

.game-info {

    padding: 25px;

}

.game-info h3 {

    margin-bottom: 15px;

}

.game-info p {

    opacity: .9;

    line-height: 1.8;

    margin-bottom: 20px;

}

.play-btn {

    display: inline-block;

    padding: 12px 26px;

    border-radius: 30px;

    background: #63c6dd;

    color: #182947;

    text-decoration: none;

    font-weight: bold;

    transition: .35s;

}

.play-btn:hover {

    background: white;

    transform: scale(1.05);

}

/* ========================= */

.counter {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    text-align: center;

}

.counter-item {

    padding: 35px;

}

.number {

    display: block;

    font-size: 64px;

    font-weight: bold;

    color: #63c6dd;

    margin-bottom: 15px;

}

/* ========================= */

.contact-box {

    max-width: 650px;

    margin: auto;

    text-align: center;

    padding: 45px;

    border-radius: 24px;

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, .12);

}

.contact-box a {

    color: #63c6dd;

    text-decoration: none;

    font-size: 20px;

}

.contact-box p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.margin-top-bottom {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* ========================= */

footer {

    padding: 60px 20px;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, .08);

    background: rgba(0, 0, 0, .15);

}

footer img {

    width: 90px;

    border-radius: 22px;

    margin-bottom: 18px;

}

footer h3 {

    margin-bottom: 10px;

}

footer p {

    opacity: .8;

    line-height: 1.8;

}

/* ========================= */

.reveal {

    opacity: 0;

    transform: translateY(80px);

}

.reveal.active {

    opacity: 1;

    transform: translateY(0);

    transition: 1s;

}


.btn,
.play-btn {
    position: relative;
    overflow: hidden;
}

.ripple {

    position: absolute;

    border-radius: 50%;

    background: rgba(255, 255, 255, .5);

    transform: scale(0);

    animation: ripple .6s linear;

    pointer-events: none;

}

@keyframes ripple {

    to {

        transform: scale(4);

        opacity: 0;

    }

}

/* ===========================
   Footer Links
=========================== */

.footer-links {

    margin: 20px 0;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;

}

.footer-links a {

    color: #ffffff;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;

}

.footer-links a:hover {

    color: #63c6dd;

    text-shadow: 0 0 12px rgba(99, 198, 221, .8);

}

footer a {

    color: #63c6dd;

    text-decoration: none;

}

footer a:hover {

    color: #ffffff;

}

.facebook {

    background: #1877F2;

    color: white;

    border: none;

}

.facebook:hover {

    background: #166FE5;

    color: white;

    box-shadow: 0 0 25px rgba(24, 119, 242, .6);

}

/* ==========================
   Game Logo
========================== */

.game-info {

    text-align: center;
    padding: 25px;
}

.game-info img {
    width: 100px;
    height: 100px;
}

.game-logo {

    object-fit: cover;

    border-radius: 22px;

    /* margin: 0 auto 18px; */

    display: inline;

    border: 3px solid rgba(255, 255, 255, .15);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .35);

    transition: .35s;

}

.game-card:hover .game-logo {

    transform:
        scale(1.08) rotate(-3deg);

    box-shadow:
        0 0 25px rgba(99, 198, 221, .8);

}