/*
    AlphaKOTH - Tactical Tebex Template
    Designed to match in-game HUD and menus.
    Glassmorphism | Tactical HUD | Gold Accents
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Share+Tech+Mono&family=Inter:wght@300;400;700&display=swap');

:root {
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --dark: rgba(10, 10, 12, 0.95);
    --darker: rgba(5, 5, 7, 0.98);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --danger: #ff3c3c;
    --success: #00ff00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050507;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .tactical-font {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mono-font {
    font-family: 'Share Tech Mono', monospace;
}

/* --- HUD BACKGROUND EFFECTS --- */

.hud-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.scanlines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 3px
    );
}

.hex-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--gold-glow) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.1;
}

.vignette {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.8) 100%);
}

/* --- UI COMPONENTS --- */

.glass-panel {
    background: var(--dark);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--gold);
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 40px;
    height: 40px;
    background: linear-gradient(225deg, var(--gold) 0.5px, transparent 0.5px);
    pointer-events: none;
}

.btn-tactical {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 12px 24px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, 90% 0, 100% 30%, 100% 100%, 10% 100%, 0 70%);
}

.btn-tactical:hover {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 0 15px var(--gold-glow);
}

.btn-tactical.primary {
    background: var(--gold);
    color: var(--dark);
}

.btn-tactical.primary:hover {
    filter: brightness(1.2);
}

/* --- NAVIGATION --- */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

/* --- PRODUCT CARDS --- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2px;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.product-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-info {
    padding: 20px;
    background: var(--darker);
}

.product-title {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 18px;
}

.product-price {
    font-family: 'Share Tech Mono', monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: var(--dark);
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

/* --- TELEMETRY / STATS --- */

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    color: var(--gold);
    margin-bottom: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--success);
    animation: blink 2s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* --- FOOTER --- */

footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 5%;
    margin-top: 80px;
    background: var(--darker);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-logo {
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Responsiveness */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .product-grid { grid-template-columns: 1fr; }
}
