/* ===================== GLOBAL ===================== */
* {
    box-sizing: border-box;
}

html,
body {
    font-family: 'Roboto', sans-serif;
    background-color: #171616;
    color: #fff;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    user-select: none;
    /* Disable text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Disable image dragging & right-click save */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

/* ===================== MAIN CONTENT ===================== */
.desktop-main {
    display: block;
}

.mobile-main {
    display: none;
}

main {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    align-items: center;
    flex: 1;
}

/* Heading */
h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #ffcc00;
    margin-bottom: 50px;
}

/* ===================== PIXEL BOARD ===================== */
.pixel-board {
    width: 1000px;
    height: 400px;
    background: #2a2a2a;
    margin: 0 auto;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 20px #ffcc00,
        0 0 40px rgba(255, 204, 0, 0.4),
        inset 0 0 20px rgba(255, 204, 0, 0.2);
}

.full-image {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    object-fit: cover;
    display: block;
}

/* ===================== BUBBLE ITEMS ===================== */
.bubble-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(31, 30, 30, 0.85);
    border-radius: 25px;
    padding: 20px 25px;
    width: 280px;
    box-shadow: 0 0 20px #6f00ffff, 0 0 40px rgba(140, 0, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.bubble-item img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 110, 255, 0.6);
}

.bubble-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #6f00ffff, 0 0 60px rgba(140, 0, 255, 0.6);
}

/* Floating Animation */
@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Bubble Positions & Animations */
.bubble1 {
    top: 200px;
    left: 0%;
    flex-direction: row;
    animation: floatY 4s ease-in-out infinite;
}

.bubble2 {
    top: 300px;
    left: 70%;
    flex-direction: row-reverse;
    animation: floatY 5s ease-in-out infinite;
}

.bubble3 {
    top: 450px;
    left: 30%;
    flex-direction: row;
    animation: floatY 6s ease-in-out infinite;
}

/* ===================== BOTTOM TEXT ===================== */
.bottom-text {
    max-width: 800px;
    margin: 150px auto 0;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    color: #ffffff;
}

/* ===================== RESPONSIVE ===================== */
@media(max-width: 1024px) {
    .desktop-main {
        display: none;
    }

    .mobile-main {
        display: block;
    }

    .pixel-board {
        width: 100%;
        max-width: 95%;
        height: 250px;
        margin: 30px auto;
        border-radius: 20px;
    }

    .bubble-item {
        position: relative;
        flex-direction: row;
        width: 95%;
        max-width: 500px;
        margin: 20px auto;
        padding: 15px 18px;
        gap: 12px;
        animation: none;
        box-shadow: 0 0 12px rgba(140, 0, 255, 0.35);
    }

    .bubble-item img {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }

    .bubble1,
    .bubble2,
    .bubble3 {
        top: auto;
        left: auto;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .bottom-text {
        margin-top: 30px;
        font-size: 0.95rem;
        padding: 0 15px;
    }
}

@media(max-width: 600px) {
    .pixel-board {
        height: 200px;
    }

    .bubble-item {
        flex-direction: column;
        text-align: center;
        padding: 12px 15px;
    }

    .bubble-item img {
        width: 50px;
        height: 50px;
    }

    .bottom-text {
        font-size: 0.9rem;
    }
}