:root {
    --primary-color: #620011;
    --secondary-color: #d4af37;
    --accent-color: #F0B800;
    --text-color: #ffffff;
    --hover-color: #d4af37;
    --bg-color: #620000;
    --card-bg: #6d0000;
    --transition: all 0.3s ease;
    --header-gradient: linear-gradient(135deg, #620011 0%, #8a0030 100%);
    --footer-gradient: linear-gradient(135deg, #620011 0%, #8a0030 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.top-banner {
    background: var(--header-gradient);
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header {
    background-color: var(--primary-color);
    padding: 0.8rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mind-pirates-all-header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.mind-pirates-all-logo {
    order: 3;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mind-pirates-all-logo-img {
    height: 60px;
    object-fit: contain;
}

.main-nav {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.nav-item {
    margin: 0.1rem 0;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 2px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.nav-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.nav-link.active {
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    border-color: transparent;
}

.nav-link i {
    margin-left: 4px;
    font-size: 0.7rem;
}

.language-dropdown {
    order: 1;
    position: relative;
    margin-right: auto;
}

.language-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 2px;
    transition: var(--transition);
}

.language-btn:hover {
    background: var(--accent-color);
    color: white;
}

.language-btn i {
    margin-left: 6px;
    font-size: 0.7rem;
}

.language-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 280px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    padding: 0.5rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    border: 1px solid rgba(255,255,255,0.15);
}

.language-menu.show {
    display: grid;
}

.language-item {
    padding: 0;
}

.language-link {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 0.4rem;
    font-size: 0.75rem;
    text-align: center;
    border-radius: 2px;
    background: rgba(255,255,255,0.03);
    transition: var(--transition);
}

.language-link:hover {
    background: var(--accent-color);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: var(--accent-color);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
    transition: var(--transition);
    font-weight: 600;
}

.mobile-menu-btn:hover {
    background: var(--hover-color);
}

main {
    margin-top: 100px;
    padding: 2rem 5%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    color: var(--accent-color);
    font-weight: 300;
    letter-spacing: 0.5px;
    text-align: center;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--secondary-color);
}

h2 {
    font-size: 1.8rem;
    margin: 1.8rem 0 1.2rem;
    color: var(--accent-color);
    font-weight: 300;
    letter-spacing: 0.5px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--secondary-color);
}

.mind-pirates-all-gallery-grid {
    column-count: 4;
    gap: 8px;
}

.mind-pirates-all-gallery-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    break-inside: avoid;
}

.mind-pirates-all-gallery-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.mind-pirates-all-gallery-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mind-pirates-all-gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.mind-pirates-all-gallery-card:hover .mind-pirates-all-gallery-img {
    transform: scale(1.05);
}

.mind-pirates-all-gallery-info {
    padding: 1rem;
    background-color: var(--card-bg);
    text-align: center;
}

.mind-pirates-all-gallery-title {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--accent-color);
    font-weight: 500;
}

.mind-pirates-all-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 1.8rem 0;
    justify-content: center;
}

.mind-pirates-all-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 0.8rem;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    flex: 1 0 auto;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    max-width: 300px;
}

.mind-pirates-all-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.mind-pirates-all-link {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    font-size: 1.1rem;
}

footer {
    background: var(--footer-gradient);
    padding: 2.5rem 5% 1.5rem;
    margin-top: 3rem;
}

.footer-container-mind-pirates-all {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-content: space-between;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-column: 1 / -1;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-link {
    color: var(--accent-color);
    font-size: 1.1rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.05);
    width: 35px;
    height: 35px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
    color: white;
    background: var(--accent-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.25);
}

.mind-pirates-all-footer-links-wrapper {
    display: contents;
}

.mind-pirates-all-footer-links-col {
    text-align: center;
}

.mind-pirates-all-footer-links-col h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.4rem;
}

.mind-pirates-all-footer-links-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 2px;
    background: var(--secondary-color);
}

.mind-pirates-all-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.mind-pirates-all-footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.mind-pirates-all-footer-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-banners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
    justify-content: center;
}

.footer-banner {
    width: 50px;
    height: 45px;
    object-fit: contain;
    background: rgba(255,255,255,0.05);
    padding: 4px;
    border-radius: 2px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-banner:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    margin: 2rem calc(-50vw + 50%) 0;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    width: 100vw;
}

.mind-pirates-all-gallery-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.mind-pirates-all-slider-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.mind-pirates-all-slider-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.mind-pirates-all-slider-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: var(--accent-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mind-pirates-all-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(233, 69, 96, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mind-pirates-all-slider-prev {
    left: -50px;
}

.mind-pirates-all-slider-next {
    right: -50px;
}

.mind-pirates-all-slider-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .mind-pirates-all-header-container {
        flex-direction: row;
    }

    .main-nav {
        width: auto;
    }

    main {
        margin-top: 90px;
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translateY(-50%);
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1rem 5%;
        display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        z-index: 999;
    }

    .main-nav.show {
        display: block;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-item {
        margin: 0.4rem 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
    }

    .language-dropdown {
        margin: 0.4rem 0;
        width: 100%;
    }

    .language-menu {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .footer-container-mind-pirates-all {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 800px) {
    .mind-pirates-all-gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 600px) {
    .mind-pirates-all-gallery-grid {
        column-count: 2;
    }
    
    .mind-pirates-all-slider-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .mind-pirates-all-slider-prev {
        left: -35px;
    }
    
    .mind-pirates-all-slider-next {
        right: -35px;
    }
}

@media (max-width: 480px) {
    .mind-pirates-all-gallery-grid {
        column-count: 1;
    }
    
    .language-menu {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mind-pirates-all-slider-close {
        top: -30px;
        right: 0;
        width: 30px;
        height: 30px;
        font-size: 1.5rem;
    }
}

.mind-pirates-all-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
	margin-right: 70px;
}

.mind-pirates-all-logo span {
    font-size: 24px;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 1px;
    transition: var(--transition);
}

.mind-pirates-all-logo:hover span {
    color: var(--hover-color);
}

@media (max-width: 768px) {
    .mind-pirates-all-logo span {
        font-size: 20px;
    }
}