/* Landing Page Styles - Modern & Sophisticated */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-color: #667eea;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-page: #ffffff;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

body.dark-mode {
    --text-dark: #ffffff;
    --text-light: #1a1a1a;
    --bg-light: #1a1a1a;
    --bg-page: #0d0d0d;
    --card-bg: #1a1a1a;
    --nav-bg: rgba(26, 26, 26, 0.95);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    background: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Disable all clicks and links - Landing page only */
a, button, .media-item, .drink-card, .hq-feature-card {
    pointer-events: none !important;
    cursor: default !important;
}

/* Exceptions: Keep these functional */
.theme-toggle,
.nav-dark-toggle,
.nav-link,
.nav-btn-login,
.nav-btn-register,
#authButtons,
#authButtons a,
#authButtons button,
#userMenu,
#userMenu button,
#logoutBtn {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s;
}

.landing-nav.scrolled {
    height: 60px;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-admin {
    padding: 10px 24px;
    background: var(--accent-color);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.3s;
}

.nav-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.nav-dark-toggle {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--text-dark);
    font-size: 20px;
}

.nav-dark-toggle:hover {
    background: var(--bg-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

/* Hero Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.2;
    z-index: 2;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 20px;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: white;
    color: var(--accent-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--accent-color);
}

/* Features Section */
.features {
    padding: 120px 40px;
    background: var(--bg-light);
    transition: background 0.3s ease;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-description {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* Exhibition Section */
.exhibition {
    padding: 120px 40px;
}

.exhibition-container {
    max-width: 1400px;
    margin: 0 auto;
}

.exhibition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.exhibition-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.exhibition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.exhibition-image {
    width: 100%;
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.exhibition-content {
    padding: 24px;
}

.exhibition-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.exhibition-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.exhibition-count {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 600;
}

/* Info Section */
.info {
    padding: 120px 40px;
    background: var(--bg-light);
    transition: background 0.3s ease;
}

.info-container {
    max-width: 1400px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.info-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, background 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.info-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.info-sub {
    font-size: 14px;
    color: #666;
}

/* CTA Section */
.cta {
    padding: 120px 40px;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-description {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
}

/* Footer */
.landing-footer {
    padding: 60px 40px 40px;
    background: #1a1a1a;
    color: white;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

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

    .nav-menu {
        gap: 20px;
    }

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

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .features, .exhibition, .info, .cta {
        padding: 80px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-title {
        font-size: 36px;
    }
}

/* Exhibition Card Enhancements - With Background Images */
.exhibition-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--card-bg);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.exhibition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.exhibition-card:hover::before {
    opacity: 0.9;
}

.exhibition-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    z-index: 2;
    opacity: 0.9;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.exhibition-card .exhibition-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    color: #ffffff;
}

.exhibition-card .exhibition-name {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.exhibition-card .exhibition-description {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.exhibition-card .exhibition-count {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Featured Media Section */
.featured-media {
    background: var(--bg-light);
    padding: 100px 20px;
}

.featured-container {
    max-width: 1400px;
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.featured-item {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.featured-image {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    position: relative;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 50%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px;
}

.featured-category {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

body.dark-mode .featured-category {
    background: rgba(26, 26, 26, 0.95);
    color: var(--text-light);
}

.featured-info {
    padding: 20px;
}

.featured-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dark);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.error-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ff6b6b;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .featured-image {
        height: 200px;
    }

    .featured-info {
        padding: 12px;
    }

    .featured-title {
        font-size: 14px;
    }

    .exhibition-card {
        min-height: 220px;
    }

    .exhibition-icon {
        font-size: 36px;
        top: 12px;
        right: 12px;
    }

    .exhibition-card .exhibition-name {
        font-size: 20px;
    }
}

/* Story Drink Section */
.story-drink {
    background: var(--bg-page);
    padding: 100px 20px;
}

.story-drink-container {
    max-width: 1400px;
    margin: 0 auto;
}

.story-drink-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.drink-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.drink-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.drink-icon {
    font-size: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.drink-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.drink-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 24px;
}

.drink-features {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

body.dark-mode .feature-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Story Drink Highlight */
.story-drink-highlight {
    margin-top: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.highlight-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.highlight-icon {
    font-size: 72px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.highlight-text {
    flex: 1;
    color: white;
}

.highlight-text h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.highlight-text p {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.6;
}

.highlight-btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.highlight-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .story-drink {
        padding: 60px 20px;
    }

    .story-drink-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .drink-card {
        padding: 32px 24px;
    }

    .drink-icon {
        font-size: 48px;
    }

    .drink-title {
        font-size: 20px;
    }

    .drink-description {
        font-size: 14px;
    }

    .story-drink-highlight {
        padding: 32px 24px;
    }

    .highlight-content {
        flex-direction: column;
        text-align: center;
    }

    .highlight-icon {
        font-size: 56px;
    }

    .highlight-text h4 {
        font-size: 22px;
    }

    .highlight-text p {
        font-size: 14px;
    }

    .highlight-btn {
        width: 100%;
        text-align: center;
    }
}

/* 8.15K Storyteller HQ Section */
.storyteller-hq {
    background: var(--bg-light);
    padding: 100px 20px;
}

.hq-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* HQ Intro */
.hq-intro {
    margin-top: 48px;
    margin-bottom: 64px;
}

.hq-intro-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 48px;
    color: white;
    text-align: center;
}

.hq-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hq-intro-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hq-intro-content p {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto;
}

/* HQ Features Grid */
.hq-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.hq-feature-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hq-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.feature-number {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 72px;
    font-weight: 900;
    color: var(--text-dark);
    opacity: 0.05;
    line-height: 1;
}

.feature-icon-large {
    font-size: 64px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.feature-title-large {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.feature-description-large {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

/* HQ CTA */
.hq-cta {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
}

.hq-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.hq-cta-text {
    flex: 1;
}

.hq-cta-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.hq-cta-text p {
    font-size: 16px;
    color: var(--text-dark);
    opacity: 0.7;
    line-height: 1.6;
}

.hq-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hq-btn-primary,
.hq-btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hq-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.hq-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.hq-btn-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.hq-btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .storyteller-hq {
        padding: 60px 20px;
    }

    .hq-intro-content {
        padding: 32px 24px;
    }

    .hq-intro-content h3 {
        font-size: 24px;
    }

    .hq-intro-content p {
        font-size: 15px;
    }

    .hq-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hq-feature-card {
        padding: 32px 24px;
    }

    .feature-number {
        font-size: 56px;
        top: 16px;
        right: 24px;
    }

    .feature-icon-large {
        font-size: 48px;
    }

    .feature-title-large {
        font-size: 20px;
    }

    .feature-description-large {
        font-size: 14px;
    }

    .feature-list li {
        font-size: 14px;
    }

    .hq-cta {
        padding: 32px 24px;
    }

    .hq-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .hq-cta-text h3 {
        font-size: 22px;
    }

    .hq-cta-text p {
        font-size: 14px;
    }

    .hq-cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .hq-btn-primary,
    .hq-btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* Auth Buttons */
.nav-btn-register {
    padding: 8px 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.3s;
    display: inline-block;
}

.nav-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.nav-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0 10px;
}

#authButtons, #userMenu {
    pointer-events: auto !important;
}

#authButtons a, #userMenu button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Login Button */
.nav-btn-login {
    padding: 8px 20px;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.3s;
    display: inline-block;
}

.nav-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.hq-fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

.hq-fab i {
    font-size: 28px;
    animation: pulse 2s ease-in-out infinite;
}


.hq-fab::before {
    content: 'HQ';
    position: absolute;
    top: -30px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.hq-fab:hover::before {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hq-fab {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .hq-fab i {
        font-size: 24px;
    }
}

/* HQ Navigation Button - Top Right */
.nav-hq {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-hq:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.nav-hq i {
    font-size: 1.2rem;
    animation: rotate-grid 3s ease-in-out infinite;
}

@keyframes rotate-grid {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .nav-hq {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .nav-hq i {
        font-size: 1rem;
    }
}
