/*
Theme Name: MMY APK Aurora
Author: MMY APK
Description: Modern one-page WordPress theme for MMY APK with colorful red-led gaming design.
Version: 1.0.0
*/

:root {
    --red: #f41310;
    --red-dark: #b90d0a;
    --orange: #ff7a18;
    --yellow: #ffc857;
    --purple: #7c3aed;
    --blue: #2563eb;
    --teal: #10b981;
    --ink: #12131a;
    --ink-2: #1e202b;
    --muted: #656875;
    --cream: #fffaf7;
    --white: #ffffff;
    --line: #ece8e5;
    --shadow: 0 24px 70px rgba(22, 18, 25, .12);
    --radius: 28px;
    --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--cream);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.75;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 5% 10%, rgba(244, 19, 16, .08), transparent 25%),
        radial-gradient(circle at 95% 40%, rgba(124, 58, 237, .07), transparent 25%),
        radial-gradient(circle at 50% 100%, rgba(16, 185, 129, .06), transparent 28%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: auto; }
section { position: relative; padding: 105px 0; }
h1, h2, h3 { margin: 0 0 18px; line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(48px, 7vw, 88px); font-weight: 950; }
h2 { font-size: clamp(38px, 5vw, 62px); font-weight: 900; }
h3 { font-size: 22px; font-weight: 850; }
p { color: var(--muted); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--red);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--red), var(--orange)); }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    padding: 12px 0;
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 7px 12px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 22px;
    background: rgba(18,19,26,.75);
    backdrop-filter: blur(18px);
    z-index: -1;
}
.nav { min-height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 950; font-size: 20px; }
.brand img { width: 43px; height: 43px; border-radius: 13px; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-links a { color: #f2f0f2; font-size: 12px; font-weight: 800; }
.nav-links a:hover { color: #ff9a8d; }
.cta {
    display: inline-flex;
    min-height: 51px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 14px 32px rgba(244,19,16,.25);
    transition: .25s ease;
}
.cta:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(244,19,16,.32); }
.menu-toggle { display: none; margin-left: auto; border: 0; color: #fff; background: transparent; font-size: 25px; }

/* Hero */
.hero {
    min-height: 860px;
    display: flex;
    align-items: center;
    padding-top: 145px;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(244,19,16,.38), transparent 28%),
        radial-gradient(circle at 20% 80%, rgba(124,58,237,.28), transparent 28%),
        linear-gradient(130deg, #0d0e14, #171923 55%, #211216);
}
.hero-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 70px; }
.hero h1 { max-width: 780px; }
.hero h1 span { color: #ff6a58; }
.hero-copy > p { max-width: 650px; color: #c6c4cc; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.hero .secondary { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.17); box-shadow: none; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-pills span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #bdb9c3; background: rgba(255,255,255,.04); font-size: 10px; font-weight: 850; }
.hero-art { position: relative; min-height: 590px; }
.hero-art::before { content: ""; position: absolute; inset: 40px 20px 20px 45px; border-radius: 44px; background: linear-gradient(145deg, rgba(244,19,16,.30), rgba(124,58,237,.23)); transform: rotate(-5deg); filter: blur(1px); }
.hero-photo { position: absolute; inset: 0 35px 25px 0; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 44px; transform: rotate(4deg); box-shadow: 0 35px 90px rgba(0,0,0,.45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,13,.05), rgba(8,9,13,.72)); }
.hero-logo { position: absolute; right: 0; top: 30px; z-index: 2; width: 110px; height: 110px; padding: 8px; border-radius: 30px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.28); transform: rotate(8deg); }
.hero-logo img { width: 100%; height: 100%; border-radius: 22px; object-fit: cover; }
.hero-float { position: absolute; left: 0; bottom: 0; z-index: 3; width: 245px; padding: 20px; border-radius: 22px; border: 1px solid rgba(255,255,255,.15); background: rgba(17,18,25,.86); backdrop-filter: blur(18px); }
.hero-float b { display: block; color: #fff; font-size: 19px; }
.hero-float span { color: #aaa7b1; font-size: 11px; }

/* Accent strip */
.strip { overflow: hidden; padding: 15px 0; color: #fff; background: #14151d; border-block: 1px solid rgba(244,19,16,.25); white-space: nowrap; }
.strip-track { display: inline-flex; gap: 40px; min-width: max-content; animation: marquee 25s linear infinite; font-size: 11px; font-weight: 950; letter-spacing: .17em; }
.strip i { color: #ff7566; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Shared */
.section-head { max-width: 720px; margin-bottom: 45px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 17px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: center; }
.media { position: relative; overflow: hidden; border-radius: 36px; box-shadow: var(--shadow); }
.media img { width: 100%; height: 590px; object-fit: cover; }
.media-tag { position: absolute; left: 22px; bottom: 22px; padding: 13px 16px; border-radius: 16px; color: #fff; background: rgba(18,19,26,.78); backdrop-filter: blur(14px); font-size: 12px; font-weight: 800; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(35,27,35,.04); }
.feature:nth-child(1) { border-top: 4px solid var(--red); }
.feature:nth-child(2) { border-top: 4px solid var(--purple); }
.feature:nth-child(3) { border-top: 4px solid var(--teal); }
.feature:nth-child(4) { border-top: 4px solid var(--orange); }
.feature b { display: block; margin-bottom: 5px; }
.feature span { color: var(--muted); font-size: 13px; }

/* Games / masonry gallery */
.games-section { color: #fff; background: #111219; }
.games-section p { color: #bdb9c4; }
.game-grid {
    columns: 2 420px;
    column-gap: 18px;
}
.game-card {
    position: relative;
    display: inline-block;
    width: 100%;
    min-height: 0;
    margin: 0 0 18px;
    overflow: hidden;
    vertical-align: top;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.10);
    background: #20212b;
    break-inside: avoid;
    transform: translateZ(0);
}
.game-card img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.game-card:nth-child(1) img,
.game-card:nth-child(6) img { aspect-ratio: 16 / 11; }
.game-card:nth-child(2) img,
.game-card:nth-child(4) img { aspect-ratio: 4 / 5; }
.game-card:nth-child(3) img,
.game-card:nth-child(5) img { aspect-ratio: 5 / 4; }
.game-card:hover img { transform: scale(1.07); filter: saturate(1.12); }
.game-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,9,13,.94)); pointer-events: none; }
.game-info { position: absolute; right: 23px; bottom: 22px; left: 23px; z-index: 2; }
.game-info h3 { color: #fff; margin-bottom: 5px; }
.game-info p { margin: 0; font-size: 12px; }
.game-card::before { content: "OPEN"; position: absolute; top: 16px; right: 16px; z-index: 3; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(244,19,16,.88); font-size: 9px; font-weight: 950; letter-spacing: .12em; opacity: 0; transform: translateY(-7px); transition: .35s ease; }
.game-card:hover::before { opacity: 1; transform: translateY(0); }

/* Download */
.download-section { background: linear-gradient(135deg, #fff, #fff4f1); }
.download-box { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 55px; padding: 65px; border-radius: 38px; color: #fff; background: linear-gradient(135deg, #f41310, #b70c0a 55%, #7c3aed); box-shadow: 0 35px 90px rgba(244,19,16,.20); }
.download-box p { color: #ffe2de; }
.download-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0; }
.download-point { padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(255,255,255,.08); }
.download-point b { display: block; font-size: 13px; }
.download-point span { color: #ffd5d0; font-size: 11px; }
.phone { width: min(310px, 100%); margin: auto; padding: 10px; border: 2px solid rgba(255,255,255,.28); border-radius: 42px; background: #111219; transform: rotate(4deg); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.phone img { width: 100%; height: 560px; border-radius: 33px; object-fit: cover; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(35,27,35,.04); }
.step:nth-child(1) { background: #fff2f1; }
.step:nth-child(2) { background: #f5f1ff; }
.step:nth-child(3) { background: #ecfbf6; }
.step:nth-child(4) { background: #fff6e9; }
.step-number { margin-bottom: 18px; color: var(--red); font-size: 50px; font-family: Georgia, serif; line-height: 1; }
.step p { font-size: 13px; }

/* Login */
.login-section { background: #f1eff5; }
.login-panel { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border-radius: 36px; box-shadow: var(--shadow); }
.login-copy { padding: 60px; color: #fff; background: linear-gradient(145deg, #12131a, #25121d); }
.login-copy p { color: #c5c1cb; }
.login-copy .mini-list { display: grid; gap: 12px; margin-top: 30px; }
.mini-list span { color: #e3dfe7; font-size: 13px; }
.mini-list i { display: inline-grid; width: 25px; height: 25px; place-items: center; margin-right: 8px; border-radius: 50%; background: rgba(244,19,16,.16); color: #ff7368; font-style: normal; }
.login-form { padding: 60px; background: #fff; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #f1eef3; }
.tab { padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 850; cursor: pointer; }
.tab.active { color: #fff; background: var(--ink); }
.form-row { display: grid; gap: 6px; margin: 18px 0; }
.form-row label { font-size: 12px; font-weight: 800; }
.input { min-height: 52px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; color: #aaa6af; background: #fbfafc; font-size: 13px; }

/* Bonus */
.bonus-section { color: #fff; background: linear-gradient(135deg, #17121b, #25111c); }
.bonus-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 55px; align-items: center; }
.bonus-section p { color: #c5c0ca; }
.bonus-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.bonus-card { padding: 25px; border: 1px solid rgba(255,255,255,.10); border-radius: 22px; background: rgba(255,255,255,.05); }
.bonus-card:nth-child(1) { border-top: 3px solid var(--red); }
.bonus-card:nth-child(2) { border-top: 3px solid var(--yellow); }
.bonus-card:nth-child(3) { border-top: 3px solid var(--purple); }
.bonus-card:nth-child(4) { border-top: 3px solid var(--teal); }
.bonus-card b { display: block; color: #fff; }
.bonus-card span { color: #a8a3ae; font-size: 12px; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { position: relative; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(35,27,35,.05); }
.quote::before { content: "“"; position: absolute; top: 6px; right: 22px; color: rgba(244,19,16,.16); font: 80px Georgia, serif; }
.quote p { color: #575966; font-size: 14px; }
.quote b { font-size: 13px; }

/* SEO */
.seo-section { color: #fff; background: #12131a; }
.seo-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 55px; }
.seo-copy p { color: #bab6c1; font-size: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.seo-copy strong { color: #ff8d82; }

/* FAQ */
.faq { max-width: 960px; display: grid; gap: 10px; margin: auto; }
.faq details { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.faq summary { padding: 20px 23px; cursor: pointer; list-style: none; font-weight: 850; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--red); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 23px 22px; font-size: 14px; }

/* Disclaimer & Footer */
.disclaimer { padding: 28px; border-radius: 23px; border: 1px solid rgba(244,19,16,.18); background: #fff2f1; }
.disclaimer b { color: var(--red); }
.site-footer { padding: 80px 0 30px; color: #fff; background: #0b0c11; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.footer-grid p, .footer-grid a { color: #9996a0; font-size: 13px; }
.footer-grid h3 { color: #fff; font-size: 17px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: #ff7c70; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #68656d; font-size: 11px; }
.mobile-cta { display: none; }

/* Animation */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-ready .reveal { opacity: .16; transform: translateY(34px) scale(.985); }
.js-ready .reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.parallax-item { will-change: transform; }
.scroll-shift { transition: transform .15s linear; }

@media (max-width: 1000px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav.mobile-open .nav-links { position: absolute; top: 73px; right: 0; left: 0; display: grid; gap: 13px; padding: 22px; border-radius: 20px; background: #14151d; border: 1px solid rgba(255,255,255,.12); }
    .hero-grid, .split, .download-box, .login-panel, .bonus-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .testimonials { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .container { width: min(var(--max), calc(100% - 28px)); }
    section { padding: 78px 0; }
    .site-header::before { right: 7px; left: 7px; }
    .nav-cta { display: none; }
    .hero { min-height: auto; padding-top: 125px; padding-bottom: 70px; }
    .hero h1 { font-size: clamp(43px, 14vw, 67px); }
    .hero-copy > p { font-size: 16px; }
    .hero-actions .cta { width: 100%; }
    .hero-art { min-height: 410px; margin-top: 10px; }
    .hero-photo { right: 8px; }
    .hero-logo { width: 82px; height: 82px; border-radius: 22px; }
    .hero-float { width: 205px; }
    .feature-grid, .download-points, .bonus-cards, .seo-copy, .footer-grid { grid-template-columns: 1fr; }
    .media img { height: 430px; }
    .game-grid { columns: 1; }
    .game-card, .game-card.big { width: 100%; }
    .steps { grid-template-columns: 1fr; }
    .download-box { padding: 32px 23px; }
    .phone { transform: none; }
    .login-copy, .login-form { padding: 34px 23px; }
    .footer-bottom { flex-direction: column; }
    .mobile-cta { position: fixed; right: 13px; bottom: 13px; left: 13px; z-index: 110; display: block; }
    .mobile-cta a { display: block; padding: 15px; border-radius: 999px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--red), var(--orange)); box-shadow: 0 15px 40px rgba(0,0,0,.3); font-size: 13px; font-weight: 950; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
