/* =================================== */
/* 1. Styles for New Content Pages    */
/* =================================== */

body.content-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.header {
    background: #fff;
    padding: 15px 30px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #071021;
    text-decoration: none;
}

.nav a {
    color: #555;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover, .nav a.active {
    color: #007bff;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #071021;
}

.content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: #2c3e50;
    color: #ecf0f1;
}

.footer p { margin: 0; }
.footer a { color: #aed6f1; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Blog List & Article Styles */
.blog-post-item { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #eee; }
.blog-post-item h3 a { color: #333; text-decoration: none; font-size: 1.8em; }
.blog-post-item h3 a:hover { color: #007bff; }
.blog-post-item p { color: #666; }
.read-more { display: inline-block; color: #007bff; text-decoration: none; font-weight: bold; }
.article-meta { font-size: 0.9em; color: #777; margin-bottom: 20px; }


/* =================================== */
/* 2. Styles for Original index.html  */
/* =================================== */

html, body.tool-page { margin:0; padding:0; width:100%; height:100%; overflow:hidden; font-family: "Inter","Helvetica Neue",Arial,sans-serif; background: #071021; color:white; }
canvas#bg { position:fixed; top:0; left:0; width:100%; height:100%; z-index:0; pointer-events:none; }
.theme-switcher { position:fixed; top:20px; right:20px; display:flex; gap:8px; z-index:10; }
.theme-btn { background: rgba(255,255,255,0.08); border:none; padding:8px 12px; border-radius:999px; color:white; cursor:pointer; font-size:13px; transition:0.2s; }
.theme-btn.active { background: rgba(255,255,255,0.12); box-shadow:0 6px 20px rgba(0,128,255,0.2);}
.theme-btn:hover { transform: translateY(-2px); }
.center-wrap { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); display:flex; flex-direction:column; align-items:center; text-align:center; z-index: 20; }
.circle { width:180px; height:180px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:600; letter-spacing:0.6px; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.25), rgba(255,255,255,0.05)); box-shadow:0 12px 40px rgba(0,0,0,0.6); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 0%,100%{transform:scale(1);}50%{transform:scale(1.7);} }
.label { margin-top:12px; font-size:14px; color: rgba(255,255,255,0.88); }
.preset-timers { display: flex; gap: 8px; margin-top: 24px; align-items: center; }
.preset-btn { background: rgba(255,255,255,0.08); border:none; padding:6px 10px; border-radius: 6px; color:white; cursor:pointer; font-size:13px; transition:0.2s; }
.preset-btn:hover { background: rgba(255,255,255,0.12); }
.preset-btn.active { background: rgba(255,255,255,0.15); }
#customTimeInput { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; width: 50px; padding: 5px 8px; border-radius: 6px; text-align: center; font-size: 13px; margin-left: 4px; }
#customTimeInput::-webkit-outer-spin-button, #customTimeInput::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#customTimeInput[type=number] { -moz-appearance: textfield; }
.timer-container { margin-top:12px; display:flex; gap:6px; align-items:center; position: relative; z-index: 1; }
.timer-display { font-size:22px; font-weight:600; background: rgba(255,255,255,0.05); padding:8px 16px; border-radius:8px; min-width:120px; text-align:center; user-select:none; }
.timer-btn { padding:8px 14px; border-radius:6px; border:none; background: rgba(255,255,255,0.08); color:white; cursor:pointer; transition:0.2s; }
.timer-btn:hover { background: rgba(255,255,255,0.12); }
#audioToggle { position: fixed; top: 20px; left: 20px; z-index: 20; background: rgba(255,255,255,0.08); border:none; padding:8px 12px; border-radius:999px; color:white; cursor:pointer; font-size:13px; transition:0.2s; }
#audioToggle:hover { background: rgba(255,255,255,0.12); }

/* New Navigation Menu for Tool Page */
.tool-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 50px;
    display: flex;
    gap: 15px;
}
.tool-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.tool-nav a:hover {
    color: #fff;
}