
.brand {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    transition: transform 0.5s ease-in-out;
}

.logo:hover {
    transform: rotate(360deg);
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    margin-left: 15px;
    color: var(--brand-color);
    text-shadow: 0 0 5px rgba(0, 255, 155, 0.7);
}

nav {
    flex-grow: 1;
    text-align: center;
}

nav a {
    color: var(--link-color);
    text-decoration: none;
    margin: 0 20px;
    font-size: 16px;
    transition: color 0.3s;
}

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

.header-controls {
    display: flex;
    align-items: center;
}

.theme-switcher, #settings-toggle {
    cursor: pointer;
    font-size: 24px;
    margin-left: 20px;
    background: none;
    border: none;
    color: var(--text-color-dark);
}

.telegram-link {
    display: inline-block;
    background-color: #0088cc;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3);
}

.telegram-link:hover {
    background-color: #00aaff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 136, 204, 0.4);
    color: #fff !important;
}

.loading-indicator .spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-left-color: var(--brand-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

/* Emoji styles */
img.emoji {
   height: 1.2em; /* Or any other suitable size */
   width: 1.2em;
   margin: 0 .05em 0 .1em;
   vertical-align: -0.1em;
   display: inline-block;
}


/* --- Light Theme Adjustments --- */

body.light-theme .brand-name {
    text-shadow: none; /* Remove glow for better readability */
}

body.light-theme nav a {
    color: var(--text-color-light);
}

body.light-theme .theme-switcher, 
body.light-theme #settings-toggle {
    color: var(--text-color-light);
}
