/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

/* --- 1. GLOBAL SETTINGS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

body {
    background-color: #050505; /* Deep Black for Neon Pop */
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* --- 2. PARTICLE BACKGROUND CANVAS --- */
#dustCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #050505;
}

/* --- 3. HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    background: rgba(5, 5, 5, 0.9); /* Darker Header */
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 210, 255, 0.1); /* Subtle Blue Line */
    backdrop-filter: blur(10px);
}

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

/* --- NEW TEXT LOGO STYLES --- */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

/* Icon Style */
.brand-icon {
    font-size: 1.8rem;
    color: #00d2ff;
    filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.8));
}

/* Text Style */
.brand-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
}

/* Neon Highlight (Adi4U) */
.brand-highlight {
    color: #00d2ff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.8),
                 0 0 20px rgba(0, 210, 255, 0.4);
}

/* Social & Search */
.social-nav {
    display: flex;
    gap: 20px;
}

.social-nav a {
    color: #ccc;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-nav a:hover {
    color: #00d2ff;
    transform: translateY(-3px);
    text-shadow: 0 0 8px #00d2ff;
}

.search-bar {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.search-bar:hover, .search-bar:focus-within {
    border-color: #00d2ff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 150px;
    font-size: 0.9rem;
}

.search-bar button {
    background: transparent;
    border: none;
    color: #00d2ff;
    cursor: pointer;
}

/* --- 4. HERO SECTION --- */
.hero {
    text-align: center;
    padding: 160px 20px 40px; /* Header Space Adjusted */
}

.page-hero {
    padding: 150px 20px 30px;
}

.main-heading {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.sub-text {
    color: #ccc;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* --- 5. CATEGORIES & CARDS --- */
.categories-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-bottom: 80px;
    max-width: 800px;
    margin: 0 auto;
    width: 95%;
}

.category-card {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(20, 20, 20, 0.6); /* More Transparent */
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 25px;
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.category-card:hover {
    transform: translateX(10px);
    border-color: #00d2ff;
    background: rgba(0, 210, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

.cat-icon {
    font-size: 1.8rem;
    color: #00d2ff;
    margin-right: 20px;
    width: 40px;
    text-align: center;
}

.cat-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.cat-info p {
    font-size: 0.85rem;
    color: #aaa;
}

.arrow {
    color: #555;
    transition: 0.3s;
    margin-left: auto; /* Pushes arrow to right */
}

.category-card:hover .arrow {
    color: #00d2ff;
}

/* --- 6. INNER PAGES GRID --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    padding: 20px 5% 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.item-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 350px;
    backdrop-filter: blur(5px);
}

.item-card:hover {
    transform: translateY(-8px);
    border-color: #00d2ff;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
}

.card-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.card-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.item-card:hover .card-img img {
    transform: scale(1.08);
}

.item-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
    font-weight: 600;
}

.item-card p {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 20px;
}

/* Download Button */
.download-btn {
    background: transparent;
    color: #00d2ff;
    padding: 10px 0;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
    border: 1px solid #00d2ff;
    width: 100%;
    max-width: 200px;
    display: inline-block;
}

.download-btn:hover {
    background: #00d2ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
}

/* --- 7. LEGAL PAGES (Privacy, Terms, etc.) --- */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 80px;
}

.policy-container h2 {
    color: #00d2ff;
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.policy-container p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.policy-container ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: #bbb;
}

.policy-container li {
    margin-bottom: 8px;
}

/* --- 8. FOOTER --- */
footer {
    background: #080808;
    padding: 50px 5% 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: left;
}

.footer-left h2 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-links h3, .footer-social h3 {
    color: #00d2ff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: #555;
    font-size: 0.85rem;
}

/* --- 9. MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 10px;
    }
    
    .brand-text {
        font-size: 1.4rem; /* Smaller text for mobile */
    }
    
    .brand-icon {
        font-size: 1.4rem;
    }

    .social-nav {
        gap: 20px;
    }

    .search-bar {
        width: 100%;
    }
    
    .search-bar input {
        width: 100%;
    }

    .hero {
        padding-top: 240px; /* Avoid overlap with header */
    }
    
    .main-heading {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- 10. FORCE FIX FOR LINKS --- */
a {
    text-decoration: none !important;
}

.footer-links a, 
.footer-links a:visited {
    color: #bbbbbb !important;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00d2ff !important;
    padding-left: 5px;
}

/* --- 11. BACK BUTTON --- */
.back-btn {
    font-size: 1.4rem;
    color: #cccccc !important;
    margin-right: 15px;
    transition: 0.3s;
    display: flex;
}

.back-btn:hover {
    color: #00d2ff !important;
    transform: translateX(-5px);
}
