body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f9;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.container {
    max-width: 480px;
    margin: /*24px*/0 auto;
    background: #fff;
    padding: 18px 6vw 32px 6vw;
    border-radius: 18px;
    box-shadow: 0 2px 24px 0 rgba(0,0,0,0.08);
}
header {
    margin-bottom: 16px;
}
h1 {
    color: #2d3748;
    font-size: 1.48rem;
    background: #bbe0fa;
    border-radius: 9px;
    text-align: center;
    margin: 0 0 10px 0;
    padding: 11px 0 10px 0;
    letter-spacing: 0.2px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(200,220,245,0.18);
}
.lead {
    font-size: 1rem;
    color: #49525b;
    text-align: center;
    margin: 0 0 10px 0;
}
.tip {
    display: block;
    font-size: 0.98rem;
    color: #007bff;
    margin-top: 4px;
    text-align: center;
}
.quick-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 20px 0 18px 0;
}
.quick-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: center;
    margin: 0;
    padding: 12px 0;
    border-radius: 14px;
    background: #eaf4ff;
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    border: 1px solid #c3e0ff;
    transition: background 0.18s, border 0.18s;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.quick-links a:hover,
.quick-links a:focus {
    background: #dbeafe;
    border-color: #90cdf4;
}
.input-section {
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
    margin-bottom: 22px;
}
input[type="date"] {
    padding: 12px 13px;
    font-size: 1rem;
    border: 1px solid #bfc9d1;
    border-radius: 8px;
    background: #fcfcfd;
    color: #333;
    transition: border 0.18s;
    width: 100%;
    box-sizing: border-box;
}
input[type="date"]:focus {
    border: 1.5px solid #007bff;
}
button {
    padding: 13px 0;
    font-size: 1rem;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    transition: background 0.24s;
    margin: 0;
    width: 100%;
    font-weight: 600;
}
button:hover, button:focus {
    background-color: #0056b3;
}
.result-section {
    text-align: center;
    margin: 18px 0 0 0;
}
.moon-phase img {
    max-width: 100%;
    height: auto;
    width: 122px;
    margin-bottom: 9px;
    margin-top: 0px;
    border-radius: 13px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
}
#result {
    margin: 12px 0 8px 0;
    font-size: 1.08rem;
    font-weight: 600;
    color: #212d35;
}
#shareSection {
    margin-top: 8px;
}
#copyBtn, #shareSection a {
    display: inline-block;
    margin: 5px 6px;
    padding: 8px 18px;
    font-size: 0.98rem;
    border-radius: 16px;
    background: #f3f4f7;
    color: #007bff;
    border: 1px solid #c3e0ff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}
#copyBtn:hover, #shareSection a:hover {
    background: #dbeafe;
    border-color: #90cdf4;
}
.info-section {
    margin: 36px 0 18px 0;
    background: #f9fcff;
    border-left: 4px solid #007bff;
    padding: 13px 13px 9px 18px;
    border-radius: 7px;
}
.info-section h2 {
    color: #1976d2;
    font-size: 1.16rem;
    margin-bottom: 7px;
}
.info-section p {
    margin: 0 0 3px 0;
    color: #47525e;
    font-size: 0.99rem;
}
.faq-section {
    margin-top: 30px;
}
.faq-section h2 {
    color: #1976d2;
    font-size: 1.09rem;
    border-bottom: 2px solid #e8eef6;
    padding-bottom: 8px;
    margin-bottom: 13px;
}
.faq-item {
    margin-bottom: 14px;
    background: #f8faff;
    padding: 11px 10px 7px 12px;
    border-radius: 7px;
    box-shadow: 0 0 4px rgba(0,0,0,0.04);
    border-left: 3px solid #c3e0ff;
}
.faq-item h3 {
    font-size: 1.01rem;
    margin-bottom: 3px;
    color: #25324d;
}
.faq-item p {
    margin: 0;
    color: #49525b;
    font-size: 0.93rem;
}
.faq-item a {
    color: #1976d2;
    text-decoration: underline;
}

/* Footer */
footer {
  background: #212529;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  line-height: 1.4;
}



@media (min-width: 601px) {
    .container {
        max-width: 600px;
        padding: 36px 50px 50px 50px;
		margin:24px auto;
    }
    h1 {
        font-size: 2.08rem;
        border-radius: 15px;
        padding: 17px 0 15px 0;
    }
    .quick-links {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    .quick-links a {
        width: auto;
        min-width: 170px;
    }
    .input-section {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
        align-items: center;
    }
    input[type="date"], button {
        width: auto;
        min-width: 170px;
    }
    .moon-phase img {
        width: 154px;
        border-radius: 17px;
    }
	  footer {
    padding: 0.8rem;
  }

}
