body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #87CEEB, #E0F6FF);
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(135, 206, 235, 0.3);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    margin: 0;
    color: #2c5aa0;
    font-size: 24px;
    font-weight: bold;
}

.nav-social {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #2c5aa0;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(135, 206, 235, 0.1);
}

.social-link:hover {
    color: #1e3a8a;
    background: rgba(135, 206, 235, 0.3);
    transform: translateY(-2px);
}

/* Main Container */
#container {
    width: 100vw;
    height: 100vh;
    position: relative;
    margin-top: 70px; /* Space for navbar */
}

#controls {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

#controls h3 {
    margin: 0 0 10px 0;
    color: #2c5aa0;
}

#controls p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2c5aa0;
    font-size: 18px;
    z-index: 50;
}

/* Footer Styles */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(135, 206, 235, 0.3);
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 30px;
}

.footer-section h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-section h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social a {
    color: #2c5aa0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #1e3a8a;
}

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

.footer-section li {
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 30px 0;
    border-top: 1px solid rgba(135, 206, 235, 0.2);
    margin-top: 30px;
}

.footer-bottom p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    animation: modalSlideIn 0.5s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ice-scroll {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #d1ecf1 100%);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    position: relative;
}

.ice-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.scroll-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

.scroll-header h2 {
    margin: 0;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.close-btn {
    font-size: 32px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.scroll-content {
    padding: 40px;
    max-height: 70vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #f8faff 0%, #f0f8ff 100%);
}

.project-logo {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 248, 255, 0.6) 100%);
    border-radius: 15px;
    border: 2px solid rgba(44, 90, 160, 0.2);
}

.project-logo h1 {
    margin: 0 0 10px 0;
    font-size: 36px;
    color: #2c5aa0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
    font-style: italic;
}

.lore-section {
    line-height: 1.8;
    color: #333;
}

.lore-section h3 {
    color: #2c5aa0;
    font-size: 24px;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid rgba(44, 90, 160, 0.3);
    padding-bottom: 10px;
}

.lore-section h4 {
    color: #1e3a5f;
    font-size: 20px;
    margin: 25px 0 10px 0;
}

.lore-section p {
    margin: 15px 0;
    font-size: 16px;
}

.lore-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.lore-section li {
    margin: 8px 0;
    font-size: 16px;
}

.project-stats {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(30, 58, 95, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.call-to-action {
    text-align: center;
    margin: 40px 0 20px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(30, 58, 95, 0.05) 100%);
    border-radius: 15px;
    border: 2px solid rgba(44, 90, 160, 0.3);
}

.call-to-action h3 {
    color: #2c5aa0;
    margin: 0 0 15px 0;
    font-size: 24px;
}

.call-to-action p {
    margin: 0 0 25px 0;
    font-size: 16px;
    color: #666;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.cta-btn.secondary {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.cta-btn.secondary:hover {
    background: #6c757d;
    transform: translateY(-2px);
}

/* DEX Modal Styles */
.dex-interface {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    color: white;
}

.dex-interface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(100, 150, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 100, 150, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.dex-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.dex-header h2 {
    margin: 0;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dex-content {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.dex-logo {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(100, 150, 255, 0.1) 100%);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.dex-logo h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
    color: #ff6b6b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.token-info {
    margin-bottom: 30px;
}

.token-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(100, 150, 255, 0.1) 100%);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.token-card h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #ff6b6b;
}

.token-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.price {
    font-size: 28px;
    font-weight: bold;
    color: #4ecdc4;
}

.change.positive {
    color: #4ecdc4;
    font-weight: bold;
}

.change.negative {
    color: #ff6b6b;
    font-weight: bold;
}

.token-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.token-stats .stat {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #ccc;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #4ecdc4;
}

.trading-section {
    margin-bottom: 30px;
}

.trade-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(100, 150, 255, 0.1) 100%);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.trade-card h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #ff6b6b;
    text-align: center;
}

.trade-inputs {
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
}

.input-group input::placeholder {
    color: #999;
}

.currency {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #4ecdc4;
    font-weight: bold;
    font-size: 14px;
}

.swap-arrow {
    text-align: center;
    font-size: 24px;
    color: #ff6b6b;
    margin: 10px 0;
}

.trade-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.trade-btn {
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trade-btn.buy {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.trade-btn.buy:hover {
    background: linear-gradient(135deg, #44a08d 0%, #4ecdc4 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.trade-btn.sell {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.trade-btn.sell:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.portfolio-section {
    margin-bottom: 30px;
}

.portfolio-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #ff6b6b;
    text-align: center;
}

.portfolio-stats {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(100, 150, 255, 0.1) 100%);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

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

.portfolio-item .label {
    color: #ccc;
    font-size: 14px;
}

.portfolio-item .value {
    color: #4ecdc4;
    font-weight: bold;
    font-size: 16px;
}

.dex-footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dex-footer p {
    margin: 5px 0;
    color: #ccc;
    font-size: 14px;
}

.dex-footer p:first-child {
    color: #ff6b6b;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 10px 20px;
    }
    
    .nav-logo h2 {
        font-size: 20px;
    }
    
    .social-link {
        font-size: 18px;
        padding: 6px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    #controls {
        top: 10px;
        left: 10px;
        padding: 10px;
    }
    
    #controls h3 {
        font-size: 16px;
    }
    
    #controls p {
        font-size: 12px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .scroll-content {
        padding: 20px;
    }
    
    .project-logo h1 {
        font-size: 28px;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* DEX responsive styles */
    .dex-content {
        padding: 20px;
    }
    
    .dex-logo h1 {
        font-size: 24px;
    }
    
    .token-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .trade-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .trade-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
} 