* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 15px; 
    transition: background 0.3s ease;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    font-size: 1.2rem;
}

.star-icon,
.share-icon {
    color: #2a3282;
    font-size: 1.3rem; 
}

.share-icon {
    cursor: pointer;
}

.logo-container {
    text-align: center;
    margin: 25px 0 15px 0;
}

.logo {
    width: 100px; 
    height: 100px; 
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
    background: none;
    object-fit: contain;
}

.title {
    text-align: center;
    margin: 15px 0 10px 0;
}

.title h2 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.motto-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 10px 0 20px 0;
}

.motto {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2c3e50;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.links-container {
    max-width: 100%; 
    margin: 0 auto;
    padding: 0 10px; 
}

.link-item {
    display: flex;
    align-items: center;
    background: #2a3282; 
    color: white;
    text-decoration: none;
    padding: 14px 16px; 
    margin: 8px 0;
    border-radius: 12px;
    font-size: 0.5rem; 
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.icon-container {
    flex: 0 0 auto;
    margin-right: 12px;
    font-size: 1.3rem;
}

.text {
    flex: 1;
    text-align: left;
    font-size: 0.85rem; 
}

.dots {
    flex: 0 0 auto;
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
}

.link-item-wrapper {
  display: flex;
  flex-direction: column; 
  align-items: stretch; 
}

.operational-hours {
  background-color: #e8f4ff;
  border-left: 4px solid #2a3282; 
  padding: 10px 15px;
  margin-top: 5px; 
  margin-bottom: 15px; 
  font-size: 0.75rem;
  color: #2c3e50; 
  border-radius: 0 0 12px 12px;
}

.operational-hours i {
  margin-right: 8px;
  color: #2a3282;
  vertical-align: middle;
}

.hours-text {
  display: inline;
  font-weight: 600;
  margin: 0;
  vertical-align: middle;
}

.hours-details {
  margin: 4px 0 0 0; 
  line-height: 1.4; 
}

.footer {
    margin-top: auto;
    text-align: center;
    padding: 15px 0 10px 0;
    width: 100%;
}

.copyright {
    text-align: center;
    margin: 20px 0 15px 0;
    padding: 15px 0 5px 0;
}

.copyright p {
    color: #7f8c8d;
    font-size: 0.6rem;
    font-weight: 400;
    line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    .title h2,
    .motto p {
        color: #ecf0f1;
    }

    .link-item {
        background: #2a3282;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    
    .logo {
        background-color: white;
        padding: 6px; 
        border-radius: 4px;
    }

    .copyright p {
        color: #bdc3c7;
    }

    .operational-hours {
      background-color: #2c3e50;
      border-left-color: #2a3282;
      color: #ecf0f1; 
    }
}