* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0b0d;
    color: #e4e4e7;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: #18181b;
    border-bottom: 1px solid #27272a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    padding: 0 20px;
}

.nav-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    flex-wrap: wrap;
    width: 100%;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.nav-brand a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

/* Main search bar next to logo */
.nav-search-main {
    flex: 1;
    max-width: 700px;
    min-width: 200px;
}

.nav-search-main form {
    margin: 0;
}

.nav-search-main input {
    width: 100%;
    background: #27272a;
    border: 1px solid #3f3f46;
    color: #e4e4e7;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.nav-search-main input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.nav-search-main input::placeholder {
    color: #71717a;
}

/* Mobile search - hidden on desktop */
.mobile-search {
    display: none;
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
}

.mobile-search form {
    margin: 0;
}

.mobile-search input {
    width: 100%;
    background: #27272a;
    border: 1px solid #3f3f46;
    color: #e4e4e7;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.mobile-search input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mobile-search input::placeholder {
    color: #71717a;
}

/* Search results dropdown */
.nav-search-main {
    position: relative;
}

.search-results-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.search-results-list {
    padding: 0.5rem 0;
}

.search-result-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #e4e4e7;
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid #27272a;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #27272a;
}

.search-result-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.search-result-title mark {
    background: #667eea40;
    color: #667eea;
    padding: 0 2px;
    border-radius: 2px;
}

.search-result-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #a1a1aa;
}

.search-result-category {
    color: #10b981;
}

.search-result-volume {
    color: #a1a1aa;
}

.search-loading,
.search-no-results,
.search-error {
    padding: 1rem;
    text-align: center;
    color: #a1a1aa;
    font-size: 0.9rem;
}

.search-error {
    color: #ef4444;
}

.search-view-all {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-top: 1px solid #27272a;
    transition: background 0.2s;
}

.search-view-all:hover {
    background: #27272a;
}

.nav-search {
    flex: 1;
    max-width: 500px;
}

.nav-search input {
    width: 100%;
    background: #27272a;
    border: 1px solid #3f3f46;
    color: #e4e4e7;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.nav-search input:focus {
    outline: none;
    border-color: #667eea;
}

.nav-search input::placeholder {
    color: #71717a;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-left: auto;
    flex-wrap: wrap;
    max-width: 100%;
}

.nav-wallet {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.4rem 1rem;
    background: #27272a;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-wallet:hover {
    background: #3f3f46;
}

.wallet-label {
    font-size: 0.75rem;
    color: #a1a1aa;
}

.wallet-amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: #10b981;
}

.nav-categories {
    display: flex;
    gap: 0.5rem;
    padding: 0 0 0.8rem 0;
    overflow-x: auto;
    border-bottom: 1px solid #27272a;
}

.nav-categories::-webkit-scrollbar {
    height: 4px;
}

.nav-categories::-webkit-scrollbar-track {
    background: transparent;
}

.nav-categories::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 4px;
}

.category-tab {
    padding: 0.5rem 1rem;
    color: #a1a1aa;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s;
}

.category-tab:hover {
    color: #e4e4e7;
    background: #27272a;
}

.category-tab.active {
    color: #e4e4e7;
    background: #27272a;
    font-weight: 600;
}

.how-it-works-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.how-it-works-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Create Market Tab */
.create-market-tab {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

.create-market-tab:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px);
}

/* Pending Markets Tab */
.pending-tab {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    position: relative;
    animation: pulse-glow 2s ease-in-out infinite;
}

.pending-tab:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    transform: translateY(-2px);
}

.pending-badge {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Inline Search for logged in users - DEPRECATED, using nav-search-main now */

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    }
}

.btn-logout-small {
    background: transparent;
    color: #ef4444;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-logout-small:hover {
    background: #ef444420;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #e4e4e7;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Backdrop */
.mobile-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-backdrop.active {
    display: block;
    opacity: 1;
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    
    .nav-top {
        flex-wrap: wrap;
        position: relative;
    }
    
    .nav-search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .nav-actions {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #18181b;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 5rem 1.5rem 2rem;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 100;
    }
    
    .nav-actions.mobile-active {
        right: 0;
    }
    
    .nav-actions > * {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem !important;
        margin: 0.3rem 0;
        justify-content: center;
    }
    
    .nav-wallet {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .wallet-label {
        font-size: 0.85rem;
    }
    
    .wallet-amount {
        font-size: 1rem;
    }
    
    .currency-selector {
        width: 100%;
    }
    
    .currency-btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-categories {
        display: none;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #18181b;
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        border-bottom: none;
        border-right: 1px solid #27272a;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 100;
        gap: 0.5rem;
    }
    
    .nav-categories.mobile-active {
        display: flex;
        left: 0;
    }
    
    .category-tab {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
        margin: 0.2rem 0;
    }
    
    .how-it-works-btn {
        margin-left: 0 !important;
        margin-top: 1rem;
        font-size: 1rem !important;
    }
    
    .mobile-btn {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    .nav-brand {
        font-size: 1.3rem;
    }
    
    .nav-top {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-search-main {
        display: block; /* Show on mobile */
        order: 3; /* Move below brand and toggle */
        width: 100%; /* Full width */
        max-width: 100%;
        min-width: 100%;
        margin-top: 0.75rem;
    }
    
    .nav-search-main input {
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
    }
    
    .mobile-search {
        display: none; /* Hide duplicate mobile search */
    }
    
    .nav-actions {
        width: 85%;
        max-width: 280px;
    }
    
    .nav-categories {
        width: 85%;
        max-width: 280px;
    }
    
    .pending-tab,
    .create-market-tab,
    .how-it-works-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 0 15px;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .nav-top {
        gap: 0.75rem;
    }
    
    .nav-search-main {
        margin-top: 0.5rem;
    }
    
    .nav-search-main input {
        font-size: 0.9rem;
        padding: 0.6rem 0.9rem;
    }
    
    .nav-actions {
        width: 90%;
    }
    
    .nav-categories {
        width: 90%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-search-main {
        max-width: 400px;
    }
    
    .mobile-search {
        display: none;
    }
}

@media (min-width: 1025px) {
    .nav-search-main {
        max-width: 700px;
    }
    
    .mobile-search {
        display: none;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #e4e4e7;
    border: 1px solid #3f3f46;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
    background: #667eea10;
}

.hero {
    text-align: center;
    padding: 4rem 0 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #a1a1aa;
}

.filters {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: #27272a;
    color: #e4e4e7;
    border: 1px solid #3f3f46;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #3f3f46;
    border-color: #667eea;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 3rem;
    padding: 0 0.5rem;
}

.market-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.market-card:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-badge {
    background: #27272a;
    color: #667eea;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #3f3f46;
}

.volume {
    color: #a1a1aa;
    font-size: 0.9rem;
    font-weight: 500;
}

.market-title {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    min-height: 3rem;
    color: #e4e4e7;
}

.market-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.option {
    background: #27272a;
    padding: 1.2rem 1rem;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.option.yes {
    border-color: #10b981;
    background: linear-gradient(135deg, #10b98108 0%, #10b98115 100%);
}

.option.no {
    border-color: #ef4444;
    background: linear-gradient(135deg, #ef444408 0%, #ef444415 100%);
}

.option:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.option.yes:hover {
    background: linear-gradient(135deg, #10b98115 0%, #10b98125 100%);
}

.option.no:hover {
    background: linear-gradient(135deg, #ef444415 0%, #ef444425 100%);
}

.option-label {
    font-weight: 700;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.option.yes .option-label {
    color: #10b981;
}

.option.no .option-label {
    color: #ef4444;
}

.option-price {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #e4e4e7;
}

.option-percentage {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.market-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.2rem;
    border-top: 1px solid #27272a;
}

.market-footer span {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.btn-trade {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-trade:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.footer {
    background: #18181b;
    border-top: 1px solid #27272a;
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #e4e4e7;
}

.footer-section p {
    color: #a1a1aa;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #e4e4e7;
}

.footer-bottom {
    border-top: 1px solid #27272a;
    padding-top: 1.5rem;
    text-align: center;
    color: #a1a1aa;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.3rem 0;
}

.nav-brand a {
    text-decoration: none;
    color: inherit;
}

.btn-secondary {
    background: transparent;
    color: #e4e4e7;
    border: 1px solid #3f3f46;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
}

.btn-logout {
    background: #ef4444;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: #dc2626;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.balance {
    background: #27272a;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    color: #10b981;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .user-menu {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and below */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Hero responsive */
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Markets grid responsive */
    .markets-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0 2rem;
        padding: 0;
    }
    
    .market-card {
        padding: 1.2rem;
    }
    
    .market-title {
        font-size: 1rem;
        min-height: auto;
    }
    
    .market-options {
        gap: 0.8rem;
    }
    
    .option {
        padding: 1rem 0.8rem;
    }
    
    .option-price {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 2rem 0 1rem;
    }
    
    /* Footer responsive */
    .footer {
        margin-top: 2rem;
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .market-card {
        padding: 1rem;
    }
    
    .market-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .category-badge {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .volume {
        font-size: 0.85rem;
    }
    
    .market-title {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .option {
        padding: 0.8rem 0.6rem;
    }
    
    .option-label {
        font-size: 0.85rem;
    }
    
    .option-price {
        font-size: 1rem;
    }
    
    .option-percentage {
        font-size: 0.8rem;
    }
    
    .market-footer {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
    
    .btn-trade {
        width: 100%;
        text-align: center;
        padding: 0.7rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
}

/* Alert messages responsive */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.alert-success {
    background: #10b98120;
    border: 1px solid #10b981;
    color: #10b981;
}

.alert-error {
    background: #ef444420;
    border: 1px solid #ef4444;
    color: #ef4444;
}

@media (max-width: 480px) {
    .alert {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}


/* Share button on market cards */
.btn-share {
    background: #27272a;
    border: 1px solid #3f3f46;
    color: #e4e4e7;
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-share:hover {
    background: #3f3f46;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-share svg {
    display: block;
}


/* Resolved market styling */
.resolved-market {
    opacity: 0.8;
    position: relative;
}

.resolved-market::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, #10b98110 100%);
    pointer-events: none;
    border-radius: 12px;
}


/* Currency Selector */
.currency-selector {
    position: relative;
}

.currency-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #27272a;
    border: 1px solid #3f3f46;
    color: #e4e4e7;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.currency-btn:hover {
    border-color: #667eea;
    background: #3f3f46;
}

.currency-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 8px;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.currency-menu.show {
    display: block;
}

.currency-option {
    display: grid;
    grid-template-columns: 40px 60px 1fr;
    gap: 0.5rem;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #e4e4e7;
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid #27272a;
}

.currency-option:last-child {
    border-bottom: none;
}

.currency-option:hover {
    background: #27272a;
}

.currency-option span:first-child {
    font-size: 1.2rem;
    font-weight: 600;
}

.currency-option span:nth-child(2) {
    font-weight: 600;
    color: #667eea;
}

@media (max-width: 768px) {
    .currency-selector {
        order: -1;
    }
    
    .currency-menu {
        right: auto;
        left: 0;
    }
}
