:root {
    --bg-color: #121212;
    --primary-color: #e0b400; /* Gold */
    --secondary-color: #a7f3d0; /* Lime Green */
    --text-color: #f0f0f0;
    --text-muted: #888;
    --card-bg: #1e1e1e;
    --border-color: #333;
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 5px; /* Reduced bottom padding */
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

p {
    margin-bottom: 1rem;
    max-width: 65ch;
}

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

/* Header */
#main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;  /* Reduced from 1rem */
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    margin: 0;  /* Ensure no extra margin */
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* For dropdown positioning */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-socials {
    display: flex;
    gap: 1rem;
    margin-bottom: 0 !important; /* Override footer style */
}

.header-socials a svg {
    width: 22px;
    height: 22px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: 40px;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-color);
}

#main-header nav a {
    color: var(--text-color);
    margin-left: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

#tweet-storm-button {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    font-family: var(--font-body);
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#tweet-storm-button:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.tweet-storm-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 350px;
    max-width: 90vw;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1100;
}

.tweet-storm-dropdown h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: left;
}

#tweet-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 40vh;
    overflow-y: auto;
}

.tweet-item {
    display: block;
    padding: 0.75rem;
    background-color: var(--bg-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
    border-left: 3px solid var(--secondary-color);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.tweet-item:hover {
    background-color: #2a2a2a;
    transform: translateX(5px);
    color: var(--text-color);
}

/* Shell Links Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.shell-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.shell-link {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
}

.shell-link h5 {
    color: var(--secondary-color);
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
}

.shell-link code {
    display: block;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    word-break: break-all;
    position: relative;
    padding-right: 80px;
}

.copy-button {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background-color: var(--secondary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.copy-button:active {
    transform: translateY(0);
}

/* Marquee */
.marquee {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 0.25rem 0;  /* Reduced from 0.5rem */
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color);
    margin: 0;  /* Ensure no extra margin */
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.marquee-content span {
    margin: 0 2rem;
}

.marquee-content .diamond {
    color: var(--bg-color);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-reverse .marquee-content {
    animation: marquee-reverse 30s linear infinite;
}

@keyframes marquee-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Main Content & Sections */
main section {
    padding: 5rem 0;
    text-align: center;
    overflow: hidden; /* For animations */
}

main section#hero {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

main section:nth-child(even) {
    background-color: var(--card-bg);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Hero Section */
#hero {
    position: relative;
    margin: 0; /* Reset any default margins */
    padding: 0; /* Reset any default padding */
}

#hero .container {
    position: relative;
    z-index: 2;
    padding-top: 0; /* Remove top padding */
    margin-top: 0; /* Remove top margin */
}

.hero-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.hero-title .highlight {
    color: var(--secondary-color);
    display: block;
}

.sound-button {
    display: none;
}

.subtitle {
    display: none; /* Completely hide the subtitle */
}

/* Manifesto */
#manifesto .manifesto-content {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

#manifesto p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Video Feature Section */
#video-feature {
    padding-bottom: 6rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-video-container {
    margin-top: 0.5rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gallery - Swiper */
#gallery {
    background-color: var(--card-bg);
}
.swiper-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 40px;
    position: relative;
}
.swiper {
    width: 100%;
    padding: 2rem 0;
}

.swiper-slide {
    width: 300px !important;
    height: 400px;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid var(--border-color);
}

.swiper-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Community / CTA */
#community p {
    margin: 1.5rem auto;
    color: var(--text-muted);
}
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(224, 180, 0, 0.2);
}
.cta-button svg {
    width: 20px;
    height: 20px;
    stroke: #000;
    transition: stroke 0.3s ease;
}
.cta-button:hover svg {
    stroke: var(--primary-color);
}

.cta-subtext {
    font-size: 0.9rem;
}

/* Admin Panel */
#admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.admin-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 500px;
    text-align: center;
}

#admin-panel h2 {
    margin-bottom: 1rem;
}

#admin-panel p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

#admin-panel textarea {
    width: 100%;
    padding: 0.5rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    resize: vertical;
    margin-bottom: 1rem;
}

#admin-panel button {
    background-color: var(--primary-color);
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 0 0.5rem;
}

#admin-panel button:hover {
    background-color: var(--secondary-color);
}
#admin-panel #close-admin-panel {
    background-color: #555;
    color: var(--text-color);
}
#admin-panel #close-admin-panel:hover {
    background-color: #777;
}

/* Footer */
footer {
    background-color: #000;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

footer p {
    margin-bottom: 0.5rem;
}

.social-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 28px;
    height: 28px;
}

/* Responsive */
@media(max-width: 768px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 2.5rem; }
    
    #main-header .header-right {
        gap: 0.5rem; /* Reduced gap */
    }
    #main-header nav { display: none; } /* Simplify for mobile */

    #tweet-storm-button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

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

    .swiper-slide {
        width: 250px !important;
        height: 330px;
    }
}