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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #061522;
    color: white;
    overflow-x: hidden;
}


/* =========================
   ANIMATED BACKGROUND
========================= */

.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(180, 235, 255, 0.34),
            transparent 34%
        ),
        radial-gradient(
            circle at 15% 70%,
            rgba(60, 180, 255, 0.22),
            transparent 38%
        ),
        radial-gradient(
            circle at 85% 85%,
            rgba(145, 220, 255, 0.16),
            transparent 34%
        ),
        linear-gradient(180deg, #071d2e 0%, #0a2b45 48%, #061522 100%);
}


/* glowing moving orbs */

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.42;
    animation: float 12s infinite alternate ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: #38bdf8;
    top: -100px;
    left: -80px;
}

.orb-2 {
    width: 260px;
    height: 260px;
    background: #0077ff;
    right: -80px;
    top: 35%;
    animation-delay: -4s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #60a5fa;
    bottom: -120px;
    left: 25%;
    animation-delay: -7s;
}

@keyframes float {

    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(80px, -50px) scale(1.15);
    }

    100% {
        transform: translate(-50px, 70px) scale(0.9);
    }
}


/* =========================
   STARS
========================= */

.stars {
    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 2px),
        radial-gradient(circle, rgba(125, 211, 252, .75) 1px, transparent 2px);

    background-size:
        140px 140px,
        190px 190px;

    animation: starsMove 25s linear infinite;
    opacity: .5;
}

@keyframes starsMove {

    from {
        background-position: 0 0, 50px 80px;
    }

    to {
        background-position: 140px 140px, 240px 270px;
    }
}


/* =========================
   CONTAINER
========================= */

.container {
    width: min(94%, 520px);
    margin: auto;
    padding: 25px 0 50px;
}


/* =========================
   HERO
========================= */

.hero {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;

    border-radius: 50%;
    overflow: hidden;

    border: 3px solid #7dd3fc;

    box-shadow:
        0 0 15px rgba(100, 210, 255, 0.9),
        0 0 35px rgba(70, 180, 255, 0.55);

    animation: heroFloat 5s ease-in-out infinite;
}

.hero img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

@keyframes heroFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}


/* =========================
   TITLE
========================= */

h1 {
    text-align: center;
    margin-top: 22px;

    font-size: 48px;
    font-weight: 900;
    letter-spacing: 5px;

    color: white;

    text-shadow:
        0 0 10px rgba(255,255,255,.5),
        0 0 30px rgba(70, 180, 255, .85);
}


/* =========================
   BONUS
========================= */

.bonus {
    text-align: center;

    margin: 10px 0 25px;

    font-size: 17px;
    font-weight: 700;

    color: #ffd84d;

    text-shadow:
        0 0 10px rgba(255,200,40,.6);

    animation: bonusPulse 2s infinite;
}

@keyframes bonusPulse {

    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .65;
    }
}


/* =========================
   GAME BUTTONS
========================= */

.buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.game-btn {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 90px;

    padding: 10px;

    text-decoration: none;
    color: white;

    border: 1px solid rgba(125, 211, 252, .45);
    border-radius: 20px;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            rgba(8, 30, 50, .95),
            rgba(15, 57, 88, .90)
        );

    box-shadow:
        0 8px 25px rgba(0,0,0,.4),
        inset 0 0 20px rgba(80, 190, 255, .10);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


/* moving light */

.game-btn::before {
    content: "";

    position: absolute;

    top: -100%;
    left: -60%;

    width: 45%;
    height: 300%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    transform: rotate(20deg);

    animation: shine 4s infinite;
}

@keyframes shine {

    0% {
        left: -70%;
    }

    50% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}


.game-btn:hover {
    transform: translateY(-4px) scale(1.015);

    border-color: rgba(130, 220, 255, .95);

    box-shadow:
        0 10px 35px rgba(30, 160, 235, .35),
        0 0 25px rgba(80, 190, 255, .25);
}


.game-btn:active {
    transform: scale(.98);
}


/* =========================
   GAME IMAGE
========================= */

.game-image {
    width: 70px;
    height: 70px;

    flex-shrink: 0;

    border-radius: 15px;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.15);

    box-shadow:
        0 0 18px rgba(50, 175, 235, .35);
}

.game-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.game-btn:hover .game-image img {
    transform: scale(1.1);
}


/* =========================
   GAME INFO
========================= */

.game-info {
    margin-left: 14px;
    flex: 1;
}

.game-info h3 {
    font-size: 16px;
    margin-bottom: 7px;
    letter-spacing: .5px;
}

.game-info span {
    font-size: 13px;
    color: #c7ecff;
}

.game-info p {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.3;
    color: #ffd84d;
    font-weight: 600;
}


/* =========================
   ARROW
========================= */

.arrow {
    font-size: 34px;
    color: #73d3ff;

    margin-right: 8px;

    transition: transform .3s ease;
}

.game-btn:hover .arrow {
    transform: translateX(5px);
}


/* =========================
   MANUAL
========================= */

.manual {
    margin-top: 18px;
}


/* toggle button */

.manual-toggle {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    border: 1px solid rgba(115, 205, 240, .65);
    border-radius: 18px;

    background:
        linear-gradient(
            100deg,
            rgba(9, 31, 52, .95),
            rgba(20, 68, 100, .90)
        );

    color: white;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 0 25px rgba(60, 175, 235, .22);

    transition:
        .3s ease;
}

.manual-toggle:hover {
    border-color: #ffd84d;

    box-shadow:
        0 0 25px rgba(255,190,40,.25);
}


/* arrow */

.toggle-arrow {
    transition: transform .35s ease;
}


/* =========================
   MANUAL CONTENT
========================= */

.manual-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transition:
        max-height 1s ease,
        opacity .35s ease,
        padding .5s ease;

    padding: 0 10px;
}

.manual.open .manual-content {
    max-height: 5000px;
    opacity: 1;
    padding: 12px 10px 5px;
}

.manual.open .toggle-arrow {
    transform: rotate(180deg);
}


/* =========================
   STEPS
========================= */

/* =========================
   MANUAL STEPS
========================= */

.manual-step{
    margin-bottom:20px;
    padding:15px;
    border-radius:16px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(100, 195, 240, .24);
}

.manual-step h3{
    margin-bottom:12px;
    font-size:16px;
    color:#ffd84d;
}

.manual-step img {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.1);
    margin-bottom: 12px;
}

.manual-step img:last-child {
    margin-bottom: 0;
}
/* =========================
   BROWSER HELP
========================= */

.browser-help {
    margin-top: 18px;
}


/* =========================
   BROWSER HELP BUTTON
========================= */

.browser-help-toggle {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    border: 1px solid rgba(115, 205, 240, .65);
    border-radius: 18px;

    background:
        linear-gradient(
            100deg,
            rgba(9, 31, 52, .95),
            rgba(20, 68, 100, .90)
        );

    color: white;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 0 25px rgba(60, 175, 235, .22);

    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        transform .2s ease;
}

.browser-help-toggle:hover {
    border-color: #ffd84d;

    box-shadow:
        0 0 25px rgba(255,190,40,.25);
}

.browser-help-toggle:active {
    transform: scale(.99);
}


/* =========================
   ARROW
========================= */

.browser-help-arrow {
    transition: transform .35s ease;
}

.browser-help.open .browser-help-arrow {
    transform: rotate(180deg);
}


/* =========================
   CONTENT
========================= */

.browser-help-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    padding: 0 10px;

    transition:
        max-height 1s ease,
        opacity .35s ease,
        padding .5s ease;
}

.browser-help.open .browser-help-content {
    max-height: 3000px;
    opacity: 1;

    padding: 12px 10px 5px;
}


/* =========================
   STEPS
========================= */

.browser-help-step {
    margin-bottom: 20px;

    padding: 15px;

    border-radius: 16px;

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(100, 195, 240, .24);
}

.browser-help-step:last-child {
    margin-bottom: 0;
}

.browser-help-step h3 {
    margin-bottom: 12px;

    font-size: 15px;
    line-height: 1.4;

    color: #ffd84d;
}

.browser-help-step img {
    width: 100%;

    display: block;

    border-radius: 12px;

    border: 1px solid rgba(255,255,255,.1);
}

