@font-face {
    font-family: 'Chusten Bullgis';
    src: url('Chusten Bullgis TTF.ttf') format('truetype');
}

:root {
    /* --primary: #0c9185; 
    --primary-light: #720017;
    --primary-hover: #ad0f0f; */

    --primary: #720017;
    --primary-light: #0c9185; 
    --primary-hover: #ad0f0f;

    --shadow-color: rgba(3, 103, 121, 0.15);
    --shadow-hover: rgba(3, 103, 121, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5ede0 0%, #f5ede0 100%);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

/* Logo animation */
.logo-container {
    animation: fadeInDown 0.6s ease-out;
}

.logo-container img {
    transition: transform 0.3s ease;
}

.logo-container:hover img {
    transform: scale(1.05);
}

/* Link buttons */
.link-button {
    background: var(--primary-light);
    border: none;
    padding: 18px 24px;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 16px;
    font-weight: 600;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-hover);
    background: var(--primary-hover);
}

.link-button:active {
    transform: translateY(-1px);
}

.link-button svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Ripple effect on click */
.link-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
}

.link-button:active::after {
    animation: ripple 0.4s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for buttons */
#linksContainer .link-button {
    animation: fadeInUp 0.5s ease-out backwards;
}

#linksContainer .link-button:nth-child(1) { animation-delay: 0.1s; }
#linksContainer .link-button:nth-child(2) { animation-delay: 0.2s; }
#linksContainer .link-button:nth-child(3) { animation-delay: 0.3s; }
#linksContainer .link-button:nth-child(4) { animation-delay: 0.4s; }
#linksContainer .link-button:nth-child(5) { animation-delay: 0.5s; }
#linksContainer .link-button:nth-child(6) { animation-delay: 0.6s; }
#linksContainer .link-button:nth-child(7) { animation-delay: 0.7s; }

/* Featured / Special link (datas comemorativas) */
.link-button--featured {
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.link-button--featured:hover {
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.link-button--featured svg {
    color: inherit;
    fill: currentColor;
}

/* Language selector */
.lang-btn {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    user-select: none;
}

.lang-btn:hover {
    background: rgba(3, 103, 121, 0.1);
    transform: scale(1.05);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px var(--shadow-color);
}

/* Share button */
#shareBtn {
    transition: all 0.2s ease;
}

#shareBtn:hover {
    transform: scale(1.1);
}

#shareBtn:active {
    transform: scale(0.95);
}

/* Footer */
footer a, .text-center a {
    transition: color 0.2s ease;
}

footer a:hover, .text-center a:hover {
    color: var(--primary);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Better focus states for accessibility */
.link-button:focus,
.lang-btn:focus,
#shareBtn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Map container */
.map-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-hover);
}

.map-container iframe {
    display: block;
}
