| * { |
| margin: 0; |
| padding: 0; |
| box-sizing: border-box; |
| } |
|
|
| body { |
| font-family: 'Inter', system-ui, -apple-system, sans-serif; |
| background: linear-gradient(145deg, #f5f7fe 0%, #eef2fa 100%); |
| min-height: 100vh; |
| color: #121826; |
| } |
|
|
| .header { |
| background: rgba(255, 255, 255, 0.94); |
| backdrop-filter: blur(20px); |
| border-bottom: 1px solid rgba(0, 0, 0, 0.05); |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03); |
| position: sticky; |
| top: 0; |
| z-index: 100; |
| } |
|
|
| .container { |
| max-width: 1400px; |
| margin: 0 auto; |
| padding: 1.25rem 2rem; |
| } |
|
|
| .logo-area { |
| display: flex; |
| align-items: baseline; |
| justify-content: space-between; |
| flex-wrap: wrap; |
| gap: 1rem; |
| margin-bottom: 1rem; |
| } |
|
|
| .brand { |
| display: flex; |
| align-items: center; |
| gap: 12px; |
| } |
|
|
| .brand h1 { |
| font-size: 2.1rem; |
| font-weight: 800; |
| letter-spacing: -0.5px; |
| background: linear-gradient(135deg, #1A2A6C, #b21f1f, #fdbb4d); |
| background-clip: text; |
| -webkit-background-clip: text; |
| color: transparent; |
| } |
|
|
| .brand .badge { |
| background: rgba(0, 0, 0, 0.05); |
| padding: 4px 10px; |
| border-radius: 40px; |
| font-size: 0.7rem; |
| font-weight: 600; |
| color: #2c3e66; |
| } |
|
|
| .creator { |
| font-size: 0.85rem; |
| font-weight: 500; |
| color: #4a5b7a; |
| background: #ffffffcc; |
| padding: 5px 12px; |
| border-radius: 30px; |
| } |
|
|
| .creator i { |
| margin-right: 6px; |
| color: #fdbb4d; |
| } |
|
|
| .search-section { |
| margin: 1.5rem 0 0.5rem; |
| } |
|
|
| .search-wrapper { |
| background: white; |
| border-radius: 60px; |
| box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.02); |
| display: flex; |
| align-items: center; |
| padding: 0.35rem 0.35rem 0.35rem 1.8rem; |
| transition: all 0.25s ease; |
| } |
|
|
| .search-wrapper:focus-within { |
| box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 0 0 2px #fdbb4d80; |
| transform: scale(1.01); |
| } |
|
|
| .search-wrapper input { |
| flex: 1; |
| border: none; |
| padding: 1rem 0; |
| font-size: 1.1rem; |
| font-weight: 500; |
| background: transparent; |
| outline: none; |
| font-family: 'Inter', monospace; |
| color: #111827; |
| } |
|
|
| .search-wrapper input::placeholder { |
| color: #9ca3af; |
| font-weight: 400; |
| } |
|
|
| .search-actions { |
| display: flex; |
| gap: 8px; |
| align-items: center; |
| } |
|
|
| .voice-btn, .search-submit { |
| background: transparent; |
| border: none; |
| width: 48px; |
| height: 48px; |
| border-radius: 50%; |
| font-size: 1.3rem; |
| cursor: pointer; |
| transition: 0.2s; |
| color: #4b5563; |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| } |
|
|
| .voice-btn:hover, .search-submit:hover { |
| background: #f3f4f6; |
| color: #fdbb4d; |
| } |
|
|
| .search-submit { |
| background: #1e293b; |
| color: white; |
| width: auto; |
| padding: 0 1.6rem; |
| border-radius: 50px; |
| font-weight: 600; |
| gap: 8px; |
| font-size: 0.95rem; |
| } |
|
|
| .search-submit:hover { |
| background: #fdbb4d; |
| color: #1e293b; |
| } |
|
|
| .tabs { |
| display: flex; |
| gap: 0.25rem; |
| background: #ffffffcc; |
| backdrop-filter: blur(8px); |
| padding: 0.5rem; |
| border-radius: 60px; |
| margin: 1.8rem 0 1.2rem; |
| border: 1px solid rgba(0,0,0,0.03); |
| width: fit-content; |
| } |
|
|
| .tab-btn { |
| padding: 0.6rem 1.8rem; |
| border-radius: 40px; |
| font-weight: 600; |
| font-size: 0.9rem; |
| background: transparent; |
| border: none; |
| cursor: pointer; |
| transition: all 0.2s; |
| color: #334155; |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| font-family: 'Inter', sans-serif; |
| } |
|
|
| .tab-btn i { |
| font-size: 1rem; |
| } |
|
|
| .tab-btn.active { |
| background: #1e293b; |
| color: white; |
| box-shadow: 0 6px 12px -8px rgba(0,0,0,0.2); |
| } |
|
|
| .tab-btn:not(.active):hover { |
| background: #eef2ff; |
| color: #1e293b; |
| } |
|
|
| .results-container { |
| margin-top: 1.5rem; |
| background: rgba(255,255,255,0.6); |
| backdrop-filter: blur(2px); |
| border-radius: 32px; |
| padding: 0.2rem; |
| min-height: 60vh; |
| position: relative; |
| } |
|
|
| .cse-iframe { |
| width: 100%; |
| height: 70vh; |
| border: none; |
| border-radius: 24px; |
| background: white; |
| display: none; |
| box-shadow: 0 4px 20px rgba(0,0,0,0.05); |
| } |
|
|
| .cse-iframe.active { |
| display: block; |
| } |
|
|
| .footer { |
| text-align: center; |
| margin-top: 3rem; |
| padding: 1.5rem; |
| color: #6c757d; |
| font-size: 0.75rem; |
| border-top: 1px solid rgba(0,0,0,0.05); |
| } |
|
|
| .toast-msg { |
| position: fixed; |
| bottom: 25px; |
| left: 50%; |
| transform: translateX(-50%); |
| background: #1e293be6; |
| backdrop-filter: blur(12px); |
| color: #fef9e6; |
| padding: 12px 24px; |
| border-radius: 50px; |
| font-size: 0.85rem; |
| font-weight: 500; |
| z-index: 999; |
| border-left: 4px solid #fdbb4d; |
| pointer-events: none; |
| opacity: 0; |
| transition: opacity 0.2s; |
| white-space: nowrap; |
| } |
|
|
| @media (max-width: 700px) { |
| .container { padding: 1rem; } |
| .brand h1 { font-size: 1.7rem; } |
| .search-wrapper { padding-left: 1rem; } |
| .search-wrapper input { font-size: 0.95rem; } |
| .tab-btn { padding: 0.4rem 1rem; font-size: 0.8rem; } |
| .search-submit span { display: none; } |
| .search-submit { width: 48px; padding: 0; } |
| .toast-msg { white-space: nowrap; font-size: 0.75rem; } |
| .cse-iframe { height: 60vh; } |
| } |
|
|
| @keyframes pulseMic { |
| 0% { box-shadow: 0 0 0 0 rgba(253, 187, 77, 0.6); } |
| 70% { box-shadow: 0 0 0 12px rgba(253, 187, 77, 0); } |
| 100% { box-shadow: 0 0 0 0 rgba(253, 187, 77, 0); } |
| } |
| .listening-active { |
| animation: pulseMic 1.2s infinite; |
| background: #fdbb4d !important; |
| color: #121826 !important; |
| } |