* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(0, 255, 150, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(0, 140, 255, 0.08),
            transparent 30%
        ),
        #050b12;

    color: white;

    min-height: 100vh;
}


/* ================= HEADER ================= */

.header {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;

    background: rgba(4, 10, 17, 0.94);

    border-bottom: 1px solid rgba(0, 180, 255, 0.2);

    position: sticky;
    top: 0;

    z-index: 100;

    backdrop-filter: blur(15px);
}


.logo {
    display: flex;
    align-items: center;

    font-size: 24px;
    font-weight: 800;
}

.logo-icon {
    margin-right: 9px;
    font-size: 27px;
}

.logo .yono {
    color: #25f28a;
}

.logo .diwa {
    color: #11bfff;
}


.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: #b9c6d5;

    text-decoration: none;

    font-size: 15px;

    transition: 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #20e994;
}


.menu-button {
    display: none;

    background: none;

    border: 0;

    color: white;

    font-size: 30px;

    cursor: pointer;
}


/* ================= HERO ================= */

.hero {

    padding: 70px 5% 55px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(0, 255, 120, 0.04),
            rgba(0, 100, 255, 0.06)
        );

}


.welcome {
    font-size: 25px;

    color: #e7eef6;

    margin-bottom: 5px;
}


.hero h1 {

    font-size: clamp(42px, 7vw, 72px);

    font-weight: 900;

    margin-bottom: 15px;

    letter-spacing: -2px;
}


.hero h1 span:first-child {
    color: #25f28a;
}

.hero h1 span:nth-child(2) {
    color: #13bfff;
}


.hero-description {

    max-width: 600px;

    margin: auto;

    color: #aab8c8;

    font-size: 17px;

    line-height: 1.7;
}


/* ================= CHOICE CARDS ================= */

.section-choice {

    max-width: 1050px;

    margin: 50px auto 0;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}


.choice-card {

    min-height: 220px;

    border-radius: 20px;

    padding: 30px;

    display: flex;

    align-items: center;

    gap: 25px;

    text-align: left;

    color: white;

    cursor: pointer;

    transition: 0.25s;

    position: relative;

    overflow: hidden;
}


.choice-card:hover {
    transform: translateY(-6px);
}


.yono-card {

    border: 1px solid #12dc7d;

    background:
        linear-gradient(
            135deg,
            #06251c,
            #063c2b
        );

    box-shadow:
        0 0 35px rgba(0, 230, 130, 0.08);
}


.diwa-card {

    border: 1px solid #159fff;

    background:
        linear-gradient(
            135deg,
            #06182e,
            #092f59
        );

    box-shadow:
        0 0 35px rgba(0, 150, 255, 0.08);
}


.choice-icon {

    min-width: 85px;

    height: 85px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-size: 38px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.18);
}


.choice-text h2 {

    font-size: 29px;

    margin-bottom: 9px;
}


.choice-text p {

    color: #b9c9d6;

    line-height: 1.5;

    font-size: 14px;
}


.explore {

    display: inline-block;

    margin-top: 18px;

    padding: 11px 18px;

    border-radius: 25px;

    font-size: 14px;

    font-weight: bold;
}


.yono-card .explore {
    background: #09cf73;
}

.diwa-card .explore {
    background: #078ce8;
}


.explore b {
    margin-left: 8px;
}


/* ================= GAME SECTIONS ================= */

.games-section {

    max-width: 1250px;

    margin: 25px auto;

    padding: 35px;

    border-radius: 22px;

    background: rgba(3, 14, 24, 0.9);

    border: 1px solid rgba(0, 190, 255, 0.2);
}


.yono-section {
    border-color: rgba(0, 230, 130, 0.25);
}


.diwa-section {
    border-color: rgba(0, 150, 255, 0.25);
}


.section-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}


.section-label {

    color: #22e993;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 2px;
}


.section-heading h2 {

    font-size: 32px;

    margin: 5px 0;
}


.section-heading p {

    color: #8291a2;
}


.search-box {

    display: flex;

    align-items: center;

    gap: 10px;

    width: 300px;

    padding: 12px 15px;

    border: 1px solid #25445e;

    border-radius: 25px;

    background: #071522;
}


.search-box input {

    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: white;

    font-size: 14px;
}


.search-box input::placeholder {
    color: #6f8295;
}


/* ================= GAME GRID ================= */

.game-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}


.game-card {

    background: #081622;

    border: 1px solid #1b3449;

    border-radius: 15px;

    padding: 18px;

    text-align: center;

    transition: 0.2s;
}


.game-card:hover {

    transform: translateY(-4px);

    border-color: #20e994;
}


.game-image {

    width: 90px;

    height: 90px;

    margin: auto auto 15px;

    border-radius: 20px;

    display: grid;

    place-items: center;

    font-size: 26px;

    font-weight: 900;

    background:
        linear-gradient(
            135deg,
            #0c5b3e,
            #13d77b
        );
}


.diwa-section .game-image {

    background:
        linear-gradient(
            135deg,
            #103e75,
            #168fe8
        );
}


.game-card h3 {

    font-size: 16px;

    margin-bottom: 7px;
}


.game-card p {

    font-size: 12px;

    color: #7f91a2;

    line-height: 1.4;
}


.referral-button {

    display: block;

    margin-top: 15px;

    padding: 10px;

    border-radius: 9px;

    color: white;

    background: #08c975;

    text-decoration: none;

    font-size: 13px;

    font-weight: bold;
}


.diwa-section .referral-button {
    background: #078eea;
}


/* ================= MOBILE NAV ================= */

.mobile-nav {

    display: none;
}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    .header {
        height: 65px;

        padding: 0 18px;
    }


    .logo {
        font-size: 20px;
    }


    .desktop-nav {
        display: none;
    }


    .menu-button {
        display: block;
    }


    .hero {

        padding: 50px 18px 40px;

    }


    .welcome {
        font-size: 20px;
    }


    .hero h1 {
        font-size: 45px;

        letter-spacing: -1px;
    }


    .hero-description {
        font-size: 15px;
    }


    .section-choice {

        grid-template-columns: 1fr;

        gap: 15px;

        margin-top: 35px;
    }


    .choice-card {

        min-height: 180px;

        padding: 22px;

        gap: 17px;
    }


    .choice-icon {

        min-width: 65px;

        height: 65px;

        font-size: 28px;
    }


    .choice-text h2 {
        font-size: 23px;
    }


    .choice-text p {
        font-size: 12px;
    }


    .games-section {

        margin: 15px 10px;

        padding: 20px 12px;

        border-radius: 18px;
    }


    .section-heading {

        display: block;
    }


    .section-heading h2 {
        font-size: 27px;
    }


    .search-box {

        width: 100%;

        margin-top: 18px;
    }


    .game-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }


    .game-card {

        padding: 13px 9px;
    }


    .game-image {

        width: 75px;

        height: 75px;

        border-radius: 17px;
    }


    .game-card h3 {
        font-size: 14px;
    }


    .game-card p {
        font-size: 11px;
    }


    .referral-button {
        font-size: 11px;
        padding: 9px 5px;
    }


    .mobile-nav {

        position: fixed;

        bottom: 0;

        left: 0;

        right: 0;

        height: 65px;

        display: flex;

        justify-content: space-around;

        align-items: center;

        background: rgba(4,10,17,0.97);

        border-top: 1px solid #1d3549;

        z-index: 200;
    }


    .mobile-nav-item {

        color: #8095aa;

        text-decoration: none;

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 4px;

        font-size: 11px;
    }


    .mobile-nav-item span {
        font-size: 20px;
    }


    .mobile-nav-item.active {
        color: #21e994;
    }
/* Game card image fix */
.game-card img,
.game-card .game-image,
.game-card .game-image img {
  display: block;
  width: 100%;
  height: 180px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* Prevent uploaded images from escaping their card */
.game-card {
  overflow: hidden;
}

.game-card .game-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

    body {
        padding-bottom: 65px;
    }

}
/* GAME IMAGE SIZE FIX */

.game-card .game-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.game-card .game-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
/* =========================================================
   YONODIWAGAMES ABOUT SECTION
   ========================================================= */

.about-section {
    position: relative;
    width: 100%;
    padding: 90px 20px;
    overflow: hidden;
}


/* Main glass card */

.about-card {
    position: relative;
    width: min(1400px, 100%);
    min-height: 680px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;

    padding: 70px 80px;

    border: 1px solid rgba(38, 151, 255, 0.65);
    border-radius: 30px;

    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(76, 0, 255, 0.22),
            transparent 35%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(0, 180, 255, 0.12),
            transparent 35%
        ),
        rgba(5, 12, 38, 0.88);

    box-shadow:
        0 0 40px rgba(0, 100, 255, 0.12),
        inset 0 0 50px rgba(40, 90, 255, 0.04);

    backdrop-filter: blur(15px);
}


/* Subtle border glow */

.about-card::before {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            120deg,
            transparent 30%,
            rgba(0, 204, 255, 0.12),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.about-left {
    position: relative;
    z-index: 3;
    max-width: 650px;
}


/* ABOUT badge */

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 9px 25px;

    border: 1px solid #21cfff;
    border-radius: 999px;

    color: #5ddcff;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;

    background: rgba(0, 180, 255, 0.05);

    box-shadow:
        0 0 15px rgba(0, 200, 255, 0.18);

    margin-bottom: 28px;
}

.about-badge span {
    font-size: 17px;
}


/* Main heading */

.about-left h2 {
    margin: 0;

    font-size: clamp(45px, 5vw, 78px);

    line-height: 0.98;

    font-weight: 900;

    letter-spacing: -3px;

    color: #ffffff;
}

.about-left h2 span {
    background:
        linear-gradient(
            90deg,
            #19c9ff,
            #7d5cff,
            #df2bff
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* Description */

.about-description {
    max-width: 650px;

    margin: 30px 0;

    color: #b9c7ec;

    font-size: 19px;

    line-height: 1.7;
}


/* =========================================================
   DEVELOPER CARD
   ========================================================= */

.developer-card {
    width: min(100%, 630px);

    display: flex;
    align-items: center;

    gap: 20px;

    padding: 18px 25px;

    margin-bottom: 30px;

    border: 1px solid rgba(0, 130, 255, 0.75);

    border-radius: 18px;

    background:
        linear-gradient(
            90deg,
            rgba(4, 19, 58, 0.85),
            rgba(5, 15, 42, 0.45)
        );

    box-shadow:
        inset 0 0 30px rgba(0, 100, 255, 0.05);
}


/* Developer icon */

.developer-icon {
    width: 65px;
    height: 65px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #1443b8,
            #5722c7
        );

    border: 1px solid rgba(0, 210, 255, 0.5);

    box-shadow:
        0 0 25px rgba(40, 110, 255, 0.35);
}

.developer-icon span {
    font-size: 28px;
}


/* Developer text */

.developer-card small {
    display: block;

    margin-bottom: 3px;

    color: #16d5ff;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}

.developer-card strong {
    display: block;

    color: #ffffff;

    font-size: 25px;
}


/* =========================================================
   INSTAGRAM BUTTON
   ========================================================= */

.instagram-button {
    width: min(100%, 490px);

    display: flex;
    align-items: center;

    gap: 17px;

    padding: 15px 25px;

    border-radius: 999px;

    color: #ffffff;

    text-decoration: none;

    font-size: 19px;

    font-weight: 800;

    background:
        linear-gradient(
            90deg,
            #ffb52e,
            #ff267f 42%,
            #712cff
        );

    box-shadow:
        0 10px 35px rgba(255, 35, 150, 0.32);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.instagram-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 45px rgba(255, 35, 150, 0.5);
}


/* Instagram icon */

.instagram-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.instagram-icon svg {
    width: 38px;
    height: 38px;
}


/* Arrow */

.instagram-arrow {
    margin-left: auto;

    font-size: 30px;

    line-height: 1;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.about-right {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* Glowing circle behind controller */

.controller-circle {
    position: absolute;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    border: 12px solid transparent;

    background:
        linear-gradient(#08133a, #08133a) padding-box,
        linear-gradient(
            130deg,
            #00d9ff,
            #6a4cff,
            #ff31e8
        ) border-box;

    box-shadow:
        0 0 30px rgba(0, 190, 255, 0.35),
        0 0 70px rgba(120, 50, 255, 0.25);
}


/* Glow */

.controller-glow {
    position: absolute;

    width: 280px;
    height: 230px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(0, 183, 255, 0.45),
            rgba(113, 43, 255, 0.25),
            transparent 70%
        );

    filter: blur(25px);
}


/* =========================================================
   CSS GAME CONTROLLER
   ========================================================= */

.controller {
    position: relative;

    width: 390px;
    height: 230px;

    z-index: 4;

    transform: rotate(-3deg);

    filter:
        drop-shadow(0 15px 15px rgba(0,0,0,0.6))
        drop-shadow(0 0 20px rgba(0,180,255,0.35));
}


/* Controller body */

.controller-body {
    position: absolute;

    left: 45px;
    right: 45px;
    top: 35px;
    bottom: 20px;

    border-radius:
        45px
        45px
        80px
        80px;

    background:
        linear-gradient(
            145deg,
            #18233c,
            #050810 60%,
            #11152a
        );

    border: 2px solid rgba(44, 160, 255, 0.8);

    box-shadow:
        inset 0 0 25px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 160, 255, 0.35);
}


/* Controller top */

.controller-top {
    position: absolute;

    width: 150px;
    height: 70px;

    top: 18px;
    left: 120px;

    border-radius: 20px;

    background: #070b16;

    border: 1px solid #1b263c;
}


/* D-pad */

.dpad {
    position: absolute;

    left: 45px;
    top: 82px;

    width: 70px;
    height: 70px;
}

.dpad span {
    position: absolute;

    background: #07101e;

    border: 2px solid #168aff;

    border-radius: 7px;

    box-shadow:
        0 0 10px rgba(0, 140, 255, 0.25);
}

.dpad span:nth-child(1) {
    width: 22px;
    height: 70px;

    left: 24px;
}

.dpad span:nth-child(2) {
    width: 70px;
    height: 22px;

    top: 24px;
}

.dpad span:nth-child(3),
.dpad span:nth-child(4) {
    display: none;
}


/* Center buttons */

.controller-center {
    position: absolute;

    left: 160px;
    top: 105px;

    display: flex;

    gap: 12px;
}

.controller-center span {
    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: #172338;

    border: 1px solid #596b91;
}


/* Action buttons */

.buttons {
    position: absolute;

    right: 40px;
    top: 78px;

    width: 75px;
    height: 75px;
}

.buttons span {
    position: absolute;

    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 13px;

    font-weight: 900;

    background: #12182a;

    border: 1px solid #a447ff;

    box-shadow:
        0 0 12px rgba(145, 60, 255, 0.4);
}

.buttons span:nth-child(1) {
    top: 0;
    left: 24px;

    color: #31ddff;
}

.buttons span:nth-child(2) {
    top: 24px;
    right: 0;

    color: #ff55df;
}

.buttons span:nth-child(3) {
    bottom: 0;
    left: 24px;

    color: #a56bff;
}

.buttons span:nth-child(4) {
    top: 24px;
    left: 0;

    color: #3a8cff;
}


/* =========================================================
   DECORATIVE SYMBOLS
   ========================================================= */

.shape {
    position: absolute;

    font-size: 35px;

    font-weight: 900;

    opacity: 0.9;

    text-shadow:
        0 0 15px currentColor;
}

.shape-one {
    top: 70px;
    left: 5%;

    color: #18dfff;
}

.shape-two {
    top: 50px;
    right: 8%;

    color: #bb51ff;
}

.shape-three {
    bottom: 145px;
    left: 10%;

    color: #19dfff;
}

.shape-four {
    bottom: 80px;
    right: 10%;

    color: #cf62ff;
}


/* =========================================================
   SLOGAN
   ========================================================= */

.about-slogan {
    position: absolute;

    right: 40px;
    bottom: 25px;

    text-align: center;

    transform: rotate(-5deg);

    font-size: 34px;

    font-weight: 800;

    font-style: italic;

    line-height: 1.05;

    color: #18cfff;

    text-shadow:
        0 0 15px rgba(0, 200, 255, 0.3);
}

.about-slogan strong {
    color: #a85cff;

    text-shadow:
        0 0 18px rgba(160, 70, 255, 0.35);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1000px) {

    .about-card {
        grid-template-columns: 1fr;

        padding: 55px 45px;
    }

    .about-left {
        max-width: 100%;
    }

    .about-right {
        min-height: 450px;

        margin-top: 20px;
    }

}


@media (max-width: 600px) {

    .about-section {
        padding: 50px 12px;
    }

    .about-card {
        min-height: auto;

        padding: 35px 22px;

        border-radius: 22px;
    }

    .about-left h2 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .about-description {
        font-size: 16px;
    }

    .developer-card {
        padding: 14px;

        gap: 13px;
    }

    .developer-icon {
        width: 55px;
        height: 55px;
    }

    .developer-card strong {
        font-size: 21px;
    }

    .instagram-button {
        font-size: 16px;

        padding: 13px 17px;
    }

    .instagram-icon {
        width: 35px;
        height: 35px;
    }

    .instagram-icon svg {
        width: 32px;
        height: 32px;
    }

    .about-right {
        min-height: 350px;

        transform: scale(0.78);
        transform-origin: center;
    }

    .controller-circle {
        width: 280px;
        height: 280px;
    }

    .about-slogan {
        right: 0;

        bottom: 0;

        font-size: 27px;
    }

}
