/* Ticket Purchase Modal Styles */

.ticket-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ticket-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.ticket-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.ticket-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 10;
}

.ticket-modal-close:hover {
    background: #f0f0f0;
    color: #000;
}

.ticket-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.ticket-modal-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #006f53;
}

.ticket-modal-header p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.ticket-form {
    padding: 30px;
}

.ticket-form-section {
    margin-bottom: 30px;
}

.ticket-form-section h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #333;
    border-bottom: 2px solid #006f53;
    padding-bottom: 10px;
}

.ticket-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.ticket-package-option {
    cursor: pointer;
}

.ticket-package-option input[type="radio"] {
    display: none;
}

.package-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
    background: #fff;
}

.ticket-package-option input[type="radio"]:checked + .package-card {
    border-color: #006f53;
    background: #f0f9f7;
    box-shadow: 0 4px 12px rgba(0, 111, 83, 0.2);
}

.package-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.package-price {
    font-size: 24px;
    font-weight: 700;
    color: #006f53;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #006f53;
    box-shadow: 0 0 0 3px rgba(0, 111, 83, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-group a {
    color: #006f53;
    text-decoration: underline;
}

.ticket-form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ticket-total {
    font-size: 24px;
    color: #006f53;
}

.ticket-total strong {
    font-weight: 700;
}

.ticket-submit-btn {
    background: #006f53;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ticket-submit-btn:hover {
    background: #005a47;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 111, 83, 0.3);
}

.ticket-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ticket-success {
    padding: 60px 30px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #006f53;
    color: #fff;
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ticket-success h2 {
    color: #006f53;
    margin: 0 0 15px;
    font-size: 28px;
}

.ticket-success p {
    color: #666;
    margin: 10px 0;
    font-size: 16px;
}

.ticket-modal-close-btn {
    margin-top: 30px;
    background: #006f53;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ticket-modal-close-btn:hover {
    background: #005a47;
}

/* Dropdown improvements */
.w-dropdown.w--open .w-dropdown-list {
    display: block !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ticket-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .ticket-packages {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .ticket-form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ticket-submit-btn {
        width: 100%;
    }
}

/* Age Verification Popup (18+) Styles */
.age-verification-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.age-verification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.age-verification-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: agePopupSlideIn 0.4s ease-out;
    z-index: 1;
}

@keyframes agePopupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.age-verification-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-verification-title {
    font-size: 28px;
    font-weight: 700;
    color: #006f53;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.age-verification-text {
    font-size: 16px;
    color: #555;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.age-verification-buttons {
    margin: 30px 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.age-verification-btn {
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.age-verification-btn-confirm {
    background: #006f53;
    color: #ffffff;
}

.age-verification-btn-confirm:hover {
    background: #005a44;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 111, 83, 0.3);
}

.age-verification-btn-confirm:active {
    transform: translateY(0);
}

.age-verification-disclaimer {
    font-size: 13px;
    color: #888;
    margin: 20px 0 0 0;
    font-style: italic;
}

/* Prevent body scroll when popup is open */
body.age-verification-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .age-verification-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .age-verification-title {
        font-size: 24px;
    }
    
    .age-verification-text {
        font-size: 15px;
    }
    
    .age-verification-btn {
        padding: 12px 30px;
        font-size: 16px;
        min-width: 180px;
    }
    
    .age-verification-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .age-verification-icon svg {
        width: 60px;
        height: 60px;
    }
}

/* Footer Organization Logos Styles */
.org-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    margin: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.org-link {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.org-link:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.org-logo {
    max-width: 144px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Responsive styles for organization logos */
@media (max-width: 768px) {
    .org-links-grid {
        gap: 15px;
        padding: 20px 15px;
    }
    
    .org-logo {
        max-width: 120px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .org-links-grid {
        gap: 10px;
        padding: 15px 10px;
    }
    
    .org-logo {
        max-width: 96px;
        max-height: 48px;
    }
}

/* Scroll Animations for Prize Section and Hero Sections */
.prize-section [data-w-id],
.prizes-section [data-w-id],
section[class*="prize"] [data-w-id],
.vip-draw-section-hero [data-w-id],
.loyalty-section-hero [data-w-id],
.eb-section-hero [data-w-id],
.section-hero [data-w-id],
[class*="section-hero"] [data-w-id] {
    will-change: opacity, transform;
}

.prize-section [data-w-id].scroll-animated,
.prizes-section [data-w-id].scroll-animated,
section[class*="prize"] [data-w-id].scroll-animated,
.vip-draw-section-hero [data-w-id].scroll-animated,
.loyalty-section-hero [data-w-id].scroll-animated,
.eb-section-hero [data-w-id].scroll-animated,
.section-hero [data-w-id].scroll-animated,
[class*="section-hero"] [data-w-id].scroll-animated {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* Smooth animation for text elements */
.prize-section [data-w-id],
.vip-draw-section-hero [data-w-id],
.loyalty-section-hero [data-w-id],
.eb-section-hero [data-w-id],
.section-hero [data-w-id] {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fix mobile spacing issues - remove unwanted padding/margin */
@media (max-width: 768px) {
    /* Remove horizontal padding/margin that causes white space */
    body {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden;
    }
    
    html {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden;
    }
    
    /* Fix container padding on mobile */
    .w-container,
    .container,
    .w-layout-blockcontainer {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }
    
    /* Remove negative margins that might cause issues */
    section,
    .section,
    .prize-section,
    .prizes-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Fix full-width sections */
    .position-absolute,
    .position-relative {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Fix navigation container */
    .nav-container,
    .navigation {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Ensure no content overflows */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix hero sections */
    .hero-img-section,
    .section-hero,
    .vip-draw-section-hero,
    .loyalty-section-hero,
    .eb-section-hero {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
    
    /* Fix all sections to be full width */
    section,
    .section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Fix grid layouts */
    .w-layout-grid,
    .w-layout-blockcontainer {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Remove any negative margins (but allow for specific cases) */
    section *,
    .section *,
    .w-container * {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Allow negative margins only for specific positioning */
    .position-absolute,
    .position-relative {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Allow only specific padding for containers */
    .w-container,
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Fix navigation to not overflow */
    .navigation,
    .w-nav {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Additional fixes for very small screens */
@media (max-width: 480px) {
    body,
    html {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .w-container,
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Ensure no element exceeds viewport */
    * {
        max-width: 100vw !important;
    }
}

