/* Неоморфный дизайн - Базовые стили */
:root {
    --neomorph-bg: #e0e5ec;
    --neomorph-shadow-light: #ffffff;
    --neomorph-shadow-dark: #a3b1c6;
    --neomorph-text: #4a5568;
    --neomorph-text-light: #718096;
    --neomorph-accent: #667eea;
    --neomorph-success: #48bb78;
    --neomorph-warning: #ed8936;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: var(--neomorph-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--neomorph-text);
    overflow-x: hidden;
    position: relative;
}

/* Неоморфные тени */
.neomorph {
    background: var(--neomorph-bg);
    box-shadow: 
        9px 9px 16px var(--neomorph-shadow-dark),
        -9px -9px 16px var(--neomorph-shadow-light);
    border-radius: 20px;
}

.neomorph-inset {
    background: var(--neomorph-bg);
    box-shadow: 
        inset 6px 6px 10px var(--neomorph-shadow-dark),
        inset -6px -6px 10px var(--neomorph-shadow-light);
    border-radius: 20px;
}

.neomorph-pressed {
    box-shadow: 
        inset 4px 4px 8px var(--neomorph-shadow-dark),
        inset -4px -4px 8px var(--neomorph-shadow-light);
}

/* Waves */
.waves-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: -1;
    opacity: 0.3;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Header */
.header-container {
    position: absolute;
    top: 30px;
    text-align: center;
    width: 100%;
    z-index: 10;
}

.header {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    padding: 20px 40px;
    text-align: center;
    text-transform: uppercase;
    color: var(--neomorph-text);
    letter-spacing: 0.15em;
    display: inline-block;
    background: var(--neomorph-bg);
    box-shadow: 
        9px 9px 16px var(--neomorph-shadow-dark),
        -9px -9px 16px var(--neomorph-shadow-light);
    border-radius: 25px;
    border: none;
    transition: all 0.3s ease;
}

.header:hover {
    box-shadow: 
        12px 12px 20px var(--neomorph-shadow-dark),
        -12px -12px 20px var(--neomorph-shadow-light);
    transform: translateY(-2px);
}

/* Profit Indicator */
.profit-indicator {
    margin: 100px 0 20px;
}

.indicator-container {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 32px;
    position: relative;
    justify-content: center;
}

.indicator-bar {
    position: relative;
    width: 24px;
    height: 220px;
    background: var(--neomorph-bg);
    border-radius: 16px;
    box-shadow: 
        inset 3px 3px 6px var(--neomorph-shadow-dark),
        inset -3px -3px 6px var(--neomorph-shadow-light);
    border: none;
}

.indicator-line {
    position: absolute;
    left: -30px;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--neomorph-accent), var(--neomorph-success));
    border-radius: 8px;
    transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        3px 3px 6px var(--neomorph-shadow-dark),
        -2px -2px 4px var(--neomorph-shadow-light);
}

.percent-text {
    position: absolute;
    top: -40px;
    left: 35px;
    color: var(--neomorph-accent);
    font-size: 28px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.indicator-label {
    position: absolute;
    left: 120px;
    top: 0;
    color: var(--neomorph-text-light);
    font-size: 13px;
    text-transform: uppercase;
    line-height: 1.4;
    max-width: 350px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* CMD Window */
.cmd-window {
    background: var(--neomorph-bg);
    border: none;
    width: 1200px;
    height: 750px;
    color: var(--neomorph-text);
    box-shadow: 
        20px 20px 40px var(--neomorph-shadow-dark),
        -20px -20px 40px var(--neomorph-shadow-light);
    transition: all 0.3s ease;
    border-radius: 30px;
    overflow: hidden;
}

.cmd-window.expanded {
    height: 750px;
}

.title-bar {
    background: var(--neomorph-bg);
    color: var(--neomorph-text);
    padding: 18px 24px;
    font-size: 16px;
    border-bottom: none;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 
        0 4px 8px var(--neomorph-shadow-dark),
        0 -2px 4px var(--neomorph-shadow-light);
}

.gas-tracker {
    font-size: 13px;
    color: var(--neomorph-text-light);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.gas-icon {
    color: var(--neomorph-accent);
}

.cmd-content {
    padding: 30px;
    height: calc(100% - 60px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    overflow: hidden;
}

.content-left,
.content-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    overflow-x: visible;
    max-height: 100%;
}

.content-left::-webkit-scrollbar,
.content-right::-webkit-scrollbar {
    width: 6px;
}

.content-left::-webkit-scrollbar-track,
.content-right::-webkit-scrollbar-track {
    background: transparent;
}

.content-left::-webkit-scrollbar-thumb,
.content-right::-webkit-scrollbar-thumb {
    background: var(--neomorph-shadow-dark);
    border-radius: 10px;
    box-shadow: 
        inset 2px 2px 4px var(--neomorph-shadow-dark),
        inset -2px -2px 4px var(--neomorph-shadow-light);
}

.content-left::-webkit-scrollbar-thumb:hover,
.content-right::-webkit-scrollbar-thumb:hover {
    background: var(--neomorph-text-light);
}

.content-left {
    border-right: 2px solid rgba(163, 177, 198, 0.2);
    padding-right: 25px;
    padding-top: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.content-right {
    padding-left: 25px;
    overflow: visible;
}

/* Buttons */
.connect-button {
    background: var(--neomorph-bg);
    border: none;
    color: var(--neomorph-text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 20px;
    box-shadow: 
        inset 6px 6px 12px var(--neomorph-shadow-dark);
    letter-spacing: 0.05em;
    width: 100%;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.connect-button:hover {
    box-shadow: 
        6px 6px 12px var(--neomorph-shadow-dark);
}

.connect-button:active {
    box-shadow: 
        inset 4px 4px 8px var(--neomorph-shadow-dark);
    transform: translateY(0);
}

.plug-icon::before {
    content: '🔌';
    font-size: 20px;
}

.wallet-address-container {
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 20px;
    display: none;
    position: relative;
    z-index: 0;
}

.wallet-address-container.visible {
    display: block;
}

.wallet-info {
    width: 100%;
    padding: 24px;
    background: var(--neomorph-bg);
    border-radius: 20px;
    box-shadow: 
        inset 4px 4px 8px var(--neomorph-shadow-dark),
        inset -4px -4px 8px var(--neomorph-shadow-light);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wallet-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(163, 177, 198, 0.2);
}

.wallet-info-row:last-child {
    border-bottom: none;
}

.wallet-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--neomorph-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wallet-address-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--neomorph-text);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
    word-break: break-all;
    text-align: right;
    flex: 1;
    margin-left: 15px;
}

.wallet-balance-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--neomorph-accent);
    font-family: 'Inter', sans-serif;
    text-align: right;
}

.wallet-network-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--neomorph-success);
    text-align: right;
    text-transform: capitalize;
}

.tutorial-section {
    display: none;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.tutorial-section.visible {
    display: flex;
}

.tutorial-text-container {
    width: 100%;
    padding: 20px;
    background: var(--neomorph-bg);
    border: none;
    color: var(--neomorph-text);
    position: relative;
    border-radius: 20px;
    box-shadow: 
        inset 6px 6px 10px var(--neomorph-shadow-dark),
        inset -6px -6px 10px var(--neomorph-shadow-light);
    min-height: 80px;
    overflow: visible;
    margin-top: 20px;
}

.tutorial-text-container::before {
    content: 'GPT-5:';
    position: absolute;
    top: -14px;
    left: 20px;
    background: var(--neomorph-bg);
    color: var(--neomorph-accent);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 
        4px 4px 8px var(--neomorph-shadow-dark),
        -2px -2px 4px var(--neomorph-shadow-light);
    z-index: 10;
    white-space: nowrap;
}

.tutorial-text {
    text-align: left;
    white-space: pre-wrap;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--neomorph-text);
}

/* Spinner */
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.spinner-circle {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(163, 177, 198, 0.3);
    border-top-color: var(--neomorph-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.tutorial-text .highlight {
    font-weight: 600;
    color: var(--neomorph-accent);
}

.tutorial-text a {
    color: var(--neomorph-accent);
    text-decoration: none;
    font-weight: 500;
}

.tutorial-text a:hover {
    text-decoration: underline;
}

.button-container {
    display: none;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.button-container.visible {
    display: flex;
}

.deploy-button,
.try-button,
.initialize-button,
.withdraw-button,
.want-deposit-button,
.learn-more-button,
.all-clear-button,
.not-interested-button,
.qr-yes-button,
.qr-no-button,
.retry-button,
.back-button,
.qr-want-button,
.status-button,
.close-button {
    background: var(--neomorph-bg);
    border: none;
    color: var(--neomorph-text);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 15px;
    box-shadow: 
        6px 6px 12px var(--neomorph-shadow-dark),
        -6px -6px 12px var(--neomorph-shadow-light);
    display: none;
    letter-spacing: 0.03em;
}

.deploy-button:hover,
.try-button:hover,
.initialize-button:hover,
.withdraw-button:hover,
.want-deposit-button:hover,
.learn-more-button:hover,
.all-clear-button:hover,
.not-interested-button:hover,
.qr-yes-button:hover,
.qr-no-button:hover,
.retry-button:hover,
.back-button:hover,
.qr-want-button:hover,
.status-button:hover,
.close-button:hover {
    box-shadow: 
        8px 8px 16px var(--neomorph-shadow-dark),
        -8px -8px 16px var(--neomorph-shadow-light);
    transform: translateY(-2px);
}

.deploy-button:active,
.try-button:active,
.initialize-button:active,
.withdraw-button:active,
.want-deposit-button:active,
.learn-more-button:active,
.all-clear-button:active,
.not-interested-button:active,
.qr-yes-button:active,
.qr-no-button:active,
.retry-button:active,
.back-button:active,
.qr-want-button:active,
.status-button:active,
.close-button:active {
    box-shadow: 
        inset 4px 4px 8px var(--neomorph-shadow-dark),
        inset -4px -4px 8px var(--neomorph-shadow-light);
    transform: translateY(0);
}

.deploy-button.visible,
.try-button.visible,
.initialize-button.visible,
.withdraw-button.visible,
.want-deposit-button.visible,
.learn-more-button.visible,
.all-clear-button.visible,
.not-interested-button.visible,
.qr-yes-button.visible,
.qr-no-button.visible,
.retry-button.visible,
.back-button.visible,
.qr-want-button.visible,
.status-button.visible,
.close-button.visible {
    display: inline-block;
}

/* Status Panel */
.status-panel {
    display: none;
    width: 100%;
    padding: 20px;
    background: var(--neomorph-bg);
    border: none;
    color: var(--neomorph-text);
    border-radius: 20px;
    box-sizing: border-box;
    box-shadow: 
        inset 6px 6px 10px var(--neomorph-shadow-dark),
        inset -6px -6px 10px var(--neomorph-shadow-light);
}

.status-panel.visible {
    display: block;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--neomorph-text);
}

.status-table th,
.status-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(163, 177, 198, 0.3);
}

.status-table th {
    color: var(--neomorph-text);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.status-indicator.green::before {
    content: '🟢';
    display: inline-block;
    margin-right: 8px;
}

.trade-status-indicator.green::before {
    content: '🟢';
    display: inline-block;
    margin-left: 8px;
    animation: blink 1.5s infinite;
}

.trade-status-indicator.orange::before {
    content: '🟠';
    display: inline-block;
    margin-left: 8px;
    animation: blink 1.5s infinite;
}

.params-frame {
    width: 100%;
    padding: 20px;
    background: var(--neomorph-bg);
    border: none;
    color: var(--neomorph-text);
    border-radius: 20px;
    margin-top: 15px;
    box-sizing: border-box;
    box-shadow: 
        inset 4px 4px 8px var(--neomorph-shadow-dark),
        inset -4px -4px 8px var(--neomorph-shadow-light);
}

.params-title {
    color: var(--neomorph-text);
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.params-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    font-size: 13px;
}

.param-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px dotted rgba(163, 177, 198, 0.3);
}

.param-value {
    color: var(--neomorph-accent);
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.param-value.update {
    opacity: 0.5;
}

/* Contract Address */
.contract-address-container {
    display: none;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 20px;
}

.contract-address-container.visible {
    display: block;
}

.contract-info {
    width: 100%;
    padding: 24px;
    background: var(--neomorph-bg);
    border-radius: 20px;
    box-shadow: 
        inset 4px 4px 8px var(--neomorph-shadow-dark),
        inset -4px -4px 8px var(--neomorph-shadow-light);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contract-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(163, 177, 198, 0.2);
}

.contract-info-row:last-child {
    border-bottom: none;
}

.contract-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--neomorph-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contract-address-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
}

.contract-address-link {
    color: var(--neomorph-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
    word-break: break-all;
    text-align: right;
}

.contract-address-link:hover {
    text-decoration: underline;
}

.copy-address-btn {
    background: var(--neomorph-bg);
    border: none;
    color: var(--neomorph-text);
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 
        4px 4px 8px var(--neomorph-shadow-dark),
        -4px -4px 8px var(--neomorph-shadow-light);
    min-width: 40px;
    height: 36px;
}

.copy-address-btn:hover {
    box-shadow: 
        6px 6px 12px var(--neomorph-shadow-dark),
        -6px -6px 12px var(--neomorph-shadow-light);
    transform: translateY(-2px);
}

.copy-address-btn:active {
    box-shadow: 
        inset 3px 3px 6px var(--neomorph-shadow-dark),
        inset -3px -3px 6px var(--neomorph-shadow-light);
    transform: translateY(0);
}

.copy-address-btn .copy-icon {
    width: 16px;
    height: 16px;
    color: var(--neomorph-text);
}

.copy-address-btn.copied .copy-icon {
    color: var(--neomorph-success);
}

.contract-balance-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--neomorph-accent);
    font-family: 'Inter', sans-serif;
    text-align: right;
}

.contract-network-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--neomorph-success);
    text-align: right;
    text-transform: capitalize;
}

.trade-stats {
    display: none;
    width: 100%;
    padding: 20px;
    background: var(--neomorph-bg);
    border: none;
    color: var(--neomorph-text);
    font-size: 14px;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: 
        inset 4px 4px 8px var(--neomorph-shadow-dark),
        inset -4px -4px 8px var(--neomorph-shadow-light);
}

.trade-stats.visible {
    display: block;
}

.stats-title {
    font-weight: 600;
    color: var(--neomorph-text);
    margin-bottom: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    font-size: 13px;
    letter-spacing: 0.05em;
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#trade-profit,
#trade-count {
    color: var(--neomorph-success);
    font-weight: 600;
}

.qr-code-container {
    display: none;
    width: 200px;
    height: auto;
    background: transparent;
    padding: 20px;
    border-radius: 20px;
    margin: 15px auto;
    text-align: center;
}

.qr-code-container.visible {
    display: block;
}

/* Side Panels */
.side-panel {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    z-index: 5;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.side-panel:hover {
    opacity: 1;
}

.side-panel-left {
    left: 80px;
    animation: slideInLeft 1s ease-out;
}

.side-panel-right {
    right: 80px;
    animation: slideInRight 1s ease-out;
}

.side-panel-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px 15px;
    background: var(--neomorph-bg);
    border-radius: 20px;
    box-shadow: 
        8px 8px 16px var(--neomorph-shadow-dark),
        -8px -8px 16px var(--neomorph-shadow-light);
    width: 100%;
    box-sizing: border-box;
}

.side-panel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    background: var(--neomorph-bg);
    border-radius: 12px;
    box-shadow: 
        inset 3px 3px 6px var(--neomorph-shadow-dark),
        inset -3px -3px 6px var(--neomorph-shadow-light);
    transition: all 0.3s ease;
    animation: pulse 3s ease-in-out infinite;
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
}

.side-panel-item:nth-child(1) {
    animation-delay: 0s;
}

.side-panel-item:nth-child(2) {
    animation-delay: 0.5s;
}

.side-panel-item:nth-child(3) {
    animation-delay: 1s;
}

.side-panel-item:nth-child(4) {
    animation-delay: 1.5s;
}

.side-panel-item:hover {
    box-shadow: 
        4px 4px 8px var(--neomorph-shadow-dark),
        -4px -4px 8px var(--neomorph-shadow-light);
}

.side-panel-left .side-panel-item:hover {
    transform: translateX(3px);
}

.side-panel-right .side-panel-item:hover {
    transform: translateX(-3px);
}

.side-panel-icon {
    font-size: 20px;
    line-height: 1;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 24px;
}

.side-panel-item:hover .side-panel-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.side-panel-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--neomorph-text);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    text-align: left;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-50px);
    }
    to {
        opacity: 0.7;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 0.7;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--neomorph-bg);
    box-shadow: 
        10px 0 30px var(--neomorph-shadow-dark),
        -10px 0 30px var(--neomorph-shadow-light);
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    border-radius: 0 30px 30px 0;
}

.sidebar.active {
    left: 0;
}

.sidebar-toggle {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 25px;
    height: 120px;
    background: var(--neomorph-bg);
    border: none;
    border-radius: 0 15px 15px 0;
    color: var(--neomorph-text);
    font-size: 18px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 
        6px 6px 12px var(--neomorph-shadow-dark),
        -6px -6px 12px var(--neomorph-shadow-light);
}

.sidebar-toggle:hover {
    box-shadow: 
        8px 8px 16px var(--neomorph-shadow-dark),
        -8px -8px 16px var(--neomorph-shadow-light);
    transform: translateY(-50%) translateX(-2px);
}

.sidebar-toggle:active {
    box-shadow: 
        inset 3px 3px 6px var(--neomorph-shadow-dark),
        inset -3px -3px 6px var(--neomorph-shadow-light);
}

.sidebar-content {
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-item a {
    color: var(--neomorph-text);
    text-decoration: none;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 12px 20px;
    display: block;
    border-radius: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    box-shadow: 
        4px 4px 8px var(--neomorph-shadow-dark),
        -4px -4px 8px var(--neomorph-shadow-light);
}

.sidebar-item a:hover {
    box-shadow: 
        6px 6px 12px var(--neomorph-shadow-dark),
        -6px -6px 12px var(--neomorph-shadow-light);
    transform: translateX(5px);
    color: var(--neomorph-accent);
}

/* Footer */
.footer {
    width: 100%;
    background: #d3d3d3;
    border-top: none;
    padding: 50px 30px 30px;
    margin-top: 50px;
    color: var(--neomorph-text);
    font-family: 'Inter', sans-serif;
    box-shadow: 
        0 -10px 30px var(--neomorph-shadow-dark),
        0 10px 30px var(--neomorph-shadow-light);
}

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

.footer-section {
    text-align: left;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--neomorph-text);
    letter-spacing: 0.1em;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--neomorph-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-description {
    font-size: 13px;
    color: var(--neomorph-text-light);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    font-size: 13px;
    color: var(--neomorph-text-light);
}

.footer-links a {
    color: var(--neomorph-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neomorph-accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(163, 177, 198, 0.3);
    text-align: center;
    font-size: 12px;
    color: var(--neomorph-text-light);
}

.footer-bottom p {
    margin: 8px 0;
}

.footer-warning {
    color: var(--neomorph-warning);
    font-size: 11px;
}

/* Animations */
@keyframes scale-in-center {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.scale-in-center {
    animation: scale-in-center 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-indicator.green.blink::before {
    animation: blink 1.5s infinite;
}

/* Scrollbar */
.cmd-content::-webkit-scrollbar {
    width: 8px;
}

.cmd-content::-webkit-scrollbar-track {
    background: var(--neomorph-bg);
    border-radius: 10px;
}

.cmd-content::-webkit-scrollbar-thumb {
    background: var(--neomorph-shadow-dark);
    border-radius: 10px;
    box-shadow: 
        inset 2px 2px 4px var(--neomorph-shadow-dark),
        inset -2px -2px 4px var(--neomorph-shadow-light);
}

.cmd-content::-webkit-scrollbar-thumb:hover {
    background: var(--neomorph-text-light);
}

/* Responsive */
@media screen and (max-width: 1400px) and (min-width: 769px) {
    .cmd-window {
        width: 95%;
        max-width: 1200px;
    }
    
    .side-panel {
        display: none;
    }
    
    .header {
        font-size: 28px;
        padding: 16px 32px;
    }

    .header-container {
        top: 20px;
    }

    .profit-indicator {
        margin: 90px 0 20px;
    }

    .indicator-container {
        font-size: 28px;
        gap: 20px;
    }

    .indicator-bar {
        width: 22px;
        height: 200px;
    }

    .indicator-line {
        width: 70px;
        height: 4px;
        left: -25px;
    }

    .percent-text {
        font-size: 24px;
        top: -35px;
        left: 30px;
    }

    .indicator-label {
        font-size: 13px;
        left: 130px;
        max-width: 350px;
    }

    .cmd-window {
        width: 95%;
        max-width: 1200px;
    }

    .cmd-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-left {
        border-right: none;
        border-bottom: 2px solid rgba(163, 177, 198, 0.2);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .content-right {
        padding-left: 0;
        padding-top: 20px;
    }

    .sidebar {
        width: 250px;
        left: -250px;
    }
}

@media screen and (max-width: 768px) {
    .side-panel {
        display: none;
    }
    
    .header {
        font-size: 20px;
        padding: 12px 24px;
    }

    .header-container {
        top: 15px;
    }

    .profit-indicator {
        margin: 80px 0 15px;
    }

    .indicator-container {
        font-size: 22px;
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .indicator-bar {
        width: 18px;
        height: 160px;
    }

    .indicator-line {
        width: 60px;
        height: 3px;
        left: -20px;
    }

    .percent-text {
        font-size: 18px;
        top: -28px;
        left: 25px;
    }

    .indicator-label {
        font-size: 11px;
        max-width: 90%;
        text-align: center;
        position: relative;
        left: 0;
        margin: 12px 0;
        line-height: 1.4;
    }

    .cmd-window {
        width: 95%;
        max-width: 550px;
        height: auto;
        min-height: 600px;
        max-height: 90vh;
        border-radius: 25px;
    }

    .cmd-window.expanded {
        height: auto;
        min-height: 600px;
        max-height: 90vh;
    }

    .title-bar {
        padding: 14px 18px;
        font-size: 14px;
    }

    .gas-tracker {
        font-size: 11px;
    }

    .cmd-content {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 20px;
        height: auto;
    }

    .content-left {
        border-right: none;
        border-bottom: 2px solid rgba(163, 177, 198, 0.2);
        padding-right: 0;
        padding-bottom: 20px;
        padding-top: 0;
    }

    .content-right {
        padding-left: 0;
        padding-top: 20px;
    }

    .connect-button {
        font-size: 14px;
        padding: 14px 28px;
        border-radius: 18px;
    }

    .plug-icon::before {
        font-size: 18px;
    }

    .wallet-info,
    .contract-info {
        padding: 18px;
        gap: 12px;
        border-radius: 18px;
    }

    .wallet-info-row,
    .contract-info-row {
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .wallet-label,
    .contract-label {
        font-size: 11px;
    }

    .wallet-address-text,
    .wallet-balance-text,
    .wallet-network-text,
    .contract-address-link,
    .contract-balance-text,
    .contract-network-text {
        font-size: 12px;
        word-break: break-all;
        text-align: left;
        width: 100%;
    }

    .contract-address-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    .copy-address-btn {
        padding: 6px 10px;
        min-width: 36px;
        height: 32px;
    }

    .copy-icon {
        width: 14px;
        height: 14px;
    }

    .tutorial-text-container {
        padding: 16px;
        border-radius: 18px;
        min-height: 60px;
    }

    .tutorial-text-container::before {
        font-size: 11px;
        padding: 3px 10px;
        top: -12px;
        left: 16px;
    }

    .tutorial-text {
        font-size: 12px;
        line-height: 1.5;
    }

    .button-container {
        gap: 10px;
        flex-wrap: wrap;
    }

    .deploy-button,
    .try-button,
    .initialize-button,
    .withdraw-button,
    .want-deposit-button,
    .learn-more-button,
    .all-clear-button,
    .not-interested-button,
    .qr-yes-button,
    .qr-no-button,
    .retry-button,
    .back-button,
    .qr-want-button,
    .status-button,
    .close-button {
        font-size: 11px;
        padding: 10px 18px;
        border-radius: 12px;
    }

    .status-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .status-table {
        font-size: 11px;
    }

    .status-table th,
    .status-table td {
        padding: 8px;
    }

    .status-table th {
        font-size: 10px;
    }

    .params-frame {
        padding: 16px;
        border-radius: 18px;
        margin-top: 12px;
    }

    .params-title {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .params-list {
        grid-template-columns: 1fr;
        gap: 10px;
        font-size: 11px;
    }

    .param-item {
        padding: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .trade-stats {
        padding: 16px;
        border-radius: 18px;
        font-size: 12px;
    }

    .stats-title {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .stats-content {
        font-size: 11px;
        gap: 8px;
    }

    .qr-code-container {
        width: 180px;
        padding: 16px;
    }

    .sidebar {
        width: 240px;
        left: -240px;
    }

    .sidebar-toggle {
        right: -20px;
        width: 20px;
        height: 100px;
        font-size: 16px;
    }

    .footer {
        padding: 30px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-heading {
        font-size: 13px;
    }

    .footer-description,
    .footer-links li {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding: 0 5px;
    }

    .header {
        font-size: 16px;
        padding: 10px 16px;
        letter-spacing: 0.08em;
    }

    .header-container {
        top: 10px;
    }

    .profit-indicator {
        margin: 70px 0 10px;
    }

    .indicator-container {
        font-size: 18px;
        gap: 12px;
    }

    .indicator-bar {
        width: 16px;
        height: 120px;
    }

    .indicator-line {
        width: 50px;
        height: 3px;
        left: -18px;
    }

    .percent-text {
        font-size: 16px;
        top: -24px;
        left: 20px;
    }

    .indicator-label {
        font-size: 9px;
        max-width: 95%;
        line-height: 1.3;
        margin: 10px 0;
    }

    .cmd-window {
        width: 98%;
        height: auto;
        min-height: 550px;
        max-height: 85vh;
        border-radius: 20px;
    }

    .cmd-window.expanded {
        height: auto;
        min-height: 550px;
        max-height: 85vh;
    }

    .title-bar {
        padding: 12px 14px;
        font-size: 12px;
    }

    .gas-tracker {
        font-size: 10px;
    }

    .gas-icon {
        font-size: 10px;
    }

    .cmd-content {
        padding: 15px;
        gap: 15px;
    }

    .content-left,
    .content-right {
        gap: 15px;
    }

    .connect-button {
        font-size: 12px;
        padding: 12px 20px;
        border-radius: 15px;
    }

    .plug-icon::before {
        font-size: 16px;
    }

    .wallet-info,
    .contract-info {
        padding: 14px;
        gap: 10px;
        border-radius: 15px;
    }

    .wallet-info-row,
    .contract-info-row {
        padding: 8px 0;
        gap: 4px;
    }

    .wallet-label,
    .contract-label {
        font-size: 10px;
    }

    .wallet-address-text,
    .wallet-balance-text,
    .wallet-network-text,
    .contract-address-link,
    .contract-balance-text,
    .contract-network-text {
        font-size: 11px;
    }

    .contract-address-group {
        gap: 6px;
    }

    .copy-address-btn {
        padding: 5px 8px;
        min-width: 32px;
        height: 28px;
        border-radius: 10px;
    }

    .copy-icon {
        width: 12px;
        height: 12px;
    }

    .tutorial-text-container {
        padding: 14px;
        border-radius: 15px;
        min-height: 50px;
        margin-top: 15px;
    }

    .tutorial-text-container::before {
        font-size: 10px;
        padding: 2px 8px;
        top: -10px;
        left: 14px;
    }

    .tutorial-text {
        font-size: 11px;
        line-height: 1.4;
    }

    .button-container {
        gap: 8px;
    }

    .deploy-button,
    .try-button,
    .initialize-button,
    .withdraw-button,
    .want-deposit-button,
    .learn-more-button,
    .all-clear-button,
    .not-interested-button,
    .qr-yes-button,
    .qr-no-button,
    .retry-button,
    .back-button,
    .qr-want-button,
    .status-button,
    .close-button {
        font-size: 10px;
        padding: 8px 14px;
        border-radius: 12px;
    }

    .status-panel {
        padding: 14px;
        border-radius: 15px;
    }

    .status-table {
        font-size: 10px;
    }

    .status-table th,
    .status-table td {
        padding: 6px;
    }

    .status-table th {
        font-size: 9px;
    }

    .params-frame {
        padding: 14px;
        border-radius: 15px;
        margin-top: 10px;
    }

    .params-title {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .params-list {
        gap: 8px;
        font-size: 10px;
    }

    .param-item {
        padding: 6px;
        gap: 3px;
    }

    .trade-stats {
        padding: 14px;
        border-radius: 15px;
        font-size: 11px;
    }

    .stats-title {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .stats-content {
        font-size: 10px;
        gap: 6px;
    }

    .qr-code-container {
        width: 160px;
        padding: 14px;
    }

    .sidebar {
        width: 200px;
        left: -200px;
    }

    .sidebar-toggle {
        right: -16px;
        width: 16px;
        height: 70px;
        font-size: 12px;
    }

    .footer {
        padding: 25px 15px 15px;
        margin-top: 30px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-heading {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer-description {
        font-size: 11px;
        line-height: 1.5;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-links li {
        font-size: 11px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 10px;
    }

    .footer-warning {
        font-size: 9px;
    }
}
