/* Explorar - World Exploration Page */

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

body {
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a237e 0%, #283593 30%, #3949ab 60%, #1a237e 100%);
    color: #fff;
    overflow-x: hidden;
}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-family: 'Fredoka One', cursive;
    color: #ffd700;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-chat {
    color: #90caf9;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-chat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    color: #ffd700;
    text-shadow: 2px 2px 0 #8b6914;
    margin-bottom: 15px;
}

.hero h1 i {
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Titles */
section h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: #ffcc80;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

section h2 i {
    color: #ffd700;
}

/* Monuments Section */
.monuments-section {
    margin-bottom: 50px;
}

.monuments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.monument {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.monument:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffd700;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.monument-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    animation: float 3s ease-in-out infinite;
}

.monument:nth-child(2) .monument-icon {
    animation-delay: 0.2s;
}

.monument:nth-child(3) .monument-icon {
    animation-delay: 0.4s;
}

.monument:nth-child(4) .monument-icon {
    animation-delay: 0.6s;
}

.monument:nth-child(5) .monument-icon {
    animation-delay: 0.8s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.monument span {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.monument-info-box {
    background: rgba(255, 204, 128, 0.2);
    border: 2px solid rgba(255, 204, 128, 0.4);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.monument-info-box.active {
    background: rgba(255, 204, 128, 0.3);
    border-color: #ffd700;
}

.monument-info-box i {
    color: #ffd700;
    font-size: 1.2rem;
}

/* Flags Section */
.flags-section {
    margin-bottom: 50px;
}

.flags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 12px;
}

.flag-card {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.flag-card:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.flag-tooltip {
    display: none;
    position: fixed;
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid #ffd700;
    font-size: 0.9rem;
    line-height: 1.6;
    z-index: 1000;
    max-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.flag-tooltip strong {
    color: #ffd700;
    font-size: 1.1rem;
}

.flag-tooltip i {
    color: #90caf9;
    margin-right: 5px;
}

/* Trails Section */
.trails-section {
    margin-bottom: 30px;
}

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

.trail-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.trail-card:hover,
.trail-card.active {
    transform: translateY(-8px);
    border-color: #ffd700;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.trail-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(76, 175, 80, 0.1));
}

.trail-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3), rgba(255, 152, 0, 0.1));
}

.trail-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.3), rgba(156, 39, 176, 0.1));
}

.trail-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(3, 169, 244, 0.3), rgba(3, 169, 244, 0.1));
}

.trail-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.trail-card:nth-child(1) .trail-icon {
    color: #81c784;
}

.trail-card:nth-child(2) .trail-icon {
    color: #ffb74d;
}

.trail-card:nth-child(3) .trail-icon {
    color: #ce93d8;
}

.trail-card:nth-child(4) .trail-icon {
    color: #4fc3f7;
}

.trail-card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
}

.trail-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Trail Content Panels */
.trail-content {
    margin-bottom: 40px;
}

.trail-panel {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    animation: fadeIn 0.4s ease;
}

.trail-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trail-panel h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card h4 {
    font-size: 1.1rem;
    color: #ffcc80;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card h4 i {
    color: #ffd700;
}

.info-card ul,
.info-card ol {
    padding-left: 20px;
    line-height: 1.8;
}

.info-card li {
    margin-bottom: 5px;
}

.info-card strong {
    color: #90caf9;
}

.info-card .two-columns {
    columns: 2;
    column-gap: 30px;
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #90caf9;
    text-decoration: none;
    font-size: 1rem;
    padding: 12px 25px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .monuments-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .monument-icon {
        font-size: 2rem;
    }

    .flags-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .flag-card {
        font-size: 2rem;
        padding: 10px;
    }

    .trails-grid {
        grid-template-columns: 1fr 1fr;
    }

    .info-card .two-columns {
        columns: 1;
    }

    .top-nav {
        padding: 10px 15px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-chat span {
        display: none;
    }
}

@media (max-width: 480px) {
    .monuments-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trails-grid {
        grid-template-columns: 1fr;
    }
}