* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: #0a0a0c;
    background-image: 
        linear-gradient(rgba(0, 255, 76, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 76, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #00ff66;
    line-height: 1.6;
    padding-bottom: 50px;
}

header {
    background-color: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #00ff66;
    box-shadow: 0 0 15px rgba(0, 255, 85, 0.2);
}

header .logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #00ff66;
    text-shadow: 0 0 8px rgba(0, 255, 64, 0.6);
    letter-spacing: 2px;
}

.site-logo {
    height: 175px;
    width: auto;
    display: block;
}

nav a {
    color: #88ffaa;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #00ff66;
    border: 1px solid #00ff66;
    background: rgba(0, 255, 76, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 76, 0.3);
}

section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    text-align: center;
    border: 2px solid #00ff66;
    background: rgba(0, 255, 76, 0.02);
    padding: 4rem 2rem;
    margin-top: 3rem;
    box-shadow: inset 0 0 20px rgba(0, 255, 76, 0.1);
    position: relative;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px #00ff66;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #00ff66;
    text-shadow: 0 0 8px rgba(0, 255, 76, 0.4);
}

p {
    color: #aaeebb;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem auto;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.char-card {
    background-color: rgba(20, 20, 25, 0.9);
    border: 1px solid #00ff66;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 76, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                background-color 0.3s ease;
}

.char-card:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: rgba(0, 255, 76, 0.08);
    box-shadow: 0 0 25px rgba(0, 255, 76, 0.3);
}

.char-avatar {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(0, 255, 76, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.char-card:hover .char-avatar {
    transform: scale(1.1) rotate(3deg);
    filter: drop-shadow(0 0 15px rgba(0, 255, 76, 0.6));
}

.char-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.char-info {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.4s ease;
}

.char-card:hover .char-info {
    opacity: 1;
    max-height: 150px;
    transform: translateY(0);
    margin-top: 10px;
}

.char-info p {
    font-size: 0.9rem;
    color: #88ffaa;
    margin-bottom: 5px;
    text-align: center;
}

.enemy-section h2 {
    color: #ff3333;
    text-shadow: 0 0 8px rgba(255, 51, 51, 0.4);
}

.enemy-section .char-info {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.4s ease;
}

.char-card.enemy {
    border-color: #ff3333;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.05);
}

.char-card.enemy span.char-avatar {
    font-size: 3.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.char-card.enemy:hover {
    background-color: rgba(255, 51, 51, 0.08);
    box-shadow: 0 0 25px rgba(255, 51, 51, 0.3);
    border-color: #ff3333;
}

.char-card.enemy:hover .char-info {
    opacity: 1;
    max-height: 150px;
    transform: translateY(0);
    margin-top: 10px;
}

.char-card.enemy:hover span.char-avatar {
    transform: scale(1.2) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.enemy-section .char-info p {
    color: #ff8888;
}

.shop-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.shop-left {
    flex: 1;
    min-width: 320px;
}

.product-card {
    background: rgba(20, 20, 25, 0.9);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #00ff66;
    border-left: 5px solid #00ff66;
}

.price {
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 10px #00ff66;
    font-weight: bold;
    margin: 0.5rem 0;
}

.notice-board {
    flex: 1;
    min-width: 320px;
    background-color: rgba(15, 25, 15, 0.8);
    border: 2px dashed #00ff66;
    padding: 2rem;
    box-shadow: 0 0 15px rgba(0, 255, 76, 0.1);
    animation: border-flicker 4s infinite ease-in-out;
}

.notice-content {
    background: #000;
    padding: 1.5rem;
    border: 1px solid rgba(0, 255, 76, 0.3);
    margin-top: 1rem;
}

.notice-content ul {
    list-style-type: '>> ';
    margin-left: 1.5rem;
    color: #fff;
}

.notice-content li {
    margin-bottom: 0.8rem;
}

.alert-text {
    font-size: 0.85rem;
    color: #ffaa00;
    text-shadow: 0 0 5px rgba(255, 170, 0, 0.5);
    font-weight: bold;
    border: 1px dashed #ffaa00;
    padding: 10px;
    text-align: center;
    margin-top: 1rem;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-item {
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid rgba(0, 255, 76, 0.4);
    padding: 2rem;
    position: relative;
}

.project-item h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.vetting-section {
    border-top: 2px solid #00ff66;
    margin-top: 4rem;
}

.vetting-warning {
    color: #ffaa00;
    background: rgba(42, 31, 16, 0.8);
    padding: 1.5rem;
    border: 1px dashed #ffaa00;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.vetting-form {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(15, 15, 20, 0.9);
    padding: 3rem;
    border: 1px solid #00ff66;
    box-shadow: 0 0 20px rgba(0, 255, 76, 0.1);
}

.vetting-form label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.vetting-form input, .vetting-form textarea {
    background-color: #000;
    border: 1px solid rgba(0, 255, 76, 0.5);
    color: #fff;
    padding: 1rem;
    margin-bottom: 2rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.vetting-form input:focus, .vetting-form textarea:focus {
    border-color: #00ff66;
    box-shadow: 0 0 12px rgba(0, 255, 76, 0.4);
    background-color: rgba(0, 255, 76, 0.02);
    outline: none;
}

.submit-btn {
    background-color: #00ff66;
    color: #000;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1.2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #fff;
    box-shadow: 0 0 20px #fff;
}

.payment-notice {
    max-width: 700px;
    margin: 1.5rem auto 0 auto;
    font-size: 0.85rem;
    text-align: center;
    color: #88ffaa;
}

footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid rgba(0, 255, 76, 0.2);
    margin-top: 5rem;
    color: #44aa66;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

@keyframes border-flicker {
    0%, 100% { border-color: #00ff66; box-shadow: 0 0 15px rgba(0, 255, 76, 0.1); }
    50% { border-color: rgba(0, 255, 76, 0.4); box-shadow: 0 0 5px rgba(0, 255, 76, 0.02); }
}

.avatar-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem auto;
    display: block;
}

/* Force the base layout behavior for both images */
.avatar-container .char-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0 !important;
}

/* STATE 1: Default (No Hover) */
.char-card .static-img {
    display: block !important; /* Show the regular suit */
}
.char-card .hover-img {
    display: none !important;  /* Hide the battle suit completely */
}

/* STATE 2: On Hover */
.char-card:hover .static-img {
    display: none !important;  /* Hide the regular suit */
}
.char-card:hover .hover-img {
    display: block !important; /* Reveal the battle suit */
    transform: scale(1.05) rotate(2deg); /* Minor tactical pop effect */
}

/* ==========================================
   📚 HORIZONTAL COMIC SCROLLING GALLERY
   ========================================== */

.comic-section h2 {
    text-shadow: 0 0 10px rgba(0, 255, 76, 0.4);
    text-transform: uppercase;
}

/* The horizontal slider track */
.comic-viewer {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto; /* Enables horizontal scrolling */
    overflow-y: hidden;
    padding: 2rem;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(0, 255, 76, 0.2);
    box-shadow: inset 0 0 15px rgba(0, 255, 76, 0.05);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for mobile screens */
}

/* Individual comic page panels */
.comic-page {
    flex: 0 0 auto; /* Stops the pages from shrinking or compressing */
    width: 300px; /* Perfect width for vertical comic page aspect ratios */
    text-align: center;
    background: #000;
    border: 1px solid #00ff66;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 76, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comic-page img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-bottom: 1px dashed rgba(0, 255, 76, 0.3);
    margin-bottom: 8px;
}

.comic-page span {
    font-size: 0.85rem;
    color: #00ff66;
    letter-spacing: 1px;
}

/* Hover effect on a page to examine details closely */
.comic-page:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 15px rgba(0, 255, 76, 0.3);
}

/* ==========================================
   🟢 THEMED GREEN SCROLLBAR FOR CUSTOM TRACK
   ========================================== */

.comic-viewer::-webkit-scrollbar {
    height: 10px; /* Height of the horizontal bar */
}

.comic-viewer::-webkit-scrollbar-track {
    background: #000;
    border: 1px solid rgba(0, 255, 76, 0.2);
}

.comic-viewer::-webkit-scrollbar-thumb {
    background: #00ff66;
    border-radius: 2px;
    box-shadow: 0 0 8px #00ff66;
}

.comic-viewer::-webkit-scrollbar-thumb:hover {
    background: #fff;
    box-shadow: 0 0 12px #fff;
}

/* Individual comic page panels */
.comic-page {
    flex: 0 0 auto; 
    height: 450px; /* Give the card a stable, hard vertical limit */
    width: auto; /* Let the width adjust naturally based on the image size */
    background: #000;
    border: 1px solid #00ff66;
    padding: 12px;
    box-shadow: 0 0 10px rgba(0, 255, 76, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Force the image to stay completely inside the lines */
.comic-page img {
    max-width: 100%;
    max-height: 85%; /* Keeps a 15% safety buffer at the bottom for the text */
    width: auto;
    height: auto;
    object-fit: contain; /* Ensures the whole image scales down without clipping */
    display: block;
}