:root {
    --bg-dark: #0b0b10;
    --bg-light: #e8e0d5;
    --text-light: #f0f0f0;
    --text-dark: #1a1a1a;
    --accent-yellow: #ffcc00;
    /* Original Yellow */
    --accent-red: #ff3333;
    /* Retro Red */
    --accent-orange: #ff6600;
    /* Sunset Orange */
    --accent-teal: #00ccff;
    --font-heading: 'Teko', sans-serif;
    --font-subheading: 'Oswald', sans-serif;
    --font-body: 'Roboto Mono', monospace;
    --spacing-container: 1200px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    /* Slightly less heavy for OG look */
    line-height: 0.9;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.highlight {
    color: var(--accent-red);
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-subheading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s, transform 0.1s;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    /* Industrial cut */
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #ffdb4d;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    margin-left: 10px;
    clip-path: none;
    /* Keep borders visible */
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(11, 11, 16, 0.95) 0%, rgba(11, 11, 16, 0) 100%);
    backdrop-filter: blur(2px);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-icon {
    color: var(--accent-yellow);
    margin-right: 5px;
}

.nav-links a {
    margin: 0 20px;
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-yellow);
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.btn.small {
    padding: 8px 24px;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-content {
    max-width: var(--spacing-container);
    width: 100%;
    padding: 0 20px;
    text-align: center;
    margin-top: -30px;
    z-index: 10;
}

.hero-title {
    font-size: 6.5rem;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Contract Address Box */
.ca-container {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-left: 3px solid var(--accent-yellow);
    margin-bottom: 30px;
    font-family: var(--font-body);
    position: relative;
    transition: background 0.3s;
}

.ca-container:hover {
    background: rgba(255, 255, 255, 0.15);
}

.ca-label {
    color: var(--accent-yellow);
    font-weight: 700;
    margin-right: 10px;
}

#contract-address {
    font-size: 1.1rem;
    margin-right: 15px;
    letter-spacing: 0.5px;
}

#copy-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.2s, color 0.2s;
}

#copy-btn:hover {
    color: var(--accent-yellow);
    transform: scale(1.1);
}

.copy-feedback {
    position: absolute;
    top: -30px;
    right: 0;
    background: var(--accent-yellow);
    color: var(--bg-dark);
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 2px;
}

.copy-feedback.hidden {
    display: none;
}

.hero-logos {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.platform-link {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    font-family: var(--font-subheading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

.platform-link:hover {
    opacity: 1;
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.hero-main-visual {
    position: relative;
    margin: 30px 0;
    text-align: left;
    border-top: 1px solid var(--accent-yellow);
    padding-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.visual-text h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.visual-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #ccc;
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Lore Section */
.lore-section {
    position: relative;
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.lore-container {
    max-width: var(--spacing-container);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    z-index: 10;
}

.lore-content {
    flex: 1;
}

.lore-image {
    flex: 1;
}

.lore-image img {
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.section-title {
    font-size: 5rem;
    margin-bottom: 30px;
    line-height: 0.85;
}

.lore-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 550px;
    opacity: 0.95;
    border-left: 2px solid var(--accent-red);
    padding-left: 20px;
}

/* Community Section */
.community-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 100px 20px;
    overflow: hidden;
}

.community-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.community-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.community-content {
    max-width: var(--spacing-container);
    margin: 0 auto;
    width: 100%;
    z-index: 10;
}

.decoration-line {
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-size: 0.8rem;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid var(--bg-light);
    line-height: 1.2;
}

.big-title {
    font-size: 7rem;
    margin-bottom: 20px;
    line-height: 0.9;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.community-sub {
    max-width: 700px;
    font-size: 1.4rem;
    font-weight: 500;
}

/* Meme Grid Section */
.memes-section {
    background-color: var(--bg-light);
    /* Keeping beige for contrast like news */
    color: var(--text-dark);
    padding: 100px 20px;
    position: relative;
}

.news-header {
    max-width: var(--spacing-container);
    margin: 0 auto 50px;
    text-align: center;
}

.news-header h2 {
    font-size: 5rem;
    color: var(--text-dark);
}

.news-header p {
    font-family: var(--font-subheading);
    letter-spacing: 2px;
    font-size: 1.2rem;
    color: #666;
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cols wide */
    gap: 20px;
    /* Tight gap */
    max-width: var(--spacing-container);
    margin: 0 auto;
}

.meme-card {
    aspect-ratio: 1/1;
    /* Square cards */
    background: #000;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.meme-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.meme-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

/* Footer */
.footer {
    background: #050508;
    padding: 80px 20px;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-content {
    max-width: var(--spacing-container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-family: var(--font-subheading);
    text-transform: uppercase;
    font-size: 1.1rem;
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-yellow);
}

.disclaimer p {
    font-size: 0.8rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-dark);
    padding: 60px;
    max-width: 800px;
    width: 90%;
    border: 1px solid var(--accent-yellow);
    position: relative;
    box-shadow: 0 0 50px rgba(255, 204, 0, 0.1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-content h2 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    color: var(--accent-yellow);
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 4px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-teal);
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.step-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.step-info p {
    font-size: 1rem;
    opacity: 0.7;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .meme-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
        /* Smaller for mobile */
    }

    .section-title,
    .big-title {
        font-size: 3rem;
    }

    .lore-container {
        flex-direction: column-reverse;
    }

    .meme-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn.small {
        display: none;
        /* Hide top nav btn on mobile */
    }
}