/*
Theme Name: Battlegrounds Daily Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A PUBG inspired theme with dark mode and tactical orange accents. Supports Elementor.
Version: 1.0
Text Domain: battlegrounds-theme
*/

        /* --- CSS VARIABLES & RESET --- */
        :root {
            --primary-dark: #121212;
            --secondary-dark: #1e1e1e;
            --pubg-orange: #f2a900; /* Signature PUBG Orange */
            --text-light: #f0f0f0;
            --text-gray: #b0b0b0;
            --font-head: 'Oswald', sans-serif;
            --font-body: 'Roboto', sans-serif;
        }

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

        body {
            background-color: var(--primary-dark);
            color: var(--text-light);
            font-family: var(--font-body);
            line-height: 1.6;
        }

        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }

        /* --- HEADER --- */
        header {
            background-color: rgba(18, 18, 18, 0.95);
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 3px solid var(--pubg-orange);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
h1 {
    font-size: clamp(1.5rem,4.5vw,2.5rem) !important;
    
}
h2 {
    font-size: clamp(1.1rem,3.5vw,1.5rem) !important;
}
        .logo {
            font-family: var(--font-head);
            font-size: 1.8rem;
            font-weight: 700;
            color: white;
            text-transform: uppercase;
        }
        .logo span { color: var(--pubg-orange); }

        nav ul {
            display: flex;
            gap: 2rem;
        }

        nav a {
            font-family: var(--font-head);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 1rem;
        }

        nav a:hover { color: var(--pubg-orange); }

        .btn-subscribe {
            background-color: var(--pubg-orange);
            color: #000;
            padding: 0.5rem 1.5rem;
            font-weight: bold;
            font-family: var(--font-head);
            text-transform: uppercase;
            border-radius: 2px;
        }
        .btn-subscribe:hover {
            background-color: #ffc107;
            transform: scale(1.05);
        }

        /* --- HERO SECTION --- */
        .hero {
            height: 85vh;
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('https://pubgmobiles.in/wp-content/uploads/2025/12/pubg-background.webp'); 
            /* Note: Using a generic gaming placeholder. Replace URL with a real PUBG screenshot for best effect */
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 1rem;
        }

        .hero h1 {
            font-family: var(--font-head);
            font-size: 2.5rem;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-gray);
            margin-bottom: 2rem;
            max-width: 600px;
        }

        /* --- CATEGORY GRID (Floating over Hero bottom) --- */
        .category-container {
            max-width: 1200px;
            margin: -80px auto 4rem auto; /* Pulls it up into the hero */
            padding: 0 1rem;
            position: relative;
            z-index: 10;
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .cat-card {
            background-color: rgba(30, 30, 30, 0.95);
            padding: 2rem;
            text-align: center;
            border: 1px solid #333;
            border-bottom: 4px solid var(--pubg-orange);
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .cat-card:hover {
            transform: translateY(-10px);
            background-color: #252525;
        }

        .cat-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--pubg-orange);
        }

        .cat-title {
            font-family: var(--font-head);
            font-size: 1.5rem;
            text-transform: uppercase;
        }

        /* --- AD BANNER PLACEHOLDER --- */
        .ad-banner {
            max-width: 1000px;
            margin: 2rem auto;
            background-color: #000;
            border: 1px dashed #444;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #555;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* --- COMMON SECTION STYLES --- */
        .section-title {
            font-family: var(--font-head);
            font-size: 1.5rem;
            text-transform: uppercase;
            margin-bottom: 2rem;
            border-left: 5px solid var(--pubg-orange);
            padding-left: 1rem;
            display: inline-block;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 1rem;
        }

        /* --- LATEST INTEL (News) --- */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .news-card {
            background-color: var(--secondary-dark);
            border-radius: 4px;
            overflow: hidden;
            transition: 0.3s;
        }
        .news-card:hover { box-shadow: 0 5px 15px rgba(242, 169, 0, 0.2); }

        .news-img {
            height: 200px;
            background-color: #333;
            /* Placeholder styling */
            display: flex;
            align-items: center;
            justify-content: center;
            color: #555;
        }

        .news-content { padding: 1.5rem; }
        
        .news-tag {
            font-size: 0.8rem;
            color: var(--pubg-orange);
            text-transform: uppercase;
            font-weight: bold;
        }

        .news-card h3 {
            margin: 0.5rem 0;
            font-family: var(--font-head);
            font-size: 1.4rem;
        }

        .news-card p { color: var(--text-gray); font-size: 0.95rem; }

        /* --- TIPS & GUIDES (New Section) --- */
        .tips-section {
            background-color: #161616;
            border-top: 1px solid #333;
            border-bottom: 1px solid #333;
        }

        .tips-layout {
            display: grid;
            grid-template-columns: 1fr 1fr; /* Split layout */
            gap: 3rem;
        }

        .tip-main-feature {
            position: relative;
        }
        .tip-main-img { width: 100%; border-radius: 4px; border: 1px solid #444; }

        .tip-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .tip-item {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            padding-bottom: 1rem;
            border-bottom: 1px solid #333;
        }

        .tip-number {
            font-family: var(--font-head);
            font-size: 2rem;
            color: var(--pubg-orange);
            line-height: 1;
        }

        .tip-text h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
        .tip-text p { font-size: 0.9rem; color: var(--text-gray); }

        /* --- POPULAR PLAYERS (New Section) --- */
        .players-grid {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 2rem;
            text-align: center;
        }

        .player-card {
            background: linear-gradient(145deg, #1e1e1e, #181818);
            padding: 2rem;
            border-radius: 8px;
            width: 250px;
            border: 1px solid #333;
        }

        .player-avatar {
            width: 100px;
            height: 100px;
            background-color: #333;
            border-radius: 50%;
            margin: 0 auto 1rem auto;
            border: 3px solid var(--pubg-orange);
            /* Placeholder for image */
            display: flex;
            align-items: center; justify-content: center;
        }

        .player-name {
            font-family: var(--font-head);
            font-size: 1.5rem;
            color: #fff;
        }
        .player-stats { color: var(--pubg-orange); font-size: 0.9rem; margin-top: 0.5rem; }

        /* --- FOOTER --- */
        footer {
            background-color: #0d0d0d;
            padding: 3rem 1rem;
            text-align: center;
            border-top: 5px solid var(--pubg-orange);
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--text-gray);
            font-size: 0.9rem;
            text-transform: uppercase;
            font-weight: 500;
        }

        .footer-links a:hover { color: #fff; }

        .copyright { color: #7D7D7D; font-size: 0.8rem; }

        /* --- RESPONSIVENESS --- */
        @media (max-width: 768px) {
            header { flex-direction: column; gap: 1rem; }
            .hero h1 { font-size: 2.5rem; }
            .tips-layout { grid-template-columns: 1fr; }
            nav ul { gap: 1rem; font-size: 0.8rem; }
            .category-container { margin-top: -40px; }
			
			.footer-links {
         
            gap: 1rem;
           
        }
        }


/* Hamburger */
.hamburger{
    display:none;
    flex-direction:column;
    cursor:pointer;
    gap:5px;
}

.hamburger span{
    width:25px;
    height:3px;
    background:#ffffff;
}

/* Desktop */
.nav-menu ul{
    display:flex;
    gap:20px;
    list-style:none;
}

/* Mobile */
@media (max-width:768px){
    .hamburger{
        display:flex;
    }

    .nav-menu{
        position:absolute;
        top:136px;
        left:0;
        width:100%;
        background:#000;
        display:none;
    }

    .nav-menu.active{
        display:block;
    }

    .nav-menu ul{
        flex-direction:column;
        padding:20px;
    }

    .site-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:15px 20px;
}
	.nav-box{
		    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
	}
}



