* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    color: #fff;
    background: #0f1a2f;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 26, 47, 0.9), rgba(10, 20, 35, 0.95));
    z-index: -1;
}

.main-header {
    background: rgba(20, 30, 50, 0.74);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.nav-link.active {
    color: #4a9eff;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.featured-wallpaper {
    background: rgba(30, 40, 60, 0.6);
    border-radius: 12px;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.featured-text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.featured-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.featured-text p .MyUniqueFont {
    font-family: 'MyUniqueFont';
}

.download-btn {
    background: #4a9eff;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    transition: background 0.5s ease;
}

.download-btn:hover {
    background: #2081f0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 12px 12px 0;
}

.wallpapers-grid h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

.wallpapers-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.wallpaper-card {
    background: rgba(40, 50, 70, 0.8);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallpaper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.wallpaper-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.wallpaper-info {
    padding: 1.2rem;
    text-align: center;
}

.wallpaper-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.download-btn-small {
    background: #4a9eff;
    color: white;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.download-btn-small:hover {
    background: #3a8eef;
    transform: translateY(-2px);
}

.main-footer {
    background: rgba(20, 30, 50, 0.9);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .featured-container {
        grid-template-columns: 1fr;
    }
    
    .featured-image img {
        border-radius: 0 0 12px 12px;
    }
    
    .wallpapers-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}