/* Mobile-First CSS for MGB777 Casino Landing Page */

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #0a0e27;
    overflow-x: hidden;
}

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

/* Hero Section - Mobile First */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.75) 0%, rgba(118, 75, 162, 0.75) 100%),
        url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?w=1920&q=80') center/cover;
    background-attachment: fixed;
    overflow: hidden;
    padding: 20px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 255, 0.15) 0%, transparent 50%);
    animation: shimmer 10s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px 10px;
    width: 100%;
}

/* Logo - Mobile */
.logo {
    margin-bottom: 20px;
}

.logo-image {
    width: 180px;
    height: auto;
    max-width: 90%;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
    animation: fadeInUp 1s ease-out;
}

/* Title - Mobile */
.hero-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease-out 0.1s both;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
    padding: 0 10px;
}

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

/* Promotional Banner - Mobile Optimized */
.promo-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd700 50%, #ff6b6b 100%);
    background-size: 200% auto;
    padding: 15px 15px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 100%;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    animation: gradientShift 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 40px rgba(255, 215, 0, 0.7);
    }
}

@keyframes fadeInPromo {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.promo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.promo-icon {
    font-size: 2rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-15deg) scale(1.1);
    }
    75% {
        transform: rotate(15deg) scale(1.1);
    }
}

.promo-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1f3a;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.3;
}

/* Contact Buttons - PROMINENT in Hero Section - Mobile */
.hero-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px auto 20px;
    max-width: 100%;
    padding: 0 10px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-btn:active::before {
    width: 400px;
    height: 400px;
}

.btn-icon {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.contact-btn span {
    position: relative;
    z-index: 1;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    color: #fff;
    animation: btnPulse 2s ease-in-out infinite;
}

.whatsapp-btn:active {
    transform: scale(0.96);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: #fff;
    animation: btnPulse 2s ease-in-out 0.3s infinite;
}

.telegram-btn:active {
    transform: scale(0.96);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.5);
}

.whatsapp-channel-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: #fff;
    font-size: 1.1rem;
    padding: 18px 20px;
    animation: btnPulseStrong 1.5s ease-in-out infinite;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
}

.whatsapp-channel-btn:active {
    transform: scale(0.96);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.5);
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    }
}

@keyframes btnPulseStrong {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 107, 107, 0.8);
        transform: scale(1.03);
    }
}

/* Feature Badges - Mobile */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
    padding: 0 10px;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.feature-badge:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.98);
}

.badge-icon {
    width: 20px;
    height: 20px;
    background: #4ade80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Raining Gold Coins - Mobile */
.coin-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.gold-coin {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url('images/coin.svg');
    background-size: contain;
    background-repeat: no-repeat;
    animation: coinFall linear infinite;
    opacity: 0.9;
    will-change: transform;
}

@keyframes coinFall {
    0% {
        transform: translateY(-100px) rotateY(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotateY(1080deg);
        opacity: 0;
    }
}

/* Section Styling - Mobile */
section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 15px;
    line-height: 1.2;
}

/* Games Section - Mobile */
.games {
    background:
        linear-gradient(rgba(15, 20, 40, 0.85), rgba(15, 20, 40, 0.85)),
        url('https://images.unsplash.com/photo-1511512578047-dfb367046420?w=1920&q=80') center/cover fixed;
}

.games-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
}

.game-card {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.game-card:active::before {
    left: 100%;
}

.game-card:active {
    transform: scale(0.98);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    border-color: #667eea;
}

.game-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.game-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #ffd700;
}

.game-card p {
    color: #b8c5d6;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Benefits Section - Mobile */
.benefits {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1428 100%);
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 10px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.benefit-item:nth-child(2) .benefit-icon {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(3) .benefit-icon {
    animation-delay: 0.4s;
}

.benefit-item:nth-child(4) .benefit-icon {
    animation-delay: 0.6s;
}

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

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #4ecdc4;
}

.benefit-item p {
    color: #b8c5d6;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Section - Mobile (Kept for redundancy) */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    display: none; /* Hidden since buttons are in hero */
}

/* Footer - Mobile */
.footer {
    background: #050810;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
}

.footer-logo-image {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.footer-text {
    color: #b8c5d6;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-license {
    color: #4ade80;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== TABLET & DESKTOP RESPONSIVE (Min-width: 768px) ===== */
@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        padding: 0 30px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }

    .logo-image {
        width: 250px;
    }

    .promo-banner {
        padding: 20px 30px;
        max-width: 900px;
    }

    .promo-content {
        flex-direction: row;
        gap: 15px;
    }

    .promo-text {
        font-size: 1.15rem;
    }

    .promo-icon {
        font-size: 2.5rem;
    }

    /* Contact Buttons - Tablet/Desktop */
    .hero-contact-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 900px;
        gap: 20px;
    }

    .contact-btn {
        width: auto;
        min-width: 250px;
        padding: 18px 35px;
        font-size: 1.1rem;
    }

    .contact-btn:hover::before {
        width: 400px;
        height: 400px;
    }

    .whatsapp-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    }

    .telegram-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 136, 204, 0.5);
    }

    .whatsapp-channel-btn:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 20px 50px rgba(255, 107, 107, 0.7);
    }

    .hero-features {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .section-title {
        font-size: 2.8rem;
        margin-bottom: 50px;
    }

    .games-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0;
    }

    .game-card {
        padding: 40px 30px;
    }

    .game-card:hover::before {
        left: 100%;
    }

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

    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0;
    }

    .footer-logo-image {
        width: 150px;
    }

    section {
        padding: 80px 0;
    }
}

/* ===== LARGE DESKTOP (Min-width: 1024px) ===== */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .logo-image {
        width: 300px;
    }

    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .float-icon {
        font-size: 3rem;
    }
}