/* xity.bar - Seapunk City Bar */
/* Colors: #1a1a2e (deep base), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold), #6c757d (muted gray) */
/* Fonts: Space Grotesk (substituting Futura), Inter, Space Mono */

:root {
    --deep-base: #1a1a2e;
    --primary-blue: #4a90d9;
    --warm-white: #f5f0e8;
    --accent-gold: #e8b84b;
    --muted-gray: #6c757d;
    --deep-base-rgb: 26, 26, 46;
    --primary-blue-rgb: 74, 144, 217;
    --accent-gold-rgb: 232, 184, 75;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a2e;
    color: #f5f0e8;
    overflow-x: hidden;
    cursor: none;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Cursor Glow */
#cursor-glow {
    position: fixed;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.6) 0%, rgba(74, 144, 217, 0) 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

#cursor-glow.expanded {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(232, 184, 75, 0.4) 0%, rgba(232, 184, 75, 0) 70%);
}

/* Bar Container */
.bar-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.bar-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-x {
    color: #4a90d9;
}

.logo-ity {
    color: #f5f0e8;
}

.logo-dot {
    color: #e8b84b;
}

.logo-bar {
    color: #6c757d;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    text-transform: lowercase;
    letter-spacing: 1px;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.4s ease, transform 0.3s ease;
    display: inline-block;
}

.nav-link:hover {
    color: #4a90d9;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-overline {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 32px;
}

.title-line {
    display: block;
    font-size: clamp(48px, 10vw, 96px);
    letter-spacing: -3px;
    opacity: 0;
    transform: translateY(30px);
}

.title-line-1 {
    color: #f5f0e8;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.title-line-2 {
    color: #4a90d9;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.title-line-3 {
    color: #e8b84b;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-tagline {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #6c757d;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.hero-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: none;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
    transition: transform 0.3s ease;
}

.cta-text {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4a90d9;
    transition: color 0.3s ease;
}

.hero-cta:hover .cta-text {
    color: #e8b84b;
}

.cta-arrow {
    font-size: 24px;
    color: #4a90d9;
    animation: float 2s ease-in-out infinite;
    transition: color 0.3s ease;
}

.hero-cta:hover .cta-arrow {
    color: #e8b84b;
}

.hero-duotone-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 500px;
    z-index: 0;
    opacity: 0.3;
}

.duotone-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.3), rgba(26, 26, 46, 0.6));
    mix-blend-mode: color;
    z-index: 1;
}

.hero-svg {
    width: 100%;
    height: 100%;
}

/* Sections Common */
.section {
    padding: 120px 0;
    position: relative;
}

.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 48px;
    opacity: 0.6;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    color: #f5f0e8;
    margin-bottom: 32px;
}

.accent-text {
    color: #4a90d9;
}

.section-body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #6c757d;
    max-width: 560px;
    font-weight: 300;
}

/* Atmosphere Section */
.atmosphere-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.atmo-card {
    background: rgba(74, 144, 217, 0.05);
    border: 1px solid rgba(74, 144, 217, 0.1);
    border-radius: 4px;
    padding: 32px 24px;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    cursor: none;
}

.atmo-card:hover {
    border-color: rgba(74, 144, 217, 0.3);
    background: rgba(74, 144, 217, 0.08);
}

.atmo-card-icon {
    margin-bottom: 20px;
}

.atmo-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #f5f0e8;
    margin-bottom: 8px;
}

.atmo-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #6c757d;
    font-weight: 300;
}

/* Drinks Section */
.drinks-list {
    margin-top: 32px;
}

.drink-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(74, 144, 217, 0.08);
    transition: transform 0.4s ease, padding-left 0.4s ease;
    cursor: none;
}

.drink-item:hover {
    padding-left: 16px;
}

.drink-item:first-child {
    border-top: 1px solid rgba(74, 144, 217, 0.08);
}

.drink-number {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: rgba(74, 144, 217, 0.3);
    min-width: 24px;
}

.drink-info {
    flex: 1;
}

.drink-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #f5f0e8;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.drink-item:hover .drink-name {
    color: #4a90d9;
}

.drink-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6c757d;
    font-weight: 300;
}

.drink-price {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    color: #e8b84b;
    min-width: 40px;
    text-align: right;
}

.drink-price::before {
    content: '$';
    font-size: 11px;
    opacity: 0.5;
    margin-right: 2px;
}

/* Sounds Section */
.sound-waves {
    margin: 48px 0;
    padding: 40px 0;
}

.wave-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 120px;
}

.wave-bar {
    width: 6px;
    height: var(--height, 50%);
    background: linear-gradient(to top, rgba(74, 144, 217, 0.2), rgba(74, 144, 217, 0.6));
    border-radius: 3px;
    animation: waveAnimate 2s ease-in-out calc(var(--delay, 0) * 0.1s) infinite alternate;
}

@keyframes waveAnimate {
    0% { transform: scaleY(0.3); opacity: 0.3; }
    100% { transform: scaleY(1); opacity: 1; }
}

.sound-schedule {
    margin-top: 48px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(74, 144, 217, 0.06);
}

.schedule-day {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e8b84b;
    min-width: 40px;
}

.schedule-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(74, 144, 217, 0.15), rgba(74, 144, 217, 0));
}

.schedule-event {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6c757d;
    font-weight: 300;
}

/* Find Us Section */
.findus-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    margin-bottom: 48px;
}

.findus-block {
    padding: 24px 0;
}

.findus-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4a90d9;
    margin-bottom: 12px;
    opacity: 0.7;
}

.findus-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #6c757d;
    font-weight: 300;
}

.findus-cta {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a2e;
    background: #e8b84b;
    padding: 16px 40px;
    border: none;
    cursor: none;
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.findus-cta:hover {
    background: #4a90d9;
    color: #f5f0e8;
}

/* Footer */
.bar-footer {
    padding: 60px 0;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(74, 144, 217, 0), rgba(74, 144, 217, 0.2), rgba(74, 144, 217, 0));
    margin-bottom: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-copy {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: #6c757d;
    letter-spacing: 1px;
    opacity: 0.5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Scroll reveal */
.section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .bar-container {
        padding: 0 24px;
    }

    .bar-nav {
        padding: 16px 24px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-link {
        font-size: 10px;
    }

    .atmosphere-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .findus-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-duotone-image {
        width: 280px;
        height: 350px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .title-line {
        letter-spacing: -1px;
    }

    .drink-item {
        gap: 12px;
    }

    .drink-name {
        font-size: 16px;
    }
}
