
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #ffffff; color: #1a1a2e; line-height: 1.6; }
body.dark-mode { background: #0f172a; color: #e2e8f0; }
.site-wrapper {
max-width: 1200px;
margin: 0 auto;
background: #ffffff;
min-height: 100vh;
box-shadow: 0 0 60px rgba(0,0,0,0.08);
}
body.dark-mode .site-wrapper { background: #1e293b; box-shadow: 0 0 60px rgba(0,0,0,0.3); }
.top-bar {
background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 100%);
color: #fff;
font-size: 12px;
padding: 0;
}
.top-bar-inner {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1160px;
margin: 0 auto;
padding: 0 20px;
}
.top-bar a { color: #cbd5e1; text-decoration: none; transition: color 0.3s; }
.top-bar a:hover { color: #fff; }
.top-bar-social { display: flex; gap: 12px; align-items: center; }
.top-bar-social a { font-size: 13px; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar-right a { display: flex; align-items: center; gap: 4px; }
header {
position: sticky;
top: 0;
z-index: 1000;
}
.main-header {
background: #ffffff;
border-bottom: 1px solid #e5e7eb;
transition: all 0.3s ease;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.main-header.scrolled {
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
body.dark-mode .main-header {
background: #1e293b;
border-bottom: 1px solid #334155;
}
.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1160px;
margin: 0 auto;
padding: 0 20px;
height: 70px;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.site-logo img { height: 36px; width: auto; border-radius: 8px; }
.site-logo .logo-dark { display: none; }
body.dark-mode .site-logo .logo-light { display: none; }
body.dark-mode .site-logo .logo-dark { display: inline-block; height: 36px; width: auto; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .site-name { font-size: 20px; font-weight: 800; color: #1e3a5f; letter-spacing: -0.5px; line-height: 1.2; }
body.dark-mode .logo-text .site-name { color: #60a5fa; }
.logo-text .site-tagline { font-size: 10px; color: #64748b; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
body.dark-mode .logo-text .site-tagline { color: #94a3b8; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
color: #374151;
text-decoration: none;
font-size: 15px;
font-weight: 600;
padding: 8px 16px;
border-radius: 8px;
transition: all 0.3s ease;
position: relative;
}
.main-nav a:hover, .main-nav a.active {
color: #1e3a5f;
background: #eff6ff;
}
.main-nav a.active::after {
content: '';
position: absolute;
bottom: 2px;
left: 50%;
transform: translateX(-50%);
width: 20px;
height: 3px;
background: linear-gradient(135deg, #1e3a5f, #3b82f6);
border-radius: 2px;
}
body.dark-mode .main-nav a { color: #cbd5e1; }
body.dark-mode .main-nav a:hover, body.dark-mode .main-nav a.active { color: #60a5fa; background: #1e3a5f; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-search-btn, .sign-in-btn, .header-dark-toggle {
width: 38px; height: 38px;
border: none; background: #f3f4f6;
border-radius: 10px; cursor: pointer;
display: flex; align-items: center; justify-content: center;
color: #64748b; font-size: 16px;
transition: all 0.3s ease;
}
.header-search-btn:hover, .sign-in-btn:hover, .header-dark-toggle:hover { background: #eff6ff; color: #1e3a5f; }
body.dark-mode .header-search-btn, body.dark-mode .sign-in-btn, body.dark-mode .header-dark-toggle { background: #334155; color: #94a3b8; }
body.dark-mode .header-search-btn:hover, body.dark-mode .sign-in-btn:hover, body.dark-mode .header-dark-toggle:hover { background: #1e3a5f; color: #60a5fa; }
.header-search-btn, .header-dark-toggle {
width: 38px; height: 38px;
border: none; background: #f3f4f6;
border-radius: 10px; cursor: pointer;
display: flex; align-items: center; justify-content: center;
color: #64748b; font-size: 16px;
transition: all 0.3s ease;
}
.header-search-btn:hover, .header-dark-toggle:hover { background: #eff6ff; color: #1e3a5f; }
body.dark-mode .header-search-btn, body.dark-mode .header-dark-toggle { background: #334155; color: #94a3b8; }
body.dark-mode .header-search-btn:hover, body.dark-mode .header-dark-toggle:hover { background: #1e3a5f; color: #60a5fa; }
.search-overlay {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(8px);
z-index: 2000;
align-items: flex-start;
justify-content: center;
padding-top: 120px;
}
.search-overlay.active { display: flex; }
.search-box {
background: #fff;
border-radius: 16px;
padding: 24px;
width: 90%;
max-width: 600px;
box-shadow: 0 25px 60px rgba(0,0,0,0.3);
animation: slideDown 0.3s ease;
}
body.dark-mode .search-box { background: #1e293b; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.search-box input {
width: 100%;
padding: 16px 20px;
border: 2px solid #e5e7eb;
border-radius: 12px;
font-size: 16px;
font-family: 'Inter', sans-serif;
outline: none;
transition: border-color 0.3s;
}
.search-box input:focus { border-color: #3b82f6; }
body.dark-mode .search-box input { background: #0f172a; border-color: #334155; color: #e2e8f0; }
.search-close {
position: absolute;
top: 20px; right: 20px;
width: 44px; height: 44px;
border: none; background: rgba(255,255,255,0.1);
border-radius: 50%; cursor: pointer;
color: #fff; font-size: 20px;
display: flex; align-items: center; justify-content: center;
}
.sign-in-btn {
width: 38px; height: 38px;
border: none; background: #f3f4f6;
border-radius: 10px; cursor: pointer;
display: flex; align-items: center; justify-content: center;
color: #64748b; font-size: 16px;
transition: all 0.3s ease;
}
.sign-in-btn:hover { background: #eff6ff; color: #1e3a5f; }
body.dark-mode .sign-in-btn { background: #334155; color: #94a3b8; }
body.dark-mode .sign-in-btn:hover { background: #1e3a5f; color: #60a5fa; }
.sign-in-modal {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(8px);
z-index: 3000;
align-items: center;
justify-content: center;
padding: 20px;
}
.sign-in-modal.active { display: flex; }
.publisher-sign-in-modal {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(8px);
z-index: 3000;
align-items: center;
justify-content: center;
padding: 20px;
}
.publisher-sign-in-modal.active { display: flex; }
.sign-in-box {
background: #fff;
border-radius: 20px;
padding: 30px;
width: 100%;
max-width: 400px;
box-shadow: 0 25px 60px rgba(0,0,0,0.3);
animation: slideDown 0.3s ease;
position: relative;
max-height: 90vh;
overflow-y: auto;
}
body.dark-mode .sign-in-box { background: #1e293b; }
.sign-in-close {
position: absolute;
top: 20px; right: 20px;
width: 36px; height: 36px;
border: none; background: rgba(255,255,255,0.1);
border-radius: 50%; cursor: pointer;
color: #64748b; font-size: 16px;
display: flex; align-items: center; justify-content: center;
}
body.dark-mode .sign-in-close { color: #94a3b8; }
.sign-in-tabs { display: flex; margin-bottom: 20px; border-bottom: 1px solid #e5e7eb; }
body.dark-mode .sign-in-tabs { border-bottom-color: #334155; }
.sign-in-tab { flex: 1; padding: 12px; text-align: center; background: none; border: none; font-size: 16px; font-weight: 600; color: #64748b; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.3s; }
.sign-in-tab.active { color: #3b82f6; border-bottom-color: #3b82f6; }
body.dark-mode .sign-in-tab { color: #94a3b8; }
body.dark-mode .sign-in-tab.active { color: #60a5fa; border-bottom-color: #60a5fa; }
.sign-in-form { display: none; }
.sign-in-form.active { display: block; }
.social-login {
display: flex;
gap: 12px;
margin-bottom: 20px;
justify-content: center;
}
.social-btn {
width: 44px; height: 44px;
border: none; border-radius: 50%;
cursor: pointer;
display: flex; align-items: center; justify-content: center;
font-size: 18px; color: #fff;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.social-btn.google { background: linear-gradient(135deg, #4285f4, #34a853); }
.social-btn.facebook { background: linear-gradient(135deg, #1877f2, #42a5f5); }
.social-btn.linkedin { background: linear-gradient(135deg, #0077b5, #42a5f5); }
.social-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.social-divider {
position: relative;
text-align: center;
margin: 20px 0;
color: #64748b;
font-size: 14px;
}
.social-divider::before {
content: '';
position: absolute;
top: 50%; left: 0;
width: 100%; height: 1px;
background: #e5e7eb;
}
.social-divider span {
background: #fff;
padding: 0 16px;
position: relative;
z-index: 1;
}
body.dark-mode .social-divider { color: #94a3b8; }
body.dark-mode .social-divider::before { background: #334155; }
body.dark-mode .social-divider span { background: #1e293b; }
.form-group { margin-bottom: 16px; position: relative; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 8px; }
body.dark-mode .form-group label { color: #cbd5e1; }
.form-group input { width: 100%; padding: 12px 40px 12px 16px; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 14px; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.3s; }
body.dark-mode .form-group input { background: #0f172a; border-color: #334155; color: #e2e8f0; }
.form-group input:focus { border-color: #3b82f6; }
.password-toggle {
position: absolute;
right: 12px; top: 38px;
width: 20px; height: 20px;
border: none; background: none;
cursor: pointer; color: #64748b;
display: flex; align-items: center; justify-content: center;
font-size: 14px;
}
body.dark-mode .password-toggle { color: #94a3b8; }
.password-strength {
margin-top: 8px;
display: flex;
gap: 4px;
}
.strength-bar {
height: 4px;
flex: 1;
border-radius: 2px;
background: #e5e7eb;
transition: all 0.3s ease;
}
body.dark-mode .strength-bar { background: #334155; }
.strength-text {
font-size: 12px;
color: #64748b;
margin-left: 8px;
}
body.dark-mode .strength-text { color: #94a3b8; }
.sign-in-submit { width: 100%; padding: 12px; background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; margin-top: 8px; }
.sign-in-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,0.4); }
.has-mega { position: relative; }
.has-mega:hover + .mega-menu { opacity: 1; visibility: visible; }
.mega-menu {
opacity: 0;
visibility: hidden;
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background: #ffffff;
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0,0,0,0.15);
padding: 24px;
min-width: 760px;
z-index: 1000;
border: 1px solid #e5e7eb;
transition: all 0.3s ease;
}
body.dark-mode .mega-menu { background: #1e293b; border-color: #334155; }
.categories-mega { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mega-menu-item {
display: flex;
align-items: center;
gap: 16px;
padding: 16px;
border-radius: 14px;
text-decoration: none;
color: #374151;
transition: all 0.3s ease;
}
.mega-menu-item:hover { background: #eff6ff; color: #1e3a5f; }
body.dark-mode .mega-menu-item { color: #cbd5e1; }
body.dark-mode .mega-menu-item:hover { background: #1e3a5f; color: #60a5fa; }
.mega-menu-icon {
width: 48px;
height: 48px;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
background: #3b82f6;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 16px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}
.mega-menu-text h4 { font-size: 16px; font-weight: 600; margin-bottom: 3px; color: #1e293b; }
body.dark-mode .mega-menu-text h4 { color: #e2e8f0; }
.mega-menu-text p { font-size: 14px; color: #64748b; line-height: 1.5; }
body.dark-mode .mega-menu-text p { color: #94a3b8; }
.blog-mega { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.blog-mega-item { text-decoration: none; color: inherit; display: block; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all 0.3s ease; }
body.dark-mode .blog-mega-item { background: #334155; }
.blog-mega-item:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.blog-mega-image { width: 100%; height: 100px; object-fit: cover; }
.blog-mega-content { padding: 12px; }
.blog-mega-title { font-size: 14px; font-weight: 600; color: #1e293b; line-height: 1.4; margin-bottom: 4px; }
body.dark-mode .blog-mega-title { color: #e2e8f0; }
.blog-mega-excerpt { font-size: 12px; color: #64748b; line-height: 1.4; }
body.dark-mode .blog-mega-excerpt { color: #94a3b8; }
.sign-in-forgot { text-align: center; margin-top: 12px; }
.sign-in-forgot a { color: #3b82f6; text-decoration: none; font-size: 14px; }
.sign-in-forgot a:hover { text-decoration: underline; }
.forgot-modal {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(8px);
z-index: 3100;
align-items: center;
justify-content: center;
padding: 20px;
}
.forgot-modal.active { display: flex; }
.forgot-box {
background: #fff;
border-radius: 20px;
padding: 30px;
width: 100%;
max-width: 400px;
box-shadow: 0 25px 60px rgba(0,0,0,0.3);
animation: slideDown 0.3s ease;
text-align: center;
}
body.dark-mode .forgot-box { background: #1e293b; }
.forgot-close {
position: absolute;
top: 20px; right: 20px;
width: 36px; height: 36px;
border: none; background: rgba(255,255,255,0.1);
border-radius: 50%; cursor: pointer;
color: #64748b; font-size: 16px;
display: flex; align-items: center; justify-content: center;
}
body.dark-mode .forgot-close { color: #94a3b8; }
.forgot-title {
font-size: 24px;
font-weight: 700;
color: #1e293b;
margin-bottom: 8px;
}
body.dark-mode .forgot-title { color: #e2e8f0; }
.forgot-subtitle {
font-size: 14px;
color: #64748b;
margin-bottom: 24px;
line-height: 1.5;
}
body.dark-mode .forgot-subtitle { color: #94a3b8; }
.forgot-form .form-group { margin-bottom: 20px; }
.forgot-submit {
width: 100%;
padding: 12px;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
color: #fff;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
.forgot-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,0.4); }
.back-to-signin {
text-align: center;
margin-top: 16px;
}
.back-to-signin a {
color: #3b82f6;
text-decoration: none;
font-size: 14px;
}
.back-to-signin a:hover { text-decoration: underline; }
.subscribe-modal {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(8px);
z-index: 3100;
align-items: center;
justify-content: center;
padding: 20px;
}
.subscribe-modal.active { display: flex; }
.subscribe-box {
background: #fff;
border-radius: 20px;
padding: 40px;
width: 100%;
max-width: 500px;
box-shadow: 0 25px 60px rgba(0,0,0,0.3);
animation: slideDown 0.3s ease;
text-align: center;
position: relative;
}
body.dark-mode .subscribe-box { background: #1e293b; }
.subscribe-close {
position: absolute;
top: 20px; right: 20px;
width: 36px; height: 36px;
border: none; background: rgba(255,255,255,0.1);
border-radius: 50%; cursor: pointer;
color: #64748b; font-size: 16px;
display: flex; align-items: center; justify-content: center;
}
body.dark-mode .subscribe-close { color: #94a3b8; }
.subscribe-icon {
width: 80px; height: 80px;
margin: 0 auto 20px;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
color: #fff; font-size: 32px;
box-shadow: 0 8px 25px rgba(59,130,246,0.3);
}
.subscribe-title {
font-size: 28px;
font-weight: 700;
color: #1e293b;
margin-bottom: 12px;
}
body.dark-mode .subscribe-title { color: #e2e8f0; }
.subscribe-subtitle {
font-size: 16px;
color: #64748b;
margin-bottom: 32px;
line-height: 1.6;
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
body.dark-mode .subscribe-subtitle { color: #94a3b8; }
.subscribe-features {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 32px;
text-align: left;
}
.subscribe-feature {
display: flex;
align-items: flex-start;
gap: 12px;
}
.subscribe-feature-icon {
width: 20px; height: 20px;
background: linear-gradient(135deg, #10b981, #059669);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
color: #fff; font-size: 10px;
flex-shrink: 0;
margin-top: 2px;
}
.subscribe-feature-text {
font-size: 14px;
color: #374151;
line-height: 1.4;
}
body.dark-mode .subscribe-feature-text { color: #cbd5e1; }
.subscribe-form .form-group {
margin-bottom: 24px;
text-align: left;
}
.subscribe-form .form-group label {
display: block;
font-size: 16px;
font-weight: 600;
color: #374151;
margin-bottom: 8px;
}
body.dark-mode .subscribe-form .form-group label { color: #cbd5e1; }
.subscribe-form .form-group input {
width: 100%;
padding: 16px 20px;
border: 2px solid #e5e7eb;
border-radius: 12px;
font-size: 16px;
font-family: 'Inter', sans-serif;
outline: none;
transition: border-color 0.3s;
}
body.dark-mode .subscribe-form .form-group input {
background: #0f172a;
border-color: #334155;
color: #e2e8f0;
}
.subscribe-form .form-group input:focus { border-color: #3b82f6; }
.subscribe-submit {
width: 100%;
padding: 16px;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
color: #fff;
border: none;
border-radius: 12px;
font-size: 18px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
margin-bottom: 16px;
}
.subscribe-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,0.4); }
.subscribe-privacy {
font-size: 12px;
color: #64748b;
line-height: 1.5;
}
body.dark-mode .subscribe-privacy { color: #94a3b8; }
.subscribe-privacy a {
color: #3b82f6;
text-decoration: none;
}
.subscribe-privacy a:hover { text-decoration: underline; }
body.dark-mode .publisher-sign-in-modal { background: rgba(0,0,0,0.8); }
.mobile-top-header {
display: none;
position: sticky;
top: 0;
z-index: 1100;
background: #ffffff;
padding: 0;
border-bottom: 1px solid #e5e7eb;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}
.mobile-top-header.scrolled {
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
body.dark-mode .mobile-top-header {
background: #1e293b;
border-bottom: 1px solid #334155;
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
body.dark-mode .mobile-top-header.scrolled {
box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.mobile-top-header-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 14px;
max-width: 100%;
}
.mobile-header-logo {
display: flex;
align-items: center;
gap: 8px;
text-decoration: none;
flex-shrink: 0;
}
.mobile-header-logo img {
height: 32px;
width: auto;
border-radius: 8px;
}
body.dark-mode .mobile-header-logo .logo-light { display: none; }
body.dark-mode .mobile-header-logo .logo-dark { display: inline-block !important; }
.mobile-header-logo-text {
display: flex;
flex-direction: column;
}
.mobile-header-logo-text .m-site-name {
font-size: 15px;
font-weight: 800;
color: #1e3a5f;
letter-spacing: -0.3px;
line-height: 1.2;
}
body.dark-mode .mobile-header-logo-text .m-site-name {
color: #60a5fa;
}
.mobile-header-logo-text .m-site-tagline {
font-size: 8px;
color: #64748b;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 1px;
}
body.dark-mode .mobile-header-logo-text .m-site-tagline {
color: #94a3b8;
}
.mobile-header-actions {
display: flex;
align-items: center;
gap: 8px;
}
.mobile-notification-btn {
position: relative;
width: 36px;
height: 36px;
border: none;
background: #f3f4f6;
border-radius: 10px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: #64748b;
font-size: 16px;
transition: all 0.3s ease;
}
.mobile-notification-btn:hover {
background: #eff6ff;
color: #1e3a5f;
transform: scale(1.05);
}
.mobile-notification-btn:active {
transform: scale(0.95);
}
body.dark-mode .mobile-notification-btn {
background: #334155;
color: #94a3b8;
}
body.dark-mode .mobile-notification-btn:hover {
background: #1e3a5f;
color: #60a5fa;
}
.mobile-notification-badge {
position: absolute;
top: -2px;
right: -2px;
width: 16px;
height: 16px;
background: linear-gradient(135deg, #ef4444, #f97316);
border-radius: 50%;
font-size: 9px;
font-weight: 700;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid #ffffff;
animation: badgePulse 2s ease-in-out infinite;
}
body.dark-mode .mobile-notification-badge {
border-color: #1e293b;
}
@keyframes badgePulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.15); }
}
.mobile-notification-panel {
display: none;
position: fixed;
top: 56px;
left: 8px;
right: 8px;
background: #ffffff;
border-radius: 16px;
box-shadow: 0 12px 40px rgba(0,0,0,0.15);
z-index: 1200;
max-height: 70vh;
overflow-y: auto;
border: 1px solid #e5e7eb;
animation: panelSlideDown 0.25s ease;
}
body.dark-mode .mobile-notification-panel {
background: #1e293b;
border-color: #334155;
box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.mobile-notification-panel.active { display: block; }
@keyframes panelSlideDown {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
.notif-panel-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px 10px;
border-bottom: 1px solid #f1f5f9;
position: sticky;
top: 0;
background: #ffffff;
border-radius: 16px 16px 0 0;
z-index: 1;
}
body.dark-mode .notif-panel-header {
background: #1e293b;
border-bottom-color: #334155;
}
.notif-panel-header h3 {
font-size: 15px;
font-weight: 700;
color: #1e293b;
display: flex;
align-items: center;
gap: 8px;
}
body.dark-mode .notif-panel-header h3 { color: #e2e8f0; }
.notif-panel-header h3 i { color: #3b82f6; font-size: 14px; }
.notif-panel-close {
width: 28px; height: 28px;
border: none; background: #f1f5f9;
border-radius: 8px; cursor: pointer;
color: #64748b; font-size: 12px;
display: flex; align-items: center; justify-content: center;
transition: all 0.2s;
}
.notif-panel-close:hover { background: #e2e8f0; color: #374151; }
body.dark-mode .notif-panel-close { background: #334155; color: #94a3b8; }
body.dark-mode .notif-panel-close:hover { background: #475569; color: #e2e8f0; }
.notif-panel-body { padding: 8px; }
.notif-post-card {
display: flex;
gap: 12px;
padding: 10px;
border-radius: 12px;
text-decoration: none;
color: inherit;
transition: all 0.2s ease;
align-items: center;
margin-bottom: 4px;
}
.notif-post-card:hover { background: #f8fafc; }
body.dark-mode .notif-post-card:hover { background: #334155; }
.notif-post-thumb {
width: 56px;
height: 56px;
border-radius: 10px;
object-fit: cover;
flex-shrink: 0;
}
.notif-post-info { flex: 1; min-width: 0; }
.notif-post-cat {
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
padding: 2px 8px;
border-radius: 4px;
display: inline-block;
margin-bottom: 4px;
color: #fff;
}
.notif-post-title {
font-size: 13px;
font-weight: 600;
color: #1e293b;
line-height: 1.35;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
body.dark-mode .notif-post-title { color: #e2e8f0; }
.notif-post-time {
font-size: 11px;
color: #94a3b8;
margin-top: 3px;
display: flex;
align-items: center;
gap: 4px;
}
.notif-post-time i { font-size: 10px; }
.notif-panel-footer {
padding: 10px 16px;
border-top: 1px solid #f1f5f9;
text-align: center;
}
body.dark-mode .notif-panel-footer { border-top-color: #334155; }
.notif-panel-footer a {
font-size: 13px;
font-weight: 600;
color: #3b82f6;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 8px;
border-radius: 8px;
transition: all 0.2s;
}
.notif-panel-footer a:hover { background: #eff6ff; }
body.dark-mode .notif-panel-footer a:hover { background: #1e3a5f; }
.notif-overlay {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: 1150;
}
.notif-overlay.active { display: block; }
.mobile-subscribe-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 8px 14px;
border: none;
border-radius: 20px;
background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
color: #ffffff;
font-size: 12px;
font-weight: 700;
font-family: 'Inter', sans-serif;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(59,130,246,0.4);
letter-spacing: 0.3px;
white-space: nowrap;
position: relative;
overflow: hidden;
}
.mobile-subscribe-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s ease;
}
.mobile-subscribe-btn:hover::before {
left: 100%;
}
.mobile-subscribe-btn:hover {
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(59,130,246,0.5);
}
.mobile-subscribe-btn:active {
transform: translateY(0);
box-shadow: 0 2px 10px rgba(59,130,246,0.3);
}
.mobile-subscribe-btn i {
font-size: 12px;
animation: bellRing 3s ease-in-out infinite;
}
@keyframes bellRing {
0%, 80%, 100% { transform: rotate(0); }
85% { transform: rotate(12deg); }
90% { transform: rotate(-12deg); }
95% { transform: rotate(8deg); }
}
.mobile-menu-btn {
display: none;
width: 40px; height: 40px;
border: none; background: #f3f4f6;
border-radius: 10px; cursor: pointer;
flex-direction: column;
align-items: center; justify-content: center;
gap: 5px; padding: 10px;
}
.mobile-menu-btn span {
display: block; width: 20px; height: 2px;
background: #374151; border-radius: 2px;
transition: all 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
body.dark-mode .mobile-menu-btn { background: #334155; }
body.dark-mode .mobile-menu-btn span { background: #e2e8f0; }
.mobile-sidebar {
display: none;
position: fixed;
top: 0; left: -300px;
width: 300px; height: 100vh;
background: #fff;
z-index: 3000;
transition: left 0.3s ease;
box-shadow: 5px 0 30px rgba(0,0,0,0.1);
overflow-y: auto;
}
.mobile-sidebar.active { left: 0; display: block; }
body.dark-mode .mobile-sidebar { background: #1e293b; }
.mobile-sidebar-header {
padding: 20px;
border-bottom: 1px solid #e5e7eb;
display: flex;
justify-content: space-between;
align-items: center;
}
body.dark-mode .mobile-sidebar-header { border-bottom-color: #334155; }
.mobile-sidebar-close {
width: 36px; height: 36px;
border: none; background: #f3f4f6;
border-radius: 8px; cursor: pointer;
font-size: 18px; color: #64748b;
display: flex; align-items: center; justify-content: center;
}
.mobile-sidebar-nav { padding: 16px; }
.mobile-sidebar-nav a {
display: flex; align-items: center; gap: 12px;
padding: 12px 16px; color: #374151;
text-decoration: none; font-weight: 600;
font-size: 15px; border-radius: 10px;
transition: all 0.3s; margin-bottom: 4px;
}
.mobile-sidebar-nav a:hover, .mobile-sidebar-nav a.active { background: #eff6ff; color: #1e3a5f; }
.mobile-sidebar-nav a i { width: 20px; text-align: center; color: #64748b; }
body.dark-mode .mobile-sidebar-nav a { color: #cbd5e1; }
body.dark-mode .mobile-sidebar-nav a:hover { background: #1e3a5f; color: #60a5fa; }
.mobile-overlay {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.5);
z-index: 2500;
}
.mobile-overlay.active { display: block; }
@media (max-width: 768px) {
.mobile-top-header {
display: block;
position: sticky;
top: 0;
z-index: 1100;
background: #fff;
border-bottom: 1px solid #f1f5f9;
box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
body.dark-mode .mobile-top-header {
background: #0f172a;
border-bottom-color: #1e293b;
box-shadow: 0 1px 8px rgba(0,0,0,0.2);
}
.mobile-top-header-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 14px;
gap: 10px;
}
.mobile-header-logo img { height: 34px; }
.mobile-header-actions { display: flex; align-items: center; gap: 6px; }
.mobile-notification-btn {
width: 36px; height: 36px;
border-radius: 10px;
background: #f1f5f9;
}
body.dark-mode .mobile-notification-btn { background: #1e293b; }
.mobile-subscribe-btn {
padding: 7px 14px;
font-size: 11px;
border-radius: 20px;
gap: 5px;
}
.main-header { display: none; }
.main-nav { display: none; }
.top-bar { display: none; }
.site-footer { display: none; }
.mobile-menu-btn { display: none; }
.top-bar-right { display: none; }
.header-inner { height: 50px; padding: 0 10px; }
.site-logo img { height: 24px; }
.logo-text .site-name { font-size: 15px; }
.logo-text .site-tagline { display: none; }
.header-search-btn, .sign-in-btn, .header-dark-toggle { width: 32px; height: 32px; border-radius: 8px; }
.sign-in-modal, .forgot-modal, .publisher-sign-in-modal, .subscribe-modal { padding: 10px; }
.sign-in-box, .forgot-box, .subscribe-box { padding: 25px 15px; max-height: 80vh; overflow-y: auto; border-radius: 16px; }
.social-login { gap: 10px; }
.social-btn { width: 40px; height: 40px; font-size: 16px; }
.form-group input { padding: 10px 35px 10px 14px; font-size: 16px; }
.password-toggle { right: 10px; top: 36px; }
.password-strength { gap: 3px; }
.strength-bar { height: 3px; }
.strength-text { font-size: 11px; margin-left: 6px; }
.subscribe-icon { width: 56px; height: 56px; font-size: 22px; }
.subscribe-title { font-size: 22px; }
.subscribe-subtitle { font-size: 13px; margin-bottom: 20px; }
.subscribe-features { grid-template-columns: 1fr; gap: 10px; }
.subscribe-form .form-group input { padding: 14px 16px; font-size: 16px; }
.subscribe-submit { padding: 14px; font-size: 16px; }
}
