/* CSS Variables fallback (overridden by customizer inline style) */
:root {
	--tc-bg-primary: #02070D;
	--tc-bg-secondary: #071019;
	--tc-card-bg: #09131D;
	--tc-primary: #00E6B8;
	--tc-secondary: #F3126C;
	--tc-accent: #00CFFF;
	--tc-text-main: #F7F9FB;
	--tc-text-muted: #98A4AF;
	--tc-border: rgba(148, 180, 200, 0.18);
	--tc-font-base: 'Inter', sans-serif;
	--tc-font-heading: 'Space Grotesk', sans-serif;
	--tc-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--tc-bg-primary);
	color: var(--tc-text-main);
	font-family: var(--tc-font-base);
	line-height: 1.6;
	font-size: 16px;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tc-font-heading);
	font-weight: 700;
	color: #fff;
	margin-top: 0;
}

a {
	color: var(--tc-primary);
	text-decoration: none;
	transition: var(--tc-transition);
}

a:hover {
	color: var(--tc-accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

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

/* Typography Helpers */
.tc-primary-color { color: var(--tc-primary) !important; }
.tc-secondary-color { color: var(--tc-secondary) !important; }
.tc-accent-color { color: var(--tc-accent) !important; }
.tc-text-muted { color: var(--tc-text-muted) !important; }
.tc-accent-bg { background-color: var(--tc-primary) !important; color: #000 !important; }
.neon-text { color: var(--tc-primary); text-shadow: 0 0 10px rgba(0, 230, 184, 0.5); }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 24px;
	border-radius: 6px;
	font-family: var(--tc-font-heading);
	font-weight: 600;
	cursor: pointer;
	transition: var(--tc-transition);
	border: none;
	font-size: 0.95rem;
}

.btn-primary {
	background-color: var(--tc-primary);
	color: #02070D !important;
}

.btn-primary:hover {
	background-color: #00ffcc;
	box-shadow: 0 0 15px rgba(0, 230, 184, 0.4);
	color: #02070D !important;
}

.btn-secondary {
	background-color: var(--tc-secondary);
	color: #fff !important;
}

.btn-secondary:hover {
	background-color: #ff1c7e;
	box-shadow: 0 0 15px rgba(243, 18, 108, 0.4);
	color: #fff !important;
}

.btn-outline {
	background-color: transparent;
	border: 1px solid var(--tc-border);
	color: var(--tc-text-main);
}

.btn-outline:hover {
	border-color: var(--tc-primary);
	color: var(--tc-primary);
}

/* Cards & Glowing Effects */
.tc-card-glow {
	background-color: var(--tc-card-bg);
	border: 1px solid var(--tc-border);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.4);
	transition: var(--tc-transition);
}

.tc-card-glow:hover {
	border-color: rgba(0, 230, 184, 0.3);
	box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 15px rgba(0, 230, 184, 0.05);
	transform: translateY(-2px);
}

/* Icons Fallback */
.tc-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	mask-size: cover;
	-webkit-mask-size: cover;
	vertical-align: middle;
}
.tc-icon-bookmark { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path></svg>'); }
.tc-icon-menu { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>'); }
.tc-icon-fire { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M17 9.5H12M17 14.5H12M12 4.5V19.5M12 12A7.5 7.5 0 1 1 4.5 12A7.5 7.5 0 0 1 12 12z"></path></svg>'); }
.tc-icon-clock { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>'); }
.tc-icon-star { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>'); }
.tc-icon-message-square { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg>'); }
.tc-icon-calendar { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>'); }
.tc-icon-folder { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path></svg>'); }
.tc-icon-mail { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>'); }
.tc-icon-send { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon></svg>'); }
.tc-icon-info { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg>'); }
.tc-icon-link { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>'); }
.tc-icon-youtube { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33 2.78 2.78 0 0 0 1.94 2c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.33 29 29 0 0 0-.46-5.33z"></path><polygon points="9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"></polygon></svg>'); }
.tc-icon-youtube-play { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33 2.78 2.78 0 0 0 1.94 2c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.33 29 29 0 0 0-.46-5.33z"></path><polygon points="9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"></polygon></svg>'); }
.tc-icon-linkedin { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle></svg>'); }
.tc-icon-github { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>'); }
.tc-icon-twitter { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path></svg>'); }
.tc-icon-instagram { mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line></svg>'); }

/* =========================================
   Layout & Structure
   ========================================= */

/* Topbar */
.tyranocode-topbar {
	background-color: var(--tc-bg-secondary);
	border-bottom: 1px solid var(--tc-border);
	padding: 8px 0;
	font-size: 0.85rem;
}
.topbar-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.topbar-left { display: flex; align-items: center; gap: 15px; }
.topbar-badge {
	background: rgba(0, 230, 184, 0.1);
	color: var(--tc-primary);
	padding: 3px 8px;
	border-radius: 4px;
	font-weight: bold;
	font-size: 0.75rem;
}
.topbar-link { margin-left: 10px; color: var(--tc-primary); font-weight: 600; }
.social-icons a { margin-left: 15px; color: var(--tc-text-muted); font-size: 1.2rem; }
.social-icons a:hover { color: var(--tc-primary); }

/* Header */
.site-header {
	padding: 20px 0;
	background-color: rgba(2, 7, 13, 0.95);
	backdrop-filter: blur(10px);
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--tc-border);
}
.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.site-branding .site-title { font-size: 1.8rem; margin: 0; letter-spacing: 1px; }
.site-branding .site-title a { color: #fff; }
.site-logo-link { display: inline-flex; align-items: center; }
.site-logo-image,
.custom-logo-link .custom-logo { width: auto; max-width: 230px; height: 58px; object-fit: contain; }
.main-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }
.main-navigation a { color: var(--tc-text-main); font-weight: 500; font-size: 0.95rem; }
.main-navigation a:hover { color: var(--tc-primary); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.search-toggle { background: transparent; border: none; color: var(--tc-text-main); cursor: pointer; display: flex; align-items: center; }
.search-modal { display: none; }
.menu-toggle { display: none; background: transparent; border: none; color: var(--tc-text-main); font-size: 1.5rem; cursor: pointer; }
.btn-subscribe { background-color: var(--tc-secondary); color: #fff; border: none; }

/* Home Layout Grid */
.home-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	padding-top: 40px;
	padding-bottom: 60px;
}
.hero-trending-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
	margin-bottom: 40px;
}

/* Hero Section */
.hero-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	height: 100%;
	min-height: 460px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.hero-image-wrap { position: absolute; inset: 0; z-index: 1; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(2, 7, 13, 0.96) 0%, rgba(2, 7, 13, 0.68) 46%, rgba(2, 7, 13, 0.16) 100%), linear-gradient(to top, rgba(2, 7, 13, 0.92) 0%, rgba(2, 7, 13, 0) 62%);
}
.hero-content {
	position: relative;
	z-index: 2;
	padding: 40px;
}
.hero-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 15px;
	background-color: var(--tc-primary);
	color: #000;
}
.hero-title { font-size: 2.8rem; line-height: 1.2; margin-bottom: 15px; }
.hero-title a { color: #fff; }
.hero-title a:hover { color: var(--tc-primary); }
.hero-excerpt { color: var(--tc-text-main); font-size: 1.1rem; margin-bottom: 25px; max-width: 68%; }
.hero-meta-bottom { display: flex; align-items: center; gap: 10px; color: var(--tc-text-muted); font-size: 0.9rem; margin-bottom: 30px; }
.author-avatar img { border-radius: 50%; width: 24px; height: 24px; display: inline-block; vertical-align: middle; margin-right: 8px;}
.hero-actions { display: flex; gap: 15px; }
.btn-save { display: flex; align-items: center; gap: 8px; }

/* Trending Widget */
.trending-widget {
	padding: 25px;
	height: 100%;
}
.widget-title { font-size: 1.2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--tc-border); padding-bottom: 15px; }
.trending-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.trending-list li { display: flex; gap: 15px; }
.trending-number { font-family: var(--tc-font-heading); font-size: 1.5rem; font-weight: 700; opacity: 0.8; line-height: 1; }
.trending-info { display: flex; flex-direction: column; gap: 5px; }
.trending-title { font-weight: 500; color: var(--tc-text-main); line-height: 1.4; }
.trending-meta { font-size: 0.8rem; color: var(--tc-text-muted); display: flex; align-items: center; gap: 5px; }

/* Weekly Highlights */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid var(--tc-border); padding-bottom: 10px; }
.section-title { font-size: 1.4rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.view-all-link { font-size: 0.9rem; font-weight: 500; }
.weekly-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.weekly-card { display: flex; flex-direction: column; padding: 15px; }
.weekly-img-link { display: block; }
.weekly-image { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }
.weekly-cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 8px; display: block; }
.weekly-title { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.weekly-title a { color: var(--tc-text-main); }
.weekly-title a:hover { color: var(--tc-primary); }
.weekly-meta { font-size: 0.8rem; color: var(--tc-text-muted); margin-top: auto; }

/* Latest Articles */
.latest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; margin-bottom: 40px; }
.latest-card { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--tc-border); }
.latest-img-link { display: block; }
.latest-image { width: 100%; height: 128px; object-fit: cover; border-radius: 10px; margin: 0; }
.latest-cat { font-size: 0.75rem; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; display: block; }
.latest-title { font-size: 1.3rem; margin-bottom: 10px; }
.latest-title a { color: #fff; }
.latest-title a:hover { color: var(--tc-primary); }
.latest-excerpt { color: var(--tc-text-muted); font-size: 0.95rem; margin-bottom: 15px; }
.latest-meta { font-size: 0.85rem; color: var(--tc-text-muted); display: flex; align-items: center; gap: 8px; }

/* Sidebar */
.sidebar-inner { display: flex; flex-direction: column; gap: 30px; }
.widget { padding: 25px; }
.widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px;}
.widget ul li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px;}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--tc-text-main); }
.cat-count { background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: 12px; font-size: 0.8rem; color: var(--tc-text-muted); }

/* Newsletter */
.widget_newsletter .neon-text { color: var(--tc-primary); }
.newsletter-desc { font-size: 0.9rem; color: var(--tc-text-muted); margin-bottom: 20px; }
.newsletter-form .form-group { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { padding: 12px; border-radius: 6px; border: 1px solid var(--tc-border); background: rgba(255,255,255,0.03); color: #fff; outline: none; transition: var(--tc-transition); }
.newsletter-form input:focus { border-color: var(--tc-secondary); box-shadow: 0 0 10px rgba(243, 18, 108, 0.2); }
.newsletter-social-proof { display: flex; align-items: center; gap: 15px; margin-top: 20px; font-size: 0.8rem; color: var(--tc-text-muted); }
.newsletter-note { margin: 10px 0 0; color: var(--tc-text-muted); font-size: 0.75rem; }
.avatars { display: flex; }
.avatar { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--tc-card-bg); margin-left: -8px; }
.avatar:first-child { margin-left: 0; }

/* Banner Sidebar */
.tyranocode-sidebar-banner { padding: 0; overflow: hidden; position: relative; border-radius: 12px; border: 1px solid var(--tc-border); text-align: left; }
.tyranocode-sidebar-banner .banner-inner { position: relative; min-height: 480px; padding: 32px 24px; display: flex; align-items: flex-end; background-image: linear-gradient(180deg, rgba(2,7,13,0.26) 0%, rgba(2,7,13,0.92) 72%), var(--tc-sidebar-banner-image); background-position: center; background-size: cover; }
.banner-content { position: relative; z-index: 2; }
.tyranocode-sidebar-banner .banner-content h3 { font-size: 1.2rem; margin-bottom: 15px; line-height: 1.4; }
.site-title-banner { display: block; font-size: 2rem; font-family: var(--tc-font-heading); font-weight: 900; letter-spacing: 1px; color: #fff; margin-bottom: 10px;}

/* Single Post */
.single-layout { max-width: 900px; padding-top: 40px; padding-bottom: 60px; }
.entry-header { margin-bottom: 30px; }
.tyranocode-breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 20px 0; display: flex; gap: 10px; font-size: 0.85rem; color: var(--tc-text-muted); }
.tyranocode-breadcrumbs a { color: var(--tc-text-muted); }
.tyranocode-breadcrumbs a:hover { color: var(--tc-primary); }
.entry-title { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.entry-excerpt { font-size: 1.2rem; color: var(--tc-text-muted); margin-bottom: 25px; }
.entry-meta { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--tc-text-muted); margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--tc-border); }
.share-buttons { display: flex; align-items: center; gap: 10px; }
.share-label { font-size: 0.9rem; color: var(--tc-text-muted); margin-right: 5px; }
.share-btn { background: var(--tc-bg-secondary); border: 1px solid var(--tc-border); color: var(--tc-text-main); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--tc-transition); }
.share-btn:hover { background: var(--tc-primary); color: #000; border-color: var(--tc-primary); }
.tyranocode-post-image { margin-bottom: 40px; }
.tyranocode-post-image img { width: 100%; border-radius: 12px; }
.affiliate-notice { padding: 15px 20px; display: flex; align-items: flex-start; gap: 15px; margin-bottom: 30px; font-size: 0.9rem; color: var(--tc-text-muted); }
.affiliate-notice .tc-icon { color: var(--tc-primary); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.affiliate-notice p { margin: 0; }
.entry-content { font-size: 1.1rem; line-height: 1.8; color: #d0d6dc; }
.entry-content h2, .entry-content h3 { color: #fff; margin-top: 40px; margin-bottom: 20px; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(0, 230, 184, 0.4); text-underline-offset: 4px; }
.entry-content a:hover { text-decoration-color: var(--tc-primary); }

/* TOC */
.tyranocode-toc { background: var(--tc-bg-secondary); border: 1px solid var(--tc-border); border-radius: 8px; padding: 25px; margin-bottom: 40px; }
.toc-title { font-family: var(--tc-font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 15px; }
.tyranocode-toc ul { list-style: none; padding-left: 0; margin: 0; }
.tyranocode-toc ul ul { padding-left: 20px; margin-top: 8px; }
.tyranocode-toc li { margin-bottom: 8px; font-size: 0.95rem; }
.tyranocode-toc a { color: var(--tc-text-muted); text-decoration: none; }
.tyranocode-toc a:hover { color: var(--tc-primary); }

/* Progress Bar */
.reading-progress-bar { position: fixed; top: 0; left: 0; height: 3px; background-color: var(--tc-primary); width: 0%; z-index: 9999; transition: width 0.1s ease; box-shadow: 0 0 10px rgba(0,230,184,0.5); }

/* Author Bio */
.author-bio { display: flex; gap: 20px; padding: 30px; margin-top: 50px; margin-bottom: 40px; }
.author-bio .author-avatar img { border-radius: 50%; }
.author-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--tc-primary); margin-bottom: 5px; }
.author-name { font-size: 1.4rem; margin-bottom: 10px; }
.author-desc { font-size: 0.95rem; color: var(--tc-text-muted); margin-bottom: 15px; }
.author-link { font-size: 0.9rem; font-weight: 600; }

/* Related Posts */
.related-posts-section { margin-top: 50px; border-top: 1px solid var(--tc-border); padding-top: 40px; }
.related-title { font-size: 1.5rem; margin-bottom: 25px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related-image { width: 100%; height: 180px; object-fit: cover; border-radius: 8px 8px 0 0; }
.related-content { padding: 20px; }
.related-post-title { font-size: 1.1rem; margin-bottom: 10px; }
.related-post-title a { color: #fff; }

/* Footer */
.institutional-banner { background: linear-gradient(90deg, rgba(243, 18, 108, 0.1) 0%, rgba(243, 18, 108, 0) 100%), var(--tc-bg-secondary); border-top: 1px solid var(--tc-border); border-bottom: 1px solid var(--tc-border); padding: 60px 0; }
.banner-container { display: flex; justify-content: space-between; align-items: center; }
.banner-content { max-width: 60%; }
.banner-title { font-size: 2.2rem; margin-bottom: 10px; }
.banner-subtext { color: var(--tc-text-muted); font-size: 1.1rem; margin: 0; }
.instagram-title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 20px; }
.site-footer { background-color: var(--tc-bg-primary); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 0.75fr 1fr 0.9fr 1.4fr; gap: 30px; margin-bottom: 60px; }
.footer-slogan { color: var(--tc-text-muted); margin: 20px 0; max-width: 80%; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tc-bg-secondary); color: var(--tc-text-main); font-size: 1.2rem; }
.footer-social a:hover { background: var(--tc-primary); color: #000; }
.footer-heading { font-size: 1.1rem; margin-bottom: 20px; color: #fff; }
.footer-nav-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-nav-col a { color: var(--tc-text-muted); }
.footer-nav-col a:hover { color: var(--tc-primary); }
.footer-instagram .instagram-title { font-size: 1rem; margin-bottom: 14px; }
.instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.instagram-image { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; border: 1px solid var(--tc-border); background: var(--tc-bg-secondary); }
.instagram-image img { width: 100%; height: 100%; object-fit: cover; }
.instagram-image:nth-child(2) img { filter: hue-rotate(35deg); }
.instagram-image:nth-child(3) img { filter: hue-rotate(105deg); }
.instagram-image:nth-child(4) img { filter: hue-rotate(185deg); }
.site-info { text-align: center; color: var(--tc-text-muted); font-size: 0.9rem; border-top: 1px solid var(--tc-border); padding-top: 30px; }

/* Shortcode Ofertas */
.tyranocode-offers-wrapper { margin: 40px 0; }
.tyranocode-offers-title { font-size: 1.5rem; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.tyranocode-offers-title::before { content: '🔥'; font-size: 1.2rem; }
.tyranocode-offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tyranocode-offer-card { background: var(--tc-bg-secondary); border: 1px solid var(--tc-border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: var(--tc-transition); }
.tyranocode-offer-card:hover { border-color: var(--tc-accent); transform: translateY(-3px); box-shadow: 0 5px 20px rgba(0, 207, 255, 0.1); }
.offer-image { position: relative; height: 160px; }
.offer-image img { width: 100%; height: 100%; object-fit: cover; }
.offer-badge { position: absolute; top: 10px; right: 10px; background: var(--tc-secondary); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }
.offer-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.offer-store { font-size: 0.75rem; text-transform: uppercase; color: var(--tc-accent); font-weight: 700; margin-bottom: 8px; }
.offer-title { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.3; }
.offer-desc { font-size: 0.9rem; color: var(--tc-text-muted); margin-bottom: 15px; flex-grow: 1; }
.offer-pricing { display: flex; align-items: baseline; gap: 10px; margin-bottom: 15px; }
.offer-price-old { text-decoration: line-through; color: var(--tc-text-muted); font-size: 0.9rem; }
.offer-price-new { font-size: 1.4rem; font-weight: 700; color: #fff; }
.offer-discount { background: rgba(0, 230, 184, 0.15); color: var(--tc-primary); padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; }
.offer-coupon-box { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.03); border: 1px dashed var(--tc-border); padding: 8px 12px; border-radius: 6px; margin-bottom: 15px; }
.offer-coupon-label { font-size: 0.85rem; color: var(--tc-text-muted); }
.offer-coupon-code { font-family: monospace; font-weight: bold; color: var(--tc-primary); letter-spacing: 1px; }
.offer-btn { display: block; text-align: center; background: var(--tc-accent); color: #000; padding: 10px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: var(--tc-transition); }
.offer-btn:hover { background: #00b3de; color: #000; box-shadow: 0 0 15px rgba(0, 207, 255, 0.4); }

/* Responsividade (Mobile) */
@media (max-width: 1024px) {
	.home-layout { grid-template-columns: 1fr; }
	.hero-trending-grid { grid-template-columns: 1fr; }
	.weekly-grid { grid-template-columns: repeat(2, 1fr); }
	.banner-container { flex-direction: column; text-align: center; gap: 30px; }
	.banner-content { max-width: 100%; }
	.footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.topbar-content { flex-direction: column; text-align: center; gap: 10px; }
	.social-icons { display: none; }
	.main-navigation ul { display: none; } /* Menu hamburguer simplificado p/ mobile real necessitaria JS pra toggle */
	.menu-toggle { display: block; }
	.hero-title { font-size: 2rem; }
	.hero-content { padding: 20px; }
	.hero-actions { flex-direction: column; }
	.latest-grid { grid-template-columns: 1fr; }
	.latest-card { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
	.latest-image { height: 100px; }
	.footer-grid { grid-template-columns: 1fr; text-align: center; }
	.footer-social { justify-content: center; }
	.instagram-grid { grid-template-columns: repeat(4, 1fr); }
	.entry-title { font-size: 2rem; }
	.related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
