/* ============================================
   Casino The World - Landing Page Styles
   ============================================ */

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

html,
body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0a0a0a;
    color: #ffffff;
}

/* ============================================
   Landing Page Container
   ============================================ */
.landing-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('images/stadium-bg.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for readability */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

/* ============================================
   Content Container
   ============================================ */
.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    width: 100%;
}

/* ============================================
   Logo
   ============================================ */
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease forwards;
    gap: 12px;
}

.logo-icon-img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-casino {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #FFD700;
    text-transform: uppercase;
    margin-bottom: -2px;
}

.logo-the-world {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #FFD700;
    letter-spacing: 1px;
    margin-top: 0;
}

/* ============================================
   IPL Badge
   ============================================ */
.ipl-badge {
    display: inline-block;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 6px 22px;
    margin-bottom: 14px;
    opacity: 0;
    transform: scale(0.8);
    animation: popIn 0.6s ease 0.3s forwards;
}

.ipl-badge span {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* ============================================
   Limited Time Offer
   ============================================ */
.limited-offer {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #FFD700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.5s forwards;
}

/* ============================================
   Main Heading
   ============================================ */
.main-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.7s forwards;
}

/* ============================================
   Trophy
   ============================================ */
.trophy-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: scale(0.9);
    animation: trophyReveal 1s ease 0.9s forwards;
    width: 430px;
    height: 430px;
    max-width: 90vw;
    max-height: 90vw;
}

.trophy-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
    -webkit-mask-image: radial-gradient(ellipse 75% 75% at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 75%);
    mask-image: radial-gradient(ellipse 75% 75% at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 75%);
}

.trophy-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 215, 0, 0.15) 0%,
            rgba(255, 215, 0, 0.05) 40%,
            transparent 70%);
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite;
}

/* ============================================
   Welcome Text
   ============================================ */
.welcome-text {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    letter-spacing: 2px;
    line-height: 1.25;
    text-transform: uppercase;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 1.2s forwards;
}

/* ============================================
   WhatsApp Button
   ============================================ */
.whatsapp-btn {
    display: inline-block;
    background: linear-gradient(180deg, #4CAF50 0%, #2E7D32 50%, #1B5E20 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 50px;
    border-radius: 8px;
    margin-bottom: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
    opacity: 0;
    animation: fadeInUp 0.6s ease 1.4s forwards, periodicShake 4s ease-in-out infinite 2s;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@keyframes periodicShake {

    0%,
    80%,
    100% {
        transform: translateY(0) rotate(0);
    }

    82%,
    86%,
    90% {
        transform: translateY(0) translateX(-3px) rotate(-1.5deg);
    }

    84%,
    88% {
        transform: translateY(0) translateX(3px) rotate(1.5deg);
    }
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.5);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

/* Shine effect */
.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    animation: btnShine 3s ease-in-out infinite 2s;
}

/* ============================================
   Feature Tabs
   ============================================ */
.feature-tabs {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
    max-width: 380px; /* Reduced overall max-width */
    opacity: 0;
    animation: fadeInUp 0.6s ease 1.6s forwards;
}

.feature-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    padding: 14px 6px; /* Significantly reduced padding */
    flex: 1;
    /* Removed aspect-ratio so they tighten around their content */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-tab:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.9);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px; /* Reduced blank space between icon and text */
}

.feature-icon {
    font-size: 26px; /* Slightly reduced icon size to fit tight box */
    text-shadow: 0 2px 15px rgba(255, 215, 0, 0.4);
}

.feature-text {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: 10px; /* Adjusted text to fit smaller width */
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0.3px;
}

@media (max-width: 480px) {
    .feature-tabs {
        gap: 6px;
        margin-top: 14px;
        max-width: 95%; /* Allow it to take more space on the phone screen */
        flex-wrap: nowrap; /* Keep it strictly horizontal */
        justify-content: center;
        width: 100%;
    }
    .feature-tab {
        padding: 10px 4px;
        flex: 1 1 0;
        min-width: 0; /* Crucial: Allows flex children to shrink below content size if necessary */
    }
    .feature-icon {
        font-size: 22px;
    }
    .feature-text {
        font-size: 8.5px;
        word-wrap: break-word;
        word-break: break-word; /* Prevents long words like W!THDR@WAL from distorting the box */
        hyphens: auto;
    }
    .feature-icon-wrapper {
        margin-bottom: 6px;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes trophyReveal {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    60% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

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

    100% {
        left: 200%;
    }
}

/* ============================================
   Responsive - Tablet
   ============================================ */
@media (max-width: 768px) {
    .content {
        padding: 20px 16px;
    }

    .logo-the-world {
        font-size: 28px;
    }

    .main-heading {
        font-size: 34px;
    }

    .trophy-container {
        width: 320px;
        height: 320px;
        margin-bottom: 15px;
    }

    .trophy-glow {
        width: 280px;
        height: 280px;
    }

    .welcome-text {
        font-size: 20px;
    }

    .whatsapp-btn {
        font-size: 16px;
        padding: 13px 40px;
    }
}

/* ============================================
   Responsive - Mobile
   ============================================ */
@media (max-width: 480px) {
    .landing-page {
        min-height: 100dvh;
    }

    .content {
        padding: 24px 14px;
        justify-content: center;
    }

    .logo {
        margin-bottom: 16px;
    }

    .logo-icon-img {
        height: 65px;
    }

    .logo-the-world {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .logo-casino {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .ipl-badge {
        padding: 5px 16px;
        margin-bottom: 12px;
    }

    .ipl-badge span {
        font-size: 11px;
    }

    .limited-offer {
        font-size: 16px;
        letter-spacing: 1px;
        margin-bottom: 4px;
    }

    .main-heading {
        font-size: 25px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .trophy-container {
        width: 250px;
        height: 250px;
        margin-bottom: 10px;
    }

    .trophy-glow {
        width: 200px;
        height: 200px;
    }

    .welcome-text {
        font-size: 16px;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }

    .whatsapp-btn {
        font-size: 15px;
        padding: 12px 30px;
        width: 85%;
        text-align: center;
        margin-bottom: 12px;
    }
}

/* ============================================
   Very small screens
   ============================================ */
@media (max-width: 360px) {
    .main-heading {
        font-size: 18px;
    }

    .welcome-text {
        font-size: 14px;
    }

    .trophy-container {
        width: 190px;
        height: 190px;
    }
}