:root {
    --bg: #000000;
    --bg2: #0a0a0a;
    --card: #0d0d0d;
    --red: #dc2626;
    --red-hover: #ef4444;
    --red-glow: rgba(220, 38, 38, 0.4);
    --blue: #2563eb;
    --gray: #94a3b8;
    --border: #1e293b;
    --font: 'Montserrat', 'Segoe UI', sans-serif;
    --font-display: 'Unbounded', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: #fff;
    overflow-x: hidden;
}

/* ===== DDoS Overlay ===== */
.ddos-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.ddos-overlay.ddos-done {
    opacity: 0;
    pointer-events: none;
}

.ddos-bg {
    position: absolute;
    inset: 0;
    background: #000;
}

.ddos-bg::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: 
        radial-gradient(ellipse 70% 60% at 30% 85%, rgba(139, 92, 246, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse 65% 55% at 75% 80%, rgba(34, 211, 238, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 55% 45% at 50% 60%, rgba(59, 130, 246, 0.2) 0%, transparent 45%);
    filter: blur(50px);
}

.ddos-box {
    position: relative;
    text-align: center;
    padding: 3rem;
}

.ddos-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.ddos-sub {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.ddos-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.35);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hidden { display: none !important; }

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-menu-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

.header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.header-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.header.menu-open .header-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header.menu-open .header-burger span:nth-child(2) {
    opacity: 0;
}
.header.menu-open .header-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.logo-img {
    height: 88px;
    width: auto;
    display: block;
}

.footer-brand .logo-img {
    height: 64px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.header-nav a:hover { color: var(--red); }

.header-actions { display: flex; gap: 0.75rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    font-family: var(--font);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-telegram {
    background: #0c41df var(--card);
    color: #fff;
    border: 1px solid var(--border);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

.btn-telegram:hover {
    border-color: #0088cc;
    color: #0ea5e9;
}

.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4);
}

.btn-red:hover {
    background: var(--red-hover);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6), 0 6px 24px var(--red-glow);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 70%);
}

.hero-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .hero-inner { text-align: center; }
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.hero-brand {
    color: var(--red) !important;
    text-shadow: 0 0 40px var(--red-glow);
    display: block;
    margin-top: 0.25rem;
}

.hero-text p {
    color: #e2e8f0;
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 1.5rem 0 2rem;
    max-width: 480px;
}

.hero-text p:last-of-type { margin-bottom: 2rem; }

.btn-play {
    padding: 1.1rem 2.75rem;
    font-size: 1.25rem;
    border-radius: 12px;
    background: var(--red);
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5), 0 0 30px var(--red-glow);
}

.btn-play:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.8), 0 10px 40px var(--red-glow);
}

.btn-breathing {
    animation: btnBreathe 2.5s ease-in-out infinite;
}

@keyframes btnBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn-breathing:hover {
    animation: none;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #94a3b8;
    font-size: 1.05rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

.hero-scroll svg { display: block; margin: 0.3rem auto 0; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== Choose Side ===== */
.section-choose {
    padding: 5rem 2rem 0;
    text-align: center;
    background: #000;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: 0.03em;
}

.section-title span {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 4px;
}

.section-choose-fullscreen {
    padding: 3rem 0 0;
}

.choose-fullscreen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
    gap: 0;
    margin: 2rem -2rem 0;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .choose-fullscreen { grid-template-columns: 1fr; min-height: auto; }
}

.choose-panel {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.choose-panel img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.choose-panel.law img { object-position: left center; }
.choose-panel.bandit img { object-position: right center; }

.choose-panel .choose-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.choose-panel:hover .choose-overlay {
    background: rgba(0, 0, 0, 0.35);
}

/* ===== Download ===== */
.section-download {
    padding: 6rem 2rem;
    background: #000;
}

.download-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 900px) { .download-inner { grid-template-columns: 1fr; } }

.phone-mockup {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.phone-mockup img {
    width: 100%;
    display: block;
}

.download-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.download-text h2 span { color: var(--red); }

.download-text p {
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ===== Screenshots ===== */
.section-screenshots {
    padding: 6rem 2rem;
    background: #000;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

@media (max-width: 768px) { .screenshots-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

.screenshot-card {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9/16;
    cursor: pointer;
}

.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.screenshot-card:hover img {
    transform: scale(1.18);
}

/* ===== Top-up page ===== */
.topup-main { padding-top: 9rem; position: relative; }

.topup-main .topup-content { position: relative; z-index: 1; }

/* Фон доната = фон за девушкой, скроллится вместе со страницей */
.topup-main.topup-bg-img {
    background: url(../images/banner-topup.png) right top / cover no-repeat;
}
.topup-main.topup-bg-img .topup-girl-img { display: none; }
.topup-main.topup-bg-img .topup-form-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.topup-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 9rem);
    gap: 0;
    padding: 2rem;
}

@media (max-width: 900px) {
    .topup-split { grid-template-columns: 1fr; }
    .topup-girl-img { display: none; }
}

.topup-girl-img {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    min-height: 400px;
}

.topup-girl-full {
    width: auto;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center right;
}

.topup-page { min-height: 100vh; display: flex; flex-direction: column; }

.topup-main { flex: 1; padding-top: 7rem; }

.topup-banner-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.topup-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topup-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
}

.topup-content {
    max-width: 1100px;
    margin: -4rem auto 0;
    padding: 0 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) { 
    .topup-content { grid-template-columns: 1fr; margin-top: -2rem; }
    .topup-banner-side { display: none; }
}

.topup-form-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    align-self: center;
}

.topup-payment-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pay-icon {
    font-size: 1rem;
    color: #cbd5e1;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.pay-logo {
    display: inline-flex;
    align-items: center;
    height: 32px;
}
.pay-logo img {
    height: 100%;
    width: auto;
    max-width: 56px;
    object-fit: contain;
}

.topup-form-card h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.topup-form-card .form-row { margin-bottom: 1rem; }

.topup-form-card input,
.topup-form-card select {
    width: 100%;
    min-height: 48px;
    padding: 1rem 1.2rem;
    font-size: 16px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-family: var(--font);
}

.topup-form-card input::placeholder { color: var(--gray); opacity: 0.8; }
.topup-form-card select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
@media (max-width: 900px) {
    .topup-main.topup-bg-img .topup-form-card {
        background: rgba(0, 0, 0, 0.92);
    }
}

.topup-form-card .secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #16a34a;
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.topup-form-card .disclaimer {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0.75rem 0;
}

.topup-form-card .disclaimer a { color: var(--red); }

.topup-form-card .btn-submit {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    border-radius: 12px;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4);
}

.topup-banner-side {
    border-radius: 16px;
    overflow: hidden;
}

.topup-banner-side img {
    width: 100%;
    display: block;
}

.topup-footer { margin-top: auto; }

/* ===== Inner pages (support, policy, oferta) ===== */
.page-inner { min-height: 100vh; display: flex; flex-direction: column; }

.inner-main { flex: 1; padding: 6rem 2rem 4rem; }

.inner-content {
    max-width: 720px;
    margin: 0 auto;
}

.inner-content h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.inner-content .lead {
    color: #cbd5e1;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.support-block {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.support-block h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.support-block p, .support-block ul {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.7;
}

.support-block a { color: var(--red); }

.support-block ul { padding-left: 1.25rem; }

.support-block li { margin-bottom: 0.5rem; }

.inner-content .btn-play { margin-top: 1rem; }

.doc-content h2 {
    font-size: 1.35rem;
    margin: 2rem 0 0.75rem;
}

.doc-content section p,
.doc-content section ul {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.7;
}

.doc-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }

.doc-content a { color: var(--red); }

.doc-meta {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 2rem 2rem;
    background: #000;
    border-top: 1px solid var(--border);
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.footer-legal {
    max-width: 360px;
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.footer-social { display: flex; gap: 0.75rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 1rem;
    color: #94a3b8;
}

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links a:hover { color: #fff; }

/* ===== Mobile & Tablet: burger menu ===== */
@media (max-width: 1024px) {
    .header-burger {
        display: flex;
        margin-left: auto;
    }
    .header-menu {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.98);
        padding: 1.5rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }
    .header-menu-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.75rem;
        width: 100%;
        max-width: 280px;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    .header.menu-open .header-menu {
        opacity: 1;
        visibility: visible;
    }
    .header-nav {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        width: 100%;
    }
    .header-nav a {
        font-size: 1.15rem;
        padding: 0.7rem 1.25rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 260px;
    }
    .header-actions {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
        gap: 0.75rem;
    }
    .header-actions .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.9rem 1.25rem;
        min-height: 48px;
        font-size: 1.05rem;
    }
}

/* ===== Mobile optimization ===== */
@media (max-width: 1024px) {
    .header { padding: 0.75rem 1rem; }
    .logo-img { height: 52px; }
}

@media (max-width: 900px) {
    .header { padding: 0.75rem 1rem; }
    .header-logo { flex-shrink: 0; }
    .logo-img { height: 48px; }
    .hero { padding: 6rem 1.25rem 4rem; }
    .hero-text h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .hero-text p { font-size: 1.1rem; max-width: none; line-height: 1.65; }
    .hero-text p:last-of-type { margin-bottom: 1.5rem; }
    .btn-play { padding: 1rem 2rem; font-size: 1.15rem; min-height: 52px; }
    .hero-scroll { font-size: 0.95rem; bottom: 1.5rem; }
    .section-choose { padding: 4rem 1rem 0; }
    .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); margin-bottom: 2rem; }
    .choose-fullscreen { margin: 1.5rem -1rem 0; min-height: 55vh; }
    .choose-panel img { min-height: 320px; }
    .section-download, .section-screenshots { padding: 4rem 1.25rem; }
    .download-inner { gap: 2.5rem; }
    .download-text h2 { font-size: clamp(1.75rem, 5vw, 2.2rem); }
    .download-text p { font-size: 1.1rem; }
    .footer { padding: 3rem 1.25rem 2rem; }
    .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
    .footer-brand { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 600px) {
    .header-burger { width: 44px; height: 44px; }
    .header-burger span { width: 22px; }
    .header.menu-open .header-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .header.menu-open .header-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header-nav a { font-size: 1.1rem; padding: 0.65rem 1rem; }
    .header-actions .btn { min-height: 46px; padding: 0.85rem; font-size: 1rem; }
    .header-menu-inner { gap: 1.5rem; }
    .logo-img { height: 44px; }
    .hero { padding: 5.5rem 1rem 3.5rem; }
    .hero-text h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
    .btn-play { padding: 1rem 1.75rem; font-size: 1.1rem; width: 100%; max-width: 320px; }
    .choose-panel img { min-height: 280px; }
    .screenshot-card { aspect-ratio: 9/16; }
    .footer-links a { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .header { padding: 0.65rem 0.85rem; }
    .logo-img { height: 40px; }
    .footer-brand .logo-img { height: 48px; }
    .header-menu-inner { gap: 1.25rem; max-width: 260px; }
    .header-nav a { font-size: 1.05rem; min-height: 44px; padding: 0.6rem 1rem; }
    .header-actions .btn { min-height: 44px; padding: 0.8rem; max-width: 240px; }
    .hero { padding: 5rem 1rem 3rem; }
    .section-download, .section-screenshots { padding: 3rem 1rem; }
    .topup-form-card { padding: 1.25rem 1rem; }
}

/* Donate page mobile */
@media (max-width: 1024px) {
    .topup-main { padding-top: 6.5rem; min-height: auto; }
    .topup-split { min-height: auto; align-items: center; }
}

@media (max-width: 900px) {
    .topup-main { padding-top: 6rem; }
    .topup-split { padding: 1.5rem 1.25rem; min-height: auto; }
    .topup-form-card { 
        padding: 2rem; 
        width: 100%; 
        max-width: 480px; 
        margin: 0 auto;
    }
    .topup-form-card h1 { font-size: 1.7rem; margin-bottom: 1.5rem; }
    .topup-payment-icons { flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
    .pay-logo { height: 32px; }
    .topup-form-card input,
    .topup-form-card select { 
        padding: 1.05rem 1.2rem; 
        font-size: 16px; 
        min-height: 52px;
        border-radius: 12px;
    }
    .topup-form-card .form-row { margin-bottom: 1.15rem; }
    .topup-form-card .disclaimer { font-size: 0.95rem; margin: 1rem 0; }
    .topup-form-card .btn-submit { 
        padding: 1.15rem; 
        min-height: 54px; 
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .topup-main { padding-top: 5.5rem; }
    .topup-split { padding: 1.25rem 1rem; }
    .topup-form-card { 
        padding: 1.5rem 1.25rem; 
        border-radius: 20px;
    }
    .topup-form-card h1 { font-size: 1.5rem; margin-bottom: 1.25rem; }
    .topup-payment-icons { gap: 0.6rem; margin-bottom: 1rem; }
    .pay-logo { height: 28px; }
    .topup-form-card input,
    .topup-form-card select { 
        padding: 1rem 1.1rem; 
        min-height: 50px;
        font-size: 16px;
    }
    .topup-form-card .form-row { margin-bottom: 1rem; }
    .topup-form-card .disclaimer { font-size: 0.9rem; line-height: 1.5; }
    .topup-form-card .btn-submit { padding: 1.1rem; min-height: 52px; }
}

@media (max-width: 480px) {
    .topup-main { padding-top: 5rem; }
    .topup-split { padding: 1rem 0.85rem; }
    .topup-form-card { padding: 1.35rem 1.1rem; }
    .topup-form-card h1 { font-size: 1.4rem; }
}

.topup-footer .footer-top { gap: 1.5rem; }
@media (max-width: 600px) {
    .topup-footer .footer-top { flex-direction: column; align-items: center; gap: 1.25rem; }
    .topup-footer .footer-social { flex-direction: column; width: 100%; max-width: 280px; }
    .topup-footer .footer-social .btn { width: 100%; min-height: 48px; }
}

/* Inner pages mobile */
@media (max-width: 900px) {
    .inner-main { padding: 6rem 1.25rem 4rem; }
}
@media (max-width: 600px) {
    .inner-main { padding: 5.5rem 1rem 3.5rem; }
    .inner-content h1 { font-size: 1.7rem; line-height: 1.3; }
    .inner-content .lead { font-size: 1.08rem; line-height: 1.6; }
    .support-block { padding: 1.25rem; }
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
    .header { padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); padding-top: max(0.75rem, env(safe-area-inset-top)); }
    .footer { padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
    @media (max-width: 600px) {
        .header { padding-left: max(0.75rem, env(safe-area-inset-left)); padding-right: max(0.75rem, env(safe-area-inset-right)); }
    }
}

/* Prevent horizontal overflow */
html { overflow-x: hidden; }
body { min-width: 0; }

/* ===== Scroll animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
