/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: 
        linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%),
        url('wall.jpg');
    background-size: cover;
    background-position: left center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Background animation */
@keyframes backgroundMove {
    0%, 100% { 
        background-position: 0% 0%; 
    }
    25% { 
        background-position: 100% 0%; 
    }
    50% { 
        background-position: 100% 100%; 
    }
    75% { 
        background-position: 0% 100%; 
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Form Styles */
.booking-form {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h2 i {
    color: #667eea;
}

/* Input Styles */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #4a5568;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Date and Time Container */
.date-time-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
    align-items: start;
}

/* Time Inputs */
.time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Game Type Selection */
.game-type-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.game-option {
    position: relative;
}

.game-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.game-card {
    display: block;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.game-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.game-option input[type="radio"]:checked + .game-card {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.game-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.game-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.game-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Counter Styles */
.counter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    background: #667eea;
    color: white;
}

.counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.counter-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a5568;
    min-width: 30px;
    text-align: center;
}

.counter-label {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* Book Button */
.book-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.book-btn i {
    margin-right: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 20px;
    border-radius: 15px;
    width: 85%;
    max-width: 480px;
    max-height: 85vh;
    position: relative;
    animation: slideIn 0.3s ease;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

/* Payment Section */
.payment-section {
    text-align: center;
    margin-bottom: 20px;
}

.qr-code {
    margin: 15px 0;
}

.qr-code img {
    width: 160px;
    height: 160px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
}

.payment-info {
    color: #718096;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    text-align: center;
    margin-bottom: 20px;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-btn i {
    margin-right: 8px;
}

/* Confirmation Section */
.confirmation-section {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.confirm-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    z-index: 1000;
    position: relative;
}

.confirm-btn:hover {
    background: linear-gradient(135deg, #38a169, #2f855a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
}

.confirm-btn i {
    margin-right: 8px;
}

/* Modal Views */
#confirmationView, #successView {
    min-height: 200px;
}

#confirmationView .booking-summary {
    margin-bottom: 20px;
}

/* Booking Summary */
.booking-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.booking-summary h3 {
    margin-bottom: 15px;
    color: #4a5568;
}

/* Booking Status */
.booking-status {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.status-message i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.status-message p {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.status-message small {
    opacity: 0.9;
    font-size: 0.9rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
}

.summary-label {
    font-weight: 600;
    color: #4a5568;
}

.summary-value {
    color: #718096;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        margin-bottom: 20px;
        padding: 15px 0;
    }
    
    header h1 {
        font-size: 1.8rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .booking-form {
        padding: 15px;
        margin: 0 5px;
        border-radius: 12px;
    }
    
    .form-section {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .form-section h2 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .date-time-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .date-time-container .input-group input {
        width: 85%;
        max-width: 280px;
    }
    
    .time-inputs {
        display: flex;
        gap: 10px;
    }
    
    .time-inputs .input-group {
        flex: 1;
        margin-bottom: 12px;
    }
    
    .time-inputs .input-group input {
        width: 85%;
        max-width: 140px;
    }
    
    .game-type-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .game-card {
        padding: 15px;
        text-align: center;
    }
    
    .game-card h3 {
        font-size: 1.1rem;
    }
    
    .input-group {
        margin-bottom: 12px;
    }
    
    .input-group label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 12px;
        font-size: 16px;
        border-radius: 6px;
    }
    
    /* Force date and time inputs to specific width */
    input[type="date"],
    input[type="time"] {
        width: 85% !important;
        max-width: 280px !important;
        box-sizing: border-box !important;
    }
    
    .time-inputs input[type="time"] {
        max-width: 140px !important;
    }
    

    
    .counter-container {
        gap: 12px;
        margin-bottom: 8px;
    }
    
    .counter-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .counter-display {
        font-size: 1.4rem;
        min-width: 35px;
    }
    
    .counter-label {
        font-size: 0.85rem;
    }
    
    .book-btn {
        padding: 14px;
        font-size: 1.1rem;
        margin-top: 15px;
    }
    
    .modal-content {
        margin: 1% auto;
        padding: 15px;
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .booking-summary {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .booking-summary h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .summary-item {
        margin-bottom: 6px;
        padding: 4px 0;
    }
    
    .summary-label {
        font-size: 0.9rem;
    }
    
    .summary-value {
        font-size: 0.9rem;
    }
    
    .booking-status {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .status-message p {
        font-size: 1rem;
    }
    
    .status-message small {
        font-size: 0.85rem;
    }
    
    .contact-section {
        margin-bottom: 15px;
    }
    
    .contact-section h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .whatsapp-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: 20px;
    }
    
    .section-logo {
        height: 20px;
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    
    header h1 {
        font-size: 1.6rem;
    }
    
    header p {
        font-size: 0.9rem;
    }
    
    .booking-form {
        padding: 12px;
        margin: 0 2px;
    }
    
    .form-section {
        margin-bottom: 20px;
    }
    
    .form-section h2 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .game-card {
        padding: 12px;
    }
    
    .game-card h3 {
        font-size: 1rem;
    }
    
    .game-card p {
        font-size: 0.85rem;
    }
    
    .game-icon {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 10px;
        font-size: 16px;
    }
    
    /* Force date and time inputs to specific width on small screens */
    input[type="date"],
    input[type="time"] {
        width: 80% !important;
        max-width: 250px !important;
        box-sizing: border-box !important;
    }
    
    .time-inputs input[type="time"] {
        max-width: 120px !important;
    }
    

    
    .counter-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .counter-display {
        font-size: 1.2rem;
        min-width: 30px;
    }
    
    .book-btn {
        padding: 12px;
        font-size: 1rem;
    }
    
    .modal-content {
        padding: 12px;
        width: 98%;
    }
    
    .modal-content h2 {
        font-size: 1.2rem;
    }
    
    .booking-summary {
        padding: 10px;
    }
    
    .booking-summary h3 {
        font-size: 1rem;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 8px;
        padding: 6px 0;
        border-bottom: 1px solid #eee;
    }
    
    .summary-label {
        font-size: 0.85rem;
        margin-bottom: 2px;
        font-weight: bold;
    }
    
    .summary-value {
        font-size: 0.9rem;
        color: #333;
    }
    
    .booking-status {
        padding: 10px;
    }
    
    .status-message i {
        font-size: 1.5rem;
    }
    
    .status-message p {
        font-size: 0.95rem;
    }
    
    .status-message small {
        font-size: 0.8rem;
    }
    
    .whatsapp-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }
    
    .section-logo {
        height: 18px;
        margin-left: 6px;
    }
}
/* 
===== GOOGLE ADSENSE STYLING ===== */

/* Ad Container Base Styles */
.ad-container {
    margin: 20px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 300px;
    box-sizing: border-box;
}

/* Ad Label */
.ad-label {
    font-size: 10px;
    color: #666;
    text-align: center;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Top Banner Ad */
.ad-top-banner {
    margin: 15px 0 25px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    max-height: 120px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ad-top-banner .ad-label {
    color: #6b7280;
}

.ad-top-banner .adsbygoogle {
    height: 90px;
    max-height: 90px;
    background: #ffffff;
    border-radius: 4px;
}

/* Mid-Content Ad */
.ad-mid-content {
    margin: 30px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    max-height: 120px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ad-mid-content .adsbygoogle {
    height: 90px;
    max-height: 90px;
}

/* Bottom Content Ad */
.ad-bottom-content {
    margin: 25px 0 15px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    max-height: 120px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ad-bottom-content .ad-label {
    color: #6b7280;
}

.ad-bottom-content .adsbygoogle {
    height: 90px;
    max-height: 90px;
    background: #ffffff;
    border-radius: 4px;
}

/* Sidebar Ad */
.ad-sidebar {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 160px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
}

.ad-sidebar .adsbygoogle {
    width: 160px;
    height: 600px;
}

/* Modal Ad */
.ad-modal {
    margin: 15px 0 0 0;
    background: rgba(248, 249, 250, 0.95);
    border-top: 1px solid #e9ecef;
}

.ad-modal .adsbygoogle {
    min-height: 100px;
}

/* Mobile Responsive Ad Styles */
@media (max-width: 768px) {
    .ad-container {
        margin: 15px -10px;
        border-radius: 0;
    }
    
    /* Hide sidebar ad on mobile, show at bottom instead */
    .ad-sidebar {
        position: static;
        width: 100%;
        transform: none;
        margin: 20px 0;
        border-radius: 8px;
    }
    
    .ad-sidebar .adsbygoogle {
        width: 100%;
        height: 250px;
    }
    
    /* Adjust banner ads for mobile */
    .ad-top-banner,
    .ad-bottom-content {
        margin-left: -20px;
        margin-right: -20px;
        border-radius: 0;
    }
    
    /* Smaller modal ads on mobile */
    .ad-modal .adsbygoogle {
        min-height: 80px;
    }
}

@media (max-width: 480px) {
    .ad-container {
        padding: 8px;
    }
    
    .ad-label {
        font-size: 9px;
    }
    
    /* Even smaller ads for very small screens */
    .ad-top-banner .adsbygoogle,
    .ad-bottom-content .adsbygoogle {
        min-height: 70px;
    }
    
    .ad-mid-content .adsbygoogle {
        min-height: 200px;
    }
}

/* Ad Loading Animation */
.adsbygoogle {
    position: relative;
    overflow: hidden;
}

.adsbygoogle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: adLoading 2s infinite;
}

@keyframes adLoading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Ad Hover Effects */
.ad-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Ad Container Borders */
.ad-top-banner::after,
.ad-bottom-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #667eea, #764ba2);
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Accessibility for Ad Labels */
.ad-label {
    font-weight: 500;
    user-select: none;
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .ad-container {
        border: 0.5px solid rgba(0, 0, 0, 0.1);
    }
}

/* Dark Mode Support for Ads */
@media (prefers-color-scheme: dark) {
    .ad-container {
        background: rgba(40, 44, 52, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .ad-label {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .ad-mid-content {
        background: rgba(40, 44, 52, 0.98);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Print Styles - Hide Ads */
@media print {
    .ad-container {
        display: none !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .ad-container:hover {
        transform: none;
    }
    
    .adsbygoogle::before {
        animation: none;
    }
    
    .ad-top-banner::after,
    .ad-bottom-content::after {
        animation: none;
    }
}