/* ============================================
   SALVAGE EMPIRE - LANDING PAGE STYLES
   ============================================ */

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

:root {
    --primary-color: #fbbf24;
    --primary-dark: #f59e0b;
    --secondary-color: #1f2937;
    --dark-bg: #111827;
    --darker-bg: #0a0e1a;
    --text-light: #f9fafb;
    --text-gray: #9ca3af;
    --accent-blue: #3b82f6;
    --success-green: #10b981;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

.section-title {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid rgba(251, 191, 36, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(251, 191, 36, 0.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--dark-bg);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #1a1f35 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Bangers', cursive;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: var(--primary-color);
    display: block;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(251, 191, 36, 0.2);
}

.hero-tagline {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tagline-separator {
    color: rgba(251, 191, 36, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.stat-number {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.hero-image {
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

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

.game-screenshot {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(251, 191, 36, 0.1);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 40px rgba(251, 191, 36, 0.2),
        0 0 60px rgba(251, 191, 36, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.3));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

/* Gameplay Section */
.gameplay {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.gameplay-steps {
    display: grid;
    gap: 3rem;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    color: var(--dark-bg);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.step-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(251, 191, 36, 0.1);
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    align-items: center;
}

.step-content img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.step-content h3 {
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Characters Section */
.characters {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.character-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(251, 191, 36, 0.1);
    text-align: center;
    transition: var(--transition);
}

.character-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.character-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.character-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.character-card p {
    color: var(--text-gray);
}

/* Progression Section */
.progression {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.progression-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.progression-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(251, 191, 36, 0.1);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.progression-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.progression-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.progression-item p {
    color: var(--text-gray);
}

.progression-arrow {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
}

.download-content {
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
    min-width: 200px;
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.store-text {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.store-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.download-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-info p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 2px solid rgba(251, 191, 36, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 35px;
    height: 35px;
    border-radius: 6px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-legal-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .step-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .characters-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(17, 24, 39, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-top: 2px solid rgba(251, 191, 36, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .stat {
        flex: 1;
        min-width: 100px;
    }

    .phone-mockup {
        max-width: 300px;
    }

    .features {
        padding: 4rem 0;
    }

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

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .gameplay {
        padding: 4rem 0;
    }

    .video-showcase {
        margin-bottom: 3rem;
    }

    .step {
        gap: 1.5rem;
    }

    .step-content {
        padding: 1.5rem;
    }

    .step-content img {
        height: 120px;
    }

    .step-features {
        justify-content: center;
    }

    .characters {
        padding: 4rem 0;
    }

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

    .character-card {
        padding: 1.5rem;
    }

    .progression {
        padding: 4rem 0;
    }

    .progression-track {
        flex-direction: column;
    }

    .progression-arrow {
        transform: rotate(90deg);
        font-size: 2rem;
    }

    .download {
        padding: 4rem 0;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .store-button {
        width: 100%;
        max-width: 300px;
    }

    .download-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .about {
        padding: 4rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

    .character-card img {
        width: 120px;
        height: 120px;
    }

    .progression-item {
        min-width: 200px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}


/* Video Showcase */
.video-showcase {
    margin-bottom: 4rem;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-placeholder:hover .video-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.video-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.video-overlay p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    z-index: 10;
    transition: all 0.3s ease;
}

.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.8));
}

/* Step Features */
.step-features {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.step-features span {
    background: rgba(251, 191, 36, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Character Badge */
.character-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--dark-bg);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.3);
}

.character-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(251, 191, 36, 0.1);
}

.character-stats span {
    display: inline-block;
    background: rgba(251, 191, 36, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Step Text */
.step-text {
    flex: 1;
}

.step-text h3 {
    margin-bottom: 0.5rem;
}


/* Mobile Touch Improvements */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-secondary,
    .btn-large,
    .store-button,
    .feature-card,
    .character-card {
        -webkit-tap-highlight-color: rgba(251, 191, 36, 0.2);
    }

    .nav-links a,
    .footer-section a {
        padding: 0.75rem 1rem;
        display: block;
    }
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

.container {
    max-width: 100%;
}

/* Improve touch targets */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-btn {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}
