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

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    background: #05060a;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(0,170,255,.12), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(130,0,255,.10), transparent 30%),
        #05060a;
}

.grid {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .18;
}

.glow-1 { background: #00aaff; top: 10%; left: -100px; }
.glow-2 { background: #7b00ff; right: -100px; top: 55%; }

.topbar {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    background: rgba(5,6,10,.76);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.logo, .back-link {
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    letter-spacing: 2px;
}

.cube-icon {
    color: #00bfff;
    font-size: 20px;
    animation: logoSpin 4s linear infinite;
}

@keyframes logoSpin { to { transform: rotate(360deg); } }

.back-link {
    color: #aaa;
    transition: .25s;
}

.back-link:hover { color: #00bfff; }

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 130px 10% 80px;
}

.hero-content { max-width: 650px; }

.eyebrow {
    margin-bottom: 20px;
    color: #00bfff;
    font-size: 13px;
    letter-spacing: 5px;
}

.hero h1 {
    margin-bottom: 35px;
    font-size: clamp(60px, 9vw, 125px);
    line-height: .9;
    letter-spacing: -6px;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px #00bfff;
    text-shadow: 0 0 25px rgba(0,191,255,.3);
}

.hero-text {
    max-width: 550px;
    margin-bottom: 35px;
    color: #a8a8a8;
    font-size: 18px;
    line-height: 1.8;
}

.main-button, .link-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    color: #fff;
    text-decoration: none;
    background: rgba(0,191,255,.07);
    border: 1px solid rgba(0,191,255,.5);
    transition: .3s;
}

.main-button:hover, .link-button:hover {
    transform: translateY(-3px);
    background: rgba(0,191,255,.18);
    border-color: #00bfff;
    box-shadow: 0 0 25px rgba(0,191,255,.2);
}

.cube-container {
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 900px;
}

.cube {
    position: relative;
    width: 150px;
    height: 150px;
    transform-style: preserve-3d;
    animation: rotateCube 12s infinite linear;
}

.face {
    position: absolute;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00bfff;
    font-size: 30px;
    font-weight: bold;
    background: rgba(0,130,255,.08);
    border: 1px solid rgba(0,191,255,.6);
    box-shadow: inset 0 0 30px rgba(0,191,255,.05), 0 0 20px rgba(0,191,255,.08);
}

.front { transform: translateZ(75px); }
.back { transform: rotateY(180deg) translateZ(75px); }
.right { transform: rotateY(90deg) translateZ(75px); }
.left { transform: rotateY(-90deg) translateZ(75px); }
.top { transform: rotateX(90deg) translateZ(75px); }
.bottom { transform: rotateX(-90deg) translateZ(75px); }

@keyframes rotateCube {
    0% { transform: rotateX(-15deg) rotateY(0deg); }
    100% { transform: rotateX(345deg) rotateY(360deg); }
}

.section {
    max-width: 1200px;
    margin: auto;
    padding: 110px 30px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
}

.section-title span {
    color: #00bfff;
    font-family: monospace;
}

.section-title h2 {
    font-size: 42px;
    letter-spacing: -1px;
}

.card, .info-card {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.card {
    padding: 45px;
    border-radius: 8px;
    transition: .3s;
}

.card:hover, .info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,191,255,.35);
}

.card p, .info-card p {
    color: #aaa;
    font-size: 17px;
    line-height: 1.9;
}

.card p + p { margin-top: 20px; }

.game-card {
    display: flex;
    align-items: center;
    gap: 35px;
}

.game-icon {
    min-width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00bfff;
    font-size: 35px;
    border: 1px solid #00bfff;
    box-shadow: 0 0 30px rgba(0,191,255,.15);
}

.game-card h3, .info-card h3 {
    margin-bottom: 15px;
    font-size: 25px;
}

.game-card p { margin-bottom: 25px; }

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.info-card {
    position: relative;
    min-height: 370px;
    padding: 40px;
    transition: .35s;
}

.card-number {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #555;
    font-family: monospace;
}

.card-symbol {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: #00bfff;
    font-size: 25px;
    border: 1px solid rgba(0,191,255,.4);
}

.info-card p {
    min-height: 105px;
    margin-bottom: 25px;
}

.info-card small {
    display: block;
    margin-top: 20px;
    color: #666;
    line-height: 1.5;
}

.mystery-card:hover { border-color: rgba(181,108,255,.45); }

.mystery-card .card-symbol {
    color: #b56cff;
    border-color: rgba(181,108,255,.5);
}

.final-section {
    padding: 150px 20px;
    text-align: center;
}

.final-line {
    width: 100px;
    height: 1px;
    margin: 0 auto 50px;
    background: #00bfff;
}

.final-section h2 {
    margin-bottom: 20px;
    font-size: clamp(35px, 6vw, 70px);
    letter-spacing: -2px;
}

.final-section h2 span { color: #00bfff; }

.final-section p {
    color: #777;
    letter-spacing: 3px;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 8%;
    color: #666;
    border-top: 1px solid rgba(255,255,255,.07);
}

.footer-logo {
    color: #aaa;
    font-weight: bold;
    letter-spacing: 2px;
}

footer p { font-size: 13px; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 800px) {
    .topbar { padding: 0 20px; }
    .hero {
        flex-direction: column;
        gap: 30px;
        padding: 130px 25px 80px;
        text-align: center;
    }
    .hero-text { margin-left: auto; margin-right: auto; }
    .cube-container { width: 220px; height: 220px; }
    .cards { grid-template-columns: 1fr; }
    .game-card { flex-direction: column; text-align: center; }
    .section { padding: 80px 20px; }
    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
