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

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ff6200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    max-width: 280px;
    width: 70%;
    height: auto;
    animation: logoPulse 1.5s ease-in-out infinite;
    margin-bottom: 30px;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.loading-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #ff6200;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a3d0a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Background.png') center center / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
}

/* ===== TOP NAVIGATION BAR ===== */
.top-bar {
    width: 100%;
    background: #ff6200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-amazon-now { display: flex; align-items: center; }
.logo-img { height: 30px; width: auto; }
.logo-compra-gana { display: flex; align-items: center; }
.logo-compra-gana .logo-img { height: 34px; }

.top-bar-divider {
    width: 1.5px;
    height: 28px;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 4px;
}

.top-bar-title { display: flex; flex-direction: column; line-height: 1.2; }
.title-main { color: white; font-size: 1.1em; font-weight: 800; letter-spacing: 0.5px; }
.title-sub { color: rgba(255, 255, 255, 0.85); font-size: 0.55em; letter-spacing: 1px; text-transform: uppercase; }

.top-bar-right { display: flex; align-items: center; }

.menu-btn {
    background: none; border: none; color: white; font-size: 0.85em; font-weight: 600;
    cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 8px 12px;
    width: auto; margin-top: 0; border-radius: 4px; transition: background 0.2s;
}
.menu-btn:hover { background: rgba(255, 255, 255, 0.15); }

.hamburger { display: flex; flex-direction: column; gap: 4px; }
.hamburger span { display: block; width: 22px; height: 2.5px; background: white; border-radius: 2px; }

/* ===== SIDE MENU ===== */
.menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 200; }
.menu-overlay.open { display: block; }

.side-menu {
    position: fixed; top: 0; right: -320px; width: 320px; max-width: 85vw; height: 100%;
    background: white; z-index: 300; transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15); display: flex; flex-direction: column;
}
.side-menu.open { right: 0; }

.side-menu-header { display: flex; justify-content: flex-end; padding: 16px 20px; border-bottom: 1px solid #eee; }
.menu-close { background: none; border: none; font-size: 1.5em; cursor: pointer; color: #333; width: auto; padding: 4px 12px; margin: 0; }
.menu-close:hover { background: #f0f0f0; border-radius: 4px; }

.side-menu-items { padding: 16px 0; flex: 1; overflow-y: auto; }
.side-menu-item { display: flex; align-items: center; gap: 16px; padding: 20px 24px; text-decoration: none; color: #2d3436; font-weight: 700; font-size: 1em; transition: background 0.2s; }
.side-menu-item:hover { background: #f8f8f8; }

.menu-icon { width: 48px; height: 48px; background: #fff0e6; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #ff6200; flex-shrink: 0; }
.side-menu-item span { flex: 1; letter-spacing: 0.5px; }
.external-icon { color: #bbb; flex-shrink: 0; }
.menu-divider { height: 1px; background: #eee; margin: 8px 24px; }

/* ===== MAIN CONTENT ===== */
.main-content { width: 100%; display: flex; flex-direction: column; align-items: center; padding: 40px 20px; flex: 1; position: relative; z-index: 1; }
.section { display: none; width: 100%; max-width: 500px; flex-direction: column; align-items: center; }
.section.active { display: flex; }
.section-title { text-align: center; color: #ff6200; font-size: 1.6em; margin-bottom: 24px; }

/* ===== CONTAINER ===== */
.container { background: white; border-radius: 20px; padding: 40px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.header { text-align: center; margin-bottom: 30px; }
.header h1 { color: #ff6200; font-size: 2.2em; margin-bottom: 8px; }
.header p { color: #666; font-size: 1.05em; }
.gol-gana-logo { max-width: 420px; width: 90%; height: auto; margin-bottom: 8px; }

/* ===== FORM ===== */
.step { display: none; }
.step.active { display: block; }
.form-group { margin-bottom: 20px; }
.form-group label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 600; color: #333; font-size: 0.95em; }
.form-group input { width: 100%; padding: 14px 16px; border: 2px solid #e0e0e0; border-radius: 12px; font-size: 16px; transition: all 0.3s; background: #fafafa; }
.form-group input:focus { outline: none; border-color: #ff6200; background: white; box-shadow: 0 0 0 4px rgba(255,98,0,0.1); }
.form-group input::placeholder { color: #aaa; }
.form-decoration { text-align: center; margin-bottom: 20px; font-size: 2em; opacity: 0.8; }
.form-subtitle { text-align: center; color: #888; font-size: 0.85em; margin-bottom: 24px; font-style: italic; }

/* Info Box */
.info-box {
    background: #fff9f5;
    border: 2px solid #ffe0c8;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 24px;
}

.info-box-title {
    font-weight: 700;
    color: #ff6200;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.info-box-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.info-box-list li {
    font-size: 0.82em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 6px;
}

.info-box-list a {
    color: #ff6200;
    font-weight: 600;
    text-decoration: underline;
}

.info-box-link {
    display: inline-block;
    color: #ff6200;
    font-size: 0.8em;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #ff6200;
}

.info-box-link:hover {
    opacity: 0.8;
}

/* Date Input */
.date-input-wrapper {
    position: relative;
    cursor: pointer;
}

.date-input-wrapper input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    background: #fafafa;
    color: #333;
    cursor: pointer;
}

.date-input-wrapper input:focus {
    outline: none;
    border-color: #ff6200;
    background: white;
    box-shadow: 0 0 0 4px rgba(255,98,0,0.1);
}

.date-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    pointer-events: none;
}

/* Custom Calendar */
.custom-calendar {
    display: none;
    background: white;
    border: 2px solid #ff6200;
    border-radius: 14px;
    padding: 16px;
    margin-top: 8px;
    box-shadow: 0 8px 30px rgba(255, 98, 0, 0.15);
    animation: fadeIn 0.2s ease;
}

.custom-calendar.open {
    display: block;
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cal-month-year {
    font-weight: 700;
    font-size: 1em;
    color: #ff6200;
}

.cal-nav {
    width: 32px;
    height: 32px;
    background: #fff0e6;
    border: none;
    border-radius: 50%;
    font-size: 1.2em;
    font-weight: 700;
    color: #ff6200;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-shadow: none;
    transition: background 0.2s;
}

.cal-nav:hover {
    background: #ff6200;
    color: white;
    transform: none;
    box-shadow: none;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.cal-weekdays span {
    font-size: 0.75em;
    font-weight: 700;
    color: #999;
    padding: 4px 0;
}

.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    transition: all 0.15s;
}

.cal-day:hover {
    background: #fff0e6;
    color: #ff6200;
    transform: none;
    box-shadow: none;
}

.cal-day.selected {
    background: #ff6200;
    color: white;
}

.cal-day.today {
    border: 2px solid #ff6200;
}

.cal-day.empty {
    cursor: default;
}

.cal-day.empty:hover {
    background: none;
}

.cal-day.disabled {
    color: #ddd;
    cursor: not-allowed;
}

.cal-day.disabled:hover {
    background: none;
    color: #ddd;
}

/* Captcha Slider */
.captcha-container {
    margin: 20px 0;
}

.captcha-track {
    position: relative;
    width: 100%;
    height: 48px;
    background: #f0f0f0;
    border-radius: 24px;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    user-select: none;
}

.captcha-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 44px;
    height: 44px;
    background: #ff6200;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    cursor: grab;
    z-index: 2;
    transition: left 0.05s;
    box-shadow: 0 2px 8px rgba(255,98,0,0.3);
}

.captcha-slider:active {
    cursor: grabbing;
}

.captcha-text {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 48px;
    color: #999;
    font-size: 0.85em;
    font-weight: 600;
    pointer-events: none;
}

.captcha-success {
    width: 100%;
    height: 48px;
    background: #e8f5e9;
    border-radius: 24px;
    border: 2px solid #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf50;
    font-weight: 700;
    font-size: 0.9em;
}

button { width: 100%; padding: 14px; background: #ff6200; color: white; border: none; border-radius: 12px; font-size: 18px; font-weight: 700; cursor: pointer; transition: all 0.3s; margin-top: 10px; box-shadow: 0 4px 15px rgba(255,98,0,0.3); }
button:hover { background: #e55800; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,98,0,0.4); }
button:disabled { background: #ccc; cursor: not-allowed; box-shadow: none; transform: none; }
.error { color: #ce1126; text-align: center; margin-top: 12px; font-size: 14px; }

/* ===== QUESTIONS ===== */
.question-block { margin-bottom: 24px; padding: 16px; background: #f8f8f8; border-radius: 12px; }
.question-block h3 { margin-bottom: 12px; color: #333; }
.option { display: block; padding: 12px 16px; margin-bottom: 8px; background: white; border: 2px solid #e0e0e0; border-radius: 10px; cursor: pointer; transition: all 0.2s; }
.option:hover { border-color: #ff6200; background: #fff9f5; }
.option.selected { border-color: #ff6200; background: #fff3e8; font-weight: 600; }
#step-questions h2 { text-align: center; color: #333; margin-bottom: 24px; }

/* ===== RESULTS ===== */
.result-winner { text-align: center; padding: 20px; }
.result-winner h2 { color: #ff6200; font-size: 1.8em; margin-bottom: 16px; }
.result-winner .prize { font-size: 1.3em; color: #333; margin-bottom: 12px; }
.result-winner .code { background: #fff3e8; padding: 12px 20px; border-radius: 10px; font-family: monospace; font-size: 1.2em; margin: 16px 0; display: inline-block; border: 2px solid #ff6200; }

/* Redeem Instructions */
.redeem-instructions {
    background: #f0faf0;
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 16px 0;
    text-align: left;
}
.redeem-instructions .redeem-title {
    font-weight: 700;
    color: #2e7d32;
    font-size: 0.95em;
    margin-bottom: 10px;
}
.redeem-instructions ol {
    padding-left: 20px;
    margin: 0;
}
.redeem-instructions li {
    font-size: 0.85em;
    color: #444;
    line-height: 1.8;
}
.redeem-instructions a {
    color: #ff6200;
    font-weight: 600;
    text-decoration: underline;
}
.result-loser { text-align: center; padding: 20px; }
.result-loser h2 { color: #666; margin-bottom: 12px; }
.result-loser p { color: #999; }
.participation-number { text-align: center; color: #999; font-size: 0.9em; margin-top: 16px; }

/* ===== PREMIOS ===== */
.premios-subtitle {
    text-align: center;
    color: #888;
    font-size: 0.9em;
    margin-bottom: 24px;
}

.premio-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    border: 2px solid #333;
}

.premio-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 98, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.premio-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    pointer-events: none;
}

.premio-hero-img {
    width: 85%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.premio-hero-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ff6200;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.72em;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 98, 0, 0.4);
}

.premio-hero h3 {
    color: white;
    font-size: 1.2em;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.premio-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85em;
    position: relative;
    z-index: 1;
}

.premios-carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.premios-carousel::-webkit-scrollbar {
    height: 4px;
}

.premios-carousel::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.premios-carousel::-webkit-scrollbar-thumb {
    background: #ff6200;
    border-radius: 4px;
}

.premio-slide {
    min-width: 180px;
    max-width: 180px;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #ffe0c8;
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.premio-slide:hover {
    transform: translateY(-3px);
}

.premio-slide-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #f9f9f9;
    padding: 10px;
}

.premio-slide-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffe0c8;
    font-size: 2.5em;
    aspect-ratio: 1;
}

.premio-slide-info {
    padding: 12px;
}

.premio-slide-info h4 {
    color: #333;
    font-size: 0.8em;
    margin-bottom: 4px;
    line-height: 1.3;
}

.premio-slide-info p {
    color: #888;
    font-size: 0.72em;
    font-weight: 600;
}

.premio-badge {
    display: inline-block;
    background: #ff6200;
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.65em;
    font-weight: 700;
    margin-bottom: 4px;
}

/* ===== PRIZES PREVIEW ===== */
.prizes-preview {
    margin-top: 24px;
    padding: 24px;
}

.prizes-preview-title {
    color: #ff6200;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 16px;
}

.prizes-preview-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.prizes-preview-scroll::-webkit-scrollbar { height: 3px; }
.prizes-preview-scroll::-webkit-scrollbar-thumb { background: #ff6200; border-radius: 3px; }

.prize-mini {
    min-width: 140px;
    text-align: center;
    scroll-snap-align: start;
    flex-shrink: 0;
    background: #fff9f5;
    border-radius: 14px;
    padding: 12px;
    border: 2px solid #ffe0c8;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.prize-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 98, 0, 0.2);
}

.prize-mini img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 8px;
}

.prize-mini span {
    display: block;
    font-size: 0.78em;
    color: #333;
    font-weight: 700;
}

.prizes-preview-btn {
    margin-top: 16px;
    background: none;
    border: 1.5px solid #ff6200;
    color: #ff6200;
    font-size: 0.85em;
    padding: 10px;
    box-shadow: none;
}

.prizes-preview-btn:hover {
    background: #ff6200;
    color: white;
    box-shadow: none;
}

/* ===== CHATBOT QUICK ACCESS ===== */
.chatbot-quick {
    margin-top: 16px;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s;
}

.chatbot-quick:hover { transform: translateY(-2px); }

.chatbot-quick-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
}

.chatbot-quick-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff6200;
}

.chatbot-quick-text { flex: 1; }
.chatbot-quick-title { font-weight: 700; color: #333; font-size: 0.95em; margin: 0; }
.chatbot-quick-sub { color: #888; font-size: 0.8em; margin: 2px 0 0; }

.chatbot-quick-arrow {
    font-size: 1.8em;
    color: #ff6200;
    font-weight: 300;
}

/* ===== SPONSOR FLAGS ===== */
.flags-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 80px;
    padding: 60px 0;
    width: 100%;
}

.flags-section::before {
    content: 'CONOCE MÁS';
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 20px;
}

.flag-banner {
    width: 100%;
    max-width: 100%;
    position: relative;
    text-decoration: none;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flag-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.flag-banner:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ===== CHATBOT ===== */
.chatbot-container {
    padding: 0;
    overflow: hidden;
}

.chatbot-header {
    background: #ff6200;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 20px 20px 0 0;
}

.chatbot-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.chatbot-info { display: flex; flex-direction: column; }
.chatbot-name { color: white; font-weight: 700; font-size: 1em; }
.chatbot-status { color: rgba(255,255,255,0.85); font-size: 0.75em; }

.chatbot {
    border: none;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 480px;
    background: #e8ede5;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-bubble {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88em;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

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

.chat-bubble.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}

.chat-bubble.user {
    background: #dcf8c6;
    color: #1a1a1a;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.06);
}

.chat-bubble p { margin: 0; }
.chat-bubble a { color: #ff6200; font-weight: 600; text-decoration: underline; }

.chat-options-inline {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: flex-start;
    max-width: 88%;
    animation: fadeIn 0.3s ease;
}

.option-btn {
    background: white;
    border: 1.5px solid #ff6200;
    color: #ff6200;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.82em;
    font-weight: 600;
    cursor: pointer;
    width: auto;
    margin: 0;
    text-align: left;
    transition: all 0.15s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.option-btn:hover {
    background: #ff6200;
    color: white;
    transform: none;
    box-shadow: 0 2px 8px rgba(255,98,0,0.25);
}

.option-btn.category-btn { text-align: center; padding: 12px 18px; font-size: 0.88em; }
.option-btn.back-btn { background: #f5f5f5; border-color: #ddd; color: #888; text-align: center; font-size: 0.8em; }
.option-btn.back-btn:hover { background: #e8e8e8; color: #555; box-shadow: none; }
.option-btn.done-btn { background: white; border-color: #4caf50; color: #4caf50; text-align: center; }
.option-btn.done-btn:hover { background: #4caf50; color: white; }

.typing-indicator {
    display: flex; gap: 5px; padding: 10px 14px; background: white;
    border-radius: 10px; border-bottom-left-radius: 2px; align-self: flex-start;
    box-shadow: 0 1px 1px rgba(0,0,0,0.06); animation: fadeIn 0.2s ease;
}

.typing-indicator span { width: 7px; height: 7px; background: #bbb; border-radius: 50%; animation: typing 1.2s infinite; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

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

/* ===== TYC ===== */
.tyc-content { margin-bottom: 24px; }
.tyc-content p { margin-bottom: 12px; color: #555; font-size: 0.9em; line-height: 1.6; }

/* ===== AYUDA ===== */
.ayuda-info { background: #fff9f5; border-radius: 8px; padding: 20px; margin: 16px 0 24px; }
.ayuda-info p { margin-bottom: 10px; color: #555; }

/* ===== CONFETTI ===== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    top: -10px;
    opacity: 0.9;
    animation: confettiFall linear forwards;
}

.confetti.square {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.confetti.circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.confetti.strip {
    width: 4px;
    height: 16px;
    border-radius: 2px;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .top-bar { padding: 10px 12px; }
    .top-bar-left { gap: 4px; }
    .logo-img { height: 22px; }
    .top-bar-divider { height: 22px; margin: 0 2px; }
    .title-main { font-size: 0.85em; }
    .title-sub { font-size: 0.45em; }
    .container { padding: 24px; }
    .chatbot-container { padding: 0; }
    .header h1 { font-size: 1.6em; }
    .main-content { padding: 20px 12px; }
}
