.hero-section {
    text-align: center;
    padding: 2.2rem 0 1.2rem 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero-title {
    font-size: clamp(2.4rem, 8vw, 7rem);
    text-transform: uppercase;
    margin-bottom: 10px;
    animation: flicker 2.5s linear infinite;
    line-height: 1.05;
    word-break: break-word;
}

.hero-slogan {
    font-size: clamp(1.1em, 3.2vw, 1.8em);
    margin-bottom: 1.7rem;
    color: rgba(57, 255, 20, 0.8);
}

.top-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    margin-bottom: 1.9rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.top-hero-buttons .terminal-button {
    font-size: clamp(0.95rem, 4vw, 1.3rem);
    padding: 0.72em 1.2em;
    min-width: 7.5em;
    border-radius: 0.7em;
    font-weight: bold;
    box-shadow: 0 0 1.4em #39FF1477;
    background: rgba(26,26,26,0.75);
    border: 0.13rem solid var(--neon-green);
    color: var(--neon-green);
    cursor: pointer;
    transition: background 0.17s, box-shadow 0.2s, color 0.18s;
}

.top-hero-buttons .terminal-button:hover,
.top-hero-buttons .terminal-button:focus {
    background: var(--neon-green);
    color: #111;
    box-shadow: 0 0 2.5em #39FF1480;
}

.ca-display-box {
    background-color: rgba(10, 10, 10, 0.8);
    border: var(--border-width) solid var(--neon-green);
    box-shadow: 0 0 1.1em var(--neon-green), inset 0 0 1.3em var(--neon-green);
    padding: 1.1em 1.4em;
    border-radius: 1.8em;
    display: inline-flex;
    align-items: center;
    gap: 1.1em;
    overflow: auto;
    max-width: 98vw;
    position: relative;
    margin-top: 1.6em;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.ca-address {
    font-size: clamp(1em, 3.8vw, 2.2em);
    color: var(--neon-green);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3s steps(40, end), blink-caret .75s step-end infinite;
    border-right: 0.22em solid transparent;
    max-width: 62vw;
    text-overflow: ellipsis;
}

.copy-button {
    background-color: var(--terminal-grey, #2a2a2a);
    border: var(--border-width, 0.13rem) solid var(--neon-green);
    color: var(--neon-green);
    padding: 0.7em 1.3em;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1em;
    cursor: pointer;
    border-radius: var(--border-radius-sm, 0.7rem);
    box-shadow: 0 0 5px var(--neon-green);
    transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.copy-button:hover {
    background-color: var(--neon-green);
    color: var(--terminal-black, #1a1a1a);
    box-shadow: 0 0 15px var(--neon-green);
}

.copy-button:active {
    transform: translateY(1px);
    box-shadow: 0 0 2px var(--neon-green);
}

/* Flickering animation for title */
@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 0.99;
        text-shadow: 0 0 5px var(--neon-green), 0 0 10px var(--neon-green), 0 0 15px var(--neon-green);
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.8;
        text-shadow: none;
    }
}

/* Typing effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Blinking cursor */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--neon-green); }
}

/* Responsive: Tablet */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.6rem, 5vw, 3em);
    }
    .hero-slogan {
        font-size: clamp(1em, 2.5vw, 1.2em);
    }
    .top-hero-buttons {
        flex-direction: column;
        gap: 0.7rem;
        max-width: 98vw;
    }
    .ca-display-box {
        flex-direction: column;
        gap: 0.7em;
        max-width: 99vw;
    }
    .ca-address {
        font-size: clamp(0.95em, 4vw, 1.2em);
        max-width: 80vw;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.1rem, 6vw, 2.2em);
    }
    .hero-slogan {
        font-size: clamp(0.92em, 3vw, 1em);
    }
    .copy-button {
        padding: 0.5em 0.9em;
        font-size: 0.91em;
    }
    .ca-display-box {
        padding: 0.7em 0.7em;
        border-radius: 1.3em;
    }
    .ca-address {
        max-width: 88vw;
        font-size: clamp(0.8em, 4vw, 1em);
    }
}
