/* Sticky Mobile Booking Button */
.sticky-mobile-book {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2200;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, rgba(0,0,0,0.95) 60%, transparent);
}

@media (max-width: 768px) {
    .sticky-mobile-book {
        display: block;
    }
}

.sticky-mobile-book .btn {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.4);
    border-radius: 50px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 800;
    background: #C9A961;
    color: #000;
    border: none;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

/* Social Icon Styling */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-link {
    color: #C9A961;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Logo Refinement */
.logo-img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #C9A961;
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.3);
    background: #fff;
    padding: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 430px) {
    .logo-img {
        height: 45px;
        width: 45px;
    }
}

/* iPhone Specific Layout Fixes */
@media (max-width: 480px) {
    .logo-img {
        height: 65px;
        /* Bigger logo as requested */
        width: 65px;
    }

    .navbar {
        padding: 0.5rem 1rem !important;
    }

    /* Hero Section Overlap Fix */
    .hero {
        padding-top: 100px !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-buttons {
        gap: 0.8rem !important;
    }

    /* Mobile Menu Overrides - Removed to use massive index.css styles */
    /* 
    .mobile-menu { ... }
    .mobile-nav { ... }
    .mobile-link { ... }
    */

    .hamburger {
        padding: 0.8rem !important;
        margin-right: -0.5rem !important;
    }

    .mobile-close {
        top: 1rem !important;
        right: 1.5rem !important;
    }
}

/* Tablet Refinements */
@media (min-width: 481px) and (max-width: 768px) {
    .logo-img {
        height: 70px;
        width: 70px;
    }
}

/* Mobile Bottom Spacing - clear sticky book button */
@media (max-width: 768px) {
    footer {
        padding-bottom: 80px !important;
    }

    /* Better section spacing on mobile */
    section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Event cards stack better */
    .events-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* FAQ items full width */
    .faq-container {
        padding: 0 !important;
    }

    /* Glass panels breathe more on mobile */
    .glass-panel {
        padding: 1.5rem !important;
    }

    /* Grid-2 sections stack */
    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Hours row spacing */
    .hours-row {
        padding: 0.6rem 0 !important;
    }

    /* Reviews better on mobile */
    .reviews-grid {
        grid-template-columns: 1fr !important;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 2rem !important;
    }

    .section-header p {
        font-size: 0.95rem !important;
    }

    /* Modal content better on mobile */
    .modal-content {
        max-height: 90vh !important;
        margin: 1rem !important;
    }

    /* Atmosphere banner */
    .atmosphere-banner {
        height: 250px !important;
    }

    .atmosphere-banner h2 span {
        font-size: 1.8rem !important;
    }

    /* Tournament Registration Modal Mobile */
    #payment-modal .modal-content {
        width: 96% !important;
        max-height: 90vh !important;
        border-radius: 20px !important;
    }
    #payment-modal .modal-content > div:nth-child(3) {
        padding: 1.25rem 1.5rem 1.5rem !important;
    }
    #payment-modal .modal-content div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Tournament card footer - stack fee and button vertically */
    .tourn-card-footer {
        margin-top: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    /* Promo popup scrollable on mobile so full banner shows */
    #promo-popup {
        max-height: 90vh !important;
        overflow-y: auto !important;
    }
}