/* === Base Styles (Inspired by the Provided Blogs) === */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #e6edf3;
    background-color: #0d1117;
    margin: 0;
    padding: 20px;
    max-width: 800px;
}
a {
    color: #58a6ff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
/* === Typography === */
h1 {
    font-size: 2.5em;
    border-bottom: 1px solid #30363d;
    padding-bottom: 0.3em;
    margin-top: 24px;
    margin-bottom: 16px;
    color: #ffffff;
}
.img{
  background-image: url('../imgs/s.jpg');
  background-size: cover;
  width: 100%;
  height: auto;
  margin: 0px;
  padding: 10px;
  box-sizing: border-box;
}
h2 {
    font-size: 1.8em;
    border-bottom: 1px solid #30363d;
    padding-bottom: 0.3em;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #55616e;
    font-family: Tahoma;
}
p {
    margin-bottom: 16px;
    text-align: justify;
}
.subtitle {
    font-size: 1.1em;
    color: #8b949e;
    font-style: italic;
    font-weight: bold;
    background-color: #00f0232a;
    margin-bottom: 24px;
    border-left: 3px solid #238636;
    padding-left: 15px;
}
/* === Code Block Styling (For technical bits) === */
pre {
    background-color: #161b22;
    border-radius: 6px;
    padding: 16px;
    overflow: auto;
    border: 1px solid #30363d;
    margin: 20px 0;
}
code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background-color: rgba(110, 118, 129, 0.4);
    border-radius: 3px;
    padding: 0.2em 0.4em;
    font-size: 0.9em;
}
pre > code {
    background: transparent;
    padding: 0;
}
/* === Interactive Section Styling === */
.interactive-box {
    background-color: #161b22;
    border: 1px dashed #3fb950;
    border-radius: 8px;
    padding: 25px;
    margin: 40px 0;
    text-align: center;
}
.interactive-box h3 {
    margin-top: 0;
    color: #3fb950;
}
#countdownDisplay {
    font-family: 'SFMono-Regular', monospace;
    font-size: 2em;
    font-weight: bold;
    color: #ff7b72;
    margin: 20px 0;
    min-height: 60px;
}
button {
    background-color: #238636;
    color: white;
    border: 1px solid #2ea043;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.2s;
}
button:hover {
    background-color: #2ea043;
}
/* === Footer === */
.blog-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #30363d;
    color: #8b949e;
    font-size: 0.9em;
    text-align: center;
}