@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=VT323&display=swap');

body {
    background-color: #000;
    color: #0f0;
    font-family: 'Share Tech Mono', monospace;
    cursor: url('images/cursor-full.png'), auto !important;
    line-height: 1.4;
    overflow-x: hidden;
}

body.cursor-4 { cursor: url('images/cursor-4.png'), auto !important; }
body.cursor-3 { cursor: url('images/cursor-3.png'), auto !important; }
body.cursor-2 { cursor: url('images/cursor-2.png'), auto !important; }
body.cursor-1 { cursor: url('images/cursor-crumb.png'), auto !important; }

::selection {
    background: #0f0;
    color: #000;
}

.navbar {
    background-color: #000 !important;
    border-bottom: 1px solid #0f0;
}

.navbar .container-fluid {
    display: flex;
    align-items: center;
    gap: px;
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
}

.navbar-collapse {
    background-color: #000;
    padding: 1rem;
    border: 1px solid #0f0;
    border-top: none;
    margin-top: 0.5rem;
}

.navbar-toggler {
    border: 1px solid #0f0 !important;
    color: #0f0 !important;
    order: 2;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 255, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand {
    color: #0f0 !important;
    font-size: 1.5rem;
    text-shadow: 0 0 5px #0f0;
    letter-spacing: 2px;
    animation: glitch 0.5s infinite alternate;
    text-shadow: 
        0.1em 0 0 rgba(0, 255, 0, 0.7),
        -0.1em -0.025em 0 rgba(255, 0, 0, 0.7),
        0.025em 0.1em 0 rgba(0, 0, 255, 0.7);
}

.nav-link {
    color: #0f0 !important;
    position: relative;
    margin: 0 10px;
}

.nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 8px #0f0;
}

.nav-link::after {
    content: ']';
    opacity: 0;
    transition: opacity 0.3s;
    right: -10px;
}

.nav-link:hover::after {
    opacity: 1;
}

.nav-link::before {
    content: '[';
    opacity: 0;
    transition: opacity 0.3s;
    left: -10px;
}

.nav-link:hover::before {
    opacity: 1;
}

#restoreCursor {
    background: #000;
    color: rgb(0, 255, 0);
    border: 1px solid #0f0;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    padding: 5px 15px;
    border-radius: 0;
    transition: all 0.3s;
    order: 1;
    margin-right: auto;
}

#restoreCursor:hover {
    background: #0f0;
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 10px #0f0;
}
.typewriter-container {
    text-align: center;
    width: 100%;
}

.typewriter-text {
    font-family: 'VT323', monospace;
    color: #0f0;
    text-shadow: 0 0 5px #0f0;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    text-align: left;
    visibility: hidden;
    border-right: 0.15em solid transparent;
}

.typewriter-text.welcome {
    position: relative;
    animation: 
        typing-welcome 1.5s steps(17) forwards,
        blink-welcome 1.5s steps(1) forwards,
        fade-in 0.1s forwards;
}

.typewriter-text.explore {
    animation: 
        typing-explore 1.5s steps(17) 1.6s forwards,
        blink-explore 1.5s steps(1) 1.6s forwards,
        fade-in 0.1s 1.6s forwards;
}

.typewriter-text.projects {
    animation: 
        typing-projects 1s steps(10) 3.2s forwards,
        blink 0.75s step-end infinite 3.2s,
        fade-in 0.1s 3.2s forwards;
}

.bakugan-title {
    font-family: 'VT323', monospace;
    color: #0f0;
    text-shadow: 0 0 5px #0f0;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    border-right: 0.15em solid #0f0;
}

.bakugan-title.wiki {
    animation: 
        typing-wiki 1.5s steps(18) forwards,
        blink 0.75s step-end infinite;
}

.bakugan-title.elements {
    animation: 
        typing-elements 1s steps(12) forwards,
        blink 0.75s step-end infinite;
}

.bakugan-title.brawlers {
    animation: 
        typing-brawlers 1.5s steps(18) forwards,
        blink 0.75s step-end infinite;
}


@keyframes blink-welcome {
    0%, 100% { border-right-color: transparent }
    50% { border-right-color: #0f0 }
}

@keyframes blink-explore {
    0%, 100% { border-right-color: transparent }
    50% { border-right-color: #0f0 }
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #0f0 }
}

@keyframes fade-in {
    to { visibility: visible }
}

@keyframes typing-welcome {
    from { width: 0 }
    to { width: 24ch }
}

@keyframes typing-explore {
    from { width: 0 }
    to { width: 31ch }
}

@keyframes typing-projects {
    from { width: 0 }
    to { width: 13ch }
}

@keyframes typing-wiki {
    from { width: 0 }
    to { width: 19ch }
}

@keyframes typing-elements {
    from { width: 0 }
    to { width: 13ch }
}

@keyframes typing-brawlers {
    from { width: 0 }
    to { width: 20ch }
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #0f0 }
}

.hero-section {
    background: #000;
    border-bottom: 1px solid #0f0;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(0, 255, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.hero-section h2 {
    color: #0f0;
    font-family: 'VT323', monospace;
    font-size: 2.5rem;
    text-shadow: 0 0 10px #0f0;
}

.hero-section p {
    color: #0f0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
}

.explore-button {
    background: #000;
    color: #0f0;
    border: 1px solid #0f0;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    border-radius: 0;
    padding: 10px 30px;
    transition: all 0.3s;
    letter-spacing: 2px;
}

.explore-button:hover {
    background: #0f0;
    color: #000;
    box-shadow: 0 0 20px #0f0;
    transform: translateY(-3px);
}

.card {
    background: #000;
    border: 1px solid #0f0;
    border-radius: 0;
    transition: all 0.3s;
    font-family: 'Share Tech Mono', monospace;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #0f0;
    box-shadow: 0 0 10px #0f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.5);
}

.card-title {
    color: #0f0;
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.card:hover .card-title {
    animation: glitch 0.5s infinite alternate;
    text-shadow: 
        0.1em 0 0 rgba(0, 255, 0, 0.7),
        -0.1em -0.025em 0 rgba(255, 0, 0, 0.7),
        0.025em 0.1em 0 rgba(0, 0, 255, 0.7);
}

@keyframes glitch {
    0%, 100% { 
        transform: translate(0);
        text-shadow: 
            0.1em 0 0 rgba(0, 255, 0, 0.7),
            -0.1em -0.025em 0 rgba(255, 0, 0, 0.7);
    }
    25% { 
        transform: translate(-0.025em, 0.01em);
        text-shadow: 
            -0.1em -0.025em 0 rgba(0, 255, 0, 0.7),
            0.025em 0.025em 0 rgba(255, 0, 0, 0.7);
    }
    50% { 
        transform: translate(0.01em, -0.01em);
        text-shadow: 
            0.025em 0.1em 0 rgba(0, 255, 0, 0.7),
            0.1em 0 0 rgba(255, 0, 0, 0.7);
    }
    75% { 
        transform: translate(-0.01em, 0.01em);
        text-shadow: 
            -0.025em 0 0 rgba(0, 255, 0, 0.7),
            -0.025em -0.025em 0 rgba(255, 0, 0, 0.7);
    }
}

.card-text {
    color: #0f0;
    font-size: 1rem;
}

.project-button {
    background: #000;
    color: #0f0;
    border: 1px solid #0f0;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    border-radius: 0;
    transition: all 0.3s;
}

.project-button:hover {
    background: #0f0;
    color: #000;
    box-shadow: 0 0 10px #0f0;
}

.bakugan-card {
    background: #000;
    border: 1px solid #0f0;
}

.bakugan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    width: 2px;
    box-shadow: 0 0 10px #0f0;
}

.table {
    background: #000;
    border: 1px solid #0f0;
    font-family: 'Share Tech Mono', monospace;
}

.table-dark th {
    background: #000;
    color: #0f0;
    border-color: #0f0;
    font-family: monospace;
    font-size: 1.3rem;
    text-shadow: 0 0 5px #0f0;
}

.table-dark td {
    color: #0f0;
    border-color: #0f0;
    background: rgba(0, 0, 0, 0.7);
}

.btn-red {
    background: #000;
    color: #ff0000;
    border: 1px solid #ff0000;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-red:hover {
    background: #ff0000;
    color: #000;
    box-shadow: 0 0 10px #f33a3a;
}

.btn-blue {
    background: #000;
    color: #2962ff;
    border: 1px solid #2962ff;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-blue:hover {
    background: #2962ff;
    color: #000;
    box-shadow: 0 0 10px #2962ff;
}

.btn-green {
    background: #000;
    color: #0f0;
    border: 1px solid #0f0;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-green:hover {
    background: #0f0;
    color: #000;
    box-shadow: 0 0 10px #00c853;
}

.btn-brown {
    background: #000;
    color: #e07149;
    border: 1px solid #e07149;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-brown:hover {
    background: #974122;
    color: #000;
    box-shadow: 0 0 10px #795548;
}

.btn-light {
    background: #000;
    color: #fffd89;
    border: 1px solid #fffd89;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-light:hover {
    background: #fffeb8;
    color: #000;
    box-shadow: 0 0 10px #ffffff;
}

.btn-purple {
    background: #000;
    color: #b300ff;
    border: 1px solid #b300ff;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-purple:hover {
    background: #b300ff;
    color: #000;
    box-shadow: 0 0 10px #7b1fa2;
}

footer {
    background: #000;
    border-top: 1px solid #0f0;
    color: #0a0;
    font-family: 'Share Tech Mono', monospace;
    padding: 2rem 0;
    text-align: center;
}

footer p::before {
    content: '> ';
    color: #0f0;
}

.rotate-attributes {
    animation: rotate 20s linear infinite;
    filter: rotate(90deg) brightness(1.5);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}