* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent-orange: #e4b21f;
    --accent-green: #48cabe;
    --light-green: #019eaf;
    --dark-green: #003672;
    --labels: rgba(16, 9, 84, 0.5);
}


body {
    font-family: "Arial Narrow", Arial, sans-serif;
    background-color:var(--dark-green);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Main Tower Container */
.main-tower {
    position: relative;
    background-image: url('img/tower.jpeg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Main Plane Container */
.main-plane {
    position: relative;
}

/* Plane Section */
.plane-section {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.plane-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Explore Text Section */
.explore-text-section {
    position: relative;
    padding: 80px 40px;
    background-color: var(--light-green);
    z-index: 1;
}

.explore-text-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.download-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin-top: 2rem;
    max-width: 310px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-green));
    color: var(--dark-green);
    text-decoration: none;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    align-self: start;
    text-align: center;
    box-sizing: border-box;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Header Section */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.header-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    position: absolute;
    top: 20px;
    left: 40px;
    height: 100px;
    width: auto;
    opacity: 1 !important;
    z-index: 1001;
}
                                                                                                                                                                                                                                                                                                                                                                                             
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
    position: absolute;
    top: 1.85rem;
    right: 1.75rem;
    align-items: center;
    justify-content: center;
}

.menu-toggle.is-open {
    position: absolute;
    top: 1.25rem;
    right: 1.75rem;
    width: 48px;
    height: 49px;
    font-size: 48px;
}

.menu-toggle.is-open span {
    background-color: var(--accent-orange);
    width: 20px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--accent-orange);
    display: block;
    transition: transform 260ms ease, opacity 200ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu Panel */
.menu-panel {
    position: absolute;
    top: 1.25rem;
    right: calc(1.75rem + 44px + 0.5rem);
    display: flex;
    gap: 1.25rem;
    align-items: center;
    font-family: "Arial Narrow", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    padding: 0.85rem 1.5rem;
    border: 1px solid var(--accent-orange);
    background: var(--dark-green);
    backdrop-filter: blur(12px);
    transition: opacity 220ms ease, visibility 220ms ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 999;
    height: fit-content;
    box-sizing: border-box;
}

.menu-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-panel a {
    color: #ffffff;
    text-decoration: none;
    transition: color 200ms ease;
}

.menu-panel a:hover {
    color: var(--accent-green);
}

/* Hero Section */
.hero {
    display: grid;
    place-items: center;
    min-height: 80vh;
    padding: 280px 40px 40px;
    text-align: center;
}

.hero-title {
    font-size: 5rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0px 40px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    min-height: 100px;
}

.stat-item {
    display: grid;
    gap: 0px;
    background: radial-gradient(
        ellipse,
        var(--labels) 0%,
        rgba(255, 0, 0, 0) 70%
    );
}

.stat-label {
    font-size: 1.8rem;
    letter-spacing: 2px;
    /* color: var(--dark-green); */
    color:white;
}

.stat-value {
    font-family: Georgia, serif;
    font-size: 2.1rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    margin-top: -10px;
}
/* Tower Section */
.tower-section {
    position: relative;
    padding: 40px 0;
    min-height: 800px;
    width: 100%;
}

.tower-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/creatures.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: var(--bg-opacity, 0);
    transition: opacity 0.1s ease-out;
    z-index: 0;
}

.tower-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 708px;
    padding: 20px;
    text-align: center;
    background: radial-gradient(
        ellipse,
        var(--labels) 0%,
        rgba(255, 0, 0, 0) 70%
    );
}

.bioluminescent-text {
    font-size: 3.6rem;
    color: #ffffff;
    line-height: 1.8;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    opacity: 0;
    transition: opacity 0.1s ease-out;
}

/* Section Content (Explore, Invest, Live) */
.explore-section, .invest-section,  .live-section{
    padding: 80px 40px;
}

.explore-section {
    background: var(--light-green);
}

.explore-map img {
    height: 100%;
    width: 100%;
}

.explore-fade {
    background: linear-gradient(to top, var(--light-green), transparent);
    min-height: 200px;
}

.invest-section{
    background-color: var(--dark-green);
}
.live-section {
    background-color: var(--light-green);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.section-text {
    display: grid;
    gap: 20px;
}

.section-title {
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
}

.section-subtitle {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    color: #ffffff;
}

.section-description {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.8;
}

.section-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.section-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.invest-section .section-image {
    order: -1;
}

/* Footer Section */
.footer {
    position: relative;
    background-color: var(--dark-green);
    padding: 80px 40px 40px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     
    pointer-events: none;
    z-index: 1;
}

.footer > * {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-column {
    display: grid;
    gap: 20px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-green);
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.footer-list {
    list-style: none;
    display: grid;
    gap: 15px;
}

.footer-list li {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
}

.footer-brand {
    text-align: center;
    margin: 60px auto 40px;
    max-width: 514px;
}

.brand-name {
    font-size: 6rem;
    font-weight: bold;
    color: var(--accent-green);
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.brand-name span {
    flex: 0 0 auto;
}

.footer-copyright {
    text-align: center;
    padding-top: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: var(--accent-green);
    margin: 5px 0;
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .logo {
        height: 50px;
        top: 15px;
        left: 20px;
    }

    .menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 0;
        border: none;
        background: linear-gradient(180deg, var(--dark-green), var(--light-green));
        backdrop-filter: none;
        font-size: 1.5rem;
        z-index: 1000;
    }

    .menu-toggle.is-open {
        z-index: 1001;
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
    }

    .menu-toggle.is-open span {
        background-color: var(--accent-orange);
    }

    .hero {
        padding: 130px 20px 30px;
        min-height: 138px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
        min-height: 400px;
    }
    .stat-item {
        background: none;
    }
    .stat-value{
        font-size: 1.1rem;
    }
    .stat-label{
        font-size: 1.3rem;
    }
    .tower-section {
        min-height: 700px;
    }
    .main-tower {
        background-image: url('img/tower-mobile.jpeg');
    }
    .tower-section::before {
        background-image: url('img/creatures-mobile2.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .tower-overlay {
        top: 50%;
        left: 20%;
        transform: translate(-10%, -50%);
        max-width: calc(100% - 40px);
        padding: 20px;
        background: radial-gradient( ellipse, var(--labels) 60%, rgba(0, 255, 0, 0) 70% );
    }

    .bioluminescent-text {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .explore-section,
    .invest-section,
    .live-section {
        padding: 10px 10px;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .section-description {
        font-size: 1rem;
    }
    .section-image {
        height: auto;
        min-height: 300px;
    }
    
    .content-image {
        object-fit: contain;
        height: auto;
        min-height: 300px;
    }

    .invest-section .section-image {
        order: 0;
    }

    .footer {
        padding: 50px 20px 30px;
    }

    .footer::before {
        background: linear-gradient(to top, rgba(72, 202, 190, 0.4) 0%, rgba(72, 202, 190, 0.25) 30%, rgba(16, 66, 67, 0.15) 60%, var(--dark-green) 100%);
    }

    .footer-brand {
        margin: 60px auto 0px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .explore-text-section {
        padding: 40px 20px;
    }

    .explore-text-content {
        gap: 15px;
    }

    .explore-text-content .section-title {
        font-size: 2.5rem;
    }

    .explore-text-content .section-subtitle {
        font-size: 1.2rem;
    }

    .explore-text-content .section-description {
        font-size: 1rem;
    }

    .download-button {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }

}

