/* Custom Variables for easy adjustment */
:root {
    --bg-color: #0a0a0a;
    --card-color: black;
    --text-main: #ffffff;
    --text-dim: #a1a1a1;
    --accent-glow: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    background-image: url(img1/digital-art-men-city-futuristic-night-hd-wallpaper-01b69d213afe95f35634472bcdf74a70.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color:#151B25;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
.catagory-btn{
    text-decoration: none;
}

h1, h2, h3, .nav-brand {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 100;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(20px);
}

.nav-brand { font-size: 1.5rem; font-weight: bold; }
.nav-brand span { opacity: 0.5; }
.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: 0.3s;
}
.nav-links a:hover { color: white; }

.btn-login {
    background: white;
    color: black;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}
.btn-theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.btn-theme-toggle:hover {
    background: rgba(255,255,255,0.25);
}
.home1 {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.home1-content h1 {
    color: antiquewhite;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, #fff, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home1-content p {
    color: #fdfcdc;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.home1-btns button {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: 0.3s;
}

.btn-primary { background: white; border: none; }
.btn-secondary { background:black; border: 1px solid rgba(255,255,255,0.2); color: white; }

.home1-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    z-index: -1;
}

.section-container{
    padding: 2rem 0;
    max-width: 95%;
    margin: 0 auto;
}

.section-title { margin-bottom: 2rem; font-size: 2rem; }
.text-center { text-align: center; }

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

.glass-card {
    background: var(--card-color);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(255,255,255,0.02);
}

.placeholder-img {
    background: #222;
    aspect-ratio: 16/9;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.btn-card {
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.btn-card:hover { background: white; color: black; }


.categories-section { background: rgba(255,255,255,0.02); }
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.category-card {
    background: var(--card-color);
    padding: 2rem;
    text-align: center;
    border-radius: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.category-card:hover { background: white; color: black; }


.horizontal-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.trending-card {
    min-width: 300px;
    height: 350px;
    background: var(--card-color);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    color: black;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}


.community-box { text-align: center; padding: 4rem; }
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item strong { display: block; font-size: 2rem; }
.stat-item span { color: var(--text-dim); font-size: 0.8rem; }
footer {
    background: rgba(7, 17, 31, 0.96);
    border-top: 1px solid var(--border);
    padding: 3rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-box h3 {
    color: var(--blue);
    margin-bottom: 15px;
    border: none;
    padding: 0;
}

.footer-box p,
.footer-box a {
    color: var(--text);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: 0.3s;
}

.footer-box a:hover {
    color: var(--blue);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: white;
    border-color: var(--blue);
    background: rgba(56, 189, 248, 0.15);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 35px;
    color: var(--text);
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

@media (max-width: 600px) {
    .nav-links { display:block; }
    .stats-grid { flex-direction: column; gap: 1.5rem; }
}

:root {
    --scroll-speed: 40s;
    --img-width: 280px;
    --img-gap: 20px;
}

.scroll-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    background: transparent; 
}

.scroll-track {
    display: flex;
    width: max-content; 
    gap: var(--img-gap);
    animation: scroll-animation var(--scroll-speed) linear infinite;
}

.scroll-track img {
    width: 300px;
    height: 450px; 
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
}


.scroll-container:hover .scroll-track {
    animation-play-state: paused;
}


.scroll-track img:hover {
    transform: scale(1.08);
}


@keyframes scroll-animation {
    0% {
        transform: translateX(0);
    }
    100% {
    
        transform: translateX(calc(-50% - (var(--img-gap) / 2)));
    }
}

.search-wrapper {
    margin-bottom: 1.5rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background: black;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    max-width: 500px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-bar:focus-within {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.search-icon {
    font-size: 1.3rem;
    color: #888;
    margin-right: 0.7rem;
    user-select: none;
}

.search-bar input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.search-bar input::placeholder { color: #555; }

.search-clear {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0 0.3rem;
    display: none;
    transition: color 0.2s;
}

.search-clear:hover { color: white; }
.search-clear.visible { display: block; }

.search-results-info {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #666;
    padding-left: 1rem;
    min-height: 1rem;
}


.trending-card {
    transition: all 0.4s ease;
}

.trending-card.highlight-found {
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
    transform: scale(1.03);
}

.trending-card.dimmed {
    opacity: 0.2;
    filter: grayscale(80%);
}
