/* ============================================
   THE GRINGO'S GAMBIT - WEBSITE STYLES
   Dark, cinematic theme for a thriller novel
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #c41e3a;
    --primary-hover: #a01830;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: #2a2a2a;
    --gold-accent: #d4af37;
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.3);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.nav-cta {
    background: var(--primary-color);
    color: var(--text-primary) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.nav-cta:hover {
    background: var(--primary-hover);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 50%, #0a0a0a 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(196, 30, 58, 0.1) 0%, transparent 70%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(196, 30, 58, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    border-radius: 2px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    margin: 0.5rem auto 0;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

.hero-cover {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: none;
}

.hero-cover img {
    max-width: 350px;
    border-radius: 8px;
    box-shadow: var(--shadow-heavy);
}

@media (min-width: 1100px) {
    .hero {
        justify-content: flex-start;
        padding-left: 10%;
    }

    .hero-content {
        text-align: left;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-cover {
        display: block;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-left: 4px solid var(--primary-color);
}

.quote-section.dark {
    background: var(--bg-darker);
}

.quote-section blockquote {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-style: italic;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ============================================
   STORY SECTION
   ============================================ */
.story-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.9;
}

.story-lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.story-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.story-warning {
    background: rgba(196, 30, 58, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-top: 2rem;
}

.story-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 2rem;
}

.feature-text strong {
    display: block;
    font-size: 1rem;
}

.feature-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   CHARACTERS SECTION
   ============================================ */
.characters-section {
    padding: 6rem 2rem;
    background: var(--bg-darker);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.character-card {
    text-align: center;
    cursor: pointer;
    transition: var(--transition-medium);
}

.character-card:hover {
    transform: translateY(-10px);
}

.character-image {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: var(--transition-medium);
}

.character-card:hover .character-image {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(196, 30, 58, 0.3);
}

.character-card.villain .character-image {
    border-color: #4a1a1a;
}

.character-card.villain:hover .character-image {
    border-color: #8b0000;
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.4);
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(196, 30, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.character-card:hover .character-overlay {
    opacity: 1;
}

.character-overlay span {
    font-size: 0.85rem;
    font-weight: 600;
}

.character-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.character-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   CHARACTER MODAL
   ============================================ */
.character-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.character-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
}

.modal-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    border: 4px solid var(--primary-color);
}

.modal-info {
    text-align: center;
}

.modal-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-quote {
    font-style: italic;
    color: var(--text-muted);
    padding: 1.5rem;
    background: var(--bg-darker);
    border-left: 3px solid var(--primary-color);
    text-align: left;
}

/* ============================================
   READ FREE SECTION
   ============================================ */
.read-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.read-preview {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.read-chapter-header {
    padding: 2rem;
    background: var(--bg-darker);
    text-align: center;
}

.chapter-label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-weight: 600;
}

.read-chapter-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.read-content {
    padding: 2rem;
    font-family: Georgia, serif;
    line-height: 1.9;
    color: var(--text-secondary);
    position: relative;
    max-height: 400px;
    overflow: hidden;
}

.read-content p {
    margin-bottom: 1.5rem;
    text-indent: 1.5rem;
}

.read-content .first-paragraph {
    text-indent: 0;
}

.read-content .first-paragraph::first-letter {
    float: left;
    font-size: 4rem;
    line-height: 1;
    padding-right: 0.5rem;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.read-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(transparent, var(--bg-card));
    pointer-events: none;
}

.read-cta {
    padding: 2rem;
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   LISTEN SECTION
   ============================================ */
.listen-section {
    padding: 6rem 2rem;
    background: var(--bg-darker);
}

.audio-samples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.audio-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-medium);
}

.audio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.audio-info {
    margin-bottom: 1rem;
}

.audio-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 600;
}

.audio-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.audio-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

audio {
    width: 100%;
    height: 40px;
    border-radius: 20px;
}

audio::-webkit-media-controls-panel {
    background: var(--bg-darker);
}

/* ============================================
   BUY SECTION
   ============================================ */
.buy-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.buy-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.buy-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-medium);
    border: 2px solid transparent;
}

.buy-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color);
}

.buy-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.buy-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.buy-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 0.25rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
}

.buy-format {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.buy-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.buy-features {
    list-style: none;
    margin-bottom: 2rem;
}

.buy-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.buy-features li:last-child {
    border-bottom: none;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    padding: 4rem 2rem;
    background: var(--primary-color);
    text-align: center;
}

.newsletter-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-section p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--bg-dark);
    color: var(--text-primary);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--bg-darker);
}

.newsletter-note {
    font-size: 0.8rem;
    margin-top: 1rem;
    opacity: 0.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 4rem 2rem 2rem;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-tagline {
    font-style: italic;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1500;
}

.chat-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: var(--text-primary);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
    transition: var(--transition-medium);
    font-weight: 600;
}

.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(196, 30, 58, 0.5);
}

.chat-toggle.hidden {
    display: none;
}

.chat-icon {
    font-size: 1.25rem;
}

.chat-window {
    position: absolute;
    bottom: 5rem;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 2rem);
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.chat-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-header h4 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.chat-header span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chat-minimize {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    max-height: 350px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.chat-message p {
    background: var(--bg-darker);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: inline-block;
    max-width: 85%;
    line-height: 1.5;
}

.chat-message.bot p {
    border-top-left-radius: 4px;
}

.chat-message.user {
    text-align: right;
}

.chat-message.user p {
    background: var(--primary-color);
    border-top-right-radius: 4px;
}

.chat-input {
    display: flex;
    padding: 1rem;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-input button {
    background: var(--primary-color);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chat-input button:hover {
    background: var(--primary-hover);
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1rem;
    background: var(--bg-darker);
    border-radius: 12px;
    display: inline-flex;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-scroll {
        display: none;
    }

    .characters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .character-image {
        width: 120px;
        height: 120px;
    }

    .buy-card.featured {
        transform: none;
    }

    .buy-card.featured:hover {
        transform: translateY(-10px);
    }

    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .chat-label {
        display: none;
    }

    .chat-toggle {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }

    .chat-icon {
        font-size: 1.5rem;
    }

    .chat-window {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    .chat-messages {
        max-height: none;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .characters-grid {
        grid-template-columns: 1fr 1fr;
    }

    .character-image {
        width: 100px;
        height: 100px;
    }

    .character-card h3 {
        font-size: 1rem;
    }

    .audio-samples {
        grid-template-columns: 1fr;
    }

    .buy-options {
        grid-template-columns: 1fr;
    }
}
