@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --gh-black: rgba(5, 10, 5, 0.95);
    --gh-green-dark: rgba(20, 35, 20, 0.8);
    --gh-green-neon: #a2e841;
    --gh-green-glow: rgba(162, 232, 65, 0.6);
    --gh-text: #e0e6e0;
    --glass-bg: rgba(10, 18, 10, 0.65);
    --glass-border: rgba(162, 232, 65, 0.3);
    --glass-blur: blur(24px) saturate(120%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #050a05;
    /* Moody Jungle Background from Unsplash */
    background-image:
        linear-gradient(to bottom, rgba(5, 10, 5, 0.7), rgba(5, 10, 5, 0.95)),
        url('https://images.unsplash.com/photo-1518182170546-076616fdfaaf?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--gh-text);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--gh-green-neon);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--gh-green-glow);
}

.gh-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 2px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.gh-navbar .logo {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    color: var(--gh-green-neon);
    font-family: 'Rajdhani', sans-serif;
    text-shadow: 0 0 15px var(--gh-green-glow);
}

.gh-navbar ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.gh-navbar ul a {
    text-decoration: none;
    color: #aaa;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    font-family: 'Rajdhani', sans-serif;
}

.gh-navbar ul a:hover,
.gh-navbar ul a.active {
    color: var(--gh-green-neon);
    text-shadow: 0 0 8px var(--gh-green-glow);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    flex: 1;
    width: 100%;
}

/* Glass Card - HUD Style */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    /* Sharper edges for HUD look */
    padding: 2.5rem;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

/* Sci-fi / Survival HUD corners */
.glass-card::before,
.glass-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gh-green-neon);
    transition: all 0.3s;
    z-index: 2;
}

.glass-card::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.glass-card::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Icon hover animation */
.glass-card i {
    transition: transform 0.3s ease;
}

/* Buttons */
.gh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(10, 20, 10, 0.8);
    color: #ccc;
    border: 1px solid rgba(162, 232, 65, 0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-transform: uppercase;
}

.gh-btn:hover {
    background: rgba(162, 232, 65, 0.15);
    color: var(--gh-green-neon);
    border-color: var(--gh-green-neon);
    box-shadow: 0 0 15px rgba(162, 232, 65, 0.3);
}

.gh-btn.active {
    background: var(--gh-green-neon);
    color: #000;
    border-color: var(--gh-green-neon);
    box-shadow: 0 0 20px rgba(162, 232, 65, 0.6);
    text-shadow: none;
}

/* Grids */
.gh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

/* Search Input HUD */
.gh-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Mobile Toggle */
.gh-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gh-green-neon);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 992px) {
    .gh-navbar {
        padding: 1rem 1.5rem;
    }

    .gh-nav-toggle {
        display: block;
    }

    .gh-navbar ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(5, 10, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 2rem;
        z-index: 1000;
        border-left: 2px solid var(--glass-border);
    }

    .gh-navbar ul.active {
        right: 0;
    }

    .gh-navbar ul li {
        width: 100%;
        text-align: center;
    }

    .gh-navbar ul a {
        font-size: 1.5rem;
        display: block;
        padding: 1rem;
    }

    .gh-navbar .logo {
        font-size: 1.5rem;
    }
}

.gh-search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--glass-border);
    color: var(--gh-green-neon);
    padding: 1rem 1rem 1rem 3rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
}

.gh-search-input:focus {
    border-color: var(--gh-green-neon);
    box-shadow: 0 0 15px rgba(162, 232, 65, 0.3);
}

.gh-search-input::placeholder {
    color: rgba(162, 232, 65, 0.3);
}

.gh-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gh-green-neon);
    opacity: 0.7;
}

/* Loader */
.gh-loader {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(162, 232, 65, 0.1);
    border-bottom-color: var(--gh-green-neon);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    box-shadow: 0 0 20px rgba(162, 232, 65, 0.2);
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(162, 232, 65, 0.1);
    background: rgba(0, 0, 0, 0.8);
    margin-top: auto;
    font-size: 0.9rem;
    color: #666;
    backdrop-filter: blur(10px);
}

/* Utilities */
.text-neon {
    color: var(--gh-green-neon);
}

.glow {
    text-shadow: 0 0 10px var(--gh-green-glow);
}

.border-neon {
    border-color: var(--gh-green-neon) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
    background: var(--gh-green-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gh-green-neon);
}

.footer-link {
    color: var(--gh-green-neon);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.7;
    transition: all 0.3s;
}

.footer-link:hover {
    opacity: 1;
    text-shadow: 0 0 10px var(--gh-green-glow);
}