/* PUBG.co.za - Dark Gaming Aesthetic
   Colors: Deep blacks, orange neon (#FF6B00), teal accents (#00D9FF)
   Military/tactical vibes with aggressive styling
*/

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

:root {
    /* Core Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #151515;
    
    /* Neon Accents */
    --neon-orange: #FF6B00;
    --neon-orange-glow: rgba(255, 107, 0, 0.5);
    --neon-teal: #00D9FF;
    --neon-teal-glow: rgba(0, 217, 255, 0.5);
    --neon-yellow: #FFD700;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    
    /* Danger/Success */
    --danger: #ff4444;
    --success: #00ff88;
    --warning: #ffaa00;
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    /* Spacing */
    --container-max: 1400px;
    --section-padding: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tactical Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

a {
    color: var(--neon-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--neon-teal);
    text-shadow: 0 0 10px var(--neon-teal-glow);
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-yellow));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 24px;
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--neon-orange-glow);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--neon-orange);
}

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

.nav-menu a {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-orange);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-orange-glow);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--neon-orange);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--neon-orange);
    margin-bottom: 30px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px var(--neon-orange-glow); }
    50% { box-shadow: 0 0 20px var(--neon-orange-glow); }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-orange), #ff8533);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px var(--neon-orange-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--neon-orange-glow);
    color: var(--bg-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-teal);
    border: 2px solid var(--neon-teal);
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 20px var(--neon-teal-glow);
    color: var(--neon-teal);
}

/* ==================== FEATURES SECTION ==================== */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--neon-teal);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-teal));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(0, 217, 255, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ==================== TOOLS PREVIEW ==================== */
.tools-section {
    background: var(--bg-secondary);
}

.tool-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tool-preview.reverse {
    direction: rtl;
}

.tool-preview.reverse > * {
    direction: ltr;
}

.tool-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.tool-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.tool-features {
    list-style: none;
    margin-bottom: 30px;
}

.tool-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.tool-features li::before {
    content: '✓';
    color: var(--neon-orange);
    font-weight: bold;
}

.tool-mockup {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ==================== ARTICLES GRID ==================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 107, 0, 0.3);
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--neon-orange);
}

.article-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--neon-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.article-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==================== PHONE CHECKER TOOL ==================== */
.phone-checker {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.phone-search {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.phone-search input {
    flex: 1;
    padding: 15px 20px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
}

.phone-search input:focus {
    outline: none;
    border-color: var(--neon-orange);
    box-shadow: 0 0 10px var(--neon-orange-glow);
}

.phone-results {
    display: grid;
    gap: 20px;
}

.phone-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 25px;
    align-items: center;
    background: var(--bg-tertiary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.phone-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    transform: translateX(5px);
}

.phone-brand-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--neon-orange);
}

.phone-info h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.phone-specs {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.phone-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}

.stat-item {
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-orange);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Performance Bar */
.perf-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.perf-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.perf-fill.excellent { background: linear-gradient(90deg, #00ff88, #00cc6a); width: 100%; }
.perf-fill.great { background: linear-gradient(90deg, var(--neon-teal), #00b3d9); width: 85%; }
.perf-fill.good { background: linear-gradient(90deg, var(--neon-orange), #ff8533); width: 70%; }
.perf-fill.moderate { background: linear-gradient(90deg, var(--warning), #cc8800); width: 55%; }
.perf-fill.low { background: linear-gradient(90deg, var(--danger), #cc3333); width: 40%; }

/* ==================== NEWSLETTER ==================== */
.newsletter-section {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(0, 217, 255, 0.05));
    border-top: 1px solid rgba(255, 107, 0, 0.2);
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--neon-orange);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    line-height: 1.8;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--neon-orange);
}

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

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-secondary);
}

/* ==================== DISCLAIMER ==================== */
.disclaimer {
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .tool-preview {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tool-preview.reverse {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-top: 1px solid rgba(255, 107, 0, 0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-search {
        flex-direction: column;
    }
    
    .phone-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .phone-stats {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--neon-orange-glow); }
    50% { box-shadow: 0 0 20px var(--neon-orange-glow), 0 0 30px var(--neon-orange-glow); }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.glow-effect {
    animation: glow 2s ease-in-out infinite;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--neon-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
