/* =========================================================
   GENERAL
   ========================================================= */

body {
    margin: 0;
    background: #080808;
    color: #dcdcdc;
    font-family: "Segoe UI", sans-serif;
}

h1, h2 {
    font-family: "Cinzel", serif;
    letter-spacing: 3px;
    text-align: center;
}

.section {
    padding: 80px 20px;
    max-width: 900px;
    margin: auto;
}


/* =========================================================
   FADE ANIMATION
   ========================================================= */

.fade-in {
    opacity: 0;
    animation: fadeIn 1.8s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    object-position: top;
    opacity: 0.5;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 10;
}

.title-glow {
    text-shadow: 0 0 25px rgba(200, 200, 255, 0.4);
    font-size: 74px;
}

.subtitle {
    font-size: 20px;
    opacity: 0.9;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about p {
    line-height: 1.8;
    text-align: center;
    font-size: 18px;
}


/* =========================================================
   ARTBOOK – GRID CARDS
   ========================================================= */

.gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
    margin-top: 40px;
    padding: 10px 0;
}

.art-card {
    background: #0e0e0e;
    border: 1px solid #242424;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(0,0,0,0.7);
    transition: 0.3s ease;
}

.art-card:hover {
    transform: scale(1.04);
    border-color: #666;
    box-shadow: 0 0 25px rgba(255,255,255,0.1);
}

.art-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid #666;
    box-shadow: 0 0 20px black;
    border-radius: 4px;
}

.close-btn {
    position: fixed;
    top: 20px;
    right: 40px;
    color: #ccc;
    font-size: 45px;
    cursor: pointer;
    user-select: none;
}

.close-btn:hover {
    color: #fff;
}


/* =========================================================
   TABS (Creatures / Environment)
   ========================================================= */

.art-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 40px 0;
}

.tab-btn {
    padding: 10px 22px;
    background: #111;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: .25s;
}

.tab-btn:hover {
    background: #222;
}

.tab-btn.active {
    background: #333;
    color: #fff;
    border-color: #777;
}

.gallery-tab {
    display: none;
    opacity: 0;
    transition: opacity .4s;
}

.gallery-tab.active {
    display: block;
    opacity: 1;
}


/* =========================================================
   INVESTMENT BLOCK
   ========================================================= */

.invest {
    text-align: center;
    margin-top: 40px;
}

.invest-text {
    font-size: 18px;
    line-height: 1.7;
    color: #cfcfcf;
    max-width: 700px;
    margin: 20px auto 40px auto;
}

.invest-box {
    border: 1px solid #333;
    background: #0f0f0f;
    padding: 35px;
    border-radius: 8px;
    max-width: 540px;
    margin: 0 auto;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.goal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 18px;
}

.goal-amount {
    color: #8ad98a;
    font-weight: 600;
}

.goal-target {
    color: #d8d8d8;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 26px;
    background: #1a1a1a;
    border: 1px solid #555;
    border-radius: 6px;
    overflow: hidden;
    margin: 18px 0 25px 0;
    box-shadow: inset 0 0 8px #000;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #3e6f3e, #5fb85f);
    box-shadow: 0 0 12px rgba(100,255,100,0.4);
    transition: width 1.3s ease;
}

.invest-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 28px;
    border: 1px solid #777;
    color: #eee;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    transition: .3s;
    background: #111;
}

.invest-btn:hover {
    background: #222;
    border-color: #ccc;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact p {
    text-align: center;
    font-size: 18px;
}

.contact a {
    color: #999;
    text-decoration: none;
    transition: .3s;
}

.contact a:hover {
    color: #ddd;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    text-align: center;
    padding: 30px;
    background: #0a0a0a;
    color: #666;
    font-size: 14px;
    margin-top: 50px;
}


/* =========================================================
   MOBILE FIXES
   ========================================================= */

@media (max-width: 768px) {

    .hero-img {
        height: 70vh;
        max-height: none;
        object-fit: cover;
        object-position: top;
    }

    .hero-text {
        top: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }
}

/* =========================================================
   SEO TITLE (HIDDEN OFFSCREEN)
   ========================================================= */
.seo-title {
    position: absolute;
    left: -9999px;
    top: -9999px;
}
