/*
Theme Name: BCCL Official
Theme URI: https://netbrig.com
Author: Netbrig
Author URI: https://netbrig.com
Description: Official Theme for Bihar Corporate Cricket League 2026
Version: 1.0
Text Domain: bccl-official
*/


/* --- RESET & VARIABLES --- */
        :root {
            --primary-bg: #0c0f1c;
            --secondary-bg: #11142a;
            --accent: #00ff88;
            --accent-hover: #00cc6a;
            --text-white: #ffffff;
            --text-gray: #a0a0a0;
            --live-red: #ff3b3b;
            --card-bg: rgba(255, 255, 255, 0.05);
            --transition: all 0.3s ease-in-out;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--primary-bg);
            color: var(--text-white);
            overflow-x: hidden;
            line-height: 1.6;
        }

        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }

        /* --- UTILITIES --- */
        .container {
            max-width: 1300px;
            margin: 0 auto;
            /* padding: 0 20px; */
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            text-transform: uppercase;
            letter-spacing: 1px;
            border: none;
        }

        .btn-primary {
            background: var(--accent);
            color: #000;
            box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
        }

        .btn-primary:hover {
            background: var(--text-white);
            transform: translateY(-3px);
            box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
        }

        .btn-outline {
            border: 2px solid var(--accent);
            color: var(--accent);
            background: transparent;
        }

        .btn-outline:hover {
            background: var(--accent);
            color: #000;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--accent);
            margin: 10px auto 0;
            border-radius: 2px;
        }
        .section-padding {
            padding: 100px 0;
            padding-top: 100px;
            padding-right: 0px;
            padding-bottom: 100px;
            padding-left: 0px;
        }
        /* --- HEADER --- */
        .main-header {
            /* display: flex; */
            justify-content: space-between;
            align-items: center;
            padding: 0px 5%;
            background: rgba(12, 15, 28, 0.9);
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            transition: var(--transition);
        }

        .logo h2 {
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--text-white);
        }

        .logo span { color: var(--accent); }

        .nav-menu { display: flex; gap: 30px; }

        .nav-menu a {
            font-weight: 500;
            font-size: 0.95rem;
            position: relative;
            color: var(--text-gray);
            transition: var(--transition);
        }

        .nav-menu a:hover, .nav-menu a.active { color: var(--accent); }

        .hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

        /* --- HERO SECTION --- */
        .hero {
            height: 100vh;
            background: linear-gradient(rgba(0,0,0,0.6), rgba(12,15,28,1)), url('/wp-content/themes/bccl-official/assets/images/background-home.jpg') center/cover no-repeat;
            /* background-image: /image/background-home.jpg; */
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            z-index: 2;
            max-width: 800px;
            padding: 20px;
        }

        .hero h1 {
            font-size: 3.5rem;
            line-height: 1.2;
            margin-bottom: 20px;
            opacity: 0;
            animation: fadeInUp 1s forwards 0.5s;
        }

        .hero p {
            font-size: 1.2rem;
            color: #ddd;
            margin-bottom: 30px;
            opacity: 0;
            animation: fadeInUp 1s forwards 0.8s;
        }

        .hero-btn-wrapper {
            opacity: 0;
            animation: fadeInUp 1s forwards 1.1s;
        }

        /* --- LIVE SCORE TICKER --- */
        .live-ticker-wrap {
            background: var(--secondary-bg);
            border-bottom: 1px solid rgba(255,255,255,0.1);
            overflow: hidden;
            position: relative;
            z-index: 10;
        }

        .live-score-section {
            display: flex;
            align-items: center;
            padding: 10px 0;
        }

        .live-badge {
            background: var(--live-red);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: bold;
            margin-right: 15px;
            animation: pulse 1.5s infinite;
            white-space: nowrap;
        }

        .match-info {
            font-family: 'Courier New', monospace;
            font-weight: 700;
            color: var(--accent);
            white-space: nowrap;
        }

        /* --- SECTIONS GENERAL --- */
        section { padding: 80px 0; }

        /* --- SCHEDULE GRID --- */
        .matches-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .match-card {
            background: var(--card-bg);
            padding: 25px;
            border-radius: 15px;
            border: 1px solid rgba(255,255,255,0.05);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .match-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }

        .match-date {
            color: var(--text-gray);
            font-size: 0.9rem;
            margin-bottom: 15px;
            display: flex;
            justify-content: space-between;
        }

        .teams-vs {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .team-name { font-weight: 700; font-size: 1.2rem; }
        .vs-text { color: var(--accent); font-weight: 900; font-size: 0.9rem; }
        .venue { font-size: 0.9rem; color: #fff; margin-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }

        /* --- LIVE STREAMING --- */
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            height: 0;
            background: #000;
            border-radius: 15px;
            overflow: hidden;
            border: 2px solid var(--accent);
            box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
        }

        .video-placeholder {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: url('https://picsum.photos/seed/cricketfield/1280/720') center/cover;
        }
        
        .video-overlay {
            background: rgba(0,0,0,0.7);
            width: 100%; height: 100%;
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
        }

        .play-icon {
            font-size: 4rem;
            color: var(--accent);
            cursor: pointer;
            transition: transform 0.3s;
        }
        .play-icon:hover { transform: scale(1.1); }

        /* --- REGISTRATION --- */
        .registration-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .reg-form {
            background: var(--secondary-bg);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        }

        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; margin-bottom: 8px; color: var(--text-gray); font-size: 0.9rem; }
        .form-group input, .form-group select {
            width: 100%;
            padding: 12px 15px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 8px;
            color: #fff;
            font-family: inherit;
        }
        .form-group input:focus, .form-group select:focus {
            outline: none;
            border-color: var(--accent);
            background: rgba(0, 255, 136, 0.05);
        }

        .reg-info h3 { font-size: 2rem; margin-bottom: 20px; }
        .reg-info ul li { margin-bottom: 15px; display: flex; align-items: center; }
        .reg-info ul li span { color: var(--accent); margin-right: 10px; font-size: 1.2rem; }

        /* --- SPONSORS --- */
        .sponsors-grid {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 30px;
            opacity: 0.7;
        }
        .sponsor-logo {
            width: 150px;
            height: 80px;
            background: #0e121d;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #000;
            font-weight: bold;
            text-transform: uppercase;
        }

        /* --- FOOTER --- */
        footer {
            background: #05060f;
            padding: 60px 0 20px;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col ul li a { color: var(--text-gray); transition: 0.3s; }
        .footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }

        .copyright {
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 20px;
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        /* --- TOAST NOTIFICATION --- */
        .toast {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--secondary-bg);
            border-left: 5px solid var(--accent);
            padding: 15px 25px;
            border-radius: 5px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.5);
            transform: translateX(200%);
            transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            z-index: 2000;
            display: flex;
            align-items: center;
        }
        .toast.show { transform: translateX(0); }
        .toast-icon { margin-right: 15px; color: var(--accent); font-size: 1.5rem; }

        /* --- ANIMATIONS --- */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(40px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        .reveal {
            /* opacity: 0; */
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }
        .reveal.active {
            /* opacity: 1 !important; */
            transform: translateY(0);
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .hero h1 { font-size: 2.2rem; }
            .main-header { flex-direction: column; padding: 15px; }
            .nav-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                text-align: center;
                margin-top: 15px;
                gap: 15px;
            }
            .nav-menu.active { display: flex; }
            .hamburger { display: block; position: absolute; right: 20px; top: 20px; }
            .registration-layout { grid-template-columns: 1fr; }
        }

        /* Amrit */
        img.main-logo {
            width: 4em;
            margin-bottom: -30px;
        }
        /* New code amrit */
        
        
        /* --- HEADER --- */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 15px 0;
            transition: var(--transition);
            background: rgba(5, 7, 10, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        header.scrolled { padding: 10px 0; background: rgba(5, 7, 10, 0.95); }

        .nav-wrapper { display: flex; justify-content: space-between; align-items: center; }

        .logo {
            font-family: var(--font-head);
            font-size: 2.5rem;
            font-weight: 700;
            color: #fff;
        }
        .logo span { color: var(--primary); }

        .nav-links { display: flex; gap: 30px; }
        .nav-links a {
            font-weight: 500;
            font-size: 1.30rem;
            text-transform: uppercase;
            position: relative;
            color: #ffffff;
        }
        .nav-links a::after {
            content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
            background: var(--primary); transition: var(--transition);
        }
        .nav-links a:hover::after { width: 100%; }

        /* --- HERO SECTION --- */
        .hero {
            height: 100vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: #000;
        }

        .hero-bg {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: url('https://picsum.photos/seed/cricketstadiumnight/1920/1080') center/cover no-repeat;
            opacity: 0.6;
            animation: zoomBg 20s infinite alternate;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 900px;
        }

        .hero-tag {
            background: var(--live-red);
            color: #fff;
            padding: 5px 15px;
            border-radius: 4px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 20px;
            display: inline-block;
            animation: pulseRed 2s infinite;
        }

        .hero h1 {
            font-family: var(--font-head);
            font-size: 5rem;
            line-height: 1;
            margin-bottom: 20px;
            text-transform: uppercase;
            text-shadow: 0 5px 15px rgba(0,0,0,0.5);
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 40px;
            color: #ddd;
        }

        /* --- COUNTDOWN TIMER --- */
        .countdown-section {
            background: linear-gradient(to right, #111, #0a0a0a);
            border-top: 1px solid #222;
            border-bottom: 1px solid #222;
            padding: 40px 0;
        }

        .timer-wrapper {
            display: flex;
            justify-content: center;
            gap: 40px;
        }

        .time-box {
            text-align: center;
        }

        .time-val {
            font-family: var(--font-head);
            font-size: 4rem;
            color: #00ff88;
            line-height: 1;
        }

        .time-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            color: var(--text-gray);
            letter-spacing: 1px;
        }

        /* --- LIVE SCORE BAR --- */
        .live-score-bar {
            background: var(--bg-card);
            padding: 15px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            position: relative;
            z-index: 10;
        }
        .score-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }
        .live-indicator {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--live-red);
            font-weight: bold;
            font-family: var(--font-head);
            letter-spacing: 1px;
        }
        .live-dot { width: 10px; height: 10px; background: var(--live-red); border-radius: 50%; animation: blink 1s infinite; }
        .current-score { font-family: var(--font-head); font-size: 2rem; color: #fff; }
        .run-rate { color: var(--text-gray); font-size: 0.9rem; }

        /* --- MATCH SCHEDULE --- */
        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }
        .section-header h2 {
            font-family: var(--font-head);
            font-size: 3.5rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            line-height: 1;
            margin-bottom: 10px;
        }
        .section-header h2 span {
            color: #00ff88;
        }
        .schedule-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .match-card {
            background: var(--bg-card);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 15px;
            padding: 30px;
            position: relative;
            transition: var(--transition);
            overflow: hidden;
        }

        .match-card::before {
            content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
            background: var(--primary); transform: scaleY(0); transition: var(--transition);
        }

        .match-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
        .match-card:hover::before { transform: scaleY(1); }

        .match-header { display: flex; justify-content: space-between; color: var(--text-gray); margin-bottom: 20px; font-size: 0.9rem; }
        .teams { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
        .team { text-align: center; }
        .team img { width: 60px; height: 60px; border-radius: 50%; background: #222; margin-bottom: 10px; object-fit: cover; }
        .team-name { font-weight: 700; font-size: 1.1rem; }
        .vs { font-family: var(--font-head); font-size: 2rem; color: var(--text-gray); }
        .venue { text-align: center; color: #00ff88; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }

        /* --- PLAYER OFFER SECTION --- */
        .offer-section {
            background: linear-gradient(135deg, #0e121d 0%, #1a1f2e 100%);
            position: relative;
        }
        
        .offer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .offer-card {
            background: rgba(255, 255, 255, 0.03);
            padding: 40px 20px;
            text-align: center;
            border-radius: 20px;
            border: 1px solid rgba(255, 215, 0, 0.1); /* Gold hint */
            transition: var(--transition);
        }

        .offer-card:hover {
            background: rgba(255, 215, 0, 0.05);
            border-color: var(--gold);
            transform: translateY(-5px);
        }

        .offer-icon { font-size: 3rem; margin-bottom: 20px; color: var(--gold); }
        .offer-card h3 { font-family: cursive; font-size: 2rem; margin-bottom: 10px; }
        .offer-card p { color: var(--text-gray); font-size: 0.9rem; }
        .price-tag {
            margin-top: 20px;
            font-size: 1.5rem;
            font-weight: bold;
            color: #fff;
        }
        .price-tag small { font-size: 0.9rem; color: var(--text-gray); font-weight: normal; }

        /* --- HIGHLIGHTS GALLERY --- */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 15px;
        }
        
        .gallery-item {
            position: relative;
            height: 250px;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
        }

        .gallery-item img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img { transform: scale(1.1); }

        .gallery-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
        }

        .gallery-item:hover .gallery-overlay { opacity: 1; }
        .play-btn { font-size: 3rem; color: #fff; }

        /* --- TESTIMONIALS --- */
        .testimonials-wrapper {
            display: flex;
            gap: 30px;
            overflow-x: auto;
            padding-bottom: 20px;
            scrollbar-width: none; /* Firefox */
        }
        .testimonials-wrapper::-webkit-scrollbar { display: none; }

        .testimonial-card {
               min-width: 350px;
                background: #0e121d;
                padding: 30px;
                border-radius: 15px;
                border-left: 4px solid #7000ff;
        }

        .quote { font-style: italic; color: #ccc; margin-bottom: 20px; font-size: 1.1rem; }
        .author { display: flex; align-items: center; gap: 15px; }
        .author img { width: 50px; height: 50px; border-radius: 50%; }
        .author-info h4 { font-size: 1.1rem; margin-bottom: 2px; }
        .author-info span { font-size: 0.8rem; color: #00ff88; }

        /* --- SPONSORS --- */
        .sponsors-track {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 40px;
            opacity: 0.6;
            filter: grayscale(100%);
            transition: var(--transition);
        }
        .sponsors-track:hover { opacity: 1; filter: grayscale(0%); }
        .sponsor-logo { height: 50px; font-weight: bold; font-size: 1.5rem; color: #fff; display: flex; align-items: center; }

        /* --- FOOTER --- */
        footer {
            background: #020304;
            padding-top: 80px;
            border-top: 1px solid #222;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-about h3 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 20px; }
        .footer-about p { color: var(--text-gray); margin-bottom: 20px; }
        
        .footer-col h4 { color: #fff; margin-bottom: 25px; font-size: 1.2rem; }
        .footer-col ul li { margin-bottom: 12px; }
        .footer-col ul li a { color: var(--text-gray); transition: 0.3s; }
        .footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }

        .social-icons a {
            display: inline-flex; width: 40px; height: 40px; background: #222;
            color: #fff; border-radius: 50%; align-items: center; justify-content: center;
            margin-right: 10px; transition: 0.3s;
        }
        .social-icons a:hover { background: var(--primary); color: #000; }

        .map-container iframe { width: 100%; height: 200px; border-radius: 10px; filter: grayscale(100%) invert(92%); }

        .copyright {
            background: #000;
            padding: 20px 0;
            text-align: center;
            color: #555;
            font-size: 0.9rem;
        }

        /* --- ANIMATIONS --- */
        @keyframes zoomBg { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
        @keyframes pulseRed { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

        .reveal {
            /* opacity: 0; */
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }
        .reveal.active { opacity: 1; transform: translateY(0); }

        /* --- RESPONSIVE --- */
        @media (max-width: 992px) {
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .hero h1 { font-size: 3rem; }
            .timer-wrapper { gap: 15px; }
            .time-val { font-size: 2.5rem; }
            .nav-links { display: none; } /* Add Hamburger logic in JS if needed */
            .footer-grid { grid-template-columns: 1fr; }
        }