/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --bg-card: #fafafa;
    --bg-elevated: #f5f5f5;
    --border: #e5e5e5;
    --border-dark: #d4d4d4;
    --text: #0a0a0a;
    --text-secondary: #525252;
    --text-muted: #a3a3a3;
    --accent: #000000;

    /* Jupiter Plugin Light Theme */
    --jupiter-plugin-background: 255, 255, 255;
    --jupiter-plugin-primaryText: 10, 10, 10;
    --jupiter-plugin-primary: 10, 10, 10;
    --jupiter-plugin-module: 245, 245, 245;
    --jupiter-plugin-interactive: 220, 220, 220;
    --jupiter-plugin-warning: 251, 191, 36;
}

/* === JUPITER COMPLETE THEME FIX === */

/* Force light theme on entire Jupiter widget */
#jupiter-terminal,
#jupiter-terminal *,
#jupiter-terminal *::before,
#jupiter-terminal *::after {
    --tw-text-opacity: 1 !important;
}

#jupiter-terminal {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* MASTER TEXT RULE - All text black */
#jupiter-terminal,
#jupiter-terminal div,
#jupiter-terminal span,
#jupiter-terminal p,
#jupiter-terminal label,
#jupiter-terminal h1,
#jupiter-terminal h2,
#jupiter-terminal h3,
#jupiter-terminal h4 {
    color: #000000 !important;
}

/* Input fields - black text on light bg */
#jupiter-terminal input {
    background-color: #f0f0f0 !important;
    color: #000000 !important;
    border: 1px solid #d0d0d0 !important;
}

#jupiter-terminal input::placeholder {
    color: #666666 !important;
}

/* All backgrounds should be light */
#jupiter-terminal > div,
#jupiter-terminal [class*="bg-"],
#jupiter-terminal [class*="rounded"] {
    background-color: #ffffff !important;
}

/* Token input areas - slightly gray */
#jupiter-terminal [class*="bg-"][class*="rounded"] {
    background-color: #f5f5f5 !important;
}

/* BUTTONS - Dark with white text */
#jupiter-terminal button {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

#jupiter-terminal button:hover {
    background-color: #333333 !important;
}

#jupiter-terminal button span,
#jupiter-terminal button div,
#jupiter-terminal button p {
    color: #ffffff !important;
}

/* Swap button */
#jupiter-terminal button[class*="swap"],
#jupiter-terminal button[class*="Swap"],
#jupiter-terminal form button,
#jupiter-terminal button:last-of-type {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* SVG icons in buttons - white */
#jupiter-terminal button svg,
#jupiter-terminal button svg path {
    fill: #ffffff !important;
    color: #ffffff !important;
}

/* SVG icons outside buttons - black */
#jupiter-terminal svg:not(button svg) {
    color: #000000 !important;
}

#jupiter-terminal svg:not(button svg) path {
    fill: #000000 !important;
}

/* Wallet address text */
#jupiter-terminal [class*="truncate"],
#jupiter-terminal [class*="address"] {
    color: #000000 !important;
}

/* Token names and amounts */
#jupiter-terminal [class*="font-semibold"],
#jupiter-terminal [class*="font-bold"],
#jupiter-terminal [class*="text-lg"],
#jupiter-terminal [class*="text-xl"],
#jupiter-terminal [class*="text-2xl"] {
    color: #000000 !important;
}

/* Small text / secondary info */
#jupiter-terminal [class*="text-xs"],
#jupiter-terminal [class*="text-sm"],
#jupiter-terminal [class*="opacity"] {
    color: #555555 !important;
}

/* Labels like "Selling", "Buying" */
#jupiter-terminal [class*="uppercase"],
#jupiter-terminal [class*="tracking"] {
    color: #666666 !important;
}

/* Dollar amounts */
#jupiter-terminal [class*="$"],
#jupiter-terminal span:contains("$") {
    color: #444444 !important;
}

/* Token selector areas */
#jupiter-terminal [class*="flex"][class*="items-center"][class*="gap"] {
    color: #000000 !important;
}

/* Override any white text classes */
#jupiter-terminal [class*="text-white"],
#jupiter-terminal [class*="text-light"] {
    color: #000000 !important;
}

/* But keep button text white */
#jupiter-terminal button [class*="text-white"],
#jupiter-terminal button [class*="text-light"] {
    color: #ffffff !important;
}

/* Modals and popups */
#jupiter-terminal [role="dialog"],
#jupiter-terminal [class*="modal"],
#jupiter-terminal [class*="popup"],
#jupiter-terminal [class*="dropdown"] {
    background-color: #ffffff !important;
}

#jupiter-terminal [role="dialog"] *,
#jupiter-terminal [class*="modal"] *,
#jupiter-terminal [class*="popup"] *,
#jupiter-terminal [class*="dropdown"] * {
    color: #000000 !important;
}

/* Wallet grid buttons in modal - lighter */
#jupiter-terminal [class*="grid"] button {
    background-color: #f0f0f0 !important;
    border: 1px solid #ddd !important;
}

#jupiter-terminal [class*="grid"] button span,
#jupiter-terminal [class*="grid"] button div {
    color: #000000 !important;
}

/* Settings/slippage */
#jupiter-terminal [class*="setting"],
#jupiter-terminal [class*="slippage"] {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Error/success states */
#jupiter-terminal [class*="error"],
#jupiter-terminal [class*="red"] {
    color: #dc2626 !important;
}

#jupiter-terminal [class*="success"],
#jupiter-terminal [class*="green"] {
    color: #16a34a !important;
}

/* Route info */
#jupiter-terminal [class*="route"],
#jupiter-terminal [class*="path"] {
    color: #333333 !important;
}

/* Price impact */
#jupiter-terminal [class*="impact"] {
    color: #555555 !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-ghost {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.btn-ghost:hover {
    color: var(--text);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--text);
    border-radius: 8px;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-primary.large {
    height: 48px;
    padding: 0 28px;
    font-size: 15px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
    border-color: var(--text);
    background: var(--bg-elevated);
}

.btn-outline.large {
    height: 48px;
    padding: 0 28px;
    font-size: 15px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    padding: 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav a,
.mobile-nav button {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: left;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    font-size: 24px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text);
}

.modal h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wallet-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: border-color 0.2s, background 0.2s;
}

.wallet-btn:hover {
    border-color: var(--text);
    background: var(--bg-elevated);
}

.wallet-icon {
    font-size: 24px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

/* Sound Toggle Button */
.sound-toggle {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.sound-toggle:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 1);
}

.sound-toggle svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.sound-toggle .sound-on {
    display: none;
}

.sound-toggle.unmuted .sound-off {
    display: none;
}

.sound-toggle.unmuted .sound-on {
    display: block;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.hero h1 {
    font-size: clamp(42px, 8vw, 80px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #000000 0%, #333333 50%, #000000 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #000;
    border-radius: 2px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero > p,
.hero-inner > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-ticker {
    overflow: hidden;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ticker-content {
    display: flex;
    gap: 24px;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Marquee */
.marquee {
    overflow: hidden;
    padding: 20px 0;
    background: var(--text);
}

.marquee-content {
    display: flex;
    gap: 48px;
    animation: marquee 15s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--bg);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Labels & Section Headers */
.label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-header .sub {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* About */
.about {
    padding: 100px 0;
}

.about-header {
    margin-bottom: 48px;
}

.about-header h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.about-card {
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.about-card.main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.about-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Drops */
.drops {
    padding: 100px 0;
    background: var(--bg-card);
}

.drops-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drop-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.2s, transform 0.2s;
}

.drop-card:hover {
    border-color: var(--text);
    transform: translateX(4px);
}

.drop-card.featured {
    border-color: var(--text);
    border-width: 2px;
}

.drop-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-muted);
}

.drop-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drop-badge {
    display: inline-block;
    width: fit-content;
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 4px;
    background: var(--text);
    color: var(--bg);
}

.drop-badge.live {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
}

.drop-badge.origin {
    background: var(--text);
    color: var(--bg);
}

.drop-badge.soon {
    background: #ff0000;
    color: #ffffff;
    animation: pulseBadge 1s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Coming Soon Card */
.drop-card.coming-soon {
    border: 2px solid #ff0000;
    animation: flashBorder 1.5s ease-in-out infinite;
    cursor: default;
}

.drop-card.coming-soon:hover {
    transform: none;
    border-color: #ff0000;
}

@keyframes flashBorder {
    0%, 100% {
        border-color: #ff0000;
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    }
    50% {
        border-color: #ff4444;
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    }
}

.drop-content h3 {
    font-size: 18px;
    font-weight: 700;
}

.drop-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

.drop-arrow {
    font-size: 24px;
    color: var(--text-muted);
    transition: transform 0.2s, color 0.2s;
}

.drop-card:hover .drop-arrow {
    transform: translateX(4px);
    color: var(--text);
}

.drops-cta {
    margin-top: 32px;
    text-align: center;
}

/* Buy Section */
.buy {
    padding: 100px 0;
}

.buy-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 48px;
    align-items: start;
}

/* Token Info */
.token-info {
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.token-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.token-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.token-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.token-details h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.token-ticker {
    font-size: 14px;
    color: var(--text-muted);
}

.token-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.token-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.token-stat .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.token-stat .stat-value {
    font-size: 16px;
    font-weight: 600;
}

.contract-box {
    margin-bottom: 24px;
}

.contract-box .contract-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contract-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.contract-row code {
    flex: 1;
    font-size: 12px;
    font-family: 'SF Mono', Monaco, monospace;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bg);
    background: var(--text);
    border-radius: 6px;
    transition: opacity 0.2s;
}

.copy-btn:hover {
    opacity: 0.8;
}

.token-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.token-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.token-link:hover {
    border-color: var(--text);
}

/* Swap Wrapper */
.swap-wrapper {
    display: flex;
    justify-content: center;
}

.swap-card {
    width: 100%;
    min-height: 500px;
    background: url('bagworks.jpeg') center center / cover no-repeat;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

#jupiter-terminal {
    width: 100%;
}

.swap-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.swap-loading.hidden {
    display: none;
}

.loader {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-top-color: var(--text);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Community */
.community {
    padding: 100px 0;
    background: var(--bg-card);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.social-card:hover {
    border-color: var(--text);
    transform: translateY(-4px);
}

.social-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
}

.social-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.social-sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* Bottom Video Section */
.bottom-video-section {
    position: relative;
    width: 100%;
    padding: 0;
    background: #000;
}

.bottom-video {
    width: 100%;
    display: block;
}

/* Footer */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 800;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .buy-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .token-info {
        order: 2;
    }

    .swap-wrapper {
        order: 1;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .nav {
        padding: 12px 16px;
    }

    .nav-logo {
        font-size: 18px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .mobile-nav {
        top: 57px;
    }

    .mobile-nav.active {
        display: flex;
    }

    .hero {
        padding: 80px 16px 40px;
        min-height: auto;
    }

    .hero-video {
        object-position: center center;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 16px;
        word-break: break-word;
    }

    .hero h1::after {
        width: 60px;
        height: 3px;
        bottom: -6px;
    }

    .hero-inner {
        max-width: 100%;
        padding: 0 8px;
    }

    .hero-inner > p {
        font-size: 14px;
        margin-bottom: 24px;
        padding: 0 8px;
    }

    .hero-tag {
        font-size: 10px;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
        padding: 0 8px;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        width: 100%;
        height: 48px;
        font-size: 15px;
    }

    .hero-ticker {
        padding: 12px 0;
        margin: 0 -16px;
        width: calc(100% + 32px);
    }

    .ticker-content span {
        font-size: 11px;
    }

    .sound-toggle {
        width: 40px;
        height: 40px;
        bottom: 16px;
        right: 16px;
    }

    .sound-toggle svg {
        width: 20px;
        height: 20px;
    }

    .marquee {
        padding: 14px 0;
    }

    .marquee-content span {
        font-size: 12px;
    }

    .about {
        padding: 48px 0;
    }

    .about-header {
        margin-bottom: 24px;
    }

    .about-header h2 {
        font-size: 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card {
        padding: 20px;
    }

    .about-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 16px 12px;
    }

    .stat-num {
        font-size: 22px;
    }

    .stat-label {
        font-size: 10px;
    }

    .drops {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header .sub {
        font-size: 14px;
    }

    .drop-card {
        grid-template-columns: 40px 1fr auto;
        gap: 12px;
        padding: 14px;
    }

    .drop-num {
        font-size: 14px;
    }

    .drop-content h3 {
        font-size: 14px;
    }

    .drop-content p {
        font-size: 12px;
        display: none;
    }

    .drop-badge {
        font-size: 8px;
        padding: 2px 6px;
    }

    .drop-arrow {
        font-size: 16px;
    }

    .drops-cta {
        margin-top: 20px;
    }

    .buy {
        padding: 48px 0;
    }

    .buy-grid {
        gap: 20px;
    }

    .token-info {
        padding: 16px;
    }

    .token-header {
        margin-bottom: 20px;
        gap: 12px;
    }

    .token-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .token-details h3 {
        font-size: 18px;
    }

    .token-ticker {
        font-size: 12px;
    }

    .token-stats {
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .token-stat .stat-value {
        font-size: 14px;
    }

    .contract-box {
        margin-bottom: 16px;
    }

    .contract-row {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        padding: 12px;
    }

    .contract-row code {
        font-size: 9px;
        text-align: center;
        word-break: break-all;
    }

    .copy-btn {
        width: 100%;
        padding: 12px;
        font-size: 13px;
    }

    .token-links {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .token-link {
        padding: 14px;
        font-size: 13px;
    }

    .swap-card {
        min-height: 400px;
        border-radius: 12px;
    }

    .swap-loading {
        height: 350px;
    }

    #jupiter-terminal {
        max-width: 100%;
        overflow: hidden;
    }

    .community {
        padding: 48px 0;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .social-card {
        padding: 20px 16px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 14px;
        text-align: left;
    }

    .social-icon {
        margin-bottom: 0;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .social-name {
        font-size: 14px;
    }

    .social-sub {
        font-size: 12px;
    }

    .social-card > div {
        display: flex;
        flex-direction: column;
    }

    .bottom-video {
        max-height: 300px;
        object-fit: cover;
    }

    .footer {
        padding: 32px 0;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand p {
        font-size: 12px;
    }

    .footer-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-disclaimer {
        font-size: 11px;
    }

    /* Button touch targets */
    .btn-primary,
    .btn-outline {
        min-height: 44px;
    }

    /* Modal mobile */
    .modal {
        padding: 24px;
        margin: 16px;
        max-width: calc(100% - 32px);
    }

    .modal h2 {
        font-size: 18px;
    }

    .wallet-btn {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 70px 12px 32px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero h1::after {
        width: 50px;
    }

    .hero-inner > p {
        font-size: 13px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat-num {
        font-size: 18px;
    }

    .drop-card {
        grid-template-columns: 32px 1fr auto;
        gap: 10px;
        padding: 12px;
    }

    .drop-num {
        font-size: 12px;
    }

    .drop-content h3 {
        font-size: 13px;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .contract-row code {
        font-size: 8px;
    }

    .token-details h3 {
        font-size: 16px;
    }

    .token-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 22px;
    }

    .hero-inner > p {
        font-size: 12px;
    }

    .drop-card {
        grid-template-columns: 28px 1fr auto;
        padding: 10px;
    }

    .drop-num {
        font-size: 11px;
    }

    .drop-content h3 {
        font-size: 12px;
    }

    .stat-num {
        font-size: 16px;
    }

    .about-header h2,
    .section-header h2 {
        font-size: 20px;
    }
}

/* Fix for iOS Safari viewport */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}
