@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/monument-extended');

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --bg-color: rgb(10, 10, 10);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --elevation-02: rgba(255, 255, 255, 0.05);
    --text-white: #ffffff;
    --text-subdue: #888888;
    --text-main-darker: #aaaaaa;
    --accent: #00ffa3;
}

html, body {
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), url('/BackgroundShreddedEffect2-DL75aKQP.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-white);
    font-family: 'JetBrains Mono', monospace;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Landing Page & Hero */
.landing-page {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-bg.webp') no-repeat center top;
    background-size: cover;
    z-index: 0;
    opacity: 1; 
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
    z-index: 10;
}

.hero-badge {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 10px;
    color: var(--text-subdue);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-badge::before {
    content: '● ';
    color: #4CAF50; /* Green dot color */
}

.hero-title {
    font-family: 'Monument Extended', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 30px;
    text-transform: uppercase;
    line-height: normal;
    letter-spacing: 2px;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 1.25rem; /* md:text-xl */
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1rem; /* text-base */
    }
}

.gradient-border-button {
    position: relative;
    border-radius: 12px;
    background: linear-gradient(90deg, #04aef0, #d1157a, #f8ec1d);
    padding: 3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gradient-border-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(209, 21, 122, 0.6);
}

.gradient-border-button-inner {
    display: block;
    background: rgba(20, 20, 20, 0.9);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Monument Extended', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 75ms ease-in;
    position: relative;
    width: 100%;
    text-align: center;
}

.gradient-border-button-inner:hover {
    background: rgba(20, 20, 20, 0.85);
}

.hero-description {
    font-size: 14px;
    color: var(--text-subdue);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btn .gradient-border-button-inner {
    padding: 14px 20px;
    font-size: 12px;
    border-radius: 7px;
    width: 100%;
    font-family: 'Monument Extended', sans-serif;
}

.hero-btn {
    border-radius: 8px;
    flex: 1;
}

.hero-actions-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.hero-social-square {
    height: auto !important;
    width: 36px !important;
    flex-shrink: 0;
}

.hero-buttons-wrapper {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ca-copy-button, .hero-actions-container {
    width: 100%;
}

/* Trending Carousel */
.trending-section {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.trending-title {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.carousel-perspective {
    width: 100%;
    height: 350px;
    perspective: 1200px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.carousel-container {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
}

.carousel-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

/* Base positions */
.carousel-card[data-pos="0"] {
    transform: translateX(0) translateZ(0) scale(1);
    z-index: 100;
    opacity: 1;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    background: rgba(15, 15, 15, 1);
    border: 1px solid transparent;
}
.carousel-card[data-pos="0"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(90deg, #04aef0, #d1157a, #f8ec1d);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.carousel-card[data-pos="1"] {
    transform: translateX(65%) translateZ(-150px) rotateY(-20deg) scale(0.85);
    z-index: 80;
    opacity: 1;
}

.carousel-card[data-pos="2"] {
    transform: translateX(120%) translateZ(-300px) rotateY(-35deg) scale(0.7);
    z-index: 60;
    opacity: 1;
}

.carousel-card[data-pos="-1"] {
    transform: translateX(-65%) translateZ(-150px) rotateY(20deg) scale(0.85);
    z-index: 80;
    opacity: 1;
}

.carousel-card[data-pos="-2"] {
    transform: translateX(-120%) translateZ(-300px) rotateY(35deg) scale(0.7);
    z-index: 60;
    opacity: 1;
}

.carousel-card:hover {
    opacity: 1;
}

/* Card Content Styling */
.card-image-wrapper {
    width: 100%;
    height: 55%;
    background: #000;
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-subdue);
}

.card-top-info strong {
    color: var(--text-white);
    font-size: 14px;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 6px 0;
}

.card-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 8px 0;
    overflow: hidden;
}

.card-progress-fill {
    height: 100%;
    width: 100%; /* Mock 100% since Printr tokens are usually bonding curve completed */
    background: linear-gradient(90deg, #04aef0, #d1157a, #f8ec1d);
}

.card-stats {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-subdue);
}

.card-stat span {
    color: var(--text-white);
    font-weight: 600;
}header {
    width: 100%;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(10px);
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    gap: 16px;
    font-family: 'Monument Extended', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.bracket-link {
    position: relative;
    color: var(--text-subdue);
    font-family: 'Monument Extended', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    padding: 4px 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bracket-link:hover {
    color: var(--text-white);
    transform: scale(1.05);
}

.bracket-link::before {
    content: '[ ';
    white-space: pre;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bracket-link::after {
    content: ' ]';
    white-space: pre;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bracket-link:hover {
    transform: scale(1.05);
}

.bracket-link:hover::before {
    transform: translateX(-4px);
}

.bracket-link:hover::after {
    transform: translateX(4px);
}

.bracket-link:active {
    color: var(--text-main-darker);
    transform: scale(0.98);
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.search-button-trigger {
    display: flex;
    align-items: center;
    background: var(--elevation-02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 16px 10px 36px;
    color: var(--text-subdue);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    width: 300px;
    box-sizing: border-box;
    text-align: left;
}

.search-button-trigger:hover {
    border-color: var(--text-subdue);
    background: rgba(255, 255, 255, 0.08);
}


.search-icon {
    position: absolute;
    left: 12px;
    color: var(--text-subdue);
}

/* Search Modal Styles */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 40;
    display: none;
}

.search-overlay.active {
    display: block;
}

.search-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: rgb(15, 15, 15);
    border-left: 1px solid var(--border-color);
    z-index: 50;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal.open {
    transform: translateX(0);
}

.center-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    max-width: 90vw;
    background: rgb(15, 15, 15);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
    pointer-events: none;
}

.center-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

#modal-search-input {
    width: 100%;
    background: var(--elevation-02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px 12px 40px;
    color: white;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

#modal-search-input:focus, .modal-text-input:focus {
    border-color: var(--text-subdue);
}

.modal-text-input {
    width: 100%;
    background: var(--elevation-02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}


.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--elevation-02);
    border: 1px solid var(--border-color);
    color: var(--text-subdue);
    transition: background 0.2s, color 0.2s;
}

.social-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.results-container {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Results to the left of the container */
}


.results-wrapper {
    width: 100%;
}

/* Provided Snippet Styles */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.border { border: 1px solid var(--border-color); }
.transition-colors { transition: background-color 0.2s, border-color 0.2s; }
.hover\:border-border-hover:hover { border-color: var(--border-hover); }
.hover\:bg-elevation-02:hover { background-color: var(--elevation-02); }
.size-12 { width: 3rem; height: 3rem; }
.shrink-0 { flex-shrink: 0; }
.overflow-hidden { overflow: hidden; }
.rounded { border-radius: 0.25rem; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.object-cover { object-fit: cover; }
.flex-1 { flex: 1 1 0%; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.font-monument { font-family: 'Monument Extended', sans-serif; font-weight: 700; text-transform: uppercase; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-white { color: #fff; }
.text-subdue { color: var(--text-subdue); }
.text-main-darker { color: var(--text-main-darker); }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.size-20 { width: 5rem; height: 5rem; }
.h-2 { height: 0.5rem; }
.h-2\.5 { height: 0.625rem; }
.text-lg { font-size: 1.125rem; }
.bg-background { background-color: var(--bg-color); }
.bg-elevation-01 { background-color: rgba(255, 255, 255, 0.02); }
.bg-elevation-03 { background-color: rgba(255, 255, 255, 0.08); }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.w-min { width: min-content; }
.w-7 { width: 1.75rem; }
.w-\[72px\] { width: 72px; }
.aspect-square { aspect-ratio: 1 / 1; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-cyan { color: #00ffff; }
.border-border-lighter { border-color: rgba(255, 255, 255, 0.05); }
.text-subdue-light { color: var(--text-subdue); }
.text-main { color: var(--text-white); }
.text-\[10px\] { font-size: 10px; }

.ticker-wrapper {
    width: 100%;
    background: #1a1a1a;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    z-index: 20;
}

.ticker-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.ticker-content {
    display: flex;
    width: max-content;
    animation: ticker 40s linear infinite;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.ticker-item {
    padding-right: 50px;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.rainbow-text {
    background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 5s linear infinite;
    background-size: 200% auto;
}

@keyframes rainbow {
    to { background-position: 200% center; }
}

@media (min-width: 1024px) {
    .lg\:h-7 { height: 1.75rem; }
    .lg\:px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
    .lg\:text-xs { font-size: 0.75rem; }
}

.ca-copy-button:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.ca-copy-button:active {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

@media (min-width: 400px) {
    .ca-text-short { display: none !important; }
    .ca-text-full { display: inline-block !important; }
}
.rounded-full { border-radius: 9999px; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-1\.5 { gap: 0.375rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.cursor-pointer { cursor: pointer; }
.cursor-help { cursor: help; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }


/* Progress Bar */
.bg-elevation-02 { background-color: var(--elevation-02); }
.h-1\.5 { height: 0.375rem; }
.mt-1 { margin-top: 0.25rem; }
.shimmer-progress-gradient {
    background: linear-gradient(90deg, #00ffa3, #dc1fff);
    box-shadow: 0 0 10px rgba(0, 255, 163, 0.5);
}

/* Chat Page Centering */
.no-scroll-layout {
    height: 100vh !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
}

.chat-page {
    display: flex;
    flex-direction: column;
    width: 95%;
    max-width: 800px;
    flex: 1; /* Fill remaining space */
    min-height: 0; /* Allow inner scrolling */
    margin: 10px auto 20px auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}


.token-info-header {
    width: 95%;
    max-width: 800px;
    margin: 10px auto 0 auto;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}


.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.chat-messages::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}


.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--elevation-02);
    border: 1px solid var(--border-color);
    align-self: flex-start;
}

.message .content {
    word-break: break-word;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.message.self {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.message .sender {
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-subdue);
    margin-bottom: 4px;
}

.message.self .sender {
    color: var(--text-white);
}


.message .time {
    font-size: 0.65rem;
    color: var(--text-subdue);
    margin-left: 8px;
}

.chat-input-container {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

#chat-input {
    flex: 1;
    background: var(--elevation-02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 14px;
    color: white;
    outline: none;
    font-family: inherit;
}

/* #chat-send styles removed to allow .gradient-border-button-inner to apply */


.scale-110 { transform: scale(1.1); }
.gradient-border-button {
    position: relative;
    padding: 1px;
    border-radius: 8px;
    background: linear-gradient(90deg, #00ffff, #dc1fff, #ffff00);
    display: inline-block;
}

.gradient-border-button-inner {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.05), rgba(220, 31, 255, 0.05), rgba(255, 255, 0, 0.05)), rgb(20, 20, 20);
    color: white;
    padding: 6px 16px;
    border-radius: 7px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

a {
    text-decoration: none;
    color: inherit;
}

.gradient-border-button-inner:hover {
    background: rgb(30, 30, 30);
}

/* Responsive adjustments */
@media (max-width: 850px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .token-info-header, .chat-page {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .chat-page {
        margin-bottom: 0;
    }

    .responsive-header-card {
        padding: 10px !important;
        gap: 12px !important;
    }

    .responsive-header-card .size-20 {
        width: 48px;
        height: 48px;
    }

    .font-monument.text-lg {
        font-size: 14px;
    }

    .responsive-header-top {
        margin-bottom: 4px;
    }

    .responsive-header-top > div {
        gap: 4px !important;
    }

    .responsive-progress {
        width: 80px !important;
    }

    .responsive-metrics {
        gap: 12px !important;
        margin-top: 6px !important;
        font-size: 10px !important;
    }

    .responsive-metrics .text-subdue {
        display: none; /* Hide full "Market Cap" text to save space */
    }

    .gradient-border-button-inner {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }

    .gradient-border-button svg {
        width: 12px !important;
        height: 12px !important;
    }

    .app-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
    }

    .header-left, .header-right {
        width: auto;
        justify-content: flex-start;
        gap: 10px;
    }

    .nav-links {
        display: none; /* Hide text links on mobile */
    }

    .search-button-trigger span {
        display: none; /* Hide placeholder text */
    }

    .search-button-trigger {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
    }

    .app-header .search-icon {
        left: auto;
        position: static;
    }

    .search-modal {
        width: 100%;
        border-left: none;
    }
}


/* Hero Split Layout */
.hero-split-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
    z-index: 10;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.hero-left, .hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-left {
    align-items: flex-start;
    text-align: left;
}

.hero-left .hero-badge {
    margin-bottom: 16px;
}

.hero-left .hero-title {
    margin-bottom: 30px;
}

.hero-right {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    max-width: 450px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-white);
    margin: 0 0 15px 0;
    text-align: center;
    letter-spacing: 1px;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-subdue);
    font-family: 'Monument Extended', sans-serif;
    font-size: 11px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.extension-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chrome-store-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-subdue);
    font-family: 'Monument Extended', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    cursor: not-allowed;
    opacity: 0.7;
    transition: background 0.2s;
}

.chrome-store-btn img {
    height: 20px;
    filter: grayscale(100%);
    opacity: 0.8;
}

.secondary-actions-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.github-btn, .download-zip-btn {
    flex: 1;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-white);
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.github-btn:hover, .download-zip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-subdue);
}

.github-btn img {
    height: 20px;
}

@media (max-width: 850px) {
    .hero-split-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-left {
        align-items: center;
        text-align: center;
    }
}
