* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0A0E27;
    color: #ffffff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #F9A826;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease;
}

.logo {
    font-size: 1rem;
    font-weight: 800;
    color: #0E1325;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

nav .nav-links .language-switcher .lang-divider,
.nav-links .language-switcher .lang-divider {
    color: #0E1325 !important;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-links a {
    color: #0E1325;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #0E1325;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #0E1325;
    cursor: pointer;
    z-index: 1001;
}

.glow-orb,
.particle,
.hero-gradient {
    will-change: transform;
}

.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #F9A826;
    border-radius: 50%;
    opacity: 0;
    animation: float 15s infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 168, 38, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transition: none;
    transform: translate(-300px, -300px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.hero {
    text-align: center;
    margin-bottom: 120px;
    perspective: 1000px;
}


.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #F9A826 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.curiosity-hook {
    display: inline-block;
    color: #F9A826;
    position: relative;
    font-weight: 700;
}

.curiosity-hook::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #F9A826;
    animation: pulse 2s ease infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 120px;
}

.article-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 550px;
    width: 100%;
    max-width: 350px;
    justify-self: center;
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1429 100%);
    border: 2px solid rgba(249, 168, 38, 0.1);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-20px) rotateX(5deg);
    border-color: rgba(249, 168, 38, 0.5);
    box-shadow: 0 30px 80px rgba(249, 168, 38, 0.3), 0 0 50px rgba(249, 168, 38, 0.2);
}

.article-card.large,
.article-card.medium,
.article-card.small {
    grid-column: span 1;
    height: 550px;
}

.mystery-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(10, 14, 39, 0.7) 100%);
    z-index: 3;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.article-card:hover .mystery-veil {
    opacity: 0;
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: rgba(10, 14, 39, 0.5);
    filter: brightness(0.6) saturate(1.2);
    transition: all 0.8s ease;
}

.article-card:hover .card-image {
    filter: brightness(0.9) saturate(1.4);
    transform: scale(1.15);
}

.card-category {
    display: inline;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    max-width: none;
    width: fit-content;
}

.category-exhibition {
    background: rgba(249, 168, 38, 0.2);
    color: #F9A826;
    border: 1px solid #F9A826;
}

.category-history {
    background: rgba(168, 85, 247, 0.2);
    color: #A855F7;
    border: 1px solid #A855F7;
}

.category-news {
    background: rgba(20, 184, 166, 0.2);
    color: #14B8A6;
    border: 1px solid #14B8A6;
}

.card-content {
    position: relative;
    flex: 1;
    padding: 30px;
    z-index: 4;
    background: linear-gradient(to top, rgba(10, 14, 39, 1) 0%, rgba(10, 14, 39, 0.95) 100%);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar for card content */
.card-content::-webkit-scrollbar {
    width: 6px;
}

.card-content::-webkit-scrollbar-track {
    background: rgba(249, 168, 38, 0.1);
    border-radius: 10px;
}

.card-content::-webkit-scrollbar-thumb {
    background: rgba(249, 168, 38, 0.5);
    border-radius: 10px;
}

.card-content::-webkit-scrollbar-thumb:hover {
    background: #F9A826;
}

.card-number {
    font-size: 0.875rem;
    color: #F9A826;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.7;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    transition: all 0.4s ease;
    line-height: 1.2;
}

.article-card:hover .card-title {
    color: #F9A826;
    transform: translateX(10px);
}

.card-teaser {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #F9A826;
    color: #0A0E27;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 4px 15px rgba(249, 168, 38, 0.4);
    text-decoration: none;
    margin-top: auto;
    flex-shrink: 0;
    /* Prevent button from shrinking */
    min-height: 48px;
    /* Fixed minimum height */
    white-space: nowrap;
    /* Prevent text from wrapping */
}

.card-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.article-card:hover .card-button::before {
    transform: translateX(100%);
}

@keyframes buttonGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(249, 168, 38, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(249, 168, 38, 0.7);
    }
}

.card-button {
    animation: buttonGlow 2s ease-in-out infinite;
}

.article-card:hover .card-button {
    animation: none;
    background: #ffffff;
    box-shadow: 0 6px 25px rgba(249, 168, 38, 0.6);
    transform: scale(1.02);
}


@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.newsletter h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #0A0E27;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.newsletter-description {
    font-size: 1.25rem;
    color: rgba(10, 14, 39, 0.8);
    font-weight: 600;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.input-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.newsletter-input {
    width: 100%;
    padding: 20px 60px 20px 24px;
    border-radius: 50px;
    border: 3px solid #0A0E27;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #0A0E27;
}

.newsletter-input:focus {
    box-shadow: 0 0 0 5px rgba(10, 14, 39, 0.3);
    border-color: #0A0E27;
}

.input-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #F9A826;
    font-size: 1.5rem;
}

.newsletter-button {
    padding: 20px 50px;
    border-radius: 50px;
    background: #0A0E27;
    color: #F9A826;
    font-weight: 800;
    font-size: 1.125rem;
    border: 3px solid #0A0E27;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-button:hover {
    background: #1a2344;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(10, 14, 39, 0.5);
}

.newsletter-disclaimer {
    font-size: 0.875rem;
    color: rgba(10, 14, 39, 0.7);
    font-weight: 600;
}

.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.no-articles {
    text-align: center;
    padding: 100px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.no-articles h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #F9A826;
}

.no-articles a {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background: #F9A826;
    color: #0A0E27;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.no-articles a:hover {
    background: #ffffff;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .container {
        padding: 60px 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .article-card {
        height: 550px;
        width: 100%;
        max-width: 100%;
    }

    .card-image-container {
        height: 180px;
    }

    .featured-content {
        padding: 40px 24px;
    }

    .newsletter {
        padding: 60px 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Footer */
footer {
    background: #0E1325;
    color: white;
    padding: 80px 60px 30px;
    border-top: 2px solid #F9A826;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 168, 38, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Footer Brand Logo */
.footer-brand-logo {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 1400px;
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

.footer-brand-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(249, 168, 38, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-brand-logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(249, 168, 38, 0.4));
    opacity: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
    gap: 50px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: #F9A826;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #F9A826;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.footer-description {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(249, 168, 38, 0.1);
    border: 2px solid rgba(249, 168, 38, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F9A826;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #F9A826;
    color: #0E1325;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(249, 168, 38, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Section */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-icon {
    color: #F9A826;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-info strong {
    color: white;
    display: block;
    margin-bottom: 5px;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Working Hours */
.working-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.working-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(249, 168, 38, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.working-hours-list li:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: white;
}

.time {
    color: #3FCFED;
    font-weight: 600;
}

/* Quick Links */
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-links a::before {
    content: '→';
    color: #F9A826;
    transition: transform 0.3s ease;
}

.quick-links a:hover {
    color: #F9A826;
    transform: translateX(5px);
}

.quick-links a:hover::before {
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(249, 168, 38, 0.2);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-credits {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.footer-credits a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: #F9A826;
}

.footer-divider {
    color: rgba(249, 168, 255, 0.3);
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 968px) {
    footer {
        padding: 60px 30px 30px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 25px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand-logo img {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 50px 20px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-brand-logo {
        margin-bottom: 35px;
    }

    .footer-brand-logo img {
        width: 40px;
        height: 40px;
    }

    .footer-section h3 {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .contact-icon {
        margin-top: 0;
    }

    .social-links {
        justify-content: center;
    }

    .working-hours-list li {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        padding: 15px 0;
    }

    .quick-links {
        text-align: center;
    }

    .quick-links a {
        justify-content: center;
    }

    .footer-credits {
        flex-direction: column;
        gap: 10px;
    }

    .footer-divider {
        display: none;
    }
}

/* Mobile Responsiveness */

@media (max-width: 968px) {
    nav {
        padding: 15px 30px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #F9A826;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 25px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        right: 0;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 12px 20px;
    }

    .logo {
        font-size: 1rem;
    }
}

/* Skip to Content Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #F9A826;
    color: #1a1a1a;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 100000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}