body {
    font-family: arial, sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.searching {
    align-items: flex-start;
    padding-top: 20px;
}

.container {
    max-width: 652px;
    width: 100%;
    padding: 20px 16px;
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 30px 10px;
}

.show-images-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    margin: 12px 0 16px 0;
    background: #f8f9fa;
    border: 1px solid #e8eaed;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    color: #5f6368;
    transition: all 0.2s;
    user-select: none;
}

.show-images-btn:hover {
    background: #e8eaed;
    border-color: #dadce0;
}

.show-images-btn .icon {
    font-size: 16px;
}

.show-images-btn.hidden {
    display: none;
}

.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image-lightbox.active {
    display: flex;
}

.image-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: 300;
    line-height: 1;
}

.image-lightbox-close:hover {
    color: #ccc;
}

.logo {
    font-size: 52px;
    font-weight: 800;
    color: #202124;
    margin-bottom: 4px;
    letter-spacing: -1px;
    filter: drop-shadow(0 0 12px rgba(0, 245, 255, 0.35));
    cursor: pointer;
}

/* Search */
.logo .word {
  color: #01ccd3;
    font-size: 52px;
}

.logo .z {
  color: #d30121;
    font-size: 52px;
}

/* .ai */
.logo .ai {
  font-size: 30px;
  margin-left: 2px;
  color: #231b1b;
  font-weight: 500;
}

.tagline {
    font-size: 13px;
   color: #aaa;
   margin-top: 6px;
    margin-bottom: 28px;
}

.search-box {
    width: 100%;
    max-width: 584px;
    padding: 13px 80px 13px 16px;
    font-size: 16px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    outline: none;
    box-sizing: border-box;
    position: relative;
    background: transparent;
    z-index: 2;
    margin: 0 auto;
    display: block;
}

.search-box:hover {
    border-color: #ccc;
    box-shadow: 0 1px 6px rgba(32,33,36,.28);
}

.search-box:focus {
    border-color: transparent;
    box-shadow: 0 1px 6px rgba(32,33,36,.28);
}

.search-clear-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: #70757a;
    cursor: pointer;
    padding: 8px;
    z-index: 3;
    transition: all 0.2s;
}

.search-clear-btn:hover {
    color: #202124;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    z-index: 3;
    transition: all 0.2s;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.search-wrapper {
    position: relative;
    max-width: 584px;
    margin: 0 auto 20px;
}

.search-suggestion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 13px 16px;
    font-size: 16px;
    border: 1px solid transparent;
    border-radius: 24px;
    color: #80868b;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 1;
}

/* Widget Triggers */
.widget-triggers {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
}

/* Terminal-Style Info Box */
.terminal-info {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 16px;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.terminal-info-header {
    background: #1a1a1a;
    color: #00ff41;
    padding: 6px 16px;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #333;
    font-size: 12px;
    font-weight: bold;
}

.terminal-info-title {
    color: #00ccff;
    text-shadow: 0 0 8px #00ccff;
}

.terminal-info-controls {
    color: #ff6b6b;
    letter-spacing: 3px;
}

.terminal-info-content {
    background: #0a0a0a;
    color: #00ff41;
    padding: 16px;
    border: 1px solid #333;
    border-top: none;
    border-radius: 0 0 6px 6px;
    font-size: 13px;
    line-height: 1.6;
}

.terminal-info-line {
    margin: 8px 0;
    font-weight: bold;
}

.info-prompt {
    color: #00ccff;
    text-shadow: 0 0 5px #00ccff;
    font-weight: bold;
}

.info-command {
    color: #00ff41;
    text-shadow: 0 0 5px #00ff41;
    margin-left: 8px;
}

.terminal-info-output {
    color: #e8e8e8;
    margin: 12px 0 16px 0;
    padding-left: 16px;
    font-weight: 400;
    text-shadow: 0 0 3px #e8e8e8;
}

.terminal-info-policy {
    color: #ffaa00;
    margin: 12px 0 8px 0;
    padding-left: 16px;
    font-weight: bold;
    text-shadow: 0 0 5px #ffaa00;
}

/* Subtle glow animation for terminal info */
.terminal-info-content {
    animation: terminalInfoGlow 3s infinite alternate;
}

@keyframes terminalInfoGlow {
    0% { box-shadow: 0 0 5px rgba(0, 255, 65, 0.3); }
    100% { box-shadow: 0 0 15px rgba(0, 255, 65, 0.5); }
}

.widget-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 55px;
    padding: 0;
    background: none;
    border: none;
    transition: opacity 0.2s;
}

.widget-icon:hover {
    opacity: 0.7;
}

.icon-emoji {
    font-size: 26px;
    margin-bottom: 4px;
}

/* Simple text label below icon */
.widget-icon::after {
    content: attr(data-tooltip);
    font-size: 11px;
    color: #5f6368;
    text-align: center;
    white-space: nowrap;
    font-family: arial, sans-serif;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.widget-icon.hidden {
    display: none;
}

/* Widget Close Button (Top Right X) */
.widget-close-x {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    color: #5f6368;
    cursor: pointer;
    padding: 4px 8px;
    z-index: 10;
    transition: all 0.2s;
}

.widget-close-x:hover {
    color: #202124;
    transform: scale(1.1);
}

/* Calculator Widget */
.calculator-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    max-width: 320px;
    margin: 20px auto;
    position: relative;
}

.calculator-display {
    background: #f8f9fa;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 16px 40px 16px 16px;
    font-size: 24px;
    font-weight: 300;
    text-align: right;
    margin-bottom: 16px;
    color: #202124;
    min-height: 60px;
    word-wrap: break-word;
}

.calculator-input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    font-size: 18px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    outline: none;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.calculator-input:focus {
    border-color: #1a73e8;
}

.calculator-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.calc-btn {
    padding: 16px;
    font-size: 18px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s;
    font-family: arial, sans-serif;
}

.calc-btn:hover {
    background: #e8eaed;
}

.calc-btn:active {
    transform: scale(0.95);
}

.calc-btn.operator {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 600;
}

.calc-btn.equals {
    background: #1a73e8;
    color: white;
    font-weight: 600;
}

.calc-btn.equals:hover {
    background: #1967d2;
}

.calc-btn.clear {
    background: #fce8e6;
    color: #d93025;
}

.calc-btn.clear:hover {
    background: #f5c8c6;
}

.calculator-close {
    background: #f8f9fa;
    border: 1px solid #dadce0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    color: #202124;
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
    font-family: arial, sans-serif;
}

.calculator-close:hover {
    background: #f1f3f4;
}

/* Sports Widget */
.sports-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 20px auto;
    position: relative;
}

.sports-header {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sports-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.sport-tab {
    padding: 8px 16px;
    border-radius: 20px;
    background: #f8f9fa;
    border: 1px solid #dadce0;
    cursor: pointer;
    font-size: 14px;
    color: #5f6368;
    white-space: nowrap;
    transition: all 0.2s;
}

.sport-tab:hover {
    background: #e8eaed;
}

.sport-tab.active {
    background: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.sports-games {
    max-height: 400px;
    overflow-y: auto;
}

.game-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.team-logo {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.team-name {
    font-size: 15px;
    font-weight: 500;
    color: #202124;
}

.game-score {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    min-width: 40px;
    text-align: center;
}

.game-status {
    font-size: 12px;
    color: #5f6368;
    text-align: center;
    margin-top: 4px;
}

.game-live {
    color: #d93025;
    font-weight: 600;
}

.game-live::before {
    content: "● ";
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.sports-loading {
    text-align: center;
    padding: 40px;
    color: #5f6368;
}

.sports-close {
    background: #f8f9fa;
    border: 1px solid #dadce0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    color: #202124;
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
    font-family: arial, sans-serif;
}

.sports-close:hover {
    background: #f1f3f4;
}

/* World Clock Widget */
.clock-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 20px auto;
    position: relative;
}

.clock-header {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clock-search-box {
    position: relative;
    margin-bottom: 16px;
}

.clock-search-input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    font-size: 14px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
}

.clock-search-input:focus {
    border-color: #1a73e8;
}

.clock-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #5f6368;
}

.clock-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    margin-top: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.clock-suggestion-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #202124;
    border-bottom: 1px solid #f1f3f4;
}

.clock-suggestion-item:last-child {
    border-bottom: none;
}

.clock-suggestion-item:hover {
    background: #f8f9fa;
}

.clock-suggestion-city {
    font-weight: 500;
}

.clock-suggestion-tz {
    font-size: 12px;
    color: #5f6368;
    margin-left: 8px;
}

.clock-list {
    max-height: 400px;
    overflow-y: auto;
}

.clock-empty {
    text-align: center;
    padding: 40px 20px;
    color: #5f6368;
    font-size: 14px;
}

.clock-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clock-city-name {
    font-size: 16px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
}

.clock-timezone {
    font-size: 12px;
    color: #5f6368;
}

.clock-time {
    text-align: right;
}

.clock-time-display {
    font-size: 24px;
    font-weight: 300;
    color: #202124;
    margin-bottom: 4px;
}

.clock-date-display {
    font-size: 12px;
    color: #5f6368;
}

.clock-remove {
    background: #fce8e6;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    color: #d93025;
    margin-left: 12px;
    transition: all 0.2s;
}

.clock-remove:hover {
    background: #f5c8c6;
    transform: scale(1.1);
}

.clock-close {
    background: #f8f9fa;
    border: 1px solid #dadce0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    color: #202124;
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
    font-family: arial, sans-serif;
}

.clock-close:hover {
    background: #f1f3f4;
}

/* Wiki Widget */
.wiki-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 20px auto;
    position: relative;
}

.wiki-header {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wiki-subheader {
    font-size: 12px;
    color: #5f6368;
    margin-bottom: 16px;
}

.wiki-search-box {
    position: relative;
    margin-bottom: 16px;
}

.wiki-search-input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    font-size: 14px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
}

.wiki-search-input:focus {
    border-color: #1a73e8;
}

.wiki-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a73e8;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    font-family: arial, sans-serif;
}

.wiki-search-btn:hover {
    background: #1967d2;
}

.wiki-results {
    max-height: 500px;
    overflow-y: auto;
}

.wiki-loading {
    text-align: center;
    padding: 40px;
    color: #5f6368;
}

.wiki-empty {
    text-align: center;
    padding: 40px 20px;
    color: #5f6368;
    font-size: 14px;
}

.wiki-result-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.wiki-result-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a0dab;
    margin-bottom: 8px;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.wiki-result-title:hover {
    text-decoration: underline;
}

.wiki-result-summary {
    font-size: 14px;
    line-height: 20px;
    color: #202124;
    margin-bottom: 8px;
}

.wiki-result-link {
    font-size: 12px;
    color: #1a73e8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wiki-result-link:hover {
    text-decoration: underline;
}

.wiki-footer {
    font-size: 11px;
    color: #5f6368;
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #dadce0;
}

.wiki-close {
    background: #f8f9fa;
    border: 1px solid #dadce0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    color: #202124;
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
    font-family: arial, sans-serif;
}

.wiki-close:hover {
    background: #f1f3f4;
}

/* Shortcuts */
.shortcuts-section {
    margin: 30px 0;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    color: #202124;
    cursor: pointer;
}

.shortcut:hover {
    opacity: 0.8;
}

.shortcut-icon {
    width: 56px;
    height: 56px;
    background: #f1f3f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.shortcut img {
    width: 32px;
    height: 32px;
}

.shortcut span {
    font-size: 13px;
    text-align: center;
}

.shortcut[data-priority="2"] {
    display: none;
}

/* Weather Widget */
.weather-widget {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    max-width: 584px;
    margin: 20px auto;
    transition: all 0.2s;
    position: relative;
}

.weather-widget:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.weather-widget-small {
    display: flex;
    align-items: center;
    gap: 16px;
}

.weather-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
}

.weather-time {
    font-size: 12px;
    color: #70757a;
    margin-bottom: 8px;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.weather-icon {
    width: 64px;
    height: 64px;
}

.weather-temp {
    font-size: 48px;
    font-weight: 300;
    color: #202124;
}

.weather-unit {
    font-size: 24px;
    color: #70757a;
}

.weather-condition {
    font-size: 18px;
    color: #202124;
    margin-left: auto;
}

.weather-rain-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1a73e8;
    margin-top: 8px;
}

.weather-expand-btn {
    background: #f8f9fa;
    border: 1px solid #dadce0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    color: #202124;
    cursor: pointer;
    margin-top: 12px;
    width: 100%;
    font-family: arial, sans-serif;
}

.weather-expand-btn:hover {
    background: #f1f3f4;
}

.weather-widget-full {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dadce0;
}

.weather-widget-full.expanded {
    display: block;
}

.weather-forecast {
    display: flex;
    gap: 12px;
    padding: 12px 0;
}

.forecast-day {
    text-align: center;
    min-width: 80px;
}

.forecast-day-name {
    font-size: 12px;
    color: #70757a;
    margin-bottom: 8px;
}

.forecast-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

.forecast-temp {
    font-size: 14px;
    color: #202124;
    margin-top: 8px;
}

.forecast-temp-high {
    font-weight: 600;
}

.forecast-temp-low {
    color: #70757a;
}

.weather-change-location {
    margin-top: 16px;
}

.weather-location-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #dadce0;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

.weather-location-input:focus {
    border-color: #1a73e8;
}

/* Hourly forecast - single horizontal line on all devices */
.hourly-forecast-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 12px 0;
    -webkit-overflow-scrolling: touch;
}

.hourly-forecast-container::-webkit-scrollbar {
    height: 4px;
}

.hourly-forecast-container::-webkit-scrollbar-track {
    background: #f1f3f4;
}

.hourly-forecast-container::-webkit-scrollbar-thumb {
    background: #dadce0;
    border-radius: 2px;
}

.hourly-item {
    flex-shrink: 0;
    text-align: center;
    min-width: 70px;
}

/* Results */
.results-container {
    margin-top: 20px;
}

.result {
    margin-bottom: 28px;
}

.result-source {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.result-favicon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border-radius: 50%;
}

.result-source-name {
    font-size: 14px;
    line-height: 20px;
    color: #202124;
}

.result-url-display {
    font-size: 12px;
    line-height: 18px;
    color: #5f6368;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-title {
    margin: 0 0 4px 0;
    font-size: 20px;
    line-height: 26px;
}

.result-title a {
    color: #1a0dab;
    text-decoration: none;
}

.result-title a:visited {
    color: #681da8;
}

.result-title a:hover {
    text-decoration: underline;
}

.result-snippet {
    font-size: 14px;
    line-height: 22px;
    color: #4d5156;
    margin-bottom: 4px;
}

.read-more {
    font-size: 14px;
    color: #1a0dab;
    cursor: pointer;
    display: inline-block;
}

.read-more:hover {
    text-decoration: underline;
}

/* Terminal Progress Styles */
.terminal-progress {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.terminal-header {
    background: #1a1a1a;
    color: #00ff41;
    padding: 8px 16px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #333;
    font-size: 13px;
    font-weight: bold;
}

.terminal-title {
    color: #00ccff;
    text-shadow: 0 0 10px #00ccff;
}

.terminal-controls {
    color: #ff6b6b;
    letter-spacing: 4px;
}

.terminal-content {
    background: #0a0a0a;
    color: #00ff41;
    padding: 20px;
    border: 1px solid #333;
    border-top: none;
    border-radius: 0 0 8px 8px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.terminal-line {
    margin: 8px 0;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.6;
}

.terminal-line.active {
    opacity: 1;
    animation: terminalGlow 2s infinite alternate;
}

.prompt {
    color: #00ccff;
    text-shadow: 0 0 5px #00ccff;
    font-weight: bold;
}

.command {
    color: #00ff41;
    text-shadow: 0 0 5px #00ff41;
    margin-left: 8px;
}

.status {
    float: right;
    font-weight: bold;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.status.pending {
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid #ffaa00;
    text-shadow: 0 0 5px #ffaa00;
}

.status.processing {
    color: #00ccff;
    background: rgba(0, 204, 255, 0.1);
    border: 1px solid #00ccff;
    text-shadow: 0 0 5px #00ccff;
    animation: pulse 1s infinite;
}

.status.success {
    color: #00ff41;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid #00ff41;
    text-shadow: 0 0 5px #00ff41;
}

.terminal-cursor {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #00ff41;
    font-size: 16px;
    animation: blink 1s infinite;
}

@keyframes terminalGlow {
    0% { text-shadow: 0 0 5px currentColor; }
    100% { text-shadow: 0 0 15px currentColor, 0 0 25px currentColor; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Matrix-style background effect */
.terminal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center, rgba(0, 255, 65, 0.02) 0%, transparent 70%),
        linear-gradient(0deg, transparent 24%, rgba(0, 255, 65, 0.03) 25%, rgba(0, 255, 65, 0.03) 26%, transparent 27%, transparent 74%, rgba(0, 255, 65, 0.03) 75%, rgba(0, 255, 65, 0.03) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    animation: matrix 20s linear infinite;
    pointer-events: none;
}

@keyframes matrix {
    0% { transform: translateY(0px); }
    100% { transform: translateY(50px); }
}

/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
    .terminal-header {
        background: #0d0d0d;
        border-color: #444;
    }
    
    .terminal-content {
        background: #050505;
        border-color: #444;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .terminal-progress {
        margin: 20px auto;
        padding: 0 12px;
    }
    
    .terminal-content {
        padding: 16px;
        font-size: 13px;
    }
    
    .terminal-line {
        font-size: 12px;
        margin: 6px 0;
    }
    
    .terminal-header {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .status {
        font-size: 10px;
        padding: 1px 6px;
    }
}

@media (max-width: 480px) {
    .terminal-line {
        font-size: 11px;
        word-wrap: break-word;
    }
    
    .status {
        float: none;
        display: block;
        margin-top: 4px;
        width: fit-content;
    }
}

.loading {
    color: #70757a;
    padding: 20px 0;
}

.error {
    color: #d93025;
    padding: 20px 0;
}

/* Mobile Dark Mode */
@media (max-width: 768px) {
    body {
        background: #1a1a1a;
        color: #e8eaed;
    }
    
    .logo {
    font-size: 52px;
    font-weight: 800;
    color: #202124;
    margin-bottom: 4px;
    letter-spacing: -1px;
    filter: drop-shadow(0 0 12px rgba(0, 245, 255, 0.35));
}

/* Search */
.logo .word {
  color: #01ccd3;
    font-size: 52px;
}

.logo .z {
  color: #d30121;
    font-size: 52px;
}

/* .ai */
.logo .ai {
  font-size: 30px;
  margin-left: 2px;
  color: #b0b4b4;
  font-weight: 500;
}
    
    .tagline {
        color: #9aa0a6;
    }
    
    .search-box {
        background: #2d2d2d;
        border: 1px solid #3c4043;
        color: #e8eaed;
    }
    
    .search-box::placeholder {
        color: #9aa0a6;
    }
    
    .search-clear-btn {
        color: #9aa0a6;
    }
    
    .search-clear-btn:hover {
        color: #e8eaed;
    }
    
    .search-btn {
        color: #9aa0a6;
    }
    
    .search-suggestion {
        color: #5f6368;
    }
    
    /* Clean mobile widget icons - bigger and more readable */
    .widget-icon {
        width: 50px !important;
        height: 55px !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .widget-icon:hover {
        background: none !important;
        transform: none !important;
        opacity: 0.7 !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    .icon-emoji {
        font-size: 24px !important;
        margin-bottom: 4px !important;
    }
    
    /* Icon labels - much bigger and readable on mobile */
    .widget-icon::after {
        font-size: 12px !important;
        color: #202124 !important;
        font-weight: 500 !important;
        font-family: arial, sans-serif !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    /* Logo - Courier New on mobile */
    .logo {
        font-family: 'Courier New', monospace !important;
        font-size: 40px !important;
        font-weight: bold !important;
    }
    
    /* Terminal info - bigger fonts */
    .terminal-info {
        font-size: 13px !important;
    }
    
    .widget-triggers {
        gap: 12px !important;
    }
    
    /* Widget close button dark mode */
    .widget-close-x {
        color: #9aa0a6;
    }
    
    .widget-close-x:hover {
        color: #e8eaed;
    }
    
    .result {
        background: #2d2d2d;
        padding: 16px;
        border-radius: 8px;
        margin-bottom: 12px;
    }
    
    .result-source-name {
        color: #e8eaed;
    }
    
    .result-url-display {
        color: #9aa0a6;
    }
    
    .result-snippet {
        color: #bdc1c6;
    }
    
    .result-title a {
        color: #8ab4f8;
    }
    
    .result-title a:visited {
        color: #c58af9;
    }
    
    .result-snippet {
        color: #bdc1c6;
    }
    
    .read-more {
        color: #8ab4f8;
    }
    
    .loading {
        color: #9aa0a6;
    }
    
    .error {
        color: #f28b82;
    }
    
    /* Weather widget dark mode */
    .weather-widget {
        background: #2d2d2d;
        box-shadow: 0 1px 6px rgba(0,0,0,0.3);
        max-width: 100%;
        margin: 20px 0;
    }
    
    .weather-location,
    .weather-temp {
        color: #e8eaed;
    }
    
    .weather-time,
    .weather-unit,
    .forecast-day-name,
    .forecast-temp-low {
        color: #9aa0a6;
    }
    
    .weather-expand-btn {
        background: #3c4043 !important;
        border-color: #5f6368 !important;
        color: #e8eaed !important;
    }
    
    .weather-widget-full {
        border-top-color: #5f6368;
    }
    
    /* Mobile hourly forecast scrollbar */
    .hourly-forecast-container::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .hourly-forecast-container::-webkit-scrollbar-thumb {
        background: #5f6368;
    }
    
    .weather-location-input {
        background: #3c4043;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .shortcut {
        color: #e8eaed;
    }
    
    .shortcut-icon {
        background: #3c4043;
    }
    
    /* Widget icons dark mode */
    .widget-icon {
        background: #3c4043;
    }
    
    .widget-icon:hover {
        background: #5f6368;
    }
    
    .widget-icon::after {
        background: #5f6368;
    }
    
    /* Calculator dark mode */
    .calculator-widget {
        background: #2d2d2d;
        box-shadow: 0 1px 6px rgba(0,0,0,0.3);
    }
    
    .calculator-display {
        background: #3c4043;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .calculator-input {
        background: #3c4043;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .calculator-input::placeholder {
        color: #9aa0a6;
    }
    
    .calc-btn {
        background: #3c4043;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .calc-btn:hover {
        background: #5f6368;
    }
    
    .calc-btn.operator {
        background: #1e3a5f;
        color: #8ab4f8;
    }
    
    .calc-btn.equals {
        background: #1a73e8;
    }
    
    .calc-btn.clear {
        background: #5f2120;
        color: #f28b82;
    }
    
    .calculator-close {
        background: #3c4043;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .calculator-close:hover {
        background: #5f6368;
    }
    
    /* Sports widget dark mode */
    .sports-widget {
        background: #2d2d2d;
        box-shadow: 0 1px 6px rgba(0,0,0,0.3);
    }
    
    .sports-header {
        color: #e8eaed;
    }
    
    .sport-tab {
        background: #3c4043;
        border-color: #5f6368;
        color: #9aa0a6;
    }
    
    .sport-tab:hover {
        background: #5f6368;
    }
    
    .sport-tab.active {
        background: #1a73e8;
        color: white;
    }
    
    .game-card {
        background: #3c4043;
    }
    
    .team-name,
    .game-score {
        color: #e8eaed;
    }
    
    .game-status {
        color: #9aa0a6;
    }
    
    .game-live {
        color: #f28b82;
    }
    
    .sports-loading {
        color: #9aa0a6;
    }
    
    .sports-close {
        background: #3c4043;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .sports-close:hover {
        background: #5f6368;
    }
    
    /* World clock dark mode */
    .clock-widget {
        background: #2d2d2d;
        box-shadow: 0 1px 6px rgba(0,0,0,0.3);
    }
    
    .clock-header {
        color: #e8eaed;
    }
    
    .clock-search-input {
        background: #3c4043;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .clock-search-input::placeholder {
        color: #9aa0a6;
    }
    
    .clock-search-icon {
        color: #9aa0a6;
    }
    
    .clock-suggestions {
        background: #3c4043;
        border-color: #5f6368;
    }
    
    .clock-suggestion-item {
        color: #e8eaed;
        border-bottom-color: #5f6368;
    }
    
    .clock-suggestion-item:hover {
        background: #5f6368;
    }
    
    .clock-suggestion-tz {
        color: #9aa0a6;
    }
    
    .clock-empty {
        color: #9aa0a6;
    }
    
    .clock-card {
        background: #3c4043;
    }
    
    .clock-city-name,
    .clock-time-display {
        color: #e8eaed;
    }
    
    .clock-timezone,
    .clock-date-display {
        color: #9aa0a6;
    }
    
    .clock-remove {
        background: #5f2120;
        color: #f28b82;
    }
    
    .clock-remove:hover {
        background: #7a2a29;
    }
    
    .clock-close {
        background: #3c4043;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .clock-close:hover {
        background: #5f6368;
    }
    
    /* Wiki widget dark mode */
    .wiki-widget {
        background: #2d2d2d;
        box-shadow: 0 1px 6px rgba(0,0,0,0.3);
    }
    
    .wiki-header {
        color: #e8eaed;
    }
    
    .wiki-subheader {
        color: #9aa0a6;
    }
    
    .wiki-search-input {
        background: #3c4043;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .wiki-search-input::placeholder {
        color: #9aa0a6;
    }
    
    .wiki-search-btn {
        background: #1a73e8;
    }
    
    .wiki-loading,
    .wiki-empty {
        color: #9aa0a6;
    }
    
    .wiki-result-card {
        background: #3c4043;
    }
    
    .wiki-result-title {
        color: #8ab4f8;
    }
    
    .wiki-result-summary {
        color: #bdc1c6;
    }
    
    .wiki-result-link {
        color: #8ab4f8;
    }
    
    .wiki-footer {
        color: #9aa0a6;
        border-top-color: #5f6368;
    }
    
    .wiki-close {
        background: #3c4043;
        border-color: #5f6368;
        color: #e8eaed;
    }
    
    .wiki-close:hover {
        background: #5f6368;
    }
    
    /* Mobile-specific weather detail colors */
    .weather-widget div[style*="color: #70757a"] {
        color: #9aa0a6 !important;
    }
    
    .weather-widget div[style*="color: #202124"] {
        color: #e8eaed !important;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .shortcuts-grid {
        gap: 8px;
    }
    
    .shortcut-icon {
        width: 64px;
        height: 64px;
    }
    
    .shortcut img {
        width: 32px;
        height: 32px;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .shortcuts-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .shortcut[data-priority="2"] {
        display: none;
    }
}
/* AI Answer Styles - Google-style */
.simple-answer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.brand-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.factual-answer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.ai-summary {
    margin-bottom: 24px;
    padding: 0 0 24px 0;
    border-bottom: 1px solid #dadce0;
}

.answer-header, .brand-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
}

.ai-summary-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #1a73e8;
    font-family: 'Google Sans', 'Roboto', arial, sans-serif;
}

.answer-text, .brand-description {
    font-size: 15px;
    line-height: 1.7;
}

.ai-summary-content {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.ai-summary-text-with-image {
    flex: 1;
    font-size: 14px;
    line-height: 1.58;
    color: #202124;
    font-family: arial, sans-serif;
}

.ai-summary-text-with-image p {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.58;
    color: #202124;
}

.ai-summary-text-with-image p:last-child {
    margin-bottom: 0;
}

.ai-summary-image {
    flex-shrink: 0;
    width: 200px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0 0 0;
}

.image-gallery img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.image-gallery.loading {
    opacity: 0.5;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

/* SEO Content Styles */
.seo-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 16px;
    color: #202124;
    font-family: arial, sans-serif;
    display: none; /* Hidden by default, shown when no search results */
}

.seo-content.visible {
    display: block;
    animation: fadeIn 0.6s ease-out;
}

.features-section {
    text-align: center;
    margin-bottom: 50px;
}

.features-section h2 {
    font-size: 32px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.features-section > p {
    font-size: 16px;
    line-height: 1.6;
    color: #5f6368;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #e8eaed;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #dadce0;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #5f6368;
    margin: 0;
}

.about-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e8eaed;
}

.about-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 16px;
}

.about-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #202124;
    margin-top: 30px;
    margin-bottom: 16px;
}

.about-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #5f6368;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    font-size: 15px;
    line-height: 1.6;
    color: #5f6368;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #01ccd3;
    font-weight: bold;
}

.benefits-list strong {
    color: #202124;
    font-weight: 600;
}

/* Dark mode styles for SEO content */
@media (prefers-color-scheme: dark) {
    .seo-content {
        color: #e8eaed;
    }
    
    .features-section h2,
    .about-section h2,
    .about-section h3,
    .feature-card h3,
    .benefits-list strong {
        color: #e8eaed;
    }
    
    .features-section > p,
    .feature-card p,
    .about-section p,
    .benefits-list li {
        color: #9aa0a6;
    }
    
    .feature-card {
        background: #3c4043;
        border-color: #5f6368;
    }
    
    .feature-card:hover {
        border-color: #8ab4f8;
    }
    
    .about-section {
        border-top-color: #5f6368;
    }
}

/* Mobile responsiveness for SEO content */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .features-section h2 {
        font-size: 28px;
    }
    
    .about-section h2 {
        font-size: 24px;
    }
    
    .about-section h3 {
        font-size: 20px;
    }
    
    /* Terminal info mobile styles */
    .terminal-info {
        margin: 20px auto;
        padding: 0 12px;
    }
    
    .terminal-info-content {
        padding: 12px;
        font-size: 11px;
        line-height: 1.5;
    }
    
    .terminal-info-header {
        padding: 4px 12px;
        font-size: 10px;
    }
    
    .terminal-info-output br {
        display: none;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .terminal-info-content {
        font-size: 10px;
        padding: 10px;
    }
    
    .terminal-info-line {
        margin: 6px 0;
        word-wrap: break-word;
    }
    
    .terminal-info-output,
    .terminal-info-policy {
        padding-left: 8px;
        margin: 8px 0;
    }
}

/* Dark mode for terminal info */
@media (prefers-color-scheme: dark) {
    .terminal-info-header {
        background: #0d0d0d;
        border-color: #444;
    }
    
    .terminal-info-content {
        background: #050505;
        border-color: #444;
    }
}

.ai-summary-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.image-caption {
    font-size: 12px;
    color: #70757a;
    margin-top: 8px;
    line-height: 1.4;
}

.ai-summary-text {
    font-size: 14px;
    line-height: 1.58;
    color: #202124;
    font-family: arial, sans-serif;
    white-space: normal;
    word-wrap: break-word;
}

.ai-summary-text p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.65;
    color: #202124;
}

.ai-summary-text p:last-child {
    margin-bottom: 0;
}

.simple-answer .answer-text {
    font-size: 24px;
    font-weight: 600;
}

.answer-sources {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.sources-header {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.source-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.source-link:hover {
    text-decoration: underline;
}

.source-favicon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .simple-answer, .brand-info, .factual-answer {
        background: linear-gradient(135deg, #5568d3 0%, #6d3f8f 100%);
    }
    
    .ai-summary {
        padding: 0 0 20px 0;
        margin-bottom: 20px;
        border-bottom: 1px solid #3c4043;
    }
    
    .ai-summary-header {
        color: #8ab4f8;
        font-size: 14px;
    }
    
    .ai-summary-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .ai-summary-image {
        width: 100%;
        order: -1;
    }
    
    .ai-summary-text {
        color: #e8eaed;
        font-size: 14px;
        line-height: 1.58;
    }
    
    .ai-summary-text p {
        color: #e8eaed;
        font-size: 14px;
        line-height: 1.58;
        margin: 0 0 16px 0;
    }
    
    .ai-summary-text-with-image {
        color: #e8eaed;
        font-size: 14px;
    }
    
    .ai-summary-text-with-image p {
        color: #e8eaed;
        font-size: 14px;
    }
    
    .image-caption {
        color: #9aa0a6;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        margin: 12px 0;
    }
    
    .image-gallery img {
        height: 200px;
    }
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-top: 1px solid #333;
    padding: 8px 0;
    text-align: center;
    z-index: 1000;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.footer a {
    color: #ffaa00;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 8px #ffaa00;
}

.footer a:hover {
    color: #ff6b6b;
    text-shadow: 0 0 12px #ff6b6b;
    text-decoration: underline;
}

/* Vertical Centering Mobile Support */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding-top: 40px;
    }
    
    body.searching {
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 30px;
    }
    
    body.searching {
        padding-top: 10px;
    }
}

/* Landscape mobile - keep centered */
@media (max-width: 768px) and (orientation: landscape) {
    body {
        align-items: center;
        padding-top: 0;
    }
    
    body.searching {
        align-items: flex-start;
        padding-top: 10px;
    }
}
/* DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
    /* Widget icon labels - white in dark mode */
    .widget-icon::after {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    }
    
    /* Mobile dark mode - extra visibility */
    @media (max-width: 480px) {
        .widget-icon::after {
            color: #ffffff !important;
            font-weight: 600 !important;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
        }
    }
}

/* DESKTOP LOGO - Courier New and bigger for desktop */
.logo {
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
}

/* Mobile logo stays normal */
@media (max-width: 768px) {
    .logo {
        font-size: 60px !important;
    }
    
    .logo .word {
        font-size: 60px !important;
    }
    
    .logo .z {
        font-size: 60px !important;
    }
    
    .logo .ai {
        font-size: 34px !important;
    }
}
/* Hide terminal info by default on homepage */
.terminal-info {
    display: none;
}

/* Show terminal info only when searching */
body.searching .terminal-info {
    display: block;
}