:root {
    /* 
     * Design System - NotesAI Style Reference
     * Theme: Dark Tech / Cyber Blue
     */

    /* Color Palette */
    --bg-body: #020617;        /* Deep Navy/Black */
    --bg-surface: #0f172a;     /* Slate 900 */
    --bg-surface-glass: rgba(15, 23, 42, 0.7);
    --bg-card: rgba(30, 41, 59, 0.4);
    
    --primary: #0ea5e9;        /* Sky 500 - Electric Blue */
    --primary-glow: rgba(14, 165, 233, 0.5);
    --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    
    --accent: #22d3ee;         /* Cyan 400 */
    
    --text-main: #f8fafc;      /* Slate 50 */
    --text-secondary: #94a3b8; /* Slate 400 */
    --text-muted: #64748b;     /* Slate 500 */
    
    --border-light: rgba(148, 163, 184, 0.1);
    --border-glow: rgba(56, 189, 248, 0.3);

    /* Typography - Inter/System */
    --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', system-ui, sans-serif;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 64px;
    
    /* Layout */
    --header-height: 72px;
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --border-radius-pill: 9999px;
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.2);
}

/* Reset & Base */
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Grid Effect (Reference Style) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin: 0 0 var(--spacing-md) 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: var(--spacing-xl);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-xl);
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 20px;
    color: var(--text-main);
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--primary-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    transition: var(--transition-medium);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 20px 30px;
    text-align: center;
    overflow: hidden;
}

/* Glow Effect behind Title */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

/* Slideshow - Reimagined as "Feature Showcase" */
.slideshow-container {
    max-width: 800px;
    margin: 0 auto 50px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-light);
    position: relative;
    aspect-ratio: 2.4 / 1; /* Maintains 1200:500 ratio */
    height: auto;
    container-type: inline-size; /* Enable container queries for proportional scaling */
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8); /* Darken images slightly for text contrast */
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 4%; /* Relative padding for proportional scaling */
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Full height overlay for center text */
}

.slide-caption .promotion-text {
    font-size: 3vw; /* Strictly proportional font size */
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 1%; /* Proportional margin */
    text-align: center;
}

.slide-caption .promotion-text span {
    color: var(--primary);
    font-size: 1.2em;
    text-shadow: 0 0 20px var(--primary-glow);
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.5);
    color: var(--primary);
    border: 1px solid var(--border-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(4px);
}

.slide-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slide-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* Feature Cards (Replacing Pricing Grid for General Cards) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--spacing-md);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(14, 165, 233, 0.1);
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-lg);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
}

.feature-title {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.feature-desc {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    gap: 8px;
}

.feature-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}

.feature-link:hover {
    text-decoration: underline;
}

/* Macau Sauna Title Special Style */
.macau-sauna-title {
    text-align: center;
    padding: 100px 20px 40px; /* Top padding to clear fixed header */
}

.macau-sauna-title h2 {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.macau-news-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.macau-news-link {
    color: var(--text-secondary);
    font-size: 16px;
    padding: 8px 16px;
    border-radius: var(--border-radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
}

.macau-news-link:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

/* Hero Section (Welcome) */
.hero-welcome {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
}

.hero-welcome h1 {
    font-size: 48px;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-welcome p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}


/* Footer */
.footer {
    border-top: 1px solid var(--border-light);
    margin-top: 80px;
    padding: 60px 0 30px;
    background: var(--bg-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-col h3 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: var(--spacing-lg);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Social Bar Grid Layout */
.social-bar {
    margin-top: var(--spacing-md);
}

.social-bar.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: start;
    width: 100%;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.social-icon-wrapper {
    display: block;
    cursor: pointer;
    transition: var(--transition-medium);
}

.social-icon-wrapper img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    object-fit: cover;
}

.social-icon-wrapper:hover {
    transform: translateY(-3px);
}

.social-icon-wrapper:hover img {
    box-shadow: 0 8px 15px rgba(14, 165, 233, 0.5);
    filter: brightness(1.1);
}

/* Info text and button */
.social-info {
    margin-top: 8px;
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.social-info.visible {
    display: flex;
}

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

.id-text {
    font-size: 11px;
    color: var(--text-muted);
    word-break: break-all;
    line-height: 1.2;
}

.copy-btn {
    font-size: 10px;
    padding: 2px 8px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.copy-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Legacy / Default Social Bar */
.social-bar:not(.social-grid) {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.social-icon {
    /* Legacy support */
    width: 24px;
    height: 24px;
    filter: grayscale(1) opacity(0.7);
    transition: var(--transition-fast);
}

@media (max-width: 480px) {
    .social-bar.social-grid {
        gap: 8px;
    }
    .social-icon-wrapper img {
        width: 36px;
        height: 36px;
    }
    .id-text {
        font-size: 10px;
    }
}

.social-icon:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

/* Reservation FAB */
.fab-reservation {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.btn-pulse {
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(14, 165, 233, 0); }
    100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .header { 
        padding: 0 var(--spacing-sm);
        flex-direction: column;
        gap: 10px;
    }
    .nav-links { 
        display: flex; /* Keep visible */
        gap: 15px;
        font-size: 14px;
        flex-wrap: wrap;
        justify-content: center;
    } 
    .pricing-grid { padding: 0 var(--spacing-md); }
}

/* Fee Table Section */
.fee-section {
    padding: var(--spacing-xl) 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Venue Carousel Styles */
.venue-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    padding: 0 40px 40px; /* Side padding for arrows, bottom for dots */
}

.venue-mask {
    overflow: hidden;
    /* Mask for fade effect on edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.venue-track {
    display: flex;
    /* transition is handled in JS */
    cursor: grab;
    align-items: center;
}

.venue-track:active {
    cursor: grabbing;
}

.venue-btn {
    flex: 0 0 calc(33.333% - 10px);
    margin: 0 5px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 12px 5px;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

.venue-btn:hover {
    background: rgba(30, 41, 59, 0.8);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.venue-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-main);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    transform: scale(1.05);
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    margin-top: -20px; /* Adjust for dots padding */
}

.carousel-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.carousel-arrow.prev-arrow {
    left: 0;
}

.carousel-arrow.next-arrow {
    right: 0;
}

.carousel-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    width: 16px;
    border-radius: 10px;
}

.price-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-main);
}

.price-table th, .price-table td {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.price-table th {
    background: rgba(15, 23, 42, 0.6);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover {
    background: rgba(14, 165, 233, 0.05);
}

.price-highlight {
    color: var(--accent);
    font-weight: 700;
}
