/* ==========================
   ✅ New styles.css file
   ========================== */

:root {
    --primary-green: #4caf50;
    --dark-bg: #1e1e1e;
    --light-text: #f5f5f5;
    --accent-gray: #2c2c2c;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
}

header {
    background-color: var(--accent-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

header .logo-space {
    width: 180px;
    height: 60px;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 8px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
}

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

nav ul li a.active {
    color: var(--primary-green);
    font-weight: bold;
}

section {
    padding: 2rem;
    margin: 1rem 2rem;
    background-color: #2a2a2a;
    border-radius: 10px;
    animation: fadeIn 0.6s ease;
}

h1, h2, h3 {
    color: var(--primary-green);
}

footer {
    background-color: #111;
    color: #aaa;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* ======================
   📜 EULA Formatting
   ====================== */
section.EULA p {
    margin: 1em 0;
    line-height: 1.7em;
    text-align: justify;
    white-space: pre-line;
}

section.EULA h2 {
    margin-top: 2em;
    color: var(--primary-green);
    border-bottom: 1px solid var(--primary-green);
    padding-bottom: 0.5em;
}

/* ======================
   ✨ Animations
   ====================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ======================
   🟩 Responsive Tweaks
   ====================== */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    section {
        margin: 1rem;
    }
}

/* Who We Are Section */
.who-we-are {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #1b1b1b;
    border-radius: 12px;
    margin: 3rem auto;
    max-width: 1100px;
}

.who-we-are h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.feature-box {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: #242424;
    padding: 2rem 1rem;
    border-radius: 10px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-box img {
    width: 64px;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: #ccc;
    font-size: 0.95rem;
}

.studio-logo {
    margin-top: 3rem;
    text-align: center;
}

.studio-text-logo {
    display: inline-block; /* Center the block itself */
    text-align: left;      /* Left-align the inner text */
    line-height: 1.1;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
    text-transform: uppercase;
}

.studio-text-logo span {
    display: block;
}

.studio-sub {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #aaa;
    letter-spacing: 2px;
}

.studio-logo p {
    color: #aaa;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

.call-to-action {
    background: #111;
    text-align: center;
    padding: 4rem 2rem;
    margin: 4rem 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.call-to-action.visible {
    opacity: 1;
    transform: translateY(0);
}

.call-to-action h2 {
    font-size: 2.4rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.call-to-action p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.store-button img {
    width: 140px;
    transition: transform 0.3s ease;
}

.store-button img:hover {
    transform: scale(1.05);
}

.flourish {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 180px;
    opacity: 0.2;
    transform: rotate(-10deg);
    pointer-events: none;
}



footer {
    background-color: #0e0e0e;
    color: #aaa;
    text-align: center;
    padding: 2rem;
    margin-top: 5rem;
}

footer .socials {
    margin-top: 1rem;
}

footer .socials a {
    margin: 0 0.5rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

footer .socials a:hover {
    transform: scale(1.2);
}

footer .socials img {
    width: 28px;
    height: 28px;
    filter: brightness(1.2);
}


/* ===== Sidebar Style ===== */
.main-with-sidebar {
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.media-panel {
    max-width: 400px;
    width: 100%;
    background-color: #1c1c1c;
    padding: 2rem;
    border-radius: 10px;
    animation: fadeIn 1s ease;
}

.media-panel h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.media-card {
    display: flex;
    gap: 1rem;
    background: #242424;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 0.5rem;
    transition: background 0.3s ease;
}

.media-card:hover {
    background: #2e2e2e;
}

.media-card img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
}

.media-info h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-green);
}

.media-info p {
    font-size: 0.85rem;
    color: #ccc;
    margin: 0.25rem 0 0;
}

.ad-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 2rem 0;
}

.ad-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 640px;
}

.banner-ad,
.banner-referral {
    width: 300px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-referral img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

#ad-container {
    width: 300px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111; /* Optional fallback */
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}


.discord-cta {
    text-align: center;
    align-items: center;
    padding: 3rem 2rem;
    margin: 4rem 2rem;
    background-color: #2b2b2b;
    border-radius: 12px;
    animation: fadeIn 1s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.discord-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.discord-cta h2 {
    color: var(--primary-green);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.discord-cta p {
    color: #ccc;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.discord-button img {
    align-items: center;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.discord-button img:hover {
    transform: scale(1.03);
}

.discord-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.eula-meta {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.eula-intro {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 2rem;
}

section.EULA h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: var(--primary-green);
    border-bottom: 1px solid var(--primary-green);
    padding-bottom: 0.4rem;
}

section.EULA p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    white-space: pre-line;
}

