/* General styles - Mobile-First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(180deg, #000000, #1a1a3d);
    color: #fff;
    position: relative;
    z-index: 0;
}

canvas#background {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.5; /* Reduced for mobile */
    pointer-events: none;
}

.container-magic {
    width: 100%;
    margin: 0 auto;
    padding: 20px 10px; /* Reduced for mobile */
    position: relative;
    z-index: 2;
}

h1.pueblo-title {
    text-align: center;
    font-size: 2rem; /* Reduced for mobile */
    font-weight: 900;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px; /* Reduced for mobile */
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6), 0 0 3px rgba(255, 215, 0, 0.4); /* Reduced shadow */
    margin-bottom: 5px; /* Reduced margin */
    position: relative;
    padding-bottom: 3px;
    margin-top: 2rem; /* Reduced margin */
}

h1.pueblo-title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px; /* Thinner for mobile */
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation: glow 2s infinite alternate;
    z-index: 1;
}

@keyframes glow {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

p.pueblo-description {
    text-align: center;
    font-size: 0.9rem; /* Reduced for mobile */
    color: #ddd;
    margin-top: 0;
    margin-bottom: 15px; /* Reduced margin */
    font-style: italic;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2); /* Reduced shadow */
}

/* Gallery */
.gallery-magic {
    position: relative;
    height: 200px; /* Reduced for mobile */
    overflow: hidden;
    border-radius: 6px; /* Reduced radius */
    margin-bottom: 15px; /* Reduced margin */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Reduced shadow */
    z-index: 2;
}

.gallery-magic img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.gallery-magic img.active {
    opacity: 1;
}

/* Navigation tabs */
.nav-tabs-magic {
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    align-items: center; /* Center tabs horizontally */
    justify-content: center; /* Center tabs vertically within container */
    gap: 8px; /* Reduced gap for tighter spacing */
    margin-bottom: 15px; /* Reduced margin */
    padding: 0 5px; /* Tighter padding to prevent overflow */
    z-index: 3;
    width: 100%; /* Ensure container fits within parent */
    box-sizing: border-box; /* Prevent padding from causing overflow */
}

.nav-tab-magic {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center text/icon within button */
    padding: 8px 16px; /* Reduced padding for mobile */
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(26, 26, 61, 0.6));
    border-radius: 25px; /* Slightly smaller radius */
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem; /* Smaller font for mobile */
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.6px; /* Reduced for better fit */
    min-width: 100px; /* Reduced min-width */
    max-width: 90%; /* Prevent buttons from exceeding container */
    text-align: center;
    pointer-events: auto;
    z-index: 3;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis for long text */
}

.nav-tab-magic:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(26, 26, 61, 0.8));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    color: #ffffff;
}

.nav-tab-magic.active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a3d;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transform: scale(1.03);
}

.nav-tab-magic.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    border-radius: 2px;
}

.nav-tab-magic[data-section="shops"],
.nav-tab-magic[data-section="gastronomy"] {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.3), rgba(26, 26, 61, 0.6));
    border: 1px solid rgba(255, 165, 0, 0.6);
}

.nav-tab-magic[data-section="shops"]:hover,
.nav-tab-magic[data-section="gastronomy"]:hover {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.5), rgba(26, 26, 61, 0.8));
}

.nav-tab-magic[data-section="shops"].active,
.nav-tab-magic[data-section="gastronomy"].active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a3d;
}

.nav-tab-magic i {
    margin-right: 5px; /* Reduced spacing */
    font-size: 0.85rem; /* Match text size */
    vertical-align: middle;
}

/* Extra-small screens (max-width: 360px) */
@media (max-width: 360px) {
    .nav-tabs-magic {
        gap: 6px;
        padding: 0 3px;
    }

    .nav-tab-magic {
        padding: 6px 12px;
        font-size: 0.75rem;
        min-width: 80px;
        max-width: 95%;
        border-radius: 20px;
    }

    .nav-tab-magic i {
        margin-right: 4px;
        font-size: 0.8rem;
    }
}

/* Tablet (min-width: 768px) */
@media (min-width: 768px) {
    .nav-tabs-magic {
        flex-direction: row; /* Horizontal layout */
        gap: 12px;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .nav-tab-magic {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 30px;
        min-width: 120px;
        max-width: none; /* Remove max-width for larger screens */
    }

    .nav-tab-magic i {
        margin-right: 6px;
        font-size: 0.95rem;
    }
}

/* Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
    .nav-tabs-magic {
        gap: 15px;
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .nav-tab-magic {
        padding: 12px 24px;
        font-size: 1rem;
        border-radius: 35px;
        min-width: 140px;
    }

    .nav-tab-magic i {
        margin-right: 8px;
        font-size: 1.1rem;
    }
}

/* Catalog sections */
.catalog-section-magic {
    display: none;
    z-index: 2;
}

.catalog-section-magic.active {
    display: block;
}

.catalog-section-magic#shops,
.catalog-section-magic#gastronomy {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 165, 0, 0.05));
    border-radius: 6px; /* Reduced radius */
    padding: 10px; /* Reduced padding */
}

.catalog-grid-magic {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 10px; /* Reduced gap */
}

.card-magic {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px; /* Reduced radius */
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 215, 0, 0.2);
    pointer-events: auto;
    z-index: 3;
}

.card-magic:hover {
    transform: translateY(-3px); /* Reduced lift */
}

.card-magic img {
    width: 100%;
    height: 150px; /* Reduced height */
    object-fit: cover;
    pointer-events: none;
}

.info-magic {
    padding: 10px; /* Reduced padding */
    text-align: center;
}

.info-magic h3 {
    margin: 0 0 5px; /* Reduced margin */
    font-size: 1.2rem; /* Reduced for mobile */
    font-weight: 700;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Reduced for mobile */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); /* Reduced shadow */
    transition: color 0.3s ease;
}

.card-magic:hover .info-magic h3 {
    color: #ffffff;
}

.info-magic p.description {
    margin: 0;
    font-size: 0.75rem; /* Reduced for mobile */
    color: #ccc;
    line-height: 1.2;
}

/* Restaurant gallery and contact */
.restaurant-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Reduced gap */
    margin-top: 5px; /* Reduced margin */
    z-index: 3;
}

.restaurant-gallery img {
    width: 80px; /* Reduced size */
    height: 80px; /* Reduced size */
    object-fit: cover;
    border-radius: 3px; /* Reduced radius */
    cursor: pointer;
    pointer-events: auto;
    z-index: 3;
}

.restaurant-contact {
    margin-top: 5px; /* Reduced margin */
    font-size: 0.8rem; /* Reduced for mobile */
    color: #ddd;
    z-index: 3;
}

.restaurant-contact a {
    color: #FFD700;
    text-decoration: none;
    pointer-events: auto;
}

.restaurant-contact a:hover {
    text-decoration: underline;
}

/* Promotion styles */
.restaurant-promo {
    margin-top: 5px; /* Reduced margin */
    padding: 8px; /* Reduced padding */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #FFD700;
    border-radius: 3px; /* Reduced radius */
    text-align: center;
    z-index: 3;
}

.restaurant-promo p {
    font-size: 0.8rem; /* Reduced for mobile */
    color: #ddd;
    margin: 0 0 5px; /* Reduced margin */
}

.promo-button {
    padding: 5px 10px; /* Reduced padding */
    background: #FFD700;
    color: #1a1a3d;
    border: none;
    border-radius: 3px; /* Reduced radius */
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem; /* Reduced for mobile */
    transition: background 0.3s ease, transform 0.2s ease;
    pointer-events: auto;
    z-index: 3;
}

.promo-button:hover {
    background: #FFA500;
    transform: scale(1.03); /* Reduced scale */
}

/* Modal */
.modal-magic {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: auto;
}

.modal-content-magic {
    background: #2c2c54;
    padding: 15px; /* Reduced padding */
    border-radius: 6px; /* Reduced radius */
    max-width: 90%;
    width: 90%;
    position: relative;
    border: 1px solid #FFD700;
    pointer-events: auto;
    z-index: 1001;
}

.close-magic {
    position: absolute;
    top: 5px; /* Reduced position */
    right: 10px; /* Reduced position */
    font-size: 1.2rem; /* Reduced for mobile */
    cursor: pointer;
    color: #FFD700;
    pointer-events: auto;
    z-index: 1002;
}

#modal-title {
    color: #FFD700;
    margin-bottom: 5px; /* Reduced margin */
    font-size: 1.2rem; /* Reduced for mobile */
}

#modal-details {
    color: #ddd;
    font-size: 0.9rem; /* Reduced for mobile */
}

/* Rewards section */
.rewards-magic {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.15));
    padding: 10px; /* Reduced padding */
    border-radius: 6px; /* Reduced radius */
    margin-top: 15px; /* Reduced margin */
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 2;
}

.rewards-magic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25), transparent);
    animation: pulse 8s infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(0.8); opacity: 0.3; }
}

.rewards-magic h2 {
    color: #FFD700;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.6); /* Reduced shadow */
    font-size: 1.5rem; /* Reduced for mobile */
    margin-bottom: 10px; /* Reduced margin */
    z-index: 3;
}

.rewards-magic p {
    text-align: center;
    color: #ddd;
    font-size: 0.9rem; /* Reduced for mobile */
    z-index: 3;
}

.rewards-progress {
    margin: 10px 0; /* Reduced margin */
    text-align: center;
    z-index: 3;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px; /* Reduced radius */
    height: 15px; /* Reduced height */
    overflow: hidden;
    margin: 5px auto; /* Reduced margin */
    max-width: 200px; /* Reduced width */
    border: 1px solid rgba(255, 215, 0, 0.3);
    z-index: 3;
}

.progress-fill {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    height: 100%;
    transition: width 0.5s ease;
    z-index: 3;
}

.rewards-magic form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Reduced gap */
    max-width: 100%;
    margin: 10px auto; /* Reduced margin */
    z-index: 3;
}

.rewards-magic input[type="file"],
.rewards-magic input[type="text"],
.rewards-magic input[type="hidden"] {
    padding: 8px; /* Reduced padding */
    border: 1px solid #FFD700;
    border-radius: 3px; /* Reduced radius */
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem; /* Reduced for mobile */
    pointer-events: auto;
    cursor: pointer;
    z-index: 3;
}

.rewards-magic button {
    padding: 8px; /* Reduced padding */
    background: #FFD700;
    color: #1a1a3d;
    border: none;
    border-radius: 3px; /* Reduced radius */
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem; /* Reduced for mobile */
    transition: background 0.3s ease, transform 0.2s ease;
    pointer-events: auto;
    z-index: 3;
}

.rewards-magic button:hover {
    background: #e6c200;
    transform: scale(1.03); /* Reduced scale */
}

.notification-magic {
    display: none;
    position: fixed;
    top: 10px; /* Reduced position */
    right: 10px; /* Reduced position */
    background: #FFD700;
    color: #1a1a3d;
    padding: 8px 15px; /* Reduced padding */
    border-radius: 3px; /* Reduced radius */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Reduced shadow */
    z-index: 1000;
    pointer-events: auto;
    font-size: 0.9rem; /* Reduced for mobile */
}

/* User photos */
.user-photos h3 {
    color: #FFD700;
    text-align: center;
    margin-top: 10px; /* Reduced margin */
    font-size: 1.2rem; /* Reduced for mobile */
    z-index: 3;
}

.user-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjusted for mobile */
    gap: 10px; /* Reduced gap */
    margin-top: 10px; /* Reduced margin */
    z-index: 3;
}

.user-photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px; /* Reduced radius */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reduced shadow */
    pointer-events: auto;
    z-index: 3;
}

.user-photo-card img {
    width: 100%;
    height: 120px; /* Reduced height */
    object-fit: cover;
    pointer-events: none;
}

.user-photo-card p {
    padding: 8px; /* Reduced padding */
    margin: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.8rem; /* Reduced for mobile */
    z-index: 3;
}

/* Map */
#map {
    height: 250px; /* Reduced for mobile */
    width: 100%;
    margin: 10px 0; /* Reduced margin */
    border-radius: 6px; /* Reduced radius */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reduced shadow */
}

.gm-style-iw {
    border-radius: 6px; /* Reduced radius */
    max-width: 200px !important; /* Reduced width */
}

.gm-style-iw div {
    max-width: 200px;
}

.gm-style-iw img {
    width: 100%;
    height: 80px; /* Reduced height */
    object-fit: cover;
    border-radius: 3px; /* Reduced radius */
    margin-bottom: 5px; /* Reduced margin */
}

.gm-style-iw h3 {
    margin: 0 0 5px; /* Reduced margin */
    font-size: 1rem; /* Reduced for mobile */
    color: #333;
}

.gm-style-iw p {
    margin: 0;
    font-size: 0.8rem; /* Reduced for mobile */
    color: #555;
}

/* Weather section */
.weather-section {
    background: transparent;
    border-radius: 6px; /* Reduced radius */
    padding: 10px; /* Reduced padding */
    margin: 10px 0; /* Reduced margin */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reduced shadow */
    text-align: center;
}

.weather-section h2 {
    font-size: 1.2rem; /* Reduced for mobile */
    color: #eee;
    margin-bottom: 5px; /* Reduced margin */
}

#weather-info {
    font-size: 0.9rem; /* Reduced for mobile */
    color: #ddd;
}

.weather-icon {
    width: 40px; /* Reduced size */
    vertical-align: middle;
}

/* Tablet (min-width: 768px) */
@media (min-width: 768px) {
    .container-magic {
        padding: 30px 15px;
        max-width: 800px;
    }

    h1.pueblo-title {
        font-size: 2.8rem;
        letter-spacing: 1.5px;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 0 0 4px rgba(255, 215, 0, 0.5);
        margin-top: 3rem;
    }

    h1.pueblo-title::after {
        height: 2.5px;
    }

    p.pueblo-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .gallery-magic {
        height: 300px;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    }

    .catalog-section-magic#shops,
    .catalog-section-magic#gastronomy {
        border-radius: 8px;
        padding: 15px;
    }

    .catalog-grid-magic {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .card-magic {
        border-radius: 8px;
    }

    .card-magic img {
        height: 180px;
    }

    .info-magic {
        padding: 12px;
    }

    .info-magic h3 {
        font-size: 1.4rem;
        letter-spacing: 0.8px;
        text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
    }

    .info-magic p.description {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .restaurant-gallery img {
        width: 90px;
        height: 90px;
        border-radius: 4px;
    }

    .restaurant-contact {
        font-size: 0.85rem;
    }

    .restaurant-promo {
        padding: 9px;
        border-radius: 4px;
    }

    .restaurant-promo p {
        font-size: 0.85rem;
    }

    .promo-button {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .modal-content-magic {
        padding: 18px;
        border-radius: 8px;
        max-width: 400px;
    }

    .close-magic {
        font-size: 1.4rem;
    }

    .rewards-magic {
        padding: 15px;
        border-radius: 8px;
        margin-top: 20px;
    }

    .rewards-magic h2 {
        font-size: 1.8rem;
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
    }

    .rewards-magic p {
        font-size: 0.95rem;
    }

    .progress-bar {
        height: 18px;
        max-width: 250px;
    }

    .rewards-magic input[type="file"],
    .rewards-magic input[type="text"],
    .rewards-magic input[type="hidden"] {
        padding: 9px;
        font-size: 0.95rem;
    }

    .rewards-magic button {
        padding: 9px;
        font-size: 0.95rem;
    }

    .notification-magic {
        padding: 9px 18px;
        font-size: 0.95rem;
    }

    .user-photos h3 {
        font-size: 1.4rem;
    }

    .user-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .user-photo-card img {
        height: 140px;
    }

    .user-photo-card p {
        padding: 9px;
        font-size: 0.9rem;
    }

    #map {
        height: 350px;
        border-radius: 7px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }

    .gm-style-iw {
        max-width: 230px !important;
    }

    .gm-style-iw img {
        height: 90px;
    }

    .gm-style-iw h3 {
        font-size: 1.1rem;
    }

    .gm-style-iw p {
        font-size: 0.85rem;
    }

    .weather-section {
        padding: 15px;
        border-radius: 7px;
    }

    .weather-section h2 {
        font-size: 1.4rem;
    }

    #weather-info {
        font-size: 0.95rem;
    }

    .weather-icon {
        width: 45px;
    }
}

/* Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
    .container-magic {
        max-width: 1200px;
        padding: 40px 20px;
    }

    h1.pueblo-title {
        font-size: 3.5rem;
        letter-spacing: 2px;
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 5px rgba(255, 215, 0, 0.6);
        margin-top: 5rem;
    }

    h1.pueblo-title::after {
        height: 3px;
    }

    p.pueblo-description {
        font-size: 1rem;
        margin-bottom: 30px;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }

    .gallery-magic {
        height: 400px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .catalog-section-magic#shops,
    .catalog-section-magic#gastronomy {
        border-radius: 10px;
        padding: 20px;
    }

    .catalog-grid-magic {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .card-magic {
        border-radius: 10px;
    }

    .card-magic img {
        height: 200px;
    }

    .info-magic {
        padding: 15px;
    }

    .info-magic h3 {
        font-size: 1.6rem;
        letter-spacing: 1px;
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
    }

    .info-magic p.description {
        font-size: 0.8rem;
    }

    .restaurant-gallery {
        gap: 10px;
        margin-top: 10px;
    }

    .restaurant-gallery img {
        width: 100px;
        height: 100px;
        border-radius: 5px;
    }

    .restaurant-contact {
        margin-top: 10px;
        font-size: 0.9rem;
    }

    .restaurant-promo {
        margin-top: 10px;
        padding: 10px;
        border-radius: 5px;
    }

    .restaurant-promo p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .promo-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .modal-content-magic {
        padding: 20px;
        border-radius: 10px;
        max-width: 500px;
    }

    .close-magic {
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
    }

    #modal-title {
        font-size: 1.5rem;
    }

    #modal-details {
        font-size: 1rem;
    }

    .rewards-magic {
        padding: 20px;
        border-radius: 10px;
        margin-top: 30px;
    }

    .rewards-magic h2 {
        font-size: 2rem;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    }

    .rewards-magic p {
        font-size: 1rem;
    }

    .rewards-progress {
        margin: 20px 0;
    }

    .progress-bar {
        height: 20px;
        max-width: 300px;
    }

    .rewards-magic input[type="file"],
    .rewards-magic input[type="text"],
    .rewards-magic input[type="hidden"] {
        padding: 10px;
        font-size: 1rem;
    }

    .rewards-magic button {
        padding: 10px;
        font-size: 1rem;
    }

    .notification-magic {
        top: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .user-photos h3 {
        margin-top: 20px;
        font-size: 1.5rem;
    }

    .user-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }

    .user-photo-card img {
        height: 150px;
    }

    .user-photo-card p {
        padding: 10px;
        font-size: 1rem;
    }

    #map {
        height: 400px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .gm-style-iw {
        border-radius: 8px;
        max-width: 250px !important;
    }

    .gm-style-iw img {
        height: 100px;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .gm-style-iw h3 {
        font-size: 1.2rem;
    }

    .gm-style-iw p {
        font-size: 0.9rem;
    }

    .weather-section {
        padding: 20px;
        border-radius: 8px;
        margin: 20px 0;
    }

    .weather-section h2 {
        font-size: 1.5rem;
    }

    .weather-icon {
        width: 50px;
    }
}