/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a0d2e 0%, #000 70%);
    z-index: -2;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 255, 0.03) 49%, rgba(0, 255, 255, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 0, 255, 0.03) 49%, rgba(255, 0, 255, 0.03) 51%, transparent 52%);
    background-size: 100px 100px;
    animation: backgroundMove 20s linear infinite;
    z-index: -1;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease-in-out 2.5s forwards;
}

.loading-logo {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: logoAppear 1s ease-out 0.5s forwards, logoGlow 2s ease-in-out 1.5s infinite alternate;
    opacity: 0;
}

.loading-coming-soon {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: comingSoonAppear 1s ease-out 1s forwards;
    opacity: 0;
}

.loading-date {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 400;
    color: #aaa;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: dateAppear 1s ease-out 1.3s forwards;
}

.date-small {
    font-size: 0.6em;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

@keyframes dateAppear {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

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

.loading-dots {
    display: flex;
    gap: 0.5rem;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: #00ffff;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    animation: containerAppear 1s ease-out 3s forwards;
}

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

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 1rem;
    animation: heroSlideUp 1.2s ease-out 3.2s both;
}

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

.logo {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, #00ffff, #ff00ff, #ffff00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.5)); }
}

.coming-soon {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: pulse 2s ease-in-out infinite;
}

.coming-soon .date-small {
    font-size: 0.5em;
    font-weight: 400;
    color: #00ffff;
    letter-spacing: 0.1em;
    opacity: 0.8;
    display: block;
    margin-top: 0.3rem;
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.location {
    font-family: 'Orbitron', monospace;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    letter-spacing: 0.8em;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
}

.address {
    font-family: 'Orbitron', monospace;
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    color: #ccc;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin: 0.5rem 0 1.5rem 0;
    opacity: 0.85;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.3));
}

/* Attractions Grid */
.attractions {
    width: 100%;
    max-width: 1200px;
    animation: attractionsSlideIn 1s ease-out 3.5s both;
}

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

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem 1rem;
    overflow: visible;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem 0.5rem;
        justify-content: center;
        justify-items: center;
    }
}

@media (max-width: 480px) {
    .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem 0.25rem;
        justify-content: center;
        justify-items: center;
    }
}

/* Glassmorphism Cards */
.attraction-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: cardAppear 0.8s ease-out forwards;
}

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.attraction-card:nth-child(1) { animation-delay: 4s; }
.attraction-card:nth-child(2) { animation-delay: 4.2s; }
.attraction-card:nth-child(3) { animation-delay: 4.4s; }
.attraction-card:nth-child(4) { animation-delay: 4.6s; }
.attraction-card:nth-child(5) { animation-delay: 4.8s; }
.attraction-card:nth-child(6) { animation-delay: 5s; }

.attraction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.attraction-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 255, 255, 0.2);
}

.attraction-card:hover::before {
    opacity: 1;
}

.card-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.icon {
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
    animation: iconFloat 3s ease-in-out infinite;
    color: #00ffff;
    transition: all 0.3s ease;
    padding: 12px;
    overflow: visible;
    min-width: 72px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon svg,
.icon i,
.icon img {
    width: 48px;
    height: 48px;
    font-size: 48px;
    filter: drop-shadow(0 0 15px currentColor);
    overflow: visible;
}

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

.attraction-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.attraction-card:hover h3 {
    color: #00ffff;
}

.attraction-card:hover .icon {
    color: #ff00ff;
    transform: translateY(-8px) scale(1.1);
}

.attraction-card:hover .icon svg,
.attraction-card:hover .icon i,
.attraction-card:hover .icon img {
    filter: drop-shadow(0 0 20px currentColor);
}

/* Individual icon hover colors */
.attraction-card[data-attraction="5d-golf"]:hover .icon {
    color: #32cd32;
}

.attraction-card[data-attraction="5d-golf"]:hover .icon svg,
.attraction-card[data-attraction="5d-golf"]:hover .icon i,
.attraction-card[data-attraction="5d-golf"]:hover .icon img {
    filter: drop-shadow(0 0 20px #32cd32);
}

.attraction-card[data-attraction="lightjumper"]:hover .icon {
    color: #ffff00;
}

.attraction-card[data-attraction="lightjumper"]:hover .icon svg,
.attraction-card[data-attraction="lightjumper"]:hover .icon i,
.attraction-card[data-attraction="lightjumper"]:hover .icon img {
    filter: drop-shadow(0 0 20px #ffff00);
}

.attraction-card[data-attraction="lazermaze"]:hover .icon {
    color: #ff0000;
}

.attraction-card[data-attraction="lazermaze"]:hover .icon svg,
.attraction-card[data-attraction="lazermaze"]:hover .icon i,
.attraction-card[data-attraction="lazermaze"]:hover .icon img {
    filter: drop-shadow(0 0 20px #ff0000);
}

.attraction-card[data-attraction="arrowtag"]:hover .icon {
    color: #ffa500;
}

.attraction-card[data-attraction="arrowtag"]:hover .icon svg,
.attraction-card[data-attraction="arrowtag"]:hover .icon i,
.attraction-card[data-attraction="arrowtag"]:hover .icon img {
    filter: drop-shadow(0 0 20px #ffa500);
}

.attraction-card[data-attraction="minigames"]:hover .icon {
    color: #9400d3;
}

.attraction-card[data-attraction="minigames"]:hover .icon svg,
.attraction-card[data-attraction="minigames"]:hover .icon i,
.attraction-card[data-attraction="minigames"]:hover .icon img {
    filter: drop-shadow(0 0 20px #9400d3);
}

.attraction-card[data-attraction="arcade"]:hover .icon {
    color: #ff1493;
}

.attraction-card[data-attraction="arcade"]:hover .icon svg,
.attraction-card[data-attraction="arcade"]:hover .icon i,
.attraction-card[data-attraction="arcade"]:hover .icon img {
    filter: drop-shadow(0 0 20px #ff1493);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.attraction-card:hover .glow-effect {
    transform: translate(-50%, -50%) scale(3);
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 2rem 0;
    animation: footerFadeIn 1s ease-out 5.5s both;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-link:hover {
    color: #00ffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.separator {
    color: #444;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
}

.copyright p {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
}

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



/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        gap: 3rem;
    }
    
    .attraction-card {
        height: 150px;
        padding: 1.5rem;
        margin: 0 auto;
        justify-self: center;
        align-self: center;
    }
    
    .attraction-card h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin-bottom: 1rem;
    }
    
    .container {
        gap: 2rem;
    }
    
    .attraction-card {
        margin: 0 auto;
        justify-self: center;
        align-self: center;
        min-width: 0;
    }
}

/* iPhone specific optimizations */
@media screen and (max-width: 414px) and (-webkit-min-device-pixel-ratio: 2) {
    .attractions-grid {
        padding: 1rem 0.5rem;
        justify-content: space-evenly;
        justify-items: center;
    }
    
    .attraction-card {
        width: calc(50% - 0.5rem);
        max-width: 160px;
        margin: 0 auto;
        justify-self: center;
    }
}

/* Enhanced Apple-like touches */
@media (prefers-reduced-motion: no-preference) {
    .attraction-card {
        will-change: transform;
    }
    
    .logo {
        will-change: filter;
    }
}

/* Focus states for accessibility */
.attraction-card:focus,
.legal-link:focus {
    outline: 2px solid #00ffff;
    outline-offset: 2px;
}

/* Smooth card visibility - no additional loading state needed */
