/* =============================================================
   GOLDIE CHAT - Modern Senior-Friendly Design
   Warm Light Theme with Gold/Amber Accents
   ============================================================= */

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

/* =============================================================
   BASE - Body & Page
   ============================================================= */
body.page-template-page-goldie-chat {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #FAF9F7;
    min-height: 100vh;
    color: #1A1A1A;
    font-size: 18px;
    line-height: 1.6;
}

body.gc-fullscreen-chat {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #FAF9F7;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #1A1A1A;
    font-size: 18px;
    line-height: 1.6;
}

.gc-chat-page {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    min-height: 100vh;
}

/* =============================================================
   CONTAINER - TV Frame replaced with clean wrapper
   ============================================================= */
.tv-container {
    width: 100%;
    max-width: 1800px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
    padding-bottom: 0;
}

/* Hide all retro decorations */
.tv-container::before,
.tv-container::after,
.screw-bottom-left,
.screw-bottom-right {
    display: none !important;
}

.speaker-grill,
.grill-line {
    display: none !important;
}

/* =============================================================
   LAYOUT - Main flex layout
   ============================================================= */
.main-layout {
    display: flex;
    gap: 0;
    align-items: stretch;
    height: 100vh;
}

.screen-section {
    flex: 1;
    background: #FAF9F7;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* =============================================================
   TOP BAR - Clean white sticky header
   ============================================================= */
.gc-chat-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E5E5;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 72px;
    margin-bottom: 0;
}

.gc-chat-top-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Left Section - Logo + Back Button */
.gc-left-section {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    margin-left: 0;
}

/* Logo */
.gc-logo-corner {
    color: #F5A623;
    font-size: 24px;
    font-weight: bold;
    font-family: inherit;
    text-shadow: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 0;
}

.gc-logo-corner .heart-symbol {
    color: #EF4444;
    font-size: 22px;
    text-shadow: none;
}

.gc-logo-corner-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    margin-top: 0;
    border: 2px solid #F5A623;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.2);
    background: #FFF9F0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gc-logo-corner-img:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 12px rgba(245, 166, 35, 0.4);
}

/* Back Button */
.gc-back-button {
    background: transparent;
    color: #4A4A4A;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 8px 16px;
    font-family: inherit;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 48px;
}

.gc-back-button:hover {
    background: #F5F5F5;
    border-color: #D0D0D0;
    color: #1A1A1A;
    transform: none;
    box-shadow: none;
}

.gc-back-button:active {
    background: #EBEBEB;
    transform: none;
    box-shadow: none;
}

/* =============================================================
   TITLE - Clean modern text (replaces neon)
   ============================================================= */
.gc-title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex: 1;
}

.gc-title-retro {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    background: transparent;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    box-shadow: none;
}

.gc-title-row-1,
.gc-title-row-2 {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
}

/* Dollar Sign - Gold accent */
.neon-dollar {
    font-family: inherit;
    font-size: 26px;
    font-weight: 700;
    color: #F5A623;
    text-shadow: none;
    -webkit-text-stroke: 0;
    letter-spacing: 0;
    margin-right: 2px;
}

/* BENEFIT - Clean dark text */
.neon-benefit {
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    text-shadow: none;
    -webkit-text-stroke: 0;
    letter-spacing: 1px;
}

/* SEARCH - Clean dark text */
.neon-search {
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    text-shadow: none;
    -webkit-text-stroke: 0;
    letter-spacing: 1px;
}

/* Remove neon flicker animation */
.gc-title-retro:hover .neon-dollar,
.gc-title-retro:hover .neon-benefit,
.gc-title-retro:hover .neon-search {
    animation: none;
}

/* Legacy title fallback */
.gc-title:not(.gc-title-retro) {
    color: #1A1A1A;
    font-size: 22px;
    font-weight: 700;
    text-shadow: none;
    letter-spacing: 1px;
}

/* =============================================================
   PROFILE SECTION
   ============================================================= */
.gc-profile-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gc-profile-single {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gc-profile-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 13px;
    line-height: 1.3;
}

.gc-profile-line-1,
.gc-profile-line-2 {
    color: #666;
    font-size: 12px;
}

.gc-profile-line-3 {
    color: #1A1A1A;
    font-weight: 600;
    font-size: 14px;
}

/* =============================================================
   MENU BUTTON - Clean rectangular button
   ============================================================= */
.gc-menu-btn {
    background: #FFFFFF;
    color: #4A4A4A;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: inherit;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    position: relative;
    min-width: auto;
    min-height: 48px;
    animation: none;
}

.gc-menu-btn:hover {
    background: #F5F5F5;
    border-color: #D0D0D0;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.gc-menu-btn:active {
    background: #EBEBEB;
    transform: none;
    box-shadow: none;
}

.gc-menu-btn .menu-text {
    font-size: 15px;
    letter-spacing: 0;
}

.gc-menu-btn .menu-icon {
    font-size: 14px;
    transition: transform 0.2s;
}

/* =============================================================
   TOP RIGHT CONTROLS
   ============================================================= */
.gc-chat-top-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Controls Panel - Clean toolbar */
.gc-controls-panel {
    display: flex;
    gap: 8px;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.knob-container,
.sound-container,
.menu-button-container {
    text-align: center;
    position: relative;
}

/* Menu Circle Button -> Clean icon button */
.menu-circle-btn {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    animation: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.menu-circle-btn svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.menu-circle-btn {
    color: #4A4A4A;
}

.menu-circle-btn svg path,
.menu-circle-btn svg line {
    stroke: #4A4A4A;
}

.menu-circle-btn:hover {
    background: #F5F5F5;
    border-color: #D0D0D0;
    transform: none;
}

.menu-circle-btn:active {
    background: #EBEBEB;
    transform: none;
}

/* Text Size Knob -> Clean button */
.knob {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    animation: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove inner circle pseudo-element */
.knob::before {
    display: none;
}

/* Remove indicator line pseudo-element */
.knob::after {
    display: none;
}

.knob:hover {
    background: #F5F5F5;
    border-color: #D0D0D0;
    transform: none;
}

.knob-value {
    position: static;
    transform: none;
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    z-index: auto;
    text-shadow: none;
    pointer-events: none;
}

/* Premium knob - neutralize retro glow */
.premium-layout .knob {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    animation: none;
}

.premium-layout .knob::before {
    display: none;
}

/* Sound Toggle Button -> Clean icon button */
.sound-toggle-btn {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    animation: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.sound-toggle-btn .sound-icon {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* SVG icon colors via currentColor */
.sound-toggle-btn {
    color: #4A4A4A;
}

.sound-toggle-btn .speaker-body {
    fill: #4A4A4A;
    stroke: #4A4A4A;
}

.sound-toggle-btn .sound-wave-1,
.sound-toggle-btn .sound-wave-2 {
    stroke: #4A4A4A;
}

.sound-toggle-btn .mute-slash {
    stroke: #EF4444;
}

.sound-toggle-btn:hover {
    background: #F5F5F5;
    border-color: #D0D0D0;
    transform: none;
}

.sound-toggle-btn:active {
    background: #EBEBEB;
    transform: none;
}

/* Sound wave animations when unmuted */
.sound-toggle-btn.muted .sound-wave-1,
.sound-toggle-btn.muted .sound-wave-2 {
    display: none;
}

.sound-toggle-btn:not(.muted) .mute-slash {
    display: none;
}

.sound-toggle-btn:not(.muted) .sound-wave-1 {
    animation: soundWave1 1.5s ease-in-out infinite;
}

.sound-toggle-btn:not(.muted) .sound-wave-2 {
    animation: soundWave2 1.5s ease-in-out infinite;
    animation-delay: 0.2s;
}

@keyframes soundWave1 {
    0%, 100% { opacity: 0.4; stroke-width: 1.5; }
    50% { opacity: 1; stroke-width: 2; }
}

@keyframes soundWave2 {
    0%, 100% { opacity: 0.3; stroke-width: 1.5; }
    50% { opacity: 0.8; stroke-width: 2; }
}

/* Control Labels */
.knob-label {
    color: #666;
    font-size: 11px;
    margin-top: 4px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

/* =============================================================
   DROPDOWN MENU - Clean card dropdown
   ============================================================= */
.gc-dropdown-menu {
    position: fixed;
    top: auto;
    left: auto;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    white-space: nowrap;
    min-width: 180px;
}

.gc-dropdown-menu.show {
    display: flex;
}

.gc-dropdown-menu a {
    color: #1A1A1A;
    text-decoration: none;
    font-family: inherit;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background 0.15s;
    display: block;
}

.gc-dropdown-menu a:hover {
    background: #FFF9F0;
    transform: none;
    color: #C17C1A;
}

/* =============================================================
   BUTTON STACK - New Chat, Accessibility, Token Badge
   ============================================================= */
.button-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

/* Premium Badge */
.premium-badge {
    background: #FFF3E0;
    color: #92610A;
    border: 1px solid #FFE5B4;
    padding: 6px 14px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.premium-badge-icon {
    font-size: 16px;
}

/* Token Badge */
.gc-token-badge {
    background: #FFF3E0;
    color: #92610A;
    border: 1px solid #FFE5B4;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: none;
    white-space: nowrap;
    min-width: auto;
    text-align: center;
}

/* New Chat Button */
.gc-new-chat-btn {
    background: #FFFFFF;
    color: #1A1A1A;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    width: 48px;
    height: 48px;
    font-family: inherit;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Remove decorative inner rings */
.gc-new-chat-btn::before,
.gc-new-chat-btn::after {
    display: none;
}

.gc-new-chat-btn span {
    position: relative;
    z-index: 1;
}

.gc-new-chat-btn:hover {
    background: #FFF9F0;
    border-color: #F5A623;
    color: #C17C1A;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.gc-new-chat-btn:active {
    background: #FFF3E0;
    transform: none;
}

/* Accessibility Button */
.gc-accessibility-trigger-chat {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

.gc-accessibility-trigger-chat svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
    transition: all 0.2s;
}

.gc-accessibility-trigger-chat:hover {
    transform: scale(1.1);
}

.gc-accessibility-trigger-chat:hover svg {
    filter: drop-shadow(0 2px 8px rgba(245, 166, 35, 0.5));
}

.gc-accessibility-trigger-chat:active {
    transform: scale(1.05);
}

/* =============================================================
   CHAT MESSAGES AREA
   ============================================================= */
.gc-chat-messages {
    background: #FAF9F7;
    border: none;
    border-radius: 0;
    flex: 1;
    min-height: 400px;
    padding: 24px;
    overflow-y: auto;
    box-shadow: none;
    position: relative;
}

/* Messages */
.gc-message {
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 800px;
}

.gc-message.gc-user-message {
    flex-direction: row-reverse;
    margin-left: auto;
}

.gc-message-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.gc-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.gc-message-bubble {
    background: #FFFFFF;
    border-left: none;
    color: #1A1A1A;
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 18px;
    line-height: 1.6;
    max-width: 75%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    font-family: inherit;
}

.gc-user-message .gc-message-bubble {
    border-left: none;
    border-right: none;
    background: #F5A623;
    color: #1A1A1A;
    border-radius: 16px;
}

/* Headers within message bubbles */
.gc-message-bubble h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 14px 0 8px 0;
    color: #1A1A1A;
}

.gc-message-bubble h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 12px 0 6px 0;
    color: #2d2d2d;
}

.gc-message-bubble strong {
    font-weight: 600;
}

.gc-message-bubble a {
    color: #C17C1A;
    text-decoration: underline;
    font-weight: 500;
}

.gc-message-bubble a:hover {
    color: #A06500;
}

.gc-user-message .gc-message-bubble a {
    color: #1A1A1A;
    font-weight: 600;
}

/* =============================================================
   TYPING INDICATOR
   ============================================================= */
.gc-typing-indicator {
    display: none;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 24px;
}

.gc-typing-dots {
    display: flex;
    gap: 5px;
    padding: 14px 20px;
    background: #FFFFFF;
    border-left: none;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.gc-typing-dots span {
    width: 8px;
    height: 8px;
    background: #C0C0C0;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

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

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

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

/* =============================================================
   INPUT AREA
   ============================================================= */
.gc-chat-input-area {
    padding: 16px 24px;
    background: #FFFFFF;
    border-top: 1px solid #E5E5E5;
    margin-top: 0;
}

.gc-chat-input-area + .bottom-ad-space {
    margin-top: 16px;
}

.gc-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.gc-chat-input {
    flex: 1;
    background: #F5F5F5;
    border: 2px solid #E0E0E0;
    border-radius: 16px;
    padding: 16px 20px;
    color: #1A1A1A;
    font-family: inherit;
    font-size: 20px;
    line-height: 1.4;
    box-shadow: none;
    resize: none;
    min-height: 56px;
    max-height: 150px;
    height: auto;
}

.gc-chat-input::placeholder {
    color: #888;
    font-size: 18px;
}

.gc-chat-input:focus {
    outline: none;
    border-color: #F5A623;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}

.gc-send-button {
    background: linear-gradient(135deg, #F5A623, #E8960C);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 16px 28px;
    font-family: inherit;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 56px;
    min-width: 48px;
}

.gc-send-button:hover {
    background: linear-gradient(135deg, #E8960C, #D4850D);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
}

.gc-send-button:active {
    transform: translateY(0);
}

.gc-voice-button {
    background: #10B981;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 16px 28px;
    font-family: inherit;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    flex-shrink: 0;
    min-height: 56px;
    min-width: 48px;
}

.gc-voice-button:hover {
    background: #0D9668;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.gc-voice-button:active {
    transform: translateY(0);
}

.gc-voice-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #D1D5DB;
    box-shadow: none;
}

.gc-voice-disabled:hover {
    background: #D1D5DB;
    transform: none;
    box-shadow: none;
}

.gc-voice-disabled:active {
    transform: none;
}

/* =============================================================
   CHAT DISCLAIMER
   ============================================================= */
.gc-chat-disclaimer {
    margin-top: 10px;
    padding: 8px 16px;
    background: #FFF9F0;
    border-left: 3px solid #F5A623;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    text-align: left;
    box-shadow: none;
}

/* =============================================================
   QUESTION OPTIONS (Generated by JS)
   ============================================================= */
.gc-question-options {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gc-option-button {
    background: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 16px;
    font-family: inherit;
    color: #1A1A1A;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    cursor: pointer;
    min-height: 48px;
}

.gc-option-button:hover {
    border-color: #F5A623;
    background: #FFF9F0;
    color: #1A1A1A;
    transform: none;
    box-shadow: 0 2px 6px rgba(245, 166, 35, 0.15);
}

.gc-option-button:active,
.gc-option-button.selected {
    background: #F5A623;
    border-color: #E8960C;
    color: #1A1A1A;
}

.gc-continue-button {
    background: linear-gradient(135deg, #F5A623, #E8960C);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 16px;
    font-family: inherit;
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.25);
    cursor: pointer;
    min-height: 48px;
}

.gc-continue-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
}

.gc-continue-button:disabled {
    background: #D1D5DB;
    box-shadow: none;
    cursor: not-allowed;
}

.gc-progress-indicator {
    font-size: 14px;
    padding: 8px 12px;
    background: #FFF9F0;
    border: 1px solid #FFE5B4;
    border-radius: 8px;
    color: #92610A;
}

/* =============================================================
   VOICE UPSELL
   ============================================================= */
.gc-voice-upsell {
    background: #EFF6FF;
    border: 2px solid #93C5FD;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    text-align: center;
}

.gc-voice-upsell h4 {
    color: #1E40AF;
    margin-bottom: 8px;
    font-size: 16px;
}

.gc-voice-upsell p {
    color: #1E40AF;
    font-size: 13px;
    margin-bottom: 10px;
}

.gc-cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.gc-cta-button:hover {
    background: #2563EB;
    transform: translateY(-1px);
}

/* =============================================================
   SIDEBAR - Right Panel
   ============================================================= */
.gc-ad-sidebar {
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: #F5F5F5;
    border-left: 1px solid #E5E5E5;
}

.gc-ad-sidebar .gc-ad-box:nth-child(2) {
    margin-top: auto;
}

/* Premium Features Box */
.premium-features-box {
    background: #FFFFFF;
    border: 1px solid #FFE5B4;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.premium-features-title {
    color: #1A1A1A;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-features-title-icon {
    font-size: 24px;
}

.feature-list {
    text-align: left;
    margin: 12px 0;
}

.feature-item {
    color: #4A4A4A;
    font-size: 14px;
    margin: 8px 0;
    padding-left: 5px;
    font-weight: 500;
    line-height: 1.5;
}

.feature-item::before {
    content: '\2713 ';
    color: #10B981;
    font-weight: bold;
    margin-right: 8px;
}

/* Premium Perks Box */
.premium-perks-box {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.perk-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.perk-title {
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.perk-description {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* =============================================================
   REGISTRATION UPSELL
   ============================================================= */
.gc-registration-upsell {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.gc-registration-upsell h3 {
    color: #1A1A1A;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.gc-registration-upsell p {
    color: #4A4A4A;
    font-size: 14px;
    margin-bottom: 15px;
}

.gc-registration-upsell ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.gc-registration-upsell li {
    color: #4A4A4A;
    font-size: 14px;
    margin: 8px 0;
    font-weight: 500;
}

.gc-registration-upsell li::before {
    content: '\2713 ';
    color: #10B981;
    font-weight: bold;
    margin-right: 8px;
}

.gc-register-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #F5A623, #E8960C);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
    animation: none;
}

.gc-register-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
    animation: none;
}

/* Blue Registration Box for Anonymous Users */
.gc-registration-upsell.gc-register-blue {
    background: linear-gradient(145deg, #1e40af, #3b82f6);
    border: none;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.2);
}

.gc-register-blue h3 {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: none;
    font-family: inherit;
}

.gc-register-blue .feature-list {
    text-align: left;
    margin: 15px 0;
}

.gc-register-blue .feature-item {
    color: #DBEAFE;
    font-size: 14px;
    margin: 10px 0;
    padding-left: 5px;
    font-weight: 500;
    line-height: 1.5;
}

.gc-register-blue .feature-item::before {
    content: '\2713 ';
    color: #86EFAC;
    font-weight: bold;
    margin-right: 8px;
}

.gc-register-blue .locked-features {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    color: #FCD34D;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.gc-register-button-blue {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: #1E3A5F;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    font-family: inherit;
}

.gc-register-button-blue:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, #FCD34D, #FBBF24);
}

/* =============================================================
   PREMIUM UPSELL
   ============================================================= */
.gc-premium-upsell {
    background: #FFFFFF;
    border: 1px solid #FFE5B4;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.gc-premium-upsell h3 {
    color: #1A1A1A;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.gc-premium-upsell ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.gc-premium-upsell li {
    color: #4A4A4A;
    font-size: 14px;
    margin: 8px 0;
    font-weight: 500;
}

.gc-premium-upsell li::before {
    content: '\2713 ';
    color: #10B981;
    font-weight: bold;
    margin-right: 8px;
}

.gc-upgrade-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #F5A623, #E8960C);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
}

.gc-upgrade-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
}

/* =============================================================
   AD BOXES
   ============================================================= */
.gc-ad-box {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.gc-ad-box .ad-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.gc-ad-box .ad-title {
    color: #1A1A1A;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.gc-ad-box .ad-subtitle {
    color: #666;
    font-size: 13px;
}

/* Fake Ad Styling - Clean, no retro animations */
.fake-ad {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: none;
}

.fake-ad-logo {
    font-size: 36px;
    font-weight: bold;
    color: #1A1A1A;
    font-family: inherit;
    animation: none;
}

.fake-ad-text {
    font-size: 16px;
    color: #1A1A1A;
    font-weight: 600;
    line-height: 1.4;
}

.fake-ad-subtext {
    font-size: 14px;
    color: #666;
}

.fake-ad-btn {
    background: linear-gradient(135deg, #F5A623, #E8960C);
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
    cursor: pointer;
    animation: none;
    transition: all 0.2s;
    font-family: inherit;
}

.fake-ad-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}

/* Bottom Ad Space */
.bottom-ad-space {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    text-align: center;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bottom-ad-space .ad-icon {
    font-size: 30px;
    margin-bottom: 8px;
}

.bottom-ad-space .ad-title {
    font-size: 15px;
    color: #1A1A1A;
    font-weight: bold;
}

.bottom-ad-space .ad-subtitle {
    font-size: 13px;
    color: #666;
}

.bottom-ad-space .fake-ad-logo {
    font-size: 32px;
}

.bottom-ad-space .fake-ad-text {
    font-size: 15px;
}

.bottom-ad-space .fake-ad-btn {
    padding: 8px 20px;
    font-size: 13px;
}

/* Grill Space Ad (4th ad for anonymous) */
.grill-space-ad {
    flex: 1;
    min-height: 200px;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: auto;
}

/* =============================================================
   SCROLLBAR - Modern minimal
   ============================================================= */
.gc-chat-messages::-webkit-scrollbar {
    width: 8px;
}

.gc-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.gc-chat-messages::-webkit-scrollbar-thumb {
    background: #D0D0D0;
    border-radius: 4px;
}

.gc-chat-messages::-webkit-scrollbar-thumb:hover {
    background: #B0B0B0;
}

/* =============================================================
   TEXT SIZE CLASSES
   ============================================================= */
body.gc-text-normal .gc-message-bubble {
    font-size: 18px;
}

body.gc-text-medium .gc-message-bubble {
    font-size: 21px;
}

body.gc-text-large .gc-message-bubble {
    font-size: 24px;
}

body.gc-text-xlarge .gc-message-bubble {
    font-size: 28px;
}

/* =============================================================
   NEUTRALIZE ALL RETRO ANIMATIONS
   (Keep typing dots and sound waves only)
   ============================================================= */
@keyframes menuPulse { 0%, 100% { box-shadow: none; } }
@keyframes menuRedPulse { 0%, 100% { box-shadow: none; } }
@keyframes neonPulse { 0%, 100% { box-shadow: none; } }
@keyframes premiumPulse { 0%, 100% { box-shadow: none; } }
@keyframes soundPulse { 0%, 100% { box-shadow: none; } }
@keyframes neon-flicker { 0%, 100% { opacity: 1; } }
@keyframes adPulse { 0%, 100% { transform: none; } }
@keyframes logoBounce { 0%, 100% { transform: none; } }
@keyframes btnGlow { 0%, 100% { box-shadow: none; } }
@keyframes registerPulse { 0%, 100% { box-shadow: none; transform: none; } }

/* =============================================================
   RESPONSIVE - Tablet (1200px and below)
   ============================================================= */
@media (max-width: 1200px) {
    .main-layout {
        flex-direction: column;
    }

    .gc-ad-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        border-left: none;
        border-top: 1px solid #E5E5E5;
    }

    .gc-registration-upsell,
    .gc-premium-upsell,
    .premium-features-box,
    .premium-perks-box,
    .gc-ad-slot {
        flex: 1;
        min-width: 280px;
    }
}

/* =============================================================
   RESPONSIVE - Mobile (768px and below)
   ============================================================= */
@media (max-width: 768px) {
    .gc-chat-top-bar {
        padding: 10px 16px;
        min-height: 60px;
    }

    .gc-left-section {
        gap: 8px;
    }

    .gc-logo-corner-img {
        height: 44px;
        width: 44px;
    }

    .gc-back-button {
        padding: 6px 12px;
        font-size: 14px;
        min-height: 40px;
    }

    /* Title - smaller on mobile */
    .gc-title-section {
        display: none;
    }

    .neon-dollar,
    .neon-benefit {
        font-size: 18px;
    }

    .neon-search {
        font-size: 18px;
        letter-spacing: 0;
    }

    /* Profile section hidden on mobile */
    .gc-profile-section {
        display: none;
    }

    /* Controls - smaller */
    .gc-controls-panel {
        gap: 6px;
    }

    .menu-circle-btn,
    .sound-toggle-btn,
    .knob {
        width: 40px;
        height: 40px;
    }

    .knob-label {
        font-size: 10px;
    }

    /* Chat messages */
    .gc-chat-messages {
        padding: 16px;
        min-height: 300px;
    }

    .gc-message-bubble {
        font-size: 16px;
        padding: 12px 16px;
        max-width: 85%;
    }

    /* Input area */
    .gc-chat-input-area {
        padding: 12px 16px;
    }

    .gc-chat-input {
        font-size: 18px;
        padding: 14px 16px;
        min-height: 50px;
    }

    .gc-chat-input::placeholder {
        font-size: 16px;
    }

    .gc-send-button {
        padding: 12px 20px;
        font-size: 16px;
        min-height: 50px;
    }

    .gc-voice-button {
        padding: 12px 20px;
        font-size: 16px;
        min-height: 50px;
    }

    /* Token badge */
    .gc-token-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    /* New chat button */
    .gc-new-chat-btn {
        width: 36px;
        height: 36px;
        font-size: 10px;
    }

    .gc-accessibility-trigger-chat {
        width: 36px;
        height: 36px;
    }

    .gc-accessibility-trigger-chat svg {
        width: 32px;
        height: 32px;
    }

    /* Sidebar */
    .gc-ad-sidebar {
        flex-direction: column;
        padding: 12px;
    }

    /* Dropdown */
    .gc-dropdown-menu {
        min-width: 160px;
    }

    /* Option buttons */
    .gc-option-button {
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Hide bottom ad on mobile */
    .bottom-ad-space {
        display: none;
    }

    /* Progress indicator */
    .gc-progress-indicator {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* =============================================================
   RESPONSIVE - Extra Small (400px and below)
   ============================================================= */
@media (max-width: 400px) {
    .gc-chat-top-bar {
        padding: 8px 12px;
    }

    .gc-logo-corner-img {
        height: 36px;
        width: 36px;
    }

    .gc-back-button {
        padding: 4px 8px;
        font-size: 13px;
    }

    .menu-circle-btn,
    .sound-toggle-btn,
    .knob {
        width: 36px;
        height: 36px;
    }

    .gc-message-bubble {
        font-size: 15px;
        padding: 10px 14px;
        max-width: 90%;
    }

    .gc-option-button {
        padding: 10px 14px;
        font-size: 13px;
    }

    .gc-chat-input {
        font-size: 16px;
        padding: 12px 14px;
    }

    .gc-send-button,
    .gc-voice-button {
        padding: 10px 16px;
        font-size: 15px;
        min-height: 44px;
    }
}
