@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

@font-face {
    font-family: 'Minecraft';
    src: url('../fonts/Minecraft.ttf') format('truetype');
}

:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-primary: #56d195;
    --accent-secondary: #7df5d9;
    --transition: all 0.3s ease;
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
}

header {
    width: 100%;
    padding: 20px;
    background-color: var(--bg-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 5;
}

p {
    font-size: 1.1rem;
}

h2 {
    font-size: 2.5rem;
}

.navbar {
    display: flex;
    justify-content: center; /* Center the navbar content horizontally */
    align-items: center;
    margin: auto;
    min-height: 75px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Initial state of the taskbar */
.navbar {
    transform: translateY(-100%);
    transition: transform 1s ease-in-out;
}

/* Final state of the taskbar */
.navbar.show {
    transform: translateY(0);
}

.nav-left, .nav-right {
    display: flex;
    gap: 20px;
}

.nav-middle {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 100px;
    margin: auto;

}

.navbar a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--accent-secondary);
}

.icons-link i {
    margin-right: 8px;
}

.logo img {
    height: 75px;
}

.burger-menu {
    display: none;
    cursor: pointer;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-nav {
    display: none;
}

.logo-container {
    display: flex;
    justify-content: center;
    z-index: 3;
    margin-top: 80px;
}

.logo-container img {
    width: 28rem;
    height: auto;
    margin-bottom: 20px;
}

.badge {
    background-color: rgba(195, 44, 44, 0.87);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.background-section {
    background: url(../img/banner_3.webp) center/cover;
    min-height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

a.disabled:hover {
    color: var(--text-secondary) !important;
}


@media (max-width: 768px) {
    .nav-left, .nav-right {
        display: none;
    }

    .nav-middle {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 100; /* Added higher z-index */
    }

    .mobile-nav.show {
        display: block;
    }

    .mobile-nav a {
        display: block;
        padding: 10px 0;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 1.1rem;
        transition: var(--transition);
    }

    .mobile-nav a:hover {
        color: var(--accent-secondary);
    }

    .logo-container img {
        width: 300px !important;
        padding: 50px;
    }

    .copy-address-box, .player-info-box {
        visibility: hidden;
    }

    .logo-container {
        margin-top: 20px;
    }

    .logo-container img {
        width: 400px !important;
    }

    .footer-render {
        display: none;
    }

    .gamemode-new-header {
        display: flex;
        align-items: center;
        text-align: center;
    }

    .gamemode-new-grid {
        display: block !important;
        margin-bottom: 0;
    }

    .gamemode-new-card {
        max-width: 90%;
        min-width: 25%;
        margin: 20px 25px;
    }

}

@media (max-width: 1024px) {
    .parrot-render,
    .allay-render,
    .footer-render {
        display: none;
    }
}

main {
    width: 100%;
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.text-container {
    max-width: 600px;
}

.text-background {
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    padding: 20px; /* Add some padding */
    border-radius: 10px; /* Optional: rounded corners */
}

.character img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}

/* Animal Render */

.parrot-render {
    position: absolute;
    top: -30px;
    right: 250px;
    width: 155px;
    height: auto;
    z-index: 10;
}

.allay-render {
    position: absolute;
    bottom: -15%;
    left: 25%;
    width: 150px;
    height: auto;
    z-index: 4;
}

/* Copy Address Box in Heder*/
.copy-address-box {
    position: absolute;
    left: 15rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 2;
}

.copy-address-content {
    display: inline-flex;
    align-items: center;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.copy-address-icon {
    color: var(--accent-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.copy-address-text {
    margin-left: 15px;
    text-align: left;
}

.copy-address-title {
    font-size: 16px;
    font-weight: bold;
}

.copy-address-status {
    font-size: 14px;
    color: var(--accent-primary);
    cursor: pointer;
}

/* Player INFO Box Header */
.player-info-box {
    position: absolute;
    right: 15rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.player-info-content {
    display: inline-flex;
    align-items: center;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.player-info-icon {
    color: var(--accent-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.player-info-text {
    margin-left: 15px;
    text-align: left;
}

.player-info-title {
    font-size: 16px;
    font-weight: bold;
}

.player-info-status {
    font-size: 14px;
    color: var(--accent-primary);
}

/* Content Section */
.content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.gamemodes {
    padding: 40px 20px;
    background-color: var(--bg-secondary);
    text-align: center;
}

.gamemodes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.gamemode {
    background-color: var(--bg-primary);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gamemode:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gamemode img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.gamemode h3 {
    margin: 10px 0;
    color: var(--accent-primary);
    text-align: center;
}

/* GAMEMODE NEW */
/* Styles for gamemode-new section */
.gamemode-new {
    font-family: Arial, sans-serif;
    background-color: #1E1E1E;
    color: #FFFFFF;
    padding: 7vh 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.gamemode-new-content {
    flex: 1 1 600px;
    max-width: 75%;
}

.gamemode-new-header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    flex-direction: column;
    text-align: center;
}

.gamemode-new-header h2 {
    font-weight: 500;
    font-family: 'Minecraft', Arial, sans-serif;
}

.gamemode-new-header p {
    opacity: 0.75;
    font-size: 1.25rem;
    text-align: center;
    padding: 20px 0;
}

.gamemode-new-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gamemode-new-card {
    background-color: rgba(80, 80, 80, 0.6);
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.gamemode-new-card:hover {
    transform: scale(1.02);
}

.gamemode-new-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.gamemode-new-card p {
    line-height: 1.6;
}

.gamemode-new-image {
    flex: 1 1 300px;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gamemode-new-image img {
    width: 85%;
    height: auto;
    border-radius: 10px;
}

/* CHIP CARDS */
/* Chip Cards Section */
.chip-cards {
    padding: 60px 20px;
    font-family: Arial, sans-serif;
    color: #ffffff;
}

.chip-cards-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.chip-card {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 0 15px;
}

.chip-card-icon {
    width: 64px;
    height: auto;
    margin-right: 15px;
    object-fit: contain;
}

.chip-card-title {
    font-size: 18px;
    margin: 0 0 10px 0;
}

.chip-card-description {
    font-size: 14px;
    color: #b3b3b3;
    line-height: 1.4;
    margin: 0;
}

.features-section {
    background-color: #111111;
    padding: 4rem 2rem;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s;
    padding: 5px;
    margin: 20px;
}

.feature-item:hover {
    transform: scale(1.02);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.feature-text {
    color: #999999;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr;
    }

    .feature-item {
        text-align: center;
        align-items: center;
    }
}


.dynamic-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 40px 0;
}

.dynamic-divider::before,
.dynamic-divider::after {
    content: '';
    display: inline-block;
    width: 40%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-primary), transparent);
}

#news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Adjust the gap as needed */
}

.news {
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.news-header {
    align-items: center;
    padding: 20px 0;
}

.news-header h2 {
    font-weight: 500;
    font-family: 'Minecraft', Arial, sans-serif;
}

.news-header p {
    opacity: 0.75;
}

.news-item {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    flex: 1 1 300px;
    box-sizing: border-box;
}

.news-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.news-item img {
    width: 100%;
    height: 191px;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.news-item h3 {
    margin: 10px 0;
    font-size: 1.4rem;
    color: var(--accent-primary);
}

.news-item p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.news-item a.read-more {
    display: inline-block;
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.news-item a.read-more:hover {
    color: var(--accent-primary);
}

.discord-button {
    z-index: 2;
    background: var(--accent-primary);
    color: black;
    padding: 12px 40px 12px 40px;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 5px 0 0 #21965f;
    text-decoration: none;
    font-weight: bold;
    margin-top: 60px;
    text-transform: uppercase;
}

.discord-button img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.discord-button:hover {
    background-color: var(--accent-primary);
    box-shadow: 0 5px 0 0 #21965f;
    transform: translateY(-2px);
}

.discord-button i {
    margin-right: 8px;
}

.shop-button {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1em;
    fill: #000000;
    color: #000000;
    background-color: var(--accent-primary);
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 5px 0 0 #21965f;
    padding: 12px 40px 12px 40px;
}

.shop-button i {
    color: black;
}

.shop-button span {
    color: black;
}

.shop-button:hover {
    background-color: var(--accent-primary);
    box-shadow: 0 5px 0 0 #21965f;
    transform: translateY(-2px);
}

footer {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
    border: none;

}

.join-discord {
    text-align: center;
}

.footer-top {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-quick-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0 10px;
}

.footer-quick-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-secondary);
    transition: var(--transition);
}

.footer-quick-links a:hover::after {
    width: 100%;
}

.footer-quick-links a:hover {
    color: var(--accent-secondary);
}

/* Footer Container */
.footer {
    padding: 20px;
    background-color: #1E1E1E;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
}

/* Footer Sections */
.footer-sections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links-section,
.footer-history-section,
.footer-social-media-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

/* Footer Titles */
.footer-title {
    color: var(--accent-primary);
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Minecraft', Arial, sans-serif;
    font-weight: 300;
}

/* Footer Links */
.footer-link {
    color: #FFFFFF;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

.footer-link:hover {
    color: var(--accent-primary);
    transition: color 0.3s;
}

.footer-render {
    position: absolute;
    width: 150px;
    height: auto;
    right: 20px;
    z-index: 1000;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

/* Footer Text */
.footer-text {
    font-size: 14px;
    line-height: 1.4;
}

.footer-icon {
    width: 30px;
    height: 30px;
    margin-right: 20px;
    font-size: 30px;
    color: #FFFFFF;
    text-decoration: none;
}

.footer-icon:hover {
    color: var(--accent-primary);
    transition: color 0.5s;
}

.footer-top {
    margin-bottom: 20px;
}

.footer-quick-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-quick-link {
    color: #FFFFFF;
    text-decoration: none;
}

.dynamic-divider-footer {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-primary), transparent);
    margin: 20px 0;
}

.footer-copyright {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    padding-bottom: 20px;
}

.footer-attribution {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.footer-attribution strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {

    .content h1 {
        font-size: 2rem;
    }

    .content p {
        font-size: 1rem;
    }

    .gamemodes-container,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 15px;
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #1e1e1e, rgba(30, 30, 30, 0.5));
    z-index: 1;
    pointer-events: none;
}

/*  TEAM SECTION   */

.team-container {
    margin-top: 10vh;
}

.team-section {
    background-color: #1E1E1E;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 1200px;
    margin: 60px auto;
    padding: 2vh 20px;
}

.team-title {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-count {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.team-card {
    background: #121212;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.team-profile {
    display: flex;
    gap: 16px;
}

.team-avatar {
    width: 124px;
    height: 124px;
    border-radius: 4px;
    background-color: #e0e0e0;
    flex-shrink: 0;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.team-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-name {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.team-joined {
    font-size: 14px;
    color: #858585;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
}

.team-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-stat-value {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
}

.team-stat-label {
    font-size: 14px;
    color: #666;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}