/* Global Styles */
:root {
    --bg-color: #050505;
    --card-bg: #1a1a1a;
    --text-color: #ffffff;
    --accent-color: #bf00ff;
    /* Neon Purple */
    --accent-glow: #bf00ff80;
    --secondary-color: #00d2ff;
    /* Neon Blue */
    --font-main: 'Rajdhani', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.neon-text {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(5, 5, 5, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-size: 1.1rem;
    font-weight: 500;
}

nav a:hover {
    color: var(--accent-color);
}



.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* New Hero Section Layout */
.hero-section {
    position: relative;
    padding: 60px 5% 0;
    /* No bottom padding, flows into image */
    text-align: center;
    background: radial-gradient(circle at center top, #1a0b2e, var(--bg-color));
}

.hero-text-container {
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.hero-text-container h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-text-container .subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 15px 40px;
    border-radius: 5px;
    /* sharp/slightly rounded as per ref */
    font-weight: 900;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: 0.3s;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.hero-visuals {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    perspective: 1000px;
}

/* The background shape/glow behind the main image */
.hero-bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 100%;
    background-image: url('assets/background-DPfXDTiD.jpeg');
    /* Using the nebula/curve background */
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    filter: blur(20px);
    z-index: 1;
    border-radius: 50%;
}

.main-character-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(191, 0, 255, 0.3);
    /* Purple border */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    display: block;
    margin: 0 auto;
}

/* CTA Group in Hero */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

/* Tensor Button */
.btn-tensor {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 900;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.678);
}

.btn-tensor img {
    height: 20px;
    width: auto;
    filter: invert(1);
    /* Ensure white logo if needed, or adjust based on actual image */
}

.btn-tensor:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: #fff;
}


.gallery {
    padding: 80px 5%;
    background: #0a0a0a;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.nft-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.nft-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nft-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.nft-info {
    padding: 20px;
}

.nft-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.nft-info p {
    color: #888;
    font-size: 0.9rem;
}


/* About Section (Description below image) */
.about-section {
    padding: 60px 5%;
    background: #000;
    text-align: center;
    position: relative;
    z-index: 5;
    margin-top: -50px;
    /* Slight overlap or pull up if needed */
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.about-description {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.8;
}

/* Footer adjustment */
footer {
    padding: 40px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Roadmap Section */
.roadmap {
    padding: 80px 5%;
    background: #050505;
    position: relative;
    overflow: hidden;
}

.roadmap h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* The vertical line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.roadmap-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Circles on the timeline */
.roadmap-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-color);
    border: 3px solid var(--secondary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--secondary-color);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid transparent;
    border-width: 10px 0 10px 10px;
    border-left-color: var(--card-bg);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid transparent;
    border-width: 10px 10px 10px 0;
    border-right-color: var(--card-bg);
}

.right::after {
    left: -10px;
}

.roadmap-content {
    padding: 20px 30px;
    background-color: var(--card-bg);
    position: relative;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.roadmap-content:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(191, 0, 255, 0.2);
    transform: translateY(-5px);
}

.roadmap-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.roadmap-content .subtitle {
    font-style: italic;
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.roadmap-content ul {
    list-style-type: none;
    padding-left: 0;
}

.roadmap-content li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.roadmap-content li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
    top: 2px;
}

/* Team Section */
.team-section {
    padding: 80px 5%;
    background: #0a0a0a;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    min-width: 250px;
    flex: 1;
    max-width: 300px;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(191, 0, 255, 0.2);
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-info .role {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.social-link {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.social-link:hover {
    background: #fff;
    color: #000;
}

/* Responsive */
@media screen and (max-width: 768px) {

    /* Roadmap Responsive */
    .timeline::after {
        left: 31px;
    }

    .roadmap-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .roadmap-item::before {
        left: 60px;
        border: medium solid transparent;
        border-width: 10px 10px 10px 0;
        border-right-color: var(--card-bg);
    }

    .left::after,
    .right::after {
        left: 21px;
    }

    .right {
        left: 0%;
    }
}

/* Team Section */
.team-section {
    padding: 80px 5%;
    background: #0a0a0a;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    min-width: 250px;
    flex: 1;
    max-width: 300px;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(191, 0, 255, 0.2);
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-info .role {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.social-link {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.social-link:hover {
    background: #fff;
    color: #000;
}

@media screen and (max-width: 768px) {

    /* General Responsive */
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid #333;
    }

    nav ul.active {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-image {
        margin-top: 50px;
    }

    footer {
        flex-direction: column;
        gap: 20px;
    }
}