/* Basic Reset and Global Styles */
:root {
    --color-primary: #5cb85c; /* A bright, Dino-Green */
    --color-secondary: #f0ad4e; /* Meme/Vintage Yellow */
    --color-dark: #222;
    --color-light: #f4f4f4;
    --font-heading: 'Bangers', cursive;
    --font-body: 'Arial', sans-serif;
    --font-retro: 'Press Start 2P', cursive;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--color-light);
    color: var(--color-dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

/* Typography */
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5em;
    color: var(--color-dark);
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3em;
    font-style: italic;
    color: #666;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    margin: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
    font-family: var(--font-retro);
    font-size: 0.8rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: #4cae4c; /* Slightly darker green */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-retro);
    font-size: 1.2rem;
    color: var(--color-primary);
}

.logo img {
    width: 30px;
    margin-right: 10px;
    border-radius: 50%;
}

nav a {
    color: white;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--color-primary);
}

.btn-buy {
    background-color: var(--color-secondary);
    color: var(--color-dark) !important;
    padding: 8px 15px;
    border-radius: 5px;
    margin-left: 25px;
}

.btn-buy:hover {
    background-color: #e0a340;
}

/* --- 1. Introduction/Hero Section --- */
.hero-section {
    position: relative;
    padding-top: 100px; /* Adjust for fixed header */
    height: 100vh;
    display: flex;
    align-items: center;
}

.wallpaper-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/JurassicYeeWallPaper.png') no-repeat center center/cover;
    filter: brightness(0.8); /* Darken the background for text readability */
    z-index: 1;
}

.hero-container {
    display: flex;
    width: 100%;
    /* max-width: 1200px; */
    margin: 80px;
    justify-content: space-between;
}

.hero-content {
    flex: 0 0 50%;
    padding: 20px;
    max-width: 600px;
    text-align: left;
    position: relative;
    z-index: 2;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.hero-content .section-title {
    color: var(--color-secondary);
    font-size: 3rem;
    margin-bottom: 0.2em;
}

.hero-text {
    font-size: 1rem;
    margin-bottom: 2em;
}

.hero-right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;  
    justify-content: flex-end;
    margin-bottom: 50px;
    /* align-content: flex-end; */
    align-items: flex-end;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.address-image {
    max-width: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.circular-buttons {
    display: flex;
    gap: 15px;
}

.circle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.circle-btn:hover {
    background-color: #4cae4c;
}

.contract-section {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    position: relative;
}

.contract-title {
    font-size: 2rem;
    font-weight: 800;
    color: #d97706;
    text-shadow: 0 0 10px rgba(217, 119, 6, 0.8);
    margin-top: 16px;
    white-space: nowrap;
}

.contract-address-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100px; /* Adjust height to space them */
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    background: rgba(22, 101, 52, 0.8);
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.contract-text {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    word-break: break-all;
}

.copy-btn {
    margin-left: 8px;
    padding: 8px;
    background: #166534;
    border-radius: 8px;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.copy-btn:hover {
    background: #14532d;
}

.copy-icon {
    width: 16px;
    height: 16px;
    color: white;
}

.copied-overlay {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: #22c55e;
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    width: 100%;
    margin-top: 24px;
}

.social-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #166534;
    border-radius: 50%;
    transition: transform 0.2s;
    text-decoration: none;
    color: #d97706;
}

.social-btn:hover {
    transform: translateY(-4px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}
.social-btn img {
    width: 24px;
    height: 24px;
}
.content-section {
    padding: 80px 0;
}

.light-bg {
    background: url('assets/dark-green-wall-backdrop-grunge-background-texture.jpg') no-repeat center center/cover;
    color: white;
}

.light-bg .section-title {
    color: #d97706;
}

#titans {
    position: relative;
    padding-bottom: 0;
}

#trilogy {
    padding-top: 7rem;
}

.dark-bg {
    background: url('assets/brown-concrete-wall-with-scratches-vector.jpg') no-repeat center center/cover;
    color: white;
}

.dark-bg .section-title {
    color: var(--color-secondary);
}

.dark-bg .section-subtitle {
    color: #aaa;
}

.community-layout {
    display: flex;
    align-items: center;
    gap: 100px;
}

.image-left {
    flex: 1;
    text-align: center;
}

.community-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.text-right {
    flex: 1;
}

.community-text {
    margin-bottom: 1em;
    line-height: 1.6;
}

/* --- 2. Titans Section Grid --- */
.card-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.titan-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.titan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    padding: 5px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
}

/*  Marquee Container */
.marquee-container {
    width: 100%;
    height: 200px;
    margin: 0;
    margin-top: 100px;
    padding: 0;
    overflow: hidden;
}

/* --- Marquee Content (The Moving Strip) --- */
.marquee-content {
    display: flex; 
    
    /* Crucial: Sets the total width to hold both sets of images (8 images) */
    /* If your images are 300px wide, 8 images * 300px = 2400px. 
       Adjust this width to be 2x the width of your original 4 images. */
    width: 200%; /* A safe estimate, but calculate based on image size for perfection */
    height: 100%; 
    
    /* Start the animation */
    animation: scroll-left 15s linear infinite; /* 15s is the duration, adjust for speed */
}

/* Pause the animation on hover */
.marquee-content:hover {
    animation-play-state: paused;
}


/* --- Individual Images --- */
.marquee-content img {
    width: 12.5%;
    height: 100%; 
    object-fit: cover; 
    flex-shrink: 0; 
}


/* --- The Animation Keyframes --- */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); 
    }
}

/* --- 3. Trilogy Section Grid --- */
.trilogy-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 60px;
    text-align: center;
    flex-wrap: wrap;
}

.trilogy-item {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    min-width: 250px;
    border: 2px solid var(--color-secondary);
}

.trilogy-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    margin-bottom: 10px;
}

.trilogy-item h4 {
    font-family: var(--font-retro);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.trilogy-callout {
    text-align: center;
    padding: 30px;
    background-color: #3e3e3e;
    border-radius: 10px;
    border: 1px solid var(--color-primary);
}

.trilogy-callout h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.large-btn {
    font-size: 1rem;
    padding: 15px 40px;
    margin-top: 20px;
}

/* --- Footer --- */
footer {
    background-color: var(--color-dark);
    color: white;
    padding: 20px 0;
    text-align: center;
    border-top: 3px solid var(--color-primary);
}

footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding-top: 120px; /* Adjust for header */
    }

    .hero-container {
        flex-direction: column;
        margin: 20px;
        gap: 20px;
    }

    .hero-content {
        flex: none;
        max-width: none;
        text-align: center;
    }

    .hero-content .section-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .hero-right {
        flex: none;
        align-items: center;
        margin-bottom: 0;
    }

    .contract-section {
        gap: 10px;
    }

    .contract-title {
        font-size: 1.5rem;
    }

    .social-icons {
        gap: 10px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
    }

    .social-btn svg, .social-btn img {
        width: 16px;
        height: 16px;
    }

    .community-layout {
        flex-direction: column;
        gap: 20px;
    }

    .image-left, .text-right {
        flex: none;
    }

    .community-image {
        max-width: 80%;
    }

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

    .marquee-container {
        height: 150px;
        margin-top: 50px;
    }

    .marquee-content img {
        width: 25%;
    }

    .trilogy-grid {
        flex-direction: column;
        align-items: center;
    }

    .trilogy-item {
        width: 100%;
        max-width: 350px;
    }

    header .container {
        flex-direction: column;
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        margin: 0 5px;
        font-size: 0.9rem;
    }

    footer .container {
        flex-direction: column;
    }

    footer p, .social-links {
        margin-bottom: 10px;
    }
}