/* =========================================================
AI ENTER — HOME
Светлая и тёмная темы
========================================================= */

:root {
--bg-color: #050505;
--surface-color: #111111;
--card-color: #0b0b0b;
--text-color: #ffffff;
--muted-color: #999999;
--border-color: #292929;
--nav-bg: rgba(5, 5, 5, 0.9);
--nav-text: #777777;
--nav-active-bg: #191919;
--message-text: #dddddd;
--placeholder-color: #666666;
--subtle-color: #444444;
--button-bg: #ffffff;
--button-text: #000000;
--code-bg: #222222;
--accent-color: #00ff99;
--shadow-color: rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] {
--bg-color: #f5f6f8;
--surface-color: #ffffff;
--card-color: #ffffff;
--text-color: #17191d;
--muted-color: #646b75;
--border-color: #dfe3e8;
--nav-bg: rgba(245, 246, 248, 0.92);
--nav-text: #626975;
--nav-active-bg: #e7eaf0;
--message-text: #343942;
--placeholder-color: #858b95;
--subtle-color: #777e89;
--button-bg: #17191d;
--button-text: #ffffff;
--code-bg: #eceff3;
--accent-color: #008f62;
--shadow-color: rgba(30, 40, 55, 0.1);
}

/* =========================================================
BASE
========================================================= */

* {
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
margin: 0;
background: var(--bg-color);
color: var(--text-color);
font-family: Arial, sans-serif;
line-height: 1.5;
transition: background-color 0.2s ease, color 0.2s ease;
}

.logo {
text-decoration: none;
color: inherit;
}

/* =========================================================
HEADER
========================================================= */

.header {
max-width: 1400px;
margin: 0 auto;
padding: 32px 50px 10px;
}

.logo {
font-size: 40px;
font-weight: 1200;
letter-spacing: 1px;
}

/* =========================================================
NAVIGATION
========================================================= */

.services-nav {
position: sticky;
top: 0;
z-index: 100;
display: flex;
justify-content: center;
gap: 8px;
max-width: 1400px;
margin: 20px auto 0;
padding: 15px 30px;
background: var(--nav-bg);
backdrop-filter: blur(15px);
border-bottom: 1px solid var(--border-color);
}

.service-link {
padding: 12px 22px;
border-radius: 12px;
color: var(--nav-text);
text-decoration: none;
font-size: 14px;
font-weight: bold;
letter-spacing: 0.5px;
transition: 0.2s;
}

.service-link:hover {
color: var(--text-color);
background: var(--surface-color);
}

.service-link.active {
color: var(--text-color);
background: var(--nav-active-bg);
border: 1px solid var(--border-color);
}

/* =========================================================
MAIN
========================================================= */

main {
max-width: 1400px;
margin: 0 auto;
}

.section {
padding: 110px 50px;
border-bottom: 1px solid var(--border-color);
}

/* =========================================================
SECTION HEADING
========================================================= */

.section-heading {
display: flex;
gap: 30px;
max-width: 850px;
margin-bottom: 55px;
}

.section-number {
color: var(--muted-color);
font-size: 14px;
font-weight: bold;
letter-spacing: 2px;
padding-top: 10px;
}



.section-heading p {
margin: 0;
color: var(--muted-color);
font-size: 18px;
line-height: 1.7;
max-width: 650px;
}

/* =========================================================
CHAT
========================================================= */

.chat-wrapper {
max-width: 1000px;
min-height: 570px;
margin: 0 auto;
background: var(--card-color);
border: 1px solid var(--border-color);
border-radius: 28px;
overflow: hidden;
box-shadow: 0 30px 80px var(--shadow-color);
}

.chat-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 25px;
border-bottom: 1px solid var(--border-color);
}

.chat-status {
display: flex;
align-items: center;
gap: 10px;
font-weight: bold;
}

.status-dot {
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--accent-color);
box-shadow: 0 0 12px rgba(0, 255, 153, 0.35);
}

.chat-model {
color: var(--muted-color);
font-size: 13px;
}


.chat-messages {
    height: 500px;
    min-height: 0;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #555 #151515;
}

/* Светлая тема */
.chat-messages {
    scrollbar-width: thin;
    scrollbar-color: #b8b8b8 #f1f1f1;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #b8b8b8;
    border-radius: 8px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #929292;
}

/* Тёмная тема */
[data-theme="dark"] .chat-messages {
    scrollbar-color: #666 #202020;
}

[data-theme="dark"] .chat-messages::-webkit-scrollbar-track {
    background: #202020;
}

[data-theme="dark"] .chat-messages::-webkit-scrollbar-thumb {
    background: #666;
}

[data-theme="dark"] .chat-messages::-webkit-scrollbar-thumb:hover {
    background: #888;
}



.message {
max-width: 700px;
}

.message-label {
margin-bottom: 8px;
color: var(--muted-color);
font-size: 12px;
font-weight: bold;
letter-spacing: 1px;
}

.ai-message {
padding: 20px;
background: var(--surface-color);
border: 1px solid var(--border-color);
border-radius: 18px;
}

.message-text {
color: var(--message-text);
line-height: 1.7;
}

.message-placeholder {
margin-top: auto;
text-align: center;
color: var(--placeholder-color);
font-size: 14px;
}

.chat-input-area {
display: flex !important;
flex-direction: column !important;
align-items: stretch !important;
width: 100%;
gap: 10px;
padding: 20px;
border-top: 1px solid var(--border-color);
}

.chat-input-row {
display: flex !important;
flex-direction: row !important;
align-items: center !important;
width: 100%;
gap: 8px;
}

.chat-input-area input {
flex: 1;
min-width: 0;
padding: 17px 20px;
background: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 15px;
color: var(--text-color);
font-size: 16px;
outline: none;
}

.chat-input-area input:focus {
border-color: var(--muted-color);
}

#chatInput {
flex: 1 !important;
min-width: 0;
}

.chat-input-area button {
border: 1px solid var(--border-color);
border-radius: 15px;
background: var(--button-bg);
color: var(--button-text);
font-size: 22px;
font-weight: bold;
cursor: pointer;
}

#sendButton {
width: 42px !important;
height: 42px !important;
flex-shrink: 0 !important;
}

.chat-input-area button:disabled {
opacity: 0.5;
cursor: not-allowed;
}

#imageButton {
display: flex !important;
width: 100% !important;
height: 36px !important;
flex-shrink: 0 !important;
margin-top: 6px;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 500;
}

.chat-note {
padding: 0 20px 20px;
color: var(--muted-color);
text-align: center;
font-size: 12px;
}

/* =========================================================
AI MESSAGE FORMATTING
========================================================= */

.message-text p {
margin: 0 0 14px;
}

.message-text p:last-child {
margin-bottom: 0;
}

.message-text h1,
.message-text h2,
.message-text h3 {
margin-top: 22px;
margin-bottom: 12px;
line-height: 1.3;
}

.message-text h1:first-child,
.message-text h2:first-child,
.message-text h3:first-child {
margin-top: 0;
}

.message-text ul,
.message-text ol {
margin: 10px 0 16px 22px;
padding: 0;
}

.message-text li {
margin-bottom: 7px;
}

.message-text strong {
font-weight: 700;
}

.message-text code {
padding: 3px 6px;
border-radius: 6px;
background: var(--code-bg);
font-family: monospace;
}

.message-text pre {
margin: 15px 0;
padding: 16px;
overflow-x: auto;
border-radius: 12px;
background: var(--bg-color);
border: 1px solid var(--border-color);
}

.message-text pre code {
padding: 0;
background: none;
}

.register-chat-button {
display: inline-block;
margin-top: 8px;
padding: 12px 22px;
border: 1px solid var(--text-color);
border-radius: 8px;
color: var(--text-color);
background: transparent;
text-decoration: none;
font-size: 13px;
font-weight: 600;
transition: all 0.2s ease;
}

.register-chat-button:hover {
background: var(--button-bg);
color: var(--button-text);
}

/* =========================================================
ACCOUNT IN HEADER
========================================================= */

.header-account {
display: flex;
align-items: center;
gap: 18px;
white-space: nowrap;
}

.header-account a {
color: var(--text-color);
text-decoration: none;
font-size: 12px;
letter-spacing: 0.05em;
transition: opacity 0.2s ease;
}

.header-account a:hover {
opacity: 0.65;
}

.header-balance {
color: var(--text-color);
font-weight: 600;
}

.header-register-link {
padding: 8px 14px;
border: 1px solid var(--border-color);
border-radius: 6px;
}

/* =========================================================
VIDEO
========================================================= */

.video-examples {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.video-card {
background: var(--card-color);
border: 1px solid var(--border-color);
border-radius: 24px;
overflow: hidden;
transition: 0.25s;
}

.video-card:hover {
transform: translateY(-4px);
border-color: var(--muted-color);
}

.video-preview {
height: 300px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
background: radial-gradient(
circle at 50% 35%,
#424242 0,
#222222 40%,
#111111 75%
);
}

.video-gif {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-label,
.play-button {
    z-index: 2;
}

html[data-theme="light"] .video-preview {
background: radial-gradient(
circle at 50% 35%,
#e5e8ed 0,
#d7dce4 40%,
#c8ced8 75%
);
}

.preview-label {
position: absolute;
top: 18px;
left: 18px;
padding: 7px 10px;
border-radius: 8px;
background: var(--nav-bg);
color: var(--text-color);
font-size: 10px;
font-weight: bold;
letter-spacing: 1px;
}

.play-button {
width: 64px;
height: 64px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(255, 255, 255, 0.9);
color: #000000;
font-size: 20px;
padding-left: 3px;
}

.video-info {
padding: 24px;
}

.prompt-title {
margin: 0 0 10px;
color: var(--muted-color);
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
}

.prompt {
min-height: 100px;
margin: 0 0 20px;
color: var(--message-text);
font-size: 14px;
line-height: 1.7;
}

.copy-prompt {
width: 100%;
padding: 12px;
background: var(--surface-color);
border: 1px solid var(--border-color);
border-radius: 12px;
color: var(--text-color);
cursor: pointer;
transition: 0.2s;
}

.copy-prompt:hover {
background: var(--nav-active-bg);
}

/* =========================================================
BUTTONS
========================================================= */

.section-action {
margin-top: 45px;
text-align: center;
}

.main-button {
display: inline-block;
padding: 17px 30px;
border-radius: 15px;
background: var(--button-bg);
color: var(--button-text);
text-decoration: none;
font-size: 15px;
font-weight: bold;
transition: 0.2s;
}

.main-button:hover {
transform: translateY(-2px);
opacity: 0.9;
}

/* =========================================================
SECURITY
========================================================= */

.security-card {
display: grid;
grid-template-columns: 1.4fr 1fr;
gap: 40px;
padding: 50px;
background: var(--card-color);
border: 1px solid var(--border-color);
border-radius: 28px;
}

.security-content {
max-width: 650px;
}

.security-icon {
margin-bottom: 20px;
color: var(--accent-color);
font-size: 34px;
}

.security-content h3 {
margin: 0 0 18px;
font-size: 34px;
}

.security-content p {
margin: 0 0 30px;
color: var(--muted-color);
font-size: 17px;
line-height: 1.7;
}

.security-features {
display: flex;
flex-direction: column;
justify-content: center;
gap: 15px;
}

.security-features div {
display: flex;
align-items: center;
gap: 15px;
padding: 18px;
background: var(--surface-color);
border: 1px solid var(--border-color);
border-radius: 15px;
}

.security-features strong {
font-size: 20px;
}

.security-features span {
color: var(--muted-color);
}

/* =========================================================
FOOTER
========================================================= */

footer {
max-width: 1400px;
margin: 0 auto;
padding: 50px;
display: flex;
justify-content: space-between;
align-items: center;
color: var(--muted-color);
}

footer .logo {
color: var(--muted-color);
font-size: 18px;
}

footer p {
margin: 0;
font-size: 13px;
}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 900px) {
.header {
padding: 25px 20px 5px;
}

.services-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 12px 15px;
    scrollbar-width: none;
}

.services-nav::-webkit-scrollbar {
    display: none;
}

.service-link {
    flex-shrink: 0;
    padding: 11px 15px;
    font-size: 12px;
}

.section {
    padding: 75px 20px;
}

.section-heading {
    gap: 15px;
    margin-bottom: 35px;
}



.section-heading p {
    font-size: 16px;
}

.section-number {
    padding-top: 6px;
    font-size: 11px;
}

.chat-wrapper {
    min-height: 500px;
    border-radius: 20px;
}


.chat-header {
    padding: 17px;
}

.chat-model {
    display: none;
}

.chat-input-area {
    padding: 15px;
}

.video-examples {
    grid-template-columns: 1fr;
    gap: 20px;
}

.video-preview {
    height: 260px;
}

.security-card {
    grid-template-columns: 1fr;
    padding: 30px 22px;
    border-radius: 22px;
}

.security-content h3 {
    font-size: 28px;
}

.security-features {
    gap: 10px;
}

footer {
    padding: 35px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.header-account {
    gap: 10px;
    flex-wrap: wrap;
}

}

/* =========================================================
SMALL PHONES
========================================================= */

@media (max-width: 500px) {
.logo {
font-size: 20px;
}




.ai-message {
    padding: 16px;
}

.chat-input-area input {
    padding: 14px;
    font-size: 14px;
}

#sendButton {
    width: 42px !important;
}

.video-info {
    padding: 20px;
}

.security-card {
    padding: 25px 18px;
}

.header-account {
    font-size: 11px;
    gap: 8px;
}

}


/* ==========================================
   AI ENTER — GRAPHITE / VIOLET REDESIGN
========================================== */

:root {
    --bg-color: #09090b;
    --surface-color: #131316;
    --card-color: #101013;
    --text-color: #fafafa;
    --muted-color: #a1a1aa;
    --border-color: #29292f;
    --nav-bg: rgba(9, 9, 11, 0.88);
    --nav-text: #a1a1aa;
    --nav-active-bg: #1c1a22;
    --message-text: #e4e4e7;
    --placeholder-color: #71717a;
    --subtle-color: #52525b;
    --button-bg: #f4f4f5;
    --button-text: #18181b;
    --code-bg: #202024;
    --accent-color: #a78bfa;
    --shadow-color: rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] {
    --bg-color: #fafafa;
    --surface-color: #ffffff;
    --card-color: #ffffff;
    --text-color: #18181b;
    --muted-color: #71717a;
    --border-color: #e4e4e7;
    --nav-bg: rgba(250, 250, 250, 0.9);
    --nav-text: #71717a;
    --nav-active-bg: #f0edff;
    --message-text: #3f3f46;
    --placeholder-color: #a1a1aa;
    --subtle-color: #71717a;
    --button-bg: #18181b;
    --button-text: #ffffff;
    --code-bg: #f4f4f5;
    --accent-color: #6d28d9;
    --shadow-color: rgba(24, 24, 27, 0.06);
}

html,
body,
button,
input,
textarea,
select {
    font-family: Arial, Helvetica, sans-serif;
}

body {
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



/* Navigation */
.services-nav {
    gap: 5px;
    margin-top: 12px;
    padding: 12px 24px;
    border-bottom-color: var(--border-color);
}

.service-link {
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
}

.service-link.active {
    border-color: var(--border-color);
}

/* Main sections */
.section {
    padding: 88px 40px;
}

.section-heading {
    gap: 22px;
    margin-bottom: 38px;
}

.section-number {
    padding-top: 9px;
    font-size: 12px;
    letter-spacing: 1px;
}

.section-heading h1,
.section-heading h2 {
    margin: 0 0 15px;
    font-size: clamp(40px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.section-heading p {
    max-width: 610px;
    font-size: 16px;
    line-height: 1.75;
}

/* Chat window */
.chat-wrapper {
    max-width: 960px;
    min-height: 0;
    border-radius: 18px;
    box-shadow: 0 18px 55px var(--shadow-color);
}

.chat-header {
    padding: 18px 22px;
}

.chat-status {
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
}

.status-dot {
    box-shadow: 0 0 10px color-mix(in srgb, var(--accent-color) 35%, transparent);
}

.chat-model {
    font-size: 12px;
}

.chat-messages {
    height: 470px;
    padding: 24px;
    gap: 20px;
    scrollbar-color: var(--border-color) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

[data-theme="dark"] .chat-messages {
    scrollbar-color: #45454d transparent;
}

[data-theme="dark"] .chat-messages::-webkit-scrollbar-thumb {
    background: #45454d;
}

.message {
    max-width: 740px;
}

.message-label {
    margin-bottom: 7px;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.ai-message {
    padding: 18px 20px;
    border-radius: 14px;
}

.message-text {
    font-size: 15px;
    line-height: 1.75;
    letter-spacing: -0.15px;
}

.chat-input-area {
    gap: 10px;
    padding: 16px 18px;
}

.chat-input-area input {
    padding: 14px 16px;
    border-radius: 11px;
    font-size: 14px;
}

.chat-input-area input:focus {
    border-color: var(--accent-color);
}

.chat-input-area button {
    border-radius: 11px;
}

#sendButton {
    width: 44px !important;
    height: 44px !important;
}

#imageButton {
    border-radius: 9px;
    font-size: 13px;
}

.chat-note {
    padding-bottom: 16px;
    font-size: 11px;
}

/* AI-generated content */
.message-text h1,
.message-text h2,
.message-text h3 {
    letter-spacing: -0.5px;
}

.message-text code {
    border-radius: 5px;
}

/* Account */
.header-account {
    gap: 14px;
}

.header-account a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
}

.header-register-link {
    padding: 8px 13px;
    border-radius: 9px;
}

/* Video cards */
.video-examples {
    gap: 18px;
}

.video-card {
    border-radius: 17px;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.video-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.video-preview {
    height: 270px;
}

.preview-label {
    border: 1px solid var(--border-color);
    border-radius: 7px;
    font-size: 10px;
}

.play-button {
    width: 54px;
    height: 54px;
    transition: transform 0.2s ease;
}

.video-card:hover .play-button {
    transform: scale(1.06);
}

.video-info {
    padding: 20px;
}

.prompt-title {
    font-size: 11px;
    letter-spacing: 0.7px;
}

.prompt {
    font-size: 14px;
    line-height: 1.7;
}

.copy-prompt {
    padding: 11px 14px;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
}

/* Buttons */
.main-button {
    padding: 14px 23px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease,
                opacity 0.2s ease,
                border-color 0.2s ease;
}

.main-button:hover {
    transform: translateY(-2px);
}

.register-chat-button {
    border-radius: 9px;
}

/* Security section */
.security-card {
    gap: 34px;
    padding: 38px;
    border-radius: 20px;
}

.security-icon {
    color: var(--accent-color);
    font-size: 30px;
}

.security-content h3 {
    margin-bottom: 14px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.1px;
}

.security-content p {
    font-size: 15px;
    line-height: 1.75;
}

.security-features {
    gap: 10px;
}

.security-features div {
    gap: 12px;
    padding: 15px;
    border-radius: 11px;
}

.security-features strong {
    font-size: 16px;
}

.security-features span {
    font-size: 13px;
}

/* Footer */
footer {
    padding: 36px 40px;
}

footer p {
    font-size: 12px;
}

/* Header and logo */
.header {
    padding: 28px 40px 14px;
}

.header .logo {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    color: inherit;
    text-decoration: none;
}

footer .logo {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.7px;
}
/* Tablet */
@media (max-width: 900px) {
    .header {
        padding: 22px 20px 8px;
    }

    .services-nav {
        padding: 10px 15px;
    }

    .section {
        padding: 65px 22px;
    }

    .section-heading {
        gap: 14px;
        margin-bottom: 30px;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 36px;
        letter-spacing: -1.4px;
    }

    .chat-wrapper {
        border-radius: 16px;
    }

    .chat-messages {
        height: 440px;
        padding: 18px;
    }

    .security-card {
        gap: 24px;
        padding: 28px 22px;
    }

    footer {
        padding: 30px 22px;
    }
}

/* Mobile */
@media (max-width: 500px) {
    .header .logo {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .section {
        padding: 52px 18px;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 31px;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .chat-messages {
        height: 400px;
        padding: 14px;
        gap: 16px;
    }

    .ai-message {
        padding: 15px;
    }

    .message-text {
        font-size: 14px;
    }

    .chat-input-area {
        padding: 12px;
    }

    .chat-input-area input {
        padding: 12px;
        font-size: 14px;
    }

    .video-preview {
        height: 230px;
    }

    .security-card {
        padding: 23px 17px;
        border-radius: 15px;
    }

    .security-content h3 {
        font-size: 25px;
    }

    footer {
        padding: 28px 18px;
    }
}


/* ===== Modern chat buttons ===== */

#fileButton,
#sendButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
}

/* Attach file: + */
#fileButton {
    border: 1px solid #34313d;
    background: #17151d;
    color: #c4b5fd;
    font-size: 27px;
    font-weight: 400;
}

#fileButton:hover {
    background: #24202f;
    border-color: #8b5cf6;
    transform: translateY(-1px);
}

/* Send message: arrow */
#sendButton {
    border: none;
    border-radius: 50%;
    background: #a78bfa;
    color: #100b1f;
    font-size: 27px;
    font-weight: 500;
}

#sendButton:hover {
    background: #c4b5fd;
    transform: translateY(-1px);
}

#sendButton:active,
#fileButton:active {
    transform: scale(0.96);
}

/* Generate image */
#imageButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 20px;
    border: 1px solid #8b5cf6;
    border-radius: 14px;
    background: #a78bfa;
    color: #100b1f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
}

#imageButton:hover {
    background: #c4b5fd;
    border-color: #a78bfa;
    transform: translateY(-1px);
}

#imageButton:active {
    transform: scale(0.98);
}

/* Keyboard focus */
#fileButton:focus-visible,
#sendButton:focus-visible,
#imageButton:focus-visible {
    outline: 2px solid #a78bfa;
    outline-offset: 3px;
}

/* Light theme */
html[data-theme="light"] #fileButton {
    background: #ffffff;
    color: #6d28d9;
    border-color: #e4e4e7;
}

html[data-theme="light"] #fileButton:hover {
    background: #f5f3ff;
    border-color: #8b5cf6;
}

/* Final logo settings */
.header .logo {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(40px, 4vw, 52px) !important;
    font-weight: 700 !important;
    letter-spacing: -1.5px !important;
}

@media (max-width: 500px) {
    .header .logo {
        font-size: 31px !important;
        letter-spacing: -1px !important;
    }
}
