/*
Theme Name: Pak Army Animated Premium
Description: Fully Animated Homepage, Black Ops One Header Font, and Floating Job Cards with Single Page VIP Design.
Author: Al Raza Computer and Online Services
Version: 6.0
*/

@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Michroma&family=Poppins:wght@400;500;700&display=swap');

/* =========================================
   CORE VARIABLES (MUST BE AT THE TOP)
   ========================================= */
:root {
    --bg-black: #000000;
    --neon-green: #00ff66;
    --gold-premium: #e5c07b;
    --card-bg: rgba(15, 25, 20, 0.6);
    --border-light: rgba(0, 255, 102, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-black);
    background-image: radial-gradient(circle at center, rgba(0,255,102,0.05) 0%, transparent 70%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: 110px;
}
a { text-decoration: none; }

/* =========================================
   HEADER & LOGO ANIMATION
   ========================================= */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: #000000; border-bottom: 2px solid var(--border-light);
    padding: 20px 0; display: flex; justify-content: center; align-items: center;
    z-index: 1000; box-shadow: 0 4px 30px rgba(0, 255, 102, 0.1);
}

.admin-bar .site-header { top: 32px; } /* Fix for logged-in admin bar */

.site-branding .logo {
    font-family: 'Black Ops One', system-ui; font-size: 3.5rem;
    color: #ffffff; letter-spacing: 5px; text-transform: uppercase;
    animation: militaryPulse 2s infinite alternate;
}

@keyframes militaryPulse {
    0% { text-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green); transform: scale(1); }
    100% { text-shadow: 0 0 20px var(--neon-green), 0 0 40px var(--neon-green); transform: scale(1.05); color: var(--neon-green); }
}

/* =========================================
   HOMEPAGE TITLE ANIMATION
   ========================================= */
.animated-home-title {
    font-family: 'Michroma', sans-serif; text-align: center;
    font-size: 3vw; font-weight: bold; text-transform: uppercase;
    margin: 30px auto 50px;
    background: linear-gradient(90deg, #ffffff, var(--neon-green), var(--gold-premium), #ffffff);
    background-size: 300% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: gradientWave 4s linear infinite; letter-spacing: 2px;
}

@keyframes gradientWave { 0% { background-position: 0% center; } 100% { background-position: 300% center; } }

/* =========================================
   JOB CARDS (HOME PAGE)
   ========================================= */
.container { max-width: 1000px; margin: 0 auto 100px; padding: 0 20px; }
.job-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }

@media(min-width: 768px) { .job-grid { grid-template-columns: repeat(2, 1fr); } .animated-home-title { font-size: 2.2rem; } }

.glass-card {
    background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 12px;
    padding: 20px; display: flex; align-items: center; gap: 20px; position: relative;
    opacity: 0; transform: translateY(40px); animation: slideUpFade 0.6s ease-out forwards; transition: all 0.4s ease;
}
.glass-card:nth-child(1) { animation-delay: 0.1s; } .glass-card:nth-child(2) { animation-delay: 0.3s; }
.glass-card:nth-child(3) { animation-delay: 0.5s; } .glass-card:nth-child(4) { animation-delay: 0.7s; }

@keyframes slideUpFade { to { opacity: 1; transform: translateY(0); } }

.glass-card:hover {
    transform: translateY(-10px) scale(1.02); border-color: var(--neon-green);
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.3), inset 0 0 15px rgba(0, 255, 102, 0.1);
}

.card-img-box { flex-shrink: 0; width: 70px; height: 70px; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,0.1); }
.card-img-box img { width: 100%; height: 100%; object-fit: cover; }
.card-content { flex: 1; }
.glass-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.badge { display: inline-block; background: rgba(0, 255, 102, 0.1); color: var(--neon-green); padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; margin-bottom: 8px; font-weight: 600; }
.apply-link { display: inline-block; color: var(--gold-premium); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.glass-card:hover .apply-link { color: var(--neon-green); }

/* =========================================
   SINGLE POST (VIP CLASSIC & ANIMATED)
   ========================================= */
.single-container {
    max-width: 900px; margin: 40px auto 100px;
    animation: fadeInScale 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; 
}

.single-glass-box {
    background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 15px;
    padding: 50px 40px; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6); position: relative; overflow: hidden;
}

.single-glass-box::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    animation: pulseGlowLine 2s infinite;
}

.single-title {
    font-family: 'Michroma', sans-serif; font-size: 2.2rem; color: #fff;
    text-shadow: 0 0 15px rgba(0, 255, 102, 0.3); margin-bottom: 20px; line-height: 1.4;
    text-transform: uppercase; letter-spacing: 1px;
}

.single-meta {
    display: flex; gap: 15px; margin-bottom: 35px; flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px;
}

.meta-badge {
    background: rgba(0, 255, 102, 0.08); border: 1px solid rgba(0, 255, 102, 0.3);
    color: var(--neon-green); padding: 6px 18px; border-radius: 30px; font-size: 0.85rem;
    font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}

.single-content { font-size: 1.05rem; line-height: 1.9; color: #d1d9e0; margin-bottom: 50px; }
.single-content h2, .single-content h3 { color: var(--gold-premium); font-family: 'Michroma', sans-serif; margin: 35px 0 15px; font-size: 1.5rem; }

/* Cyberpunk Apply Action Box */
.cyber-apply-box {
    background: rgba(0, 0, 0, 0.6); border: 2px dashed var(--neon-green); border-radius: 12px;
    padding: 40px 20px; text-align: center; position: relative; transition: 0.4s;
}
.cyber-apply-box:hover { background: rgba(0, 255, 102, 0.05); box-shadow: 0 0 30px rgba(0, 255, 102, 0.15); }
.cyber-apply-box h3 { font-family: 'Black Ops One', system-ui; font-size: 2.2rem; color: var(--gold-premium); margin-bottom: 15px; letter-spacing: 3px; }
.cyber-apply-box p { color: #aaa; margin-bottom: 30px; font-size: 1.05rem; }
.cyber-apply-box strong { color: var(--neon-green); }

.btn-neon-apply {
    display: inline-block; background: transparent; color: var(--neon-green);
    font-family: 'Michroma', sans-serif; font-size: 1.1rem; font-weight: bold; text-transform: uppercase;
    padding: 16px 45px; border: 2px solid var(--neon-green); border-radius: 6px;
    transition: all 0.4s ease; box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
}
.btn-neon-apply:hover {
    background: var(--neon-green); color: #000;
    box-shadow: 0 0 40px var(--neon-green), inset 0 0 10px #fff; transform: scale(1.05);
}

@keyframes fadeInScale { from { opacity: 0; transform: scale(0.95) translateY(30px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes pulseGlowLine { 0%, 100% { opacity: 0.5; box-shadow: 0 0 5px var(--neon-green); } 50% { opacity: 1; box-shadow: 0 0 25px var(--neon-green); } }

/* =========================================
   FOOTER & MOBILE RESPONSIVENESS
   ========================================= */
.site-footer { text-align: center; padding: 30px 20px; border-top: 1px solid var(--border-light); color: #666; font-size: 0.85rem; margin-top: 50px;}
.site-footer span { color: var(--neon-green); font-weight: bold;}

@media(max-width: 768px){
    .site-branding .logo { font-size: 2.2rem; }
    .glass-card { padding: 15px; gap: 15px; }
    .single-glass-box { padding: 25px 20px; }
    .single-title { font-size: 1.6rem; }
    .cyber-apply-box h3 { font-size: 1.6rem; }
    .btn-neon-apply { padding: 14px 30px; font-size: 1rem; }
}