* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: url('../images/bg.jpg') no-repeat center center fixed;
    background-size: contain;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

img.lazy-load {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #222;
    transition: opacity 0.3s ease;
    opacity: 0;
}

img.lazy-load.loaded {
    opacity: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(139, 90, 43, 0.9);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: bold;
}

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

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffd700;
}

.download-btn {
    background: #007AFF;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #0056b3;
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Sections */
.section {
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.card {
    background: rgba(0,0,0,0.7);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

.card h3 {
    margin: 1.5rem 0 1rem;
    color: #ffd700;
}

.card h4 {
    margin: 1rem 0 0.5rem;
    color: #ffb347;
}

.card ul, .card ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.card a {
    color: #007AFF;
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    padding-top: 80px;
}

.hero-container {
    text-align: center;
    background: rgba(0,0,0,0.7);
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
    backdrop-filter: blur(5px);
}

.hero-icon {
    margin: 0 auto 1.5rem;
    width: 150px;
    height: 150px;
}

.hero-icon img {
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tag {
    background: rgba(255,215,0,0.2);
    border: 1px solid #ffd700;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.ios-download {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #000;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.ios-download:hover {
    transform: scale(1.05);
}

.ios-download i {
    font-size: 2.5rem;
}

.download-text .small {
    display: block;
    font-size: 0.75rem;
    text-align: left;
}

.download-text .large {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;
}

.ios-download.large {
    padding: 1rem 2rem;
    margin-top: 1.5rem;
}

.ios-download.large i {
    font-size: 3.5rem;
}

.ios-download.large .download-text .small {
    font-size: 0.9rem;
}

.ios-download.large .download-text .large {
    font-size: 1.8rem;
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.5);
    padding: 1rem;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: 0 1rem;
}

.carousel-slide img {
    border-radius: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #ffd700;
}

/* Footer */
footer {
    background: rgba(0,0,0,0.8);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(139, 90, 43, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}