/* Landing Page 2 - Visibility Fix */
:root {
    --lp2-primary: #ffffff;
    --lp2-accent: #00d285;
    --lp2-wa-green: #25d366;
    --lp2-bg-dark: #000c1d;
    --lp2-card-bg: rgba(7, 26, 64, 0.85);
    --lp2-border: rgba(255, 255, 255, 0.15);
}

html, body.landing2-body-class {
    background: var(--lp2-bg-dark) !important;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    min-height: 100vh;
}

.landing2-overlay {
    background: url('../images/cricket-bg-clean.jpg') no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1; /* Main container base z-index */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 1.5vh;
}

/* Dark Overlay behind everything but above base background */
.landing2-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 12, 29, 0.4) 0%, rgba(0, 12, 29, 0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Player Images - Above darkening but below content */
.player-img {
    position: absolute;
    bottom: 0;
    max-height: 90vh;
    z-index: 15; /* Increased to stay above background but stay behind content */
    pointer-events: none;
    opacity: 0.95;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.player-left { left: -5%; }
.player-right { right: -5%; }

/* Content - Above layers */
.lp2-hero, .why-container, .showcase-outer, .lp2-footer {
    position: relative;
    z-index: 20;
}

/* ... rest of the styles ... */

.lp2-header { display: flex; justify-content: center; align-items: center; padding: 15px; }
.lp2-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 0.9rem; letter-spacing: 0.5px; text-transform: uppercase; }
.lp2-logo i { color: var(--lp2-accent); font-size: 1.8rem; }

.lp2-hero { text-align: center; padding: 10px 20px; max-width: 900px; margin: 0 auto; }
.lp2-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 900; line-height: 1.1; margin-bottom: 4px; text-transform: uppercase; letter-spacing: -1px; }
.lp2-hero h1 .highlight { color: #ffffff; text-shadow: 0 0 15px rgba(255,255,255,0.4); }
.lp2-hero p { font-size: 1.05rem; color: #ffffff; opacity: 0.9; margin-bottom: 12px; }

.lp2-cta-btn { background: var(--lp2-wa-green); color: #fff; padding: 10px 30px; border-radius: 50px; text-decoration: none; font-weight: 800; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 12px; box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); border: 1px solid rgba(255,255,255,0.2); transition: transform 0.2s; }
.lp2-cta-btn:hover { transform: scale(1.05); }
.lp2-btn-subtext { font-size: 0.75rem; color: #ffffff; opacity: 0.8; margin-top: 8px; }

.why-container { padding: 0 10px; }
.lp2-section-title { text-align: center; font-size: 1.1rem; font-weight: 900; margin: 10px 0 6px; color: #ffffff; text-transform: uppercase; }
.lp2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 850px; margin: 0 auto; }
.lp2-card { background: var(--lp2-card-bg); border: 1px solid var(--lp2-border); padding: 15px 5px; border-radius: 12px; text-align: center; backdrop-filter: blur(5px); }
.icon-circle { width: 45px; height: 45px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 10px; }
.icon-circle i { font-size: 1.2rem; }
.lp2-card h4 { font-size: 0.65rem; font-weight: 900; margin: 0; }

.lp2-showcase { position: relative; margin-top: -45px; height: 210px; overflow: hidden; }
.lp2-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; max-width: 700px; margin: 0 auto; }
.wa-mockup { width: 100%; border-radius: 15px 15px 0 0; box-shadow: 0 5px 25px rgba(0,0,0,0.8); border: none; }

.lp2-footer { padding: 10px 20px; text-align: center; }
.lp2-footer p { font-size: 0.7rem; margin-bottom: 5px; opacity: 0.8; }
.lp2-footer-links { margin-bottom: 5px; font-weight: 700; font-size: 0.8rem; }
.lp2-footer-links a { color: #fff; text-decoration: none; margin: 0 10px; }
.copyright { font-size: 0.75rem; opacity: 0.6; }

@media (max-width: 1024px) { .player-img { max-height: 70vh; } }
@media (max-width: 768px) {
    .lp2-grid { grid-template-columns: repeat(2, 1fr); }
    .player-img { display: block; max-height: 50vh; opacity: 0.5; z-index: 5; }
    .player-left { left: 50%; top: 10px; bottom: auto; transform: translateX(-50%); }
    .player-right { display: none; }
    .lp2-showcase { height: 110px; margin-top: -30px; }
    .lp2-showcase-grid { gap: 10px; padding: 0 10px; }
    .landing2-overlay { height: auto; min-height: 100vh; padding-bottom: 50px; }
    body.landing2-body-class { overflow-y: visible; overflow-x: hidden; height: auto; }
}

/* Chat Pulsing Animation */
@keyframes lc-pulse {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
    50% { transform: scale(1.1); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
    100% { transform: scale(1); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
}

.lc-pulsing {
    animation: lc-pulse 2s infinite ease-in-out;
}

#lc-notice-bubble {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 9999;
    border: 1px solid #25d366;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.5s ease;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Get ID Feature Styles */
.lp2-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.get-id-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #000;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.get-id-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Modal Styles */
.lp2-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lp2-modal-content {
    background: rgba(7, 26, 64, 0.95);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
}

.modal-close:hover { opacity: 1; }

.id-form-group { margin-bottom: 1.5rem; }
.id-form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; opacity: 0.9; }
.id-form-input { 
    width: 100%; 
    padding: 12px 15px; 
    background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 10px; 
    color: #fff; 
    font-size: 1rem;
    box-sizing: border-box;
}

.id-form-input:focus {
    border-color: #ffd700;
    outline: none;
    background: rgba(255,255,255,0.1);
}

.submit-id-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-id-btn:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .lp2-nav { top: 10px; right: 10px; }
    .get-id-btn { padding: 6px 15px; font-size: 0.8rem; }
}

.offers-box {
    animation: fadeIn 0.8s ease-out;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.modal-btn-group .submit-id-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding: 12px;
}
