/* 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', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f7931e, #ffb347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #ff00f7);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: linear-gradient(135deg, #00d4ff, #ff00f7);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ff00f7, #cc0066);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f7931e, #ff6600);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00ff88, #00cc66);
    top: 40%;
    right: 40%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #ff00f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 5px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.trading-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 350px;
    animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.crypto-price {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.symbol {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.change {
    font-size: 0.9rem;
    font-weight: 600;
}

.change.positive {
    color: #00ff88;
}

.change.negative {
    color: #ff4757;
}

.mini-chart {
    height: 60px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.1);
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, #00d4ff 100%);
    clip-path: polygon(0 100%, 10% 80%, 25% 85%, 40% 70%, 55% 75%, 70% 60%, 85% 65%, 100% 50%, 100% 100%);
}

/* Markets Section */
.markets {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.markets h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.market-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.crypto-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.crypto-icon.btc {
    background: linear-gradient(135deg, #f7931e, #ffb347);
}

.crypto-icon.eth {
    background: linear-gradient(135deg, #627eea, #8a9df4);
}

.crypto-icon.ada {
    background: linear-gradient(135deg, #0033ad, #4169e1);
}

.crypto-icon.sol {
    background: linear-gradient(135deg, #9945ff, #14f195);
}

.crypto-icon.dot {
    background: linear-gradient(135deg, #e6007a, #ff69b4);
}

.crypto-icon.link {
    background: linear-gradient(135deg, #375bd2, #6495ed);
}

.crypto-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.symbol {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.price-info {
    text-align: right;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #ff00f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 0, 247, 0.1);
}

.portfolio-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.balance-card .balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.balance-change {
    color: #00ff88;
    font-size: 1rem;
    margin-bottom: 30px;
}

.balance-chart {
    height: 100px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.chart-bars {
    display: flex;
    gap: 8px;
    align-items: end;
    height: 100%;
}

.bar {
    width: 12px;
    background: linear-gradient(135deg, #00d4ff, #ff00f7);
    border-radius: 6px 6px 0 0;
    animation: barGrow 2s ease-out;
}

@keyframes barGrow {
    from { height: 0; }
    to { height: var(--height); }
}

.holdings-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.holding-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.holding-item:last-child {
    border-bottom: none;
}

.holding-symbol {
    font-weight: 700;
    color: #00d4ff;
}

.holding-amount {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 10px;
}

.holding-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.performance-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.performance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.performance-item:last-child {
    border-bottom: none;
}

.perf-label {
    color: rgba(255, 255, 255, 0.7);
}

.perf-value {
    font-weight: 600;
}

.perf-value.positive {
    color: #00ff88;
}

.perf-value.negative {
    color: #ff4757;
}

/* Trading Section */
.trading {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.trading h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trading-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.trading-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.panel-controls {
    display: flex;
    gap: 15px;
}

.control {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.control.active {
    background: linear-gradient(135deg, #00d4ff, #ff00f7);
    color: #ffffff;
}

.book-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
}

.book-orders {
    display: flex;
    flex-direction: column;
}

.order-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.order-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.order-row.sell {
    color: #ff4757;
}

.order-row.buy {
    color: #00ff88;
}

.spread {
    text-align: center;
    padding: 15px 0;
    font-weight: 600;
    color: #f7931e;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.trades-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
}

.trade-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.trade-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.trade-row.buy {
    color: #00ff88;
}

.trade-row.sell {
    color: #ff4757;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-section ul li:hover {
    color: #00d4ff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .market-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .trading-interface {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .trading-card {
        width: 100%;
        margin: 0 20px;
    }
    
    .container {
        padding: 0 15px;
    }
}/* 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', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f7931e, #ffb347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #ff00f7);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: linear-gradient(135deg, #00d4ff, #ff00f7);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ff00f7, #cc0066);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f7931e, #ff6600);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00ff88, #00cc66);
    top: 40%;
    right: 40%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #ff00f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 5px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.trading-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 350px;
    animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.crypto-price {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.symbol {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.change {
    font-size: 0.9rem;
    font-weight: 600;
}

.change.positive {
    color: #00ff88;
}

.change.negative {
    color: #ff4757;
}

.mini-chart {
    height: 60px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.1);
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, #00d4ff 100%);
    clip-path: polygon(0 100%, 10% 80%, 25% 85%, 40% 70%, 55% 75%, 70% 60%, 85% 65%, 100% 50%, 100% 100%);
}

/* Markets Section */
.markets {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.markets h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.market-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.crypto-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.crypto-icon.btc {
    background: linear-gradient(135deg, #f7931e, #ffb347);
}

.crypto-icon.eth {
    background: linear-gradient(135deg, #627eea, #8a9df4);
}

.crypto-icon.ada {
    background: linear-gradient(135deg, #0033ad, #4169e1);
}

.crypto-icon.sol {
    background: linear-gradient(135deg, #9945ff, #14f195);
}

.crypto-icon.dot {
    background: linear-gradient(135deg, #e6007a, #ff69b4);
}

.crypto-icon.link {
    background: linear-gradient(135deg, #375bd2, #6495ed);
}

.crypto-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.symbol {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.price-info {
    text-align: right;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #ff00f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 0, 247, 0.1);
}

.portfolio-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.balance-card .balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.balance-change {
    color: #00ff88;
    font-size: 1rem;
    margin-bottom: 30px;
}

.balance-chart {
    height: 100px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.chart-bars {
    display: flex;
    gap: 8px;
    align-items: end;
    height: 100%;
}

.bar {
    width: 12px;
    background: linear-gradient(135deg, #00d4ff, #ff00f7);
    border-radius: 6px 6px 0 0;
    animation: barGrow 2s ease-out;
}

@keyframes barGrow {
    from { height: 0; }
    to { height: var(--height); }
}

.holdings-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.holding-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.holding-item:last-child {
    border-bottom: none;
}

.holding-symbol {
    font-weight: 700;
    color: #00d4ff;
}

.holding-amount {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 10px;
}

.holding-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.performance-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.performance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.performance-item:last-child {
    border-bottom: none;
}

.perf-label {
    color: rgba(255, 255, 255, 0.7);
}

.perf-value {
    font-weight: 600;
}

.perf-value.positive {
    color: #00ff88;
}

.perf-value.negative {
    color: #ff4757;
}

/* Trading Section */
.trading {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.trading h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trading-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.trading-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.panel-controls {
    display: flex;
    gap: 15px;
}

.control {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.control.active {
    background: linear-gradient(135deg, #00d4ff, #ff00f7);
    color: #ffffff;
}

.book-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
}

.book-orders {
    display: flex;
    flex-direction: column;
}

.order-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.order-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.order-row.sell {
    color: #ff4757;
}

.order-row.buy {
    color: #00ff88;
}

.spread {
    text-align: center;
    padding: 15px 0;
    font-weight: 600;
    color: #f7931e;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.trades-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
}

.trade-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.trade-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.trade-row.buy {
    color: #00ff88;
}

.trade-row.sell {
    color: #ff4757;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-section ul li:hover {
    color: #00d4ff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .market-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .trading-interface {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .trading-card {
        width: 100%;
        margin: 0 20px;
    }
    
    .container {
        padding: 0 15px;
    }
}