/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --accent-primary: #7b2ff7;
    --accent-secondary: #00e5ff;
    --accent-glow: rgba(123, 47, 247, 0.35);
    --text-primary: #e8e8f0;
    --text-secondary: #9a9ab0;
    --text-muted: #5e5e76;
    --border-color: rgba(255, 255, 255, 0.06);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(123, 47, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 229, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(123, 47, 247, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Cursor glow */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.12) 0%, rgba(0, 229, 255, 0.06) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    mix-blend-mode: screen;
}

.cursor-glow.active {
    opacity: 1;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.navbar .logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar .logo span {
    color: var(--accent-secondary);
}

.navbar nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.navbar nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-secondary);
    transition: width 0.3s ease;
}

.navbar nav a:hover {
    color: var(--accent-secondary);
}

.navbar nav a:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    background: rgba(123, 47, 247, 0.1);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-secondary) 50%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    max-width: 550px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-primary), #9b4dff);
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 25px var(--accent-glow);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--accent-glow);
}

.hero-cta-outline {
    background: transparent;
    border: 1px solid var(--accent-secondary);
    color: var(--accent-secondary);
    box-shadow: none;
}

.hero-cta-outline:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 4px 25px rgba(0, 229, 255, 0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator .arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
}

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

/* ===== SECTION LAYOUT ===== */
.section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===== GAME CARDS ===== */
.timecrushers-card .game-header {
    flex-wrap: wrap;
}

.timecrushers-card .game-header-info {
    flex: 1 1 180px;
    min-width: 0;
}

.timecrushers-card h3 {
    font-size: 1.2rem;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(123, 47, 247, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card .game-logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.game-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.game-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.game-header-info h3 {
    margin-bottom: 0;
}

.game-card .game-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.game-card .game-tag.roguelike {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.game-card .game-tag.strategy {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.game-card .game-tag.card {
    background: rgba(76, 175, 80, 0.12);
    color: #66bb6a;
    border: 1px solid rgba(76, 175, 80, 0.25);
}

.game-card .game-tag.rebellion {
    background: rgba(255, 107, 107, 0.12);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.game-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.game-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.game-card .card-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1rem;
}

.game-card .store-badge img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.9);
}

.game-card .store-badge img:hover {
    transform: scale(1.05);
    filter: brightness(1);
}

.game-card .policy-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.game-card .policy-link:hover {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.04), rgba(0, 229, 255, 0.03));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    margin-top: 2rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 1rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-bottom: 2px solid transparent;
    transition: all 0.4s ease;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.team-member:hover {
    background: var(--bg-card-hover);
    border-color: rgba(123, 47, 247, 0.2);
    border-bottom-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.team-member .avatar {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.team-member:hover .avatar {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: scale(1.05);
}

.team-member > span {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.role-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
}

.role-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
}

.role-tag.dev {
    background: rgba(123, 47, 247, 0.15);
    color: #b07aff;
    border: 1px solid rgba(123, 47, 247, 0.25);
}

.role-tag.design {
    background: rgba(255, 183, 77, 0.12);
    color: #ffb74d;
    border: 1px solid rgba(255, 183, 77, 0.25);
}

.role-tag.test {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background: rgba(123, 47, 247, 0.2);
    transform: scale(1.15);
}

.social-links a img {
    width: 16px;
    height: 16px;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.footer .logo-footer {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.footer .logo-footer span {
    color: var(--accent-secondary);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin: 1rem 0;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: var(--accent-secondary);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
    flex: none;
}

/* ===== PRIVACY POLICY PAGE ===== */
.privacy-page {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.8;
}

.privacy-page .privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.privacy-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.privacy-page .back-link:hover {
    color: var(--accent-primary);
}

.privacy-page h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-page .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-page .policy-section {
    margin-bottom: 2.5rem;
}

.privacy-page .policy-section h2 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-primary);
}

.privacy-page .policy-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.privacy-page .policy-section ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.privacy-page .policy-section ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
}

.privacy-page .policy-section ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.privacy-page .policy-section a {
    color: var(--accent-secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.privacy-page .policy-section a:hover {
    border-bottom-color: var(--accent-secondary);
}

.privacy-page .policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.privacy-page .policy-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-page .policy-footer a:hover {
    color: var(--accent-secondary);
}

/* ===== RESPONSIVE ===== */

/* --- Large Desktop (1440px+) --- */
@media (min-width: 1440px) {
    .section {
        max-width: 1200px;
    }

    .hero p {
        max-width: 620px;
        font-size: 1.15rem;
    }

    .game-card {
        padding: 3rem;
    }

    .team-section {
        padding: 3.5rem;
    }

    .privacy-page .privacy-container {
        max-width: 860px;
    }
}

/* --- Desktop / Tablet Landscape (1024px – 1279px) --- */
@media (max-width: 1279px) {
    .section {
        max-width: 960px;
    }

    .game-card h3 {
        font-size: 1.25rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* --- Tablet Landscape (768px – 1023px) --- */
@media (max-width: 1023px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .navbar .logo {
        font-size: 1.15rem;
    }

    .navbar nav a {
        margin-left: 1.5rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 7rem 2rem 3.5rem;
        min-height: 90vh;
    }

    .hero p {
        max-width: 480px;
        font-size: 1rem;
    }

    .hero-cta {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-card {
        padding: 2rem;
    }

    .team-section {
        padding: 2.5rem;
    }

    .privacy-page .privacy-container {
        padding: 5.5rem 1.5rem 3rem;
    }

    .privacy-page h1 {
        font-size: 1.7rem;
    }
}

/* --- Tablet Portrait (600px – 767px) --- */
@media (max-width: 767px) {
    .navbar {
        padding: 0.75rem 1.2rem;
    }

    .navbar .logo {
        font-size: 1.05rem;
        letter-spacing: 1.5px;
    }

    .navbar nav a {
        margin-left: 1.2rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 6.5rem 1.5rem 3rem;
        min-height: 85vh;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.35rem 1rem;
        letter-spacing: 1.5px;
    }

    .hero h1 {
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 0.95rem;
        max-width: 420px;
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    .section {
        padding: 3rem 1.2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .game-card {
        padding: 1.75rem;
    }

    .game-card h3 {
        font-size: 1.15rem;
    }

    .game-card p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .game-card .store-badge img {
        height: 42px;
    }

    .game-card .card-actions {
        gap: 1rem;
    }

    .team-section {
        padding: 2rem 1.5rem;
    }

    .team-members {
        grid-template-columns: 1fr;
    }

    .team-member span {
        font-size: 0.8rem;
    }

    .team-member .avatar {
        width: 60px;
        height: 60px;
    }

    .team-member {
        padding: 1rem;
    }

    .footer {
        padding: 2rem 1.2rem;
    }

    .privacy-page .privacy-container {
        padding: 5rem 1.2rem 2.5rem;
    }

    .privacy-page h1 {
        font-size: 1.5rem;
    }

    .privacy-page .policy-section h2 {
        font-size: 0.85rem;
    }

    .privacy-page .policy-section p {
        font-size: 0.9rem;
    }

    .privacy-page .policy-section ul li {
        font-size: 0.85rem;
    }
}

/* --- Mobile Large (480px – 599px) --- */
@media (max-width: 599px) {
    .navbar {
        padding: 0.7rem 1rem;
    }

    .navbar .logo {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .navbar nav a {
        margin-left: 0.8rem;
        font-size: 0.7rem;
        letter-spacing: 0;
    }

    .hero {
        padding: 5.5rem 1.2rem 2.5rem;
        min-height: 80vh;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.8rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        padding: 0.75rem 1.8rem;
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .scroll-indicator {
        display: none;
    }

    .section {
        padding: 2.5rem 1rem;
    }

    .section-header h2 {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    .game-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .game-card h3 {
        font-size: 1.05rem;
    }

    .game-card p {
        font-size: 0.85rem;
        line-height: 1.65;
        margin-bottom: 1.2rem;
    }

    .game-card .card-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .game-card .store-badge img {
        height: 40px;
    }

    .game-card .policy-link {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }

    .team-section {
        padding: 1.5rem 1.2rem;
        border-radius: 12px;
    }

    .team-members {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .team-member {
        padding: 1rem;
    }

    .team-member .avatar {
        width: 54px;
        height: 54px;
    }

    .team-member span {
        font-size: 0.75rem;
    }

    .social-links a {
        width: 26px;
        height: 26px;
    }

    .social-links a img {
        width: 14px;
        height: 14px;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .footer .logo-footer {
        font-size: 0.85rem;
    }

    .footer p {
        font-size: 0.7rem;
    }

    .privacy-page .privacy-container {
        padding: 4.5rem 1rem 2rem;
    }

    .privacy-page h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .privacy-page .subtitle {
        font-size: 0.8rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .privacy-page .back-link {
        font-size: 0.8rem;
    }

    .privacy-page .policy-section {
        margin-bottom: 2rem;
    }

    .privacy-page .policy-section h2 {
        font-size: 0.8rem;
        padding-left: 0.75rem;
    }

    .privacy-page .policy-section p {
        font-size: 0.85rem;
    }

    .privacy-page .policy-section ul li {
        font-size: 0.8rem;
        padding-left: 1.2rem;
    }
}

/* --- Mobile Small (< 380px) --- */
@media (max-width: 379px) {
    .navbar .logo {
        font-size: 0.85rem;
    }

    .navbar nav a {
        margin-left: 0.6rem;
        font-size: 0.65rem;
    }

    .hero {
        padding: 5rem 1rem 2rem;
        min-height: 75vh;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.82rem;
    }

    .hero-cta {
        padding: 0.65rem 1.5rem;
        font-size: 0.7rem;
    }

    .section {
        padding: 2rem 0.8rem;
    }

    .section-header h2 {
        font-size: 1.1rem;
    }

    .game-card {
        padding: 1.2rem;
    }

    .game-card h3 {
        font-size: 0.95rem;
    }

    .game-card p {
        font-size: 0.8rem;
    }

    .game-card .store-badge img {
        height: 36px;
    }

    .team-section {
        padding: 1.2rem 1rem;
    }

    .team-members {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .team-member {
        padding: 0.8rem;
    }

    .team-member .avatar {
        width: 48px;
        height: 48px;
    }

    .team-member span {
        font-size: 0.7rem;
    }

    .privacy-page .privacy-container {
        padding: 4rem 0.8rem 1.5rem;
    }

    .privacy-page h1 {
        font-size: 1.15rem;
    }

    .privacy-page .policy-section h2 {
        font-size: 0.75rem;
    }

    .privacy-page .policy-section p,
    .privacy-page .policy-section ul li {
        font-size: 0.78rem;
    }
}

/* --- Touch-friendly tap targets --- */
@media (hover: none) and (pointer: coarse) {
    .navbar nav a {
        padding: 0.5rem 0.2rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .hero-cta {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .game-card .store-badge img {
        min-height: 44px;
    }

    .game-card .policy-link {
        padding: 0.5rem 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .team-member a,
    .social-links a {
        padding: 0.3rem;
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .privacy-page .back-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .privacy-page .policy-section a {
        padding: 0.2rem 0;
    }

    /* Disable hover effects on touch devices */
    .game-card:hover {
        transform: none;
        box-shadow: none;
    }

    .team-member:hover {
        transform: none;
    }

    .game-card .store-badge img:hover {
        transform: none;
    }
}

/* --- Landscape orientation on short screens --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 2rem 2rem;
    }

    .scroll-indicator {
        display: none;
    }

    .hero p {
        margin-bottom: 1.5rem;
    }
}

