/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0f1419; /* Binance/Bybit dark background */
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #1e2026; /* Binance dark header color */
    border-bottom: 1px solid #2d3748;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0; /* Reduced padding for slimmer look */
    gap: 1.5rem; /* Reduced gap */
    min-height: 56px; /* Bybit-style compact height */
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
    gap: 0rem; /* No gap for seamless ₿ITkin display */
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 700;
    font-size: 1.25rem; /* Smaller font for compact look */
}

.logo-icon {
    background: linear-gradient(135deg, #f3ba2f, #f0b90b); /* Binance yellow/orange */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem; /* Smaller size for compact look */
}

.logo-text {
    background: linear-gradient(135deg, #f3ba2f, #f0b90b); /* Binance yellow/orange */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Reduced gap for compact look */
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0; /* Reduced padding for compact look */
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem; /* Slightly smaller font */
}

.nav-link:hover {
    color: #e2e8f0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1f2e;
    border: 1px solid #2d3748;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #2d3748;
    color: #e2e8f0;
}

.search-container {
    position: relative;
    flex: 0 0 180px; /* Further reduced for Bybit-style compact look */
    max-width: 180px;
}

.search-input {
    width: 100%;
    padding: 0.4rem 2rem 0.4rem 0.75rem; /* Reduced padding for compact look */
    background-color: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 0.375rem; /* Slightly smaller border radius */
    color: #e2e8f0;
    font-size: 0.8rem; /* Smaller font for compact look */
    height: 32px; /* Fixed height like Bybit */
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Reduced gap for compact layout */
}

.language-select {
    background-color: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 0.25rem;
    padding: 0.2rem 0.4rem; /* Reduced padding for compact look */
    color: #e2e8f0;
    font-size: 0.75rem; /* Smaller font */
    height: 24px; /* Smaller height */
}

.btn {
    padding: 0.4rem 0.8rem; /* Reduced padding for compact look */
    border-radius: 0.375rem; /* Slightly smaller border radius */
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem; /* Reduced gap */
    font-size: 0.8rem; /* Smaller font */
    height: 32px; /* Fixed height like Bybit */
}

.btn-primary {
    background: linear-gradient(135deg, #f3ba2f, #f0b90b); /* Binance yellow/orange */
    color: #1e2026; /* Dark text for contrast */
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(243, 186, 47, 0.4);
    background: linear-gradient(135deg, #f0b90b, #f3ba2f);
}

.btn-outline {
    background-color: transparent;
    color: #94a3b8;
    border: 1px solid #4a5568;
}

.btn-outline:hover {
    background-color: #2d3748;
    color: #e2e8f0;
}

.btn-large {
    padding: 0.6rem 1.5rem; /* Reduced padding for compact look */
    font-size: 0.9rem; /* Smaller font */
    height: 36px; /* Slightly taller than regular buttons */
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.user-btn {
    background-color: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 50%;
    width: 28px; /* Smaller size for compact look */
    height: 28px; /* Smaller size for compact look */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.8rem; /* Smaller icon */
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 2px; /* Reduced gap for compact look */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem; /* Reduced padding */
}

.mobile-menu-toggle span {
    width: 16px; /* Smaller width for compact look */
    height: 2px;
    background-color: #e2e8f0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background-color: #000; /* Black background */
}

.hero-content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* BITkin Scene Container */
.bitkinn-scene {
    width: 100%;
    height: 1000px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1a1f2e;
    border: 2px solid #2d3748;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Placeholder Box */
.placeholder-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    border: 2px solid #2d3748;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.placeholder-content {
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.placeholder-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.placeholder-text p {
    font-size: 1rem;
    opacity: 0.7;
    margin: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.gradient-text {
    background: linear-gradient(135deg, #f59e0b, #ef4444, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.tablet-image-container {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hero-tablet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}






@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Device mockup styles */
.device-wrapper {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.device {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s;
}
.device-frame {
  width: 100%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}
.device-laptop .device-frame {
  max-width: 640px;
  aspect-ratio: 16/10;
  border-radius: 8px;
}
.device-phone .device-frame {
  max-width: 320px;
  aspect-ratio: 9/19;
  border-radius: 28px;
}
.device-screen {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
}
.device-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.device-toggle {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #222;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.device-toggle[aria-pressed="true"] {
  background: #222;
  color: #fff;
  border-color: #222;
}
@media (max-width: 480px) {
  .device-wrapper {
    max-width: 360px;
  }
  .device-laptop .device-frame {
    max-width: 320px;
    aspect-ratio: 16/10;
  }
}

/* Device image mockup styles */
.device-image-wrapper {
  width: 100%;
  max-width: 1100px; /* Increased from 900px */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px; /* Increased from 420px */
  padding: 40px 0;   /* Increased from 32px */
  background: transparent;
}
.device-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  background: #222;
}
@media (max-width: 1024px) {
  .device-image-wrapper {
    max-width: 98vw;
    min-height: 320px; /* Increased from 260px */
    padding: 24px 0;   /* Increased from 16px */
    background: transparent;
  }
  .device-image {
    border-radius: 16px;
    background: #222;
  }
}
@media (max-width: 600px) {
  .device-image-wrapper {
    max-width: 100vw;
    min-height: 200px; /* Increased from 160px */
    padding: 12px 0;   /* Increased from 8px */
    background: transparent;
  }
  .device-image {
    border-radius: 10px;
    background: #222;
  }
}

/* Portfolio Styles */
.portfolio-title {
    font-size: 14px;
    margin-bottom: 8px;
    color: #e2e8f0;
}

.portfolio-balance {
    text-align: center;
    margin-bottom: 12px;
    padding: 8px;
    background: rgba(243, 186, 47, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(243, 186, 47, 0.3);
}

.balance-amount {
    font-size: 16px;
    font-weight: 700;
    color: #f3ba2f;
    margin-bottom: 2px;
}

.balance-change {
    font-size: 9px;
    color: #10b981;
}

.asset-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asset-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: rgba(45, 55, 72, 0.5);
    border-radius: 4px;
}

.asset-name {
    font-size: 10px;
    font-weight: 600;
    color: #e2e8f0;
}

.asset-symbol {
    font-size: 8px;
    color: #94a3b8;
}

.asset-amount {
    font-size: 9px;
    color: #e2e8f0;
    margin-bottom: 1px;
}

.asset-price {
    font-size: 8px;
    color: #94a3b8;
}

/* Market Content */
.market-title {
    font-size: 14px;
    margin-bottom: 8px;
    color: #e2e8f0;
}

.market-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: rgba(45, 55, 72, 0.5);
    border-radius: 4px;
}

.coin-info {
    display: flex;
    flex-direction: column;
}

.coin-name {
    font-size: 10px;
    font-weight: 600;
    color: #e2e8f0;
}

.coin-price {
    font-size: 8px;
    color: #94a3b8;
}

.coin-change {
    font-size: 8px;
    font-weight: 600;
}

/* Terminal Content */
.order-form {
    margin-bottom: 12px;
}

.order-type-selector {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.order-type {
    flex: 1;
    padding: 4px 8px;
    background: rgba(45, 55, 72, 0.5);
    border: 1px solid #4a5568;
    border-radius: 3px;
    color: #94a3b8;
    font-size: 8px;
    cursor: pointer;
}

.order-type.active {
    background: #f3ba2f;
    color: #1e2026;
    border-color: #f3ba2f;
}

.buy-sell-toggle {
    display: flex;
    margin-bottom: 8px;
}

.toggle-btn {
    flex: 1;
    padding: 6px;
    background: rgba(45, 55, 72, 0.5);
    border: 1px solid #4a5568;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
}

.toggle-btn.active {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.order-inputs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.input-group label {
    font-size: 7px;
    color: #94a3b8;
}

.input-group input {
    padding: 4px 6px;
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid #4a5568;
    border-radius: 3px;
    color: #e2e8f0;
    font-size: 8px;
}

.buy-button {
    padding: 6px 12px;
    background: linear-gradient(135deg, #f3ba2f, #f0b90b);
    color: #1e2026;
    border: none;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
}

.order-book {
    border-top: 1px solid #2d3748;
    padding-top: 8px;
}

.order-book h4 {
    font-size: 10px;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.order-book-content {
    max-height: 300px;
    overflow-y: auto;
    background-color: #2d3748;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.order-book-entries {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-entry {
    display: flex;
    justify-content: space-between;
    padding: 2px 4px;
    font-size: 7px;
}

.order-entry.ask {
    color: #ef4444;
}

.order-entry.bid {
    color: #10b981;
}

.order-book-section {
    margin-bottom: 0.5rem;
}

.order-book-section:last-child {
    margin-bottom: 0;
}

.order-book-spread {
    text-align: center;
    padding: 0.5rem;
    background-color: #374151;
    border-radius: 0.25rem;
    margin: 0.5rem 0;
    border: 1px solid #4a5568;
}

.spread-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.125rem;
}

.spread-label {
    font-size: 0.625rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Add subtle animation to the slideshow container */
.promotional-slideshow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(243, 186, 47, 0.1) 0%, rgba(240, 185, 11, 0.05) 100%);
    border-radius: 0.75rem;
    z-index: 1;
    pointer-events: none;
}



/* Add hover effects to interactive elements */
.order-type:hover, .toggle-btn:hover, .buy-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.order-type:hover {
    background: rgba(243, 186, 47, 0.8);
}

.toggle-btn:hover {
    background: rgba(16, 185, 129, 0.8);
}

.buy-button:hover {
    background: linear-gradient(135deg, #f0b90b, #f3ba2f);
    box-shadow: 0 4px 12px rgba(243, 186, 47, 0.4);
}

/* Add subtle animations to data updates */
.price-change, .balance-change, .coin-change {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.price-change.positive, .balance-change.positive, .coin-change.positive {
    animation: priceUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.price-change.negative, .balance-change.negative, .coin-change.negative {
    animation: priceDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.price-change::after, .balance-change::after, .coin-change::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: currentColor;
    opacity: 0;
    border-radius: 2px;
    animation: dataPulse 2s ease-in-out infinite;
}

@keyframes priceUp {
    0% { transform: scale(1) translateY(0); }
    30% { transform: scale(1.15) translateY(-2px); }
    100% { transform: scale(1) translateY(0); }
}

@keyframes priceDown {
    0% { transform: scale(1) translateY(0); }
    30% { transform: scale(1.08) translateY(1px); }
    100% { transform: scale(1) translateY(0); }
}

@keyframes dataPulse {
    0%, 100% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 0.1; transform: scaleX(1); }
}

/* Add loading shimmer effect to some elements */
.asset-amount, .stat-value, .coin-price {
    position: relative;
    overflow: hidden;
}

.asset-amount::after, .stat-value::after, .coin-price::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}


/* Clean hero background - no patterns or floating elements */

/* Responsive Design for Empty Placeholder */
@media (max-width: 768px) {
    .hero {
        padding: 30px 15px;
    }

    .bitkinn-scene {
        height: 700px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 20px 10px;
    }

    .bitkinn-scene {
        height: 600px;
        border-radius: 8px;
    }
}

/* Market Overview Section */
.market-overview {
    padding: 4rem 0;
    background-color: #1e2026; /* Binance dark color */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 2s infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    position: relative;
}

.section-title::after::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    animation: livePulseRing 2s infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes livePulseRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.2;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 500;
}

.last-update {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-left: 0.5rem;
    font-weight: 400;
    opacity: 0.8;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 2s infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    position: relative;
}

.live-dot::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    animation: livePulseRing 2s infinite;
}

.section-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: #2d3748;
    color: #94a3b8;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #f3ba2f, #f0b90b); /* Binance yellow/orange */
    color: #1e2026; /* Dark text for contrast */
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(243, 186, 47, 0.3);
}

.filter-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.market-table {
    background-color: #1e2026; /* Binance dark color */
    border-radius: 1rem;
    border: 1px solid #2d3748;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background-color: #2d3748;
    font-weight: 600;
    color: #e2e8f0;
}

.table-body {
    max-height: 400px;
    overflow-y: auto;
}

.market-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #2d3748;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.market-row:hover {
    background-color: #2d3748;
    transform: translateX(4px);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.market-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, #f3ba2f, #f0b90b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.market-row:hover::before {
    opacity: 1;
}

.coin-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.market-row:hover .coin-icon {
    transform: scale(1.1);
}

.col-price, .col-change, .col-volume {
    transition: all 0.3s ease;
    font-weight: 500;
}

.col-change {
    position: relative;
}

.col-change::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.price-up::after {
    background: #10b981;
}

.price-down::after {
    background: #ef4444;
}

.market-row:hover .col-change::after {
    width: 100%;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coin-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.coin-name {
    font-weight: 600;
    color: #e2e8f0;
}

.coin-symbol {
    color: #94a3b8;
    font-size: 0.875rem;
}

.price-up {
    color: #10b981;
}

.price-down {
    color: #ef4444;
}

.price-neutral {
    color: #94a3b8;
}

.mini-sparkline {
    width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-sparkline svg {
    width: 100%;
    height: 100%;
}

.mini-sparkline polyline {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.trade-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    transition: all 0.3s ease;
}

.trade-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(243, 186, 47, 0.3);
}

.change-arrow {
    margin-right: 0.25rem;
    font-size: 0.8rem;
    animation: pulseChange 0.5s ease;
}

@keyframes pulseChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Trading Interface */
.trading-preview {
    padding: 4rem 0;
    background-color: #0a0e1a;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

.trading-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.trading-panel,
.order-book {
    background-color: #1a1f2e;
    border-radius: 1rem;
    border: 1px solid #2d3748;
    padding: 1.5rem;
}

.order-book-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-book-header h4 {
    color: #e2e8f0;
    margin: 0;
}

.ob-tabs {
    display: flex;
    gap: 0.5rem;
}

.ob-tab {
    padding: 0.4rem 0.8rem;
    background-color: #2d3748;
    color: #94a3b8;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.ob-tab.active {
    background: linear-gradient(135deg, #f3ba2f, #f0b90b);
    color: #1e2026;
}

.ob-tab:hover {
    background-color: #374151;
    color: #e2e8f0;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.trading-pair {
    text-align: right;
}

.pair-name {
    display: block;
    font-weight: 600;
    color: #e2e8f0;
}

.pair-price {
    display: block;
    color: #10b981;
    font-size: 0.875rem;
}

.order-type {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.order-btn {
    flex: 1;
    padding: 0.5rem;
    background-color: #2d3748;
    color: #94a3b8;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-btn.active {
    background: linear-gradient(135deg, #f3ba2f, #f0b90b); /* Binance yellow/orange */
    color: #1e2026; /* Dark text for contrast */
}

.buy-sell-tabs {
    display: flex;
    margin-bottom: 1rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    background-color: #2d3748;
    color: #94a3b8;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #f3ba2f, #f0b90b); /* Binance yellow/orange */
    color: #1e2026; /* Dark text for contrast */
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background-color: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 0.5rem;
    color: #e2e8f0;
    font-size: 0.875rem;
}

.form-input:focus {
    outline: none;
    border-color: #f3ba2f; /* Binance yellow/orange */
}

.form-input[readonly] {
    background-color: #374151;
    color: #9ca3af;
}

/* Announcements Section */
.announcements {
    padding: 4rem 0;
    background-color: #1e2026; /* Binance dark color */
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.announcement-card {
    background-color: #2d3748;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #374151;
    transition: transform 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-4px);
    border-color: #f3ba2f; /* Binance yellow/orange */
}

.announcement-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f3ba2f, #f0b90b); /* Binance yellow/orange */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e2026; /* Dark text for contrast */
    margin-bottom: 1rem;
}

.announcement-content h3 {
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.announcement-content p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.announcement-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.date {
    color: #6b7280;
}

.category {
    background-color: #374151;
    color: #d1d5db;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #0a0e1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #1a1f2e;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #2d3748;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #f3ba2f; /* Binance yellow/orange */
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f3ba2f, #f0b90b); /* Binance yellow/orange */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e2026; /* Dark text for contrast */
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #1e2026; /* Binance dark color */
    border-top: 1px solid #2d3748;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #f3ba2f, #f0b90b); /* Binance yellow/orange */
    color: #1e2026; /* Dark text for contrast */
    transform: translateY(-2px);
}

.footer-section h4 {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f3ba2f; /* Binance yellow/orange */
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
}

.footer-disclaimer {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-copyright {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Payment Modal Styles */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.payment-modal.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.payment-modal.active .payment-modal-content {
    transform: translateY(0);
}

.payment-option-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    text-align: left;
}

.payment-option-btn:hover {
    background: #e9ecef;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-instructions {
    background: #f3f4f6;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.payment-success {
    text-align: center;
    color: #10b981;
}

.payment-error {
    text-align: center;
    color: #ef4444;
}

.payment-loading {
    text-align: center;
    color: #3b82f6;
}

/* Payment Status Indicators */
.payment-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.payment-status.pending {
    background: #fef3c7;
    color: #f59e0b;
}

.payment-status.completed {
    background: #d1fae5;
    color: #10b981;
}

.payment-status.failed {
    background: #fee2e2;
    color: #ef4444;
}

/* Enhanced Dropdown Styles */
.dropdown-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f3f4f6;
    transform: translateX(5px);
}

/* Payment Method Icons */
.crypto-icon {
    color: #f59e0b;
}

.card-icon {
    color: #3b82f6;
}

.bank-icon {
    color: #10b981;
}

.p2p-icon {
    color: #8b5cf6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .trading-interface {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 2rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .table-header,
    .market-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .announcements-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .search-container {
        order: 3;
        flex: 1 1 100%;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* New BITkin Trading Station Scene */
.bitkinn-scene {
    width: 100%;
    height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f1b20;
}

/* Ready for new AI-generated image */
.bitkinn-scene img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    max-width: 1200px;
    max-height: 800px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bitkinn-scene {
        height: 700px;
    }

    .bitkinn-scene img {
        max-width: 1000px;
        max-height: 667px;
    }
}

@media (max-width: 480px) {
    .bitkinn-scene {
        height: 600px;
    }

    .bitkinn-scene img {
        max-width: 800px;
        max-height: 533px;
    }
}

/* Selected Option Styles */
.selected-option {
    background-color: rgba(255, 255, 255, 0.2); /* white, but 20% transparent */
    border-radius: 6px; /* smooth edges */
    transition: background-color 0.3s ease; /* smooth effect */
}

/* Hover and Focus States */
.option:hover,
.option:focus {
    background-color: rgba(255, 215, 0, 0.15); /* golden yellow, light + transparent */
}