:root {
    --lime: #84cc16;
    --dark: #0f172a;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 144px;
}

.fridge-peel-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #84cc16 50%, transparent 50%); 
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    filter: drop-shadow(4px 4px 6px rgba(0,0,0,0.3)); 
    text-decoration: none;
}

.fridge-peel-wrapper:hover {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #0f172a 50%, transparent 50%);
    filter: drop-shadow(4px 4px 0px #84cc16); 
}

.peel-text {
    position: absolute;
    top: 15px;
    left: 15px;
    transform: rotate(-45deg);
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 900;
    color: #84cc16;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    white-space: nowrap;
}

.fridge-peel-wrapper:hover .peel-text {
    opacity: 1;
    top: 50px;
    left: 12px;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 112px;
    }
    
    .fridge-peel-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .fridge-peel-wrapper:hover {
        width: 120px;
        height: 120px;
    }
    
    .peel-text {
        font-size: 1.1rem;
        top: 10px;
        left: 10px;
    }
    
    .fridge-peel-wrapper:hover .peel-text {
        top: 24px;
        left: 10px;
    }
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8fafc;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--lime);
    border: 3px solid var(--dark);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a3e635;
}

.accent-font {
    font-family: 'Caveat', cursive;
}

.brand-massive {
    font-weight: 900;
    font-style: italic;
    font-size: 3.5rem;
    line-height: 0.8;
    letter-spacing: -3px;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-massive-sub {
    font-weight: 900;
    font-style: italic;
    font-size: 2.5rem;
    line-height: 0.8;
    letter-spacing: 2px;
    filter: drop-shadow(2px 2px 0px var(--dark));
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 640px) {
    .brand-massive {
        font-size: 2.5rem;
        letter-spacing: -2px;
    }
    .brand-massive-sub {
        font-size: 1.8rem;
    }
}

.group:hover .brand-massive {
    z-index: 20;
    transform: scale(1.1) rotate(-3deg) translate(5px, -5px);
    text-shadow: 6px 6px 0px var(--lime);
    color: var(--dark);
}

.group:hover .brand-massive-sub {
    z-index: 1;
    transform: scale(0.9) rotate(2deg) translate(-5px, 5px);
    filter: brightness(0.6) blur(0.5px);
}

.nav-base {
    font-weight: 900;
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--dark);
    display: inline-block;
}

.nav-about:hover {
    text-shadow: 4px 4px 0px var(--lime);
    transform: translate(-3px, -3px);
}

.nav-arena:hover {
    animation: courtSmash 0.3s forwards;
}

@keyframes courtSmash {
    0% { transform: scale(1); }
    40% { transform: scale(0.85); color: var(--lime); }
    100% { transform: scale(1.1) rotate(-4deg); color: var(--dark); text-shadow: 4px 4px 0px var(--lime); }
}

.nav-play:hover {
    transform: skewX(-25deg) translateX(8px);
    color: var(--lime);
    text-shadow: -3px 0px 0px var(--dark);
}

.nav-rules::before, .nav-rules::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--lime);
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav-rules::before {
    top: -6px;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
}

.nav-rules::after {
    bottom: -6px;
    left: 0;
    transform-origin: left;
    transform: scaleX(0);
}

.nav-rules:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

.nav-rules:hover::after {
    transform-origin: right;
    transform: scaleX(1);
}

.nav-rules:hover {
    color: var(--lime);
}

.nav-faqs span {
    display: inline-block;
}

.nav-faqs:hover span {
    animation: paddleSpin 0.5s ease-in-out forwards;
}

.nav-free:hover {
    animation: ghostFloat 0.6s ease-in-out infinite alternate;
    color: var(--lime);
}

@keyframes ghostFloat {
    0% {
        transform: translateY(0) scale(1);
        text-shadow: 0 0 0px var(--lime);
    }
    100% {
        transform: translateY(-8px) scale(1.05);
        text-shadow: 0 10px 20px rgba(132, 204, 22, 0.6), 0 0 8px var(--lime);
    }
}

@keyframes paddleSpin {
    0% { transform: perspective(400px) rotateY(0); }
    50% { color: var(--lime); }
    100% { transform: perspective(400px) rotateY(360deg); color: var(--dark); text-shadow: 3px 3px 0px var(--lime); }
}

.nav-btn-book {
    background-color: var(--dark);
    color: white;
    padding: 1.25rem 2rem;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    border: 2px solid var(--dark);
    box-shadow: 8px 8px 0px 0px var(--lime);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.nav-btn-book::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 200%;
    background-color: var(--lime);
    transform: translate(-50%, -50%) scale(0) rotate(-30deg);
    clip-path: polygon(50% 0%, 63% 18%, 95% 4%, 78% 31%, 100% 50%, 78% 69%, 95% 96%, 63% 82%, 50% 100%, 37% 82%, 5% 96%, 22% 69%, 0% 50%, 22% 31%, 5% 4%, 37% 18%);
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-btn-book:hover {
    background-color: transparent;
    color: var(--dark);
    border-color: transparent;
    box-shadow: none;
    transform: scale(1.1) rotate(-4deg);
    filter: drop-shadow(8px 8px 0px var(--dark));
}

.nav-btn-book:hover::before {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.nav-btn-book:active {
    transform: scale(0.95) rotate(0deg);
    filter: drop-shadow(3px 3px 0px var(--dark));
}

.hero-section {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 30%, rgba(15, 23, 42, 0.5) 100%), 
                url('../../assets/Hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.arena-bg-accent {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 30px 30px;
}

.text-outline {
    -webkit-text-stroke: 1.5px var(--lime);
    color: transparent;
    letter-spacing: 2px;
}

.cta-button-main {
    background-color: var(--lime);
    color: var(--dark);
    padding: 1rem 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-block;
}

.cta-button-main:hover {
    transform: scale(1.05);
    background-color: white;
}

.cta-button-alt {
    border: 2px solid white;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-block;
}

.cta-button-alt:hover {
    background: white;
    color: var(--dark);
}

#mobile-menu {
    transition: all 0.4s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 600px;
}

.court-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.court-card:hover {
    transform: translate(-4px, -4px);
}

section {
    position: relative;
    z-index: 10;
}

.footer-logo {
    filter: brightness(0) invert(1);
    max-width: 250px;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #0f172a;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #84cc16;
    border-radius: 0px;
}

@media (max-width: 640px) {
    #blast-modal-content, #roster-modal-content, #free-roster-modal-content {
        max-height: 90vh;
        margin-top: 1rem;
    }
}

#booking-form input {
    padding-right: 3.5rem !important;
    text-overflow: ellipsis;
}

.slot-btn {
    font-size: 0.6rem !important; 
    padding: 10px 4px !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    letter-spacing: -0.02em;
}

@media (max-width: 480px) {
    #slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.slot-btn:not([disabled]):hover {
    background-color: var(--lime);
    color: var(--dark);
    border-color: var(--lime);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
}

.slot-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

label.group:hover .p-4 {
    border-color: var(--lime);
    color: white;
}

#close-modal:hover {
    background-color: var(--lime);
    color: var(--dark);
    transform: rotate(90deg) scale(1.1);
}

body.modal-open .fridge-peel-wrapper {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transition: opacity 0.2s ease-out;
}

#confirm-booking-btn:hover {
    background-color: white;
    color: var(--dark);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 8px 8px 0px 0px var(--lime);
}

.flatpickr-calendar {
    background: #0f172a !important; 
    border: 4px solid #84cc16 !important; 
    box-shadow: 12px 12px 0px 0px #000 !important;
    border-radius: 0px !important;
}

span.flatpickr-weekday {
    color: #84cc16 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

.flatpickr-day {
    color: #f8fafc !important; 
    font-weight: 700 !important;
    border-radius: 0px !important;
}

.flatpickr-day:hover {
    background: #1e293b !important; 
    color: #84cc16 !important;
}

.flatpickr-day.selected {
    background: #84cc16 !important;
    color: #0f172a !important;
    border: none !important;
}

.flatpickr-current-month {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-style: italic !important;
    color: #84cc16 !important;
}

.flatpickr-prev-month svg, .flatpickr-next-month svg {
    fill: #84cc16 !important;
}

input[type="radio"]:checked + div img {
    filter: none !important;
    opacity: 1 !important;
}

input[type="radio"]:checked + div i {
    color: #84cc16 !important;
}

.status-dot {
    width: 12px;
    height: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.status-free { background-color: #1e293b; border: 1px solid #334155; }
.status-booked { background-color: #84cc16; box-shadow: 0 0 10px #84cc16; }

.status-free.cursor-pointer:hover {
    background-color: #334155;
    border-color: #84cc16;
    transform: scaleY(1.2);
}

.status-dot-wrapper {
    display: inline-block;
    position: relative;
    min-width: 12px;
    flex-shrink: 0;
}

#live-status .flex.gap-1 {
    overflow-x: auto;
    overflow-y: visible !important;
    padding: 45px 15px 15px 15px !important; 
    margin-top: -45px;
    display: flex;
    align-items: flex-end;
}

#live-status .flex.gap-1::-webkit-scrollbar { 
    height: 4px; 
}

.tooltip-box {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    width: max-content;
    margin-bottom: 8px;
    pointer-events: none;
}

.status-dot-wrapper:hover .tooltip-box {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.status-dot-wrapper:nth-child(-n+5) .tooltip-box {
    left: 0;
    transform: translate(0, 10px);
}

.status-dot-wrapper:nth-child(-n+5):hover .tooltip-box {
    transform: translate(0, 0);
}

.status-dot-wrapper:nth-last-child(-n+5) .tooltip-box {
    left: auto;
    right: 0;
    transform: translate(0, 10px);
}

.status-dot-wrapper:nth-last-child(-n+5):hover .tooltip-box {
    transform: translate(0, 0);
}

@keyframes water-wave {
    0% { transform: translateY(0) skewX(0); color: #cbd5e1; text-shadow: 0 2px 4px rgba(56, 189, 248, 0.2); }
    50% { transform: translateY(-4px) skewX(-2deg); color: #38bdf8; text-shadow: 0 10px 20px rgba(56, 189, 248, 0.8), 0 0 10px rgba(56, 189, 248, 0.4); }
    100% { transform: translateY(0) skewX(0); color: #cbd5e1; text-shadow: 0 2px 4px rgba(56, 189, 248, 0.2); }
}
.animate-water {
    animation: water-wave 2s ease-in-out infinite;
}

@keyframes pulse-gold-super {
    0% { transform: scale(1); text-shadow: 0 0 5px #f59e0b, 0 0 10px #d97706; color: #fcd34d; }
    50% { transform: scale(1.08); text-shadow: 0 0 15px #fbbf24, 0 0 30px #f59e0b, 0 0 50px #d97706; color: #fff; }
    100% { transform: scale(1); text-shadow: 0 0 5px #f59e0b, 0 0 10px #d97706; color: #fcd34d; }
}
.animate-pulse-gold {
    animation: pulse-gold-super 1.2s infinite ease-in-out;
}

@keyframes tesla-coil-max {
    0% { text-shadow: 0 0 10px #38bdf8, 0 0 20px #0ea5e9; color: #e0f2fe; transform: translate(0, 0) skewX(-4deg) scale(1); }
    20% { text-shadow: 0 0 5px #38bdf8; color: #bae6fd; transform: translate(-2px, 2px) skewX(3deg) scale(0.98); }
    40% { text-shadow: 0 0 20px #fff, 0 0 40px #0284c7, 0 0 60px #0ea5e9; color: #ffffff; transform: translate(3px, -2px) skewX(-10deg) scale(1.1); }
    60% { text-shadow: 0 0 5px #38bdf8; color: #bae6fd; transform: translate(-2px, -1px) skewX(5deg) scale(0.95); }
    80% { text-shadow: 0 0 30px #fff, 0 0 50px #0ea5e9, 0 0 80px #38bdf8; color: #ffffff; transform: translate(3px, 3px) skewX(-5deg) scale(1.15); }
    100% { text-shadow: 0 0 10px #38bdf8, 0 0 20px #0ea5e9; color: #e0f2fe; transform: translate(0, 0) skewX(3deg) scale(1); }
}
.animate-lightning {
    animation: tesla-coil-max 0.15s infinite alternate linear;
}

@keyframes fire-flicker-max {
    0% { text-shadow: 0 0 4px #fefcc9, 2px -2px 6px #feec85, -4px -4px 10px #ffae34, 4px -8px 15px #ec760c, -4px -12px 20px #cd4606, 0 -15px 25px #973716, 2px -18px 30px #451b0e; transform: scaleY(1) translateY(0); color: #ffae34; }
    25% { transform: scaleY(1.08) translateY(-3px) rotate(1deg); color: #fff; text-shadow: 0 0 10px #fff, 2px -2px 10px #feec85, -4px -4px 15px #ffae34; }
    50% { text-shadow: 0 0 4px #fefcc9, 3px -3px 7px #feec85, -5px -5px 12px #ffae34, 5px -10px 17px #ec760c, -5px -15px 22px #cd4606, 1px -18px 27px #973716, 3px -21px 32px #451b0e; transform: scaleY(0.95) translateY(1px) rotate(-1deg); color: #f97316; }
    75% { transform: scaleY(1.1) translateY(-4px) rotate(-1deg); color: #fefcc9; }
    100% { text-shadow: 0 0 4px #fefcc9, 2px -2px 6px #feec85, -4px -4px 10px #ffae34, 4px -8px 15px #ec760c, -4px -12px 20px #cd4606, 0 -15px 25px #973716, 2px -18px 30px #451b0e; transform: scaleY(1) translateY(0); color: #ffae34; }
}
.animate-fire {
    animation: fire-flicker-max 0.2s infinite alternate linear;
}

#total-price {
    position: relative;
    z-index: 20; 
}

@keyframes crown-blaze {
    0% { transform: translateX(-50%) translateY(0) scale(1); color: #fcd34d; text-shadow: 0 0 10px #f59e0b, 0 -5px 15px #d97706; }
    25% { transform: translateX(-52%) translateY(-5px) scale(1.1) rotate(-2deg); color: #fff; text-shadow: 0 0 15px #fff, 0 -10px 25px #f59e0b; }
    50% { transform: translateX(-48%) translateY(-2px) scale(0.95) rotate(2deg); color: #f97316; text-shadow: 0 0 10px #f97316, 0 -5px 20px #dc2626; }
    75% { transform: translateX(-50%) translateY(-8px) scale(1.15) rotate(1deg); color: #fff; text-shadow: 0 0 20px #fff, 0 -12px 30px #ea580c; }
    100% { transform: translateX(-50%) translateY(0) scale(1); color: #fcd34d; text-shadow: 0 0 10px #f59e0b, 0 -5px 15px #d97706; }
}

#total-price.animate-fire::before {
    content: '\f521';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -45px; 
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    
    animation: crown-blaze 0.8s infinite alternate ease-in-out;
    pointer-events: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #1e293b inset !important; 
    
    -webkit-text-fill-color: #ffffff !important;
    
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    
    transition: background-color 5000s ease-in-out 0s;
}

input[readonly]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #334155 inset !important;
    -webkit-text-fill-color: #94a3b8 !important;
}
