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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Courier New', 'IBM Plex Mono', monospace;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

.terminal {
    width: 100%;
    max-width: 900px;
    background-color: #000000;
    border: 2px solid #ffffff;
    border-radius: 4px;
    overflow: hidden;
}

.terminal-header {
    background-color: #000000;
    padding: 10px 20px;
    border-bottom: 2px solid #ffffff;
    font-weight: bold;
    letter-spacing: 2px;
}

.content {
    padding: 30px;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.banner {
    max-width: 100%;
    height: auto;
}

.ca-section {
    margin-bottom: 40px;
}

.ca-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #ffffff;
    background-color: #000000;
    flex-wrap: wrap;
}

#contractAddress {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    word-break: break-all;
    min-width: 200px;
}

.copy-btn {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 8px 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-feedback {
    margin-top: 10px;
    font-size: 14px;
    color: #00ff00;
    min-height: 20px;
}

.section {
    margin-bottom: 30px;
}

h2 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
}

.prompt {
    margin: 8px 0;
    letter-spacing: 1px;
}

.box {
    border: 1px solid #ffffff;
    padding: 20px;
    margin: 15px 0;
    background-color: #000000;
}

.line {
    margin: 8px 0;
    font-size: 14px;
}

.typing-line {
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
}

.typing-line.active {
    opacity: 1;
}

.typing-line.active::after {
    content: '█';
    animation: blink 0.7s infinite;
    margin-left: 2px;
}

.typing-line.complete {
    opacity: 1;
}

.typing-line.complete::after {
    content: '';
}

.stats p {
    margin: 10px 0;
    letter-spacing: 1px;
}

.green {
    color: #00ff00;
}

.yellow {
    color: #ffcc00;
}

.red {
    color: #ff4444;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.links p {
    font-size: 14px;
}

.link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link:hover {
    color: #cccccc;
}

.footer {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #ffffff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
}

/* Blinking cursor animation */
.blink {
    animation: blink 1s infinite;
}

.blink-slow {
    animation: blink 2s infinite;
}

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


/* Responsive */
@media (max-width: 768px) {
    .logo {
        max-width: 100px;
    }

    .content {
        padding: 20px;
    }

    h2 {
        font-size: 14px;
    }

    .footer {
        font-size: 14px;
    }

    .ca-box {
        flex-direction: column;
        align-items: stretch;
    }

    #contractAddress {
        font-size: 12px;
    }

    .copy-btn {
        width: 100%;
    }
}
