/*
Theme Name: TechDesk Minimalist
Theme URI: http://techdesktips.com/
Author: TechDesk Team
Description: A high-performance, minimalist theme for tech news and gaming cheats.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: minimalist, white, gray, tech, blog, responsive
Text Domain: techdesk
*/
/* --- Design System --- */
:root {
    --bg-color: #ffffff;
    --text-color: #0b1424; /* Darker navy for text */
    --text-secondary: #5a6b83; /* Gray-blue for secondary text */
    --accent-color: #1b3a5b; /* Deep Navy Blue for buttons and accents */
    --border-color: #e2e8f0;
    --card-bg: #f1f4f8; /* Light Slate Blue-Gray for blocks */
    --dark-bg: #0b1424; /* Midnight Navy for dark sections */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
a:hover {
    opacity: 0.7;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* --- Layout --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}
/* --- Header --- */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
}
.hero a, .about-short a {
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    transition: background-color 0.3s ease;
}
.hero a:hover, .about-short a:hover {
    background-color: #2c4a6b;
    opacity: 1;
}
nav ul {
    display: flex;
    gap: 30px;
}
nav a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}
/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
}
.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
}
/* --- Grid System --- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}
.post-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.post-card:hover {
    transform: translateY(-5px);
}
.post-card .thumbnail {
    aspect-ratio: 16/9;
    background: #eee;
    overflow: hidden;
}
.post-card .content {
    padding: 20px;
}
.post-card .category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
}
.post-card h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
}
.post-card p {
    font-size: 14px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* --- Block Specifics --- */
.block-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}
.block-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}
.roblox-corner {
    background-color: #000;
    color: #fff;
}
.roblox-corner .block-title {
    color: #fff;
}
.roblox-corner .block-title::after {
    background: #fff;
}
/* --- Footer --- */
footer {
    padding: 60px 0;
    background: #f5f5f5;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}
.footer-nav {
    margin-bottom: 20px;
}
.footer-nav a {
    margin: 0 15px;
}
/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    nav { display: none; }
}
