@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html,
body {
    background-color: #000;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

/* App Container - Centers content on larger screens, full width on mobile */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #000;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-left: 1px solid rgba(0, 229, 255, 0.1);
    border-right: 1px solid rgba(0, 229, 255, 0.1);
}

/* Hero Header - Full Bleed */
.hero-header {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    z-index: 1;
}

.image-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Gradient overlay for text readability and logo contrast */
.image-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 20%, rgba(0, 0, 0, 0) 50%, rgba(6, 5, 14, 0.95) 100%);
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.logo-layer {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
}

.logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.9));
    transition: transform 0.3s ease;
}

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

/* Content Body - Contains the buttons with padding */
.content-body {
    background: linear-gradient(180deg, #06050e 0%, #0c0a1a 100%);
    padding: 15px 20px 10px 20px;
    margin-top: -30px;
    flex-grow: 1;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    border-radius: 30px 30px 0 0;
    border-top: 2px solid rgba(0, 229, 255, 0.8);
    box-shadow: 0 -15px 25px rgba(0, 229, 255, 0.15);
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Common Button Styles */
.main-button {
    background: rgba(0, 229, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-radius: 18px;
    position: relative;
    border: 1px solid rgba(0, 229, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.main-button:hover {
    transform: translateY(-4px) scale(1.01);
    background: rgba(0, 229, 255, 0.15);
    border-color: #00e5ff;
    box-shadow: 0 15px 30px rgba(0, 229, 255, 0.25);
}


.wide {
    width: 100%;
    justify-content: flex-start;
    gap: 15px;
}

/* Icons */
.icon-circle,
.icon-pin,
.icon-avisos,
.icon-calendar {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #00e5ff;
    border: none;
    background: none;
}


.main-button:hover i,
.grid-btn:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 10px currentColor;
}

.main-button i,
.grid-btn i {
    transition: all 0.3s ease;
}

.btn-text {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1.3;
    flex-grow: 1;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Grid Buttons */
.icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.grid-btn {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 14px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 18px;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.grid-btn:hover {
    transform: translateY(-6px);
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 12px 25px rgba(0, 229, 255, 0.2);
}


.grid-btn .icon-circle,
.grid-btn .icon-pin,
.grid-btn .icon-avisos {
    width: 32px;
    height: 32px;
    font-size: 20px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.btn-label {
    color: #a0aec0;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grid-btn:hover .btn-label {
    color: #fff;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.footer i {
    font-size: 18px;
    color: #00e5ff;
    animation: finger-tap 1.5s ease-in-out infinite;
}

.footer span {
    animation: text-pulse 2s ease-in-out infinite;
}

@keyframes finger-tap {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes text-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Developer Credits */
.developer-credits {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: auto;
    padding-top: 25px;
    padding-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}

.developer-credits a {
    color: rgba(0, 229, 255, 0.7);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.developer-credits a:hover {
    color: #00e5ff;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .icons-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: linear-gradient(135deg, #0e0a24 0%, #06050e 100%);
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    position: relative;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 229, 255, 0.1);
    color: white;
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.close-modal:hover {
    opacity: 1;
    color: #00e5ff;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header i {
    font-size: 40px;
    color: #00e5ff;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #00e5ff;
}

.modal-body {
    margin-bottom: 25px;
}

.highlight-text {
    font-weight: 700;
    color: #00b0ff;
    margin-bottom: 15px;
    font-size: 14px;
}

.modal-body p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #b0bec5;
}

.hours-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.1);
    padding: 15px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.hour-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hour-item .day {
    font-weight: 700;
    color: #b0bec5;
}

.hour-item .time {
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.2);
}

.modal-action-btn {
    display: inline-block;
    background: #00e5ff;
    color: #000;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.modal-action-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-tooltip {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: #00e5ff;
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 12px;
    line-height: 1.4;
    text-align: center;
    position: relative;
    margin-top: 15px;
    display: block;
}

.btn-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 229, 255, 0.2);
}

.btn-tooltip i {
    margin-right: 5px;
}
