/* Global Styles */
:root {
    --primary-color: #004b93;    /* IPL Blue */
    --secondary-color: #f9aa00;  /* IPL Gold */
    --accent-color: #d71921;     /* IPL Red */
    --text-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --dark-gray: #777777;
    --border-color: #e0e0e0;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: url('./images/ipl-players-image.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85));
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.hidden {
    display: none !important;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Initially hide the restricted modal */
#restrictedModal {
    display: none;
}

/* Ensure age verification modal is visible by default */
#ageVerificationModal {
    display: flex;
}

.modal-content {
    background-color: var(--light-color);
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 20px;
    text-align: center;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-yes {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-no {
    background-color: var(--accent-color);
    color: var(--light-color);
}

.btn-yes:hover, .btn-no:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

/* Header Styles (simplified, no menu) */
header {
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    text-align: center;
}

.logo h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
}

.logo h1 span {
    color: var(--secondary-color);
}

/* Banner Section (replacing hero) */
.banner {
    background: url('./images/ipl-trophy-image.jpg') no-repeat center center;
    background-size: cover;
    padding: 120px 0;
    position: relative;
    text-align: center;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75));
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h2 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.banner-whatsapp-btn {
    background-color: #25D366; /* WhatsApp green */
    color: var(--light-color);
    padding: 18px 40px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.banner-whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #128C7E; /* WhatsApp dark green */
}

.banner-whatsapp-btn i {
    font-size: 2.2rem;
    margin-right: 15px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--gray-color);
}

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

.feature-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.feature-card:nth-child(2) .feature-icon {
    background-color: var(--secondary-color);
}

.feature-card:nth-child(3) .feature-icon {
    background-color: var(--accent-color);
}

.feature-card:nth-child(4) .feature-icon {
    background-color: #19a463; /* IPL Green */
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Animation effects for scroll reveal */
.feature-card, .pricing-card, .whatsapp-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible, .pricing-card.visible, .whatsapp-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-visible {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
}

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

.pricing-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 30px;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    background-color: var(--secondary-color);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.pricing-features ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.pricing-card.featured .pricing-features ul li i {
    color: var(--secondary-color);
}

.pricing-card .btn {
    margin: 0 30px 30px;
    width: calc(100% - 60px);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--gray-color);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.whatsapp-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.whatsapp-btn {
    background-color: #25D366; /* WhatsApp green */
    color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    background-color: #128C7E; /* WhatsApp dark green */
}

.whatsapp-btn i {
    font-size: 2rem;
    margin-right: 15px;
}

/* Footer (simplified, no menu) */
footer {
    background: linear-gradient(to right, var(--primary-color), #003366);
    background-size: cover;
    color: var(--light-color);
    padding: 70px 0 20px;
    position: relative;
    border-top: 4px solid var(--secondary-color);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 75, 147, 0.9);
    z-index: 0;
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    justify-content: center;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo h2 span {
    color: var(--secondary-color);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

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

.footer-links ul li a {
    color: var(--light-color);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact p i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    margin: 5px 0;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    body::before {
        background: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9));
    }
    
    .banner {
        padding: 80px 0;
        background-position: right bottom, center center;
        background-size: 50%, cover;
    }
    
    .banner::before {
        background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    }
    
    .slogan-rotate {
        font-size: 2.8rem;
        min-height: 7rem;
    }
    
    .banner-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .banner-whatsapp-btn, .banner-whatsapp-btn-alt {
        width: 100%;
        padding: 15px 20px;
    }
    
    .cta-banner {
        font-size: 1.2rem;
        padding: 12px 15px;
    }
    
    .floating-badge {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .footer-disclaimer-box {
        padding: 15px;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-whatsapp a {
        width: 50px;
        height: 50px;
    }
    
    .floating-whatsapp i {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        background-position: top center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    body::before {
        background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.92));
    }
    
    .banner {
        padding: 50px 0;
        background-size: cover;
        background-position: center center;
    }
    
    .banner::before {
        background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    }
    
    .slogan-rotate {
        font-size: 2rem;
        min-height: 5.5rem;
    }
    
    .banner-content p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .banner-whatsapp-btn, .banner-whatsapp-btn-alt {
        font-size: 1.1rem;
        padding: 15px 25px;
    }
    
    .banner-whatsapp-btn i, .banner-whatsapp-btn-alt i {
        font-size: 1.5rem;
    }
    
    .cta-banner {
        font-size: 0.95rem;
        padding: 12px 5px;
    }
    
    .cta-banner i {
        font-size: 0.9rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-btn {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .whatsapp-btn i {
        font-size: 1.6rem;
    }
    
    .footer-disclaimer-box {
        font-size: 0.9rem;
    }
    
    .footer-disclaimer-box h3 {
        font-size: 1.1rem;
    }
    
    header {
        padding: 15px 10px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .age-verification-popup {
        width: 90%;
        padding: 20px 15px;
    }
    
    .age-verification-popup h2 {
        font-size: 1.5rem;
    }
    
    .age-verification-popup p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .age-verification-buttons button {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Slogan Rotation in Banner */
.slogan-rotate {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 9rem; /* Ensure height is consistent */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    font-weight: 700;
}

.slogan-rotate span {
    position: absolute;
    opacity: 0;
    animation: rotateSlogan 12s linear infinite 0s;
    transform: translateY(20px);
    width: 100%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.slogan-rotate span:nth-child(2) {
    animation-delay: 3s;
}

.slogan-rotate span:nth-child(3) {
    animation-delay: 6s;
}

.slogan-rotate span:nth-child(4) {
    animation-delay: 9s;
}

@keyframes rotateSlogan {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    2.5% {
        opacity: 1;
        transform: translateY(0);
    }
    22.5% {
        opacity: 1;
        transform: translateY(0);
    }
    25% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Banner Buttons */
.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.banner-whatsapp-btn {
    background-color: #25D366; /* WhatsApp green */
    color: var(--light-color);
    padding: 18px 35px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.banner-whatsapp-btn-alt {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 18px 35px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.banner-whatsapp-btn i, .banner-whatsapp-btn-alt i {
    font-size: 1.8rem;
    margin-right: 10px;
}

/* Button Animations */
.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 100%;
    top: 0;
    left: -85px;
    background: rgba(255, 255, 255, 0.5);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -85px;
    }
    20% {
        left: 120%;
    }
    100% {
        left: 120%;
    }
}

.wobble {
    animation: wobble 2.5s infinite;
}

@keyframes wobble {
    0%, 100% {
        transform: translateX(0%);
    }
    15% {
        transform: translateX(-5%) rotate(-5deg);
    }
    30% {
        transform: translateX(4%) rotate(3deg);
    }
    45% {
        transform: translateX(-3%) rotate(-3deg);
    }
    60% {
        transform: translateX(2%) rotate(2deg);
    }
    75% {
        transform: translateX(-1%) rotate(-1deg);
    }
}

.pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Floating Badge */
.floating-badge {
    background-color: var(--accent-color);
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-flex;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 15px;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.floating-badge .badge-highlight {
    color: var(--secondary-color);
    margin-left: 8px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(to right, var(--primary-color), #0063b1);
    background-size: cover;
    color: var(--light-color);
    padding: 15px 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    border-top: 3px solid var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 75, 147, 0.85), rgba(0, 75, 147, 0.7));
    z-index: 0;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: ctaShineSweep 3s infinite;
    z-index: 1;
}

@keyframes ctaShineSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.cta-banner .container {
    position: relative;
    z-index: 2;
}

.cta-banner i {
    color: var(--secondary-color);
    margin: 0 10px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: jumping 2s ease infinite;
}

.floating-whatsapp i {
    font-size: 2.5rem;
    color: white;
}

@keyframes jumping {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Footer Disclaimer Box */
.footer-disclaimer-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--secondary-color);
}

.footer-disclaimer-box h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-disclaimer-box p {
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .slogan-rotate {
        font-size: 2.8rem;
        min-height: 7rem;
    }
    
    .banner-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .banner-whatsapp-btn, .banner-whatsapp-btn-alt {
        width: 100%;
        padding: 15px 20px;
    }
    
    .cta-banner {
        font-size: 1.2rem;
        padding: 12px 15px;
    }
    
    .floating-badge {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .footer-disclaimer-box {
        padding: 15px;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-whatsapp a {
        width: 50px;
        height: 50px;
    }
    
    .floating-whatsapp i {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .slogan-rotate {
        font-size: 2.2rem;
        min-height: 6rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .banner-whatsapp-btn, .banner-whatsapp-btn-alt {
        font-size: 1.1rem;
    }
    
    .banner-whatsapp-btn i, .banner-whatsapp-btn-alt i {
        font-size: 1.5rem;
    }
    
    .cta-banner {
        font-size: 1rem;
    }
}

/* Touch feedback for mobile */
.touch-active {
    transform: scale(0.95);
    opacity: 0.9;
    transition: transform 0.2s, opacity 0.2s;
}

/* Use viewport height variable for better mobile height handling */
.banner, .features, .contact {
    min-height: calc(var(--vh, 1vh) * 50);
}

/* Fix for iOS devices */
@media screen and (max-width: 480px) {
    /* ... existing code ... */
} 