/* ========================================
   Los Santos Guide — Global Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark theme (default) */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(251, 177, 60, 0.25);

    --orange: #fbb13c;
    --orange-deep: #ff6b35;
    --orange-glow: rgba(251, 177, 60, 0.12);
    --green: #4caf50;
    --blue: #5b8def;

    --text-primary: #eee;
    --text-secondary: #999;
    --text-muted: #666;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --font-display: 'Bebas Neue', sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --header-h: 64px;
    --max-w: 1200px;
}

/* Light theme */
[data-theme="light"] {
    --bg-primary: #f5f5f0;
    --bg-secondary: #e8e8e0;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0e8;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(251, 177, 60, 0.4);

    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #888;
}
[data-theme="light"] .header { background: rgba(245, 245, 240, 0.92); }
[data-theme="light"] .btn-primary { color: #fff; }
[data-theme="light"] .btn-outline { color: #1a1a1a; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background .3s, color .3s;
}

a {
    color: var(--text-primary);
    text-decoration: none;
}

img { max-width: 100%; display: block; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ---------- Animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.anim-fade { animation: fadeUp .6s ease both; }
.anim-fade-d1 { animation-delay: .1s; }
.anim-fade-d2 { animation-delay: .2s; }
.anim-fade-d3 { animation-delay: .3s; }

/* ---------- Utility ---------- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}
.tag-live  { background: rgba(76, 175, 80, 0.12); color: var(--green); }
.tag-new   { background: rgba(251, 177, 60, 0.12); color: var(--orange); }
.tag-hot   { background: rgba(255, 107, 53, 0.12); color: var(--orange-deep); }
.tag-info  { background: rgba(91, 141, 239, 0.12); color: var(--blue); }

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.section-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.orange-grad {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    transition: background .3s;
}

.header .container {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
}
.logo .ls { color: var(--orange); }
.logo .cn { color: var(--text-primary); }

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all .25s;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

/* ---------- Search Bar ---------- */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0 14px;
    gap: 8px;
    transition: all .3s;
}
.search-box:focus-within {
    border-color: rgba(251, 177, 60, 0.3);
    background: rgba(255, 255, 255, 0.08);
}
.search-box .icon { color: var(--text-muted); font-size: 0.85rem; }
.search-box input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    padding: 7px 0;
    width: 160px;
    font-family: inherit;
}
.search-box input::placeholder { color: var(--text-muted); }

/* ---------- Theme Toggle ---------- */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: all .3s;
    line-height: 1;
}
.theme-toggle:hover {
    color: var(--orange);
    background: rgba(255, 255, 255, 0.05);
}

/* ---------- Hero ---------- */
.hero {
    margin-top: var(--header-h);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 50% 0%, rgba(251, 177, 60, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 80% 70%, rgba(255, 107, 53, 0.04) 0%, transparent 60%);
}
.hero-bg .grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    letter-spacing: 2px;
}
.hero h1 .sub {
    display: block;
    font-size: 0.3em;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 4px;
    font-family: var(--font-sans);
    letter-spacing: 1px;
}
.hero p {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    position: relative;
    z-index: 1;
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all .3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: #0a0a0f;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(251, 177, 60, 0.25);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

/* ---------- Section ---------- */
.section {
    padding: 60px 0;
}

/* ---------- Card Grid ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all .35s;
    cursor: default;
}
.card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}
.card .icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.card .card-footer {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.card-clickable { cursor: pointer; }
.card-clickable:hover { border-color: var(--orange); }
.card-clickable .card-link {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.card-clickable .card-link::after {
    content: '→';
    transition: transform .25s;
}
.card-clickable:hover .card-link::after { transform: translateX(4px); }

/* ---------- Feature Row ---------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all .35s;
}
.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}
.feature-card .icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }
.feature-card .meta {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-top: 24px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: #333; }

/* ---------- Countdown ---------- */
.countdown-bar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.countdown-bar .label {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.countdown-bar .label strong {
    color: var(--text-primary);
    font-weight: 700;
}
.countdown-bar .time {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: 2px;
    color: var(--orange);
}

/* ---------- Tool / Calculator ---------- */
.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 32px 0;
}
.tool-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.tool-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.tool-row label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-width: 120px;
}
.tool-row select,
.tool-row input {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color .3s;
}
.tool-row select:focus,
.tool-row input:focus {
    border-color: var(--orange);
}
.tool-row select option { background: var(--bg-primary); }
.tool-result {
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(251, 177, 60, 0.06);
    border: 1px solid rgba(251, 177, 60, 0.15);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange);
}
.tool-result span { color: var(--text-secondary); font-weight: 400; font-size: 0.85rem; }

/* ---------- Share Buttons ---------- */
.share-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.share-bar .label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-right: 4px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    transition: all .25s;
    font-family: inherit;
}
.share-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

/* ---------- Back to Top ---------- */
.back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange);
    color: #0a0a0f;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(251, 177, 60, 0.3);
}


/* ---------- Video Embed ---------- */
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin: 24px 0;
    background: #000;
}
.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ---------- ROI Table ---------- */
.roi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.roi-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border);
    cursor: pointer;
    user-select: none;
    transition: color .2s;
    white-space: nowrap;
}
.roi-table thead th:hover { color: var(--orange); }
.roi-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}
.roi-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.roi-table tbody td:first-child { font-weight: 600; }
.roi-table tbody td:nth-child(2),
.roi-table tbody td:nth-child(3) { font-family: var(--font-sans); color: var(--green); font-weight: 600; }
.roi-table tbody td:nth-child(4) { color: var(--text-muted); }
#roi-table-wrap { padding: 0; overflow-x: auto; }

/* ---------- Image Placeholders ---------- */
.img-hero {
    width: 100%; border-radius: var(--radius-lg); margin: 24px 0; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    min-height: 240px; position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 1px solid var(--border);
}
.img-hero .overlay {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px);
    pointer-events: none;
}
.img-hero .content { text-align: center; z-index: 1; padding: 20px; }
.img-hero .content .icon { font-size: 3rem; display: block; margin-bottom: 8px; }
.img-hero .content .label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.img-hero .content .sub-label { font-size: 0.75rem; color: rgba(255,255,255,0.2); margin-top: 4px; }
.img-hero.gta-online { background: linear-gradient(135deg, #1a1a2e 0%, #e94560 100%); }
.img-hero.gta6 { background: linear-gradient(135deg, #0f0f23 0%, #fbb13c 100%); }
.img-hero.vice { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #0abde3 100%); }
.img-hero.money { background: linear-gradient(135deg, #0a3d62 0%, #3ae374 100%); }
.img-hero.heist { background: linear-gradient(135deg, #2d3436 0%, #fbb13c 100%); }
.img-inline {
    border-radius: var(--radius-md); margin: 20px 0; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    min-height: 180px; position: relative;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card-hover));
    border: 1px solid var(--border);
}
.img-inline .content { text-align: center; padding: 16px; }
.img-inline .content .icon { font-size: 2rem; display: block; margin-bottom: 4px; }
.img-inline .content .label { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0 32px;
    margin-top: 60px;
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; transition: color .2s; }
.footer-links a:hover { color: var(--text-primary); }

/* ---------- Hamburger Menu (Mobile) ---------- */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background .2s;
    line-height: 1;
}
.mobile-toggle:hover { background: rgba(255,255,255,0.06); }

/* ---------- Responsive ---------- */

/* Tablet: 769px - 1024px */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }

    .nav-links a { padding: 8px 12px; font-size: 0.82rem; }
    .search-box input { width: 120px; }

    .hero { min-height: 55vh; padding: 60px 20px 40px; }
    .hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); }

    .feature-row { gap: 16px; }
    .feature-card { padding: 24px 20px; }
}

/* Phone: up to 768px */
@media (max-width: 768px) {
    :root { --header-h: 56px; }

    .container { padding: 0 16px; }

    /* --- Header & Nav --- */
    .header .container { gap: 8px; }
    .logo { font-size: 1.2rem; }

    .nav-links { display: none; }
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        padding: 16px;
        gap: 2px;
        overflow-y: auto;
        z-index: 9998;
        animation: slideDown .2s ease both;
    }
    .nav-links a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    .search-box { flex: 1; max-width: 160px; }
    .search-box input { width: 100%; font-size: 0.82rem; }

    /* --- Hero --- */
    .hero {
        min-height: auto;
        padding: 48px 16px 40px;
        margin-top: var(--header-h);
    }
    .hero h1 { font-size: clamp(2rem, 9vw, 3rem); letter-spacing: 1px; }
    .hero p { font-size: 0.95rem; max-width: 100%; padding: 0 4px; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin-top: 24px; }
    .hero-actions .btn { justify-content: center; width: 100%; }

    /* --- Sections --- */
    .section { padding: 40px 0; }
    .section-title { font-size: 1.3rem; }
    .section-desc { font-size: 0.88rem; margin-bottom: 20px; }

    /* --- Cards & Grids --- */
    .card-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-row { grid-template-columns: 1fr; gap: 14px; }
    .card { padding: 20px; }
    .feature-card { padding: 24px 20px; }

    /* --- Countdown --- */
    .countdown-bar {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }
    .countdown-bar .time { font-size: 1.3rem; }

    /* --- Tools --- */
    .tool-card { padding: 20px; margin: 20px 0; }
    .tool-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .tool-row label { min-width: auto; }

    /* --- Share --- */
    .share-bar { flex-wrap: wrap; gap: 6px; }
    .share-btn { padding: 8px 12px; font-size: 0.78rem; }

    /* --- Back to Top --- */
    .back-top { bottom: 20px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }

    /* --- Breadcrumb --- */
    .breadcrumb { font-size: 0.78rem; padding-top: 16px; margin-bottom: 16px; }
    /* --- Tables (scrollable wrapper needed in HTML or via parent) --- */
    .roi-table { font-size: 0.78rem; }
    .roi-table thead th,
    .roi-table tbody td { padding: 8px 10px; }

    /* --- Video --- */
    .video-wrap { margin: 16px 0; }

    /* --- Footer --- */
    .footer { padding: 32px 0 24px; margin-top: 40px; }
    .footer .container { flex-direction: column; text-align: center; gap: 12px; }
    .footer-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .footer-links a { font-size: 0.8rem; }
    .footer p { font-size: 0.8rem; }

    /* Prevent horizontal scroll */
    html, body { overflow-x: hidden; width: 100%; }
    img, iframe, video, .video-wrap { max-width: 100% !important; }
}

/* Small phone: up to 480px */
@media (max-width: 480px) {
    .search-box { display: none; }

    .header .container { gap: 4px; }
    .logo { font-size: 1.1rem; }

    .hero { padding: 36px 12px 32px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 0.88rem; }

    .btn { padding: 10px 20px; font-size: 0.88rem; }

    .card { padding: 16px; }
    .card h4 { font-size: 0.95rem; }
    .card p { font-size: 0.82rem; }

    .feature-card { padding: 20px 16px; }
    .feature-card h3 { font-size: 1.05rem; }
    .feature-card p { font-size: 0.85rem; }

    .countdown-bar { padding: 16px; }
    .countdown-bar .time { font-size: 1.1rem; letter-spacing: 1px; }

    .tool-card { padding: 16px; }

    .section-title { font-size: 1.15rem; }
    .section-desc { font-size: 0.82rem; }
}

/* Touch-friendly: ensure interactive elements have enough tap area */
@media (pointer: coarse) {
    .nav-links a,
    .btn,
    .share-btn,
    .card-clickable,
    .theme-toggle,
    .mobile-toggle,
    .footer-links a {
        min-height: 44px;
    }
    .card-clickable { cursor: pointer; }
}
