/* RESET & BASICS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    color: #f0f0f0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* COLORS */
:root {
    --primary: #000000;
    --accent: #8A2BE2; /* BlueViolet / Purple */
    --accent-hover: #9932CC;
    --text: #f0f0f0;
    --dark-box: #111;
}

/* LAYOUT */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 60px;
}

h1 {
    color: var(--accent);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    color: var(--accent);
    margin-bottom: 20px;
}

h2.subtitle, h2.subtitle-right {
    color: var(--accent);
    margin: 40px 0;
}

h2.subtitle-right {
    text-align: right;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
    float: right;
    clear: both;
    width: 100%;
}

p {
    margin-bottom: 20px;
    font-weight: 300;
}

/* --- HOME PAGE SPECIFICS --- */
.home-header {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
}

.header-content {
    /* Kept simple for centering */
    display: block;
}

.home-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.notice-box {
    border: 1px solid #333;
    padding: 15px;
    margin: 30px 0;
    font-size: 0.9rem;
    color: #bbb;
}

.signature {
    margin-top: 40px;
}

/* --- COLLABS SPECIFICS --- */
.collab-list {
    margin: 20px 0 20px 40px;
}

.collab-list li {
    margin-bottom: 15px;
}

.contact-box {
    background: var(--dark-box);
    padding: 20px;
    border-left: 4px solid var(--accent);
    margin-top: 30px;
}

/* --- NEWS & GAMEDEV SPECIFICS --- */
.news-container {
    margin: 40px 0;
}

.news-box {
    background-color: var(--dark-box);
    border: 1px solid #333;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.news-box:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.news-header h3 {
    color: #fff;
    font-weight: 600;
}

.pulsing-icon {
    width: 15px;
    height: 15px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(138, 43, 226, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(138, 43, 226, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
    }
}

.highlight-text {
    background-color: var(--accent);
    color: #000;
    padding: 5px 10px;
    display: inline-block;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- IMAGES & ANIMATIONS --- */
img {
    width: 100%;
    height: auto;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 0 auto;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px var(--accent);
    border-color: var(--accent);
}

.image-wrapper { margin: 20px 0; }
.top-space { margin-top: 40px; }
.gap { height: 40px; }
.vertical-gallery img { margin-bottom: 40px; }

/* LINKS */
a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #fff;
    text-shadow: 0 0 5px var(--accent);
}

.fan-link {
    display: block;
    background: #111;
    border: 1px solid var(--accent);
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.fan-link:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-3px);
}

/* NAVIGATION (HAMBURGER) */
.menu-icon {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 5px;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: var(--accent);
    margin: 5px 0;
    transition: 0.4s;
}
.nav-overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.95);
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.nav-content a {
    padding: 8px;
    text-decoration: none;
    font-size: 24px;
    color: #818181;
    display: block;
    transition: 0.3s;
    margin: 15px 0;
    text-transform: uppercase;
}
.nav-content a:hover {
    color: var(--accent);
    transform: scale(1.1);
}
.closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* PASSWORD GATE */
.gate-container {
    max-width: 500px;
    margin: 100px auto;
    text-align: center;
    border: 1px solid var(--accent);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
}
.input-group { display: flex; margin-top: 30px; }
input[type="password"] {
    flex: 1;
    padding: 15px;
    background: #111;
    border: 1px solid #333;
    color: var(--accent);
    font-size: 16px;
    outline: none;
}
button {
    background: var(--accent);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    color: white;
    font-size: 20px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
button:hover { background: var(--accent-hover); }
.error-text {
    color: red;
    margin-top: 20px;
    font-size: 0.9rem;
    height: 20px;
}
.spinner {
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top: 3px solid #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* FOOTER */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.8rem;
}

/* SCROLL REVEAL */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}
.hidden { display: none; }