:root {
    --color-primary: #e74c3c;
    --color-secondary: #c0392b;
    --color-dark-bg: #1a1a1a;
    --color-medium-grey: #2c2c2c;
    --color-light-grey: #888888; 
    --color-white: #f0f0f0;
    --color-off-white: #e0e0e0;
    --color-accent: #00aaff;

    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.6);
    --glow-effect: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary);

    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    margin: 0; padding: 0;
    background-color: var(--color-dark-bg);
    color: var(--color-off-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-md); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--color-white);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    line-height: 1.3;
}
h1 { font-size: 3em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

a { color: var(--color-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--color-secondary); }

p { margin: 0 0 1em 0; }
.text-center { text-align: center; }

.main-header {
    background-color: rgba(15, 15, 25, 0.8);
    padding: 15px 0;
    box-shadow: var(--shadow-light);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--color-medium-grey);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 50px; width: auto; display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav li { margin-left: var(--spacing-md); }
.main-nav a { color: var(--color-white); font-weight: 700; padding: 8px 15px; border-radius: 5px; transition: all 0.3s ease; }
.main-nav a:hover, .main-nav a.active { background-color: var(--color-primary); color: var(--color-white); box-shadow: var(--glow-effect); }

.nav-toggle, .close-nav { display: none; }
.overlay { display: none; }

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://ik.imagekit.io/vortexseo/tpower/gaming-setup.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-md);
    min-height: 70vh;
}
.hero-content { max-width: 800px; }
.hero-content h1 { font-size: 3.5em; margin-bottom: 15px; text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); }
.hero-content p { font-size: 1.2em; margin-bottom: var(--spacing-lg); color: var(--color-white); opacity: 0.9; }
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none; cursor: pointer;
    box-shadow: var(--shadow-light);
}
.btn-primary:hover { background-color: var(--color-secondary); transform: translateY(-3px); box-shadow: var(--shadow-dark), var(--glow-effect); }

.blog-preview-section, .blog-list-section, .download-section, .about-us-section, .features-section {
    padding: var(--spacing-xl) 0;
}
.page-header, .section-header { text-align: center; margin-bottom: var(--spacing-lg); }
.page-header h1, .section-header h2 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
    color: var(--color-white);
}
.section-header h2 {
    color: var(--color-primary);
}
.section-header p {
    color: var(--color-light-grey);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.feature-item { background-color: var(--color-medium-grey); border: 1px solid var(--color-light-grey); border-radius: 10px; padding: var(--spacing-lg); text-align: center; transition: all 0.3s ease; }
.feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-dark); }
.feature-item h3 { color: var(--color-accent); margin-bottom: 15px; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--spacing-md); }
.article-card { background-color: var(--color-medium-grey); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-light); transition: all 0.3s ease; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-dark); }
.article-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.article-content { padding: var(--spacing-md); flex-grow: 1; display: flex; flex-direction: column; }
.article-content h3 { font-size: 1.5em; line-height: 1.3; }
.article-content p { flex-grow: 1; }
.article-meta { font-size: 0.8em; color: var(--color-light-grey); margin-bottom: 15px; }
.read-more { align-self: flex-start; margin-top: auto; padding: 10px 20px; }
.blog-post-item { background-color: var(--color-medium-grey); border-radius: 10px; padding: var(--spacing-md); margin-bottom: var(--spacing-md); box-shadow: var(--shadow-light); display: flex; gap: var(--spacing-md); align-items: flex-start; }
.blog-post-item img { width: 200px; height: 150px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.blog-post-content { flex-grow: 1; }
.blog-post-content h3 { margin-top: 0; font-size: 1.8em; margin-bottom: 10px; }
.blog-post-meta { font-size: 0.85em; color: var(--color-light-grey); margin-bottom: 10px; }

.single-article-view {
    background-color: var(--color-medium-grey);
    border-radius: 10px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-light);
}

.single-article-header {
    margin-bottom: var(--spacing-lg);
    text-align: center; 
}

.single-article-view h1 {
    font-size: 3em; 
    line-height: 1.2;
    color: var(--color-white); 
    margin-bottom: var(--spacing-md);
}

.single-article-view .blog-post-meta {
    font-size: 0.9em;
    color: var(--color-light-grey);
    margin-bottom: var(--spacing-lg);
    display: inline-block; 
    background-color: rgba(0,0,0,0.2);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 30px; 
    border: 1px solid var(--color-light-grey);
}
.single-article-view .blog-post-meta a {
    color: var(--color-off-white);
    font-weight: bold;
}
.single-article-view .blog-post-meta a:hover {
    color: var(--color-primary);
}

.single-article-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover; 
    border-radius: 10px;
    display: block;
}

.article-full-content {
    font-size: 1.1em;
    color: var(--color-off-white);
    line-height: 1.8;
    max-width: 800px; 
    margin: 0 auto; 
}
.article-full-content img { max-width: 100%; height: auto; display: block; margin: 25px auto; border-radius: 8px; }

.main-footer {
    background-color: #111;
    color: var(--color-off-white);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid var(--color-medium-grey);
}
.main-footer a { color: var(--color-primary); }

.download-section { padding: 60px 0; }
.download-list { display: flex; flex-direction: column; gap: 20px; }
.download-item { background-color: #1a1a2e; border: 1px solid #3a3a5e; border-radius: 8px; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
.download-item:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }
.download-info h3 { margin: 0 0 5px 0; font-family: 'Orbitron', sans-serif; color: #ffffff; }
.download-info .file-meta { margin: 0; color: #a9a9d0; font-size: 0.9em; }
.btn-download { flex-shrink: 0; padding: 12px 24px; }

.about-us-section { padding: 60px 0; color: #e0e0e0; }
.about-content { max-width: 900px; margin: 0 auto; }
.about-content .intro { font-size: 1.2em; line-height: 1.6; text-align: center; color: #ffffff; margin-bottom: 50px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.about-card { background-color: #1a1a2e; border: 1px solid #3a3a5e; border-radius: 8px; padding: 30px; }
.about-card h2 { font-family: 'Orbitron', sans-serif; color: #ffffff; margin-top: 0; margin-bottom: 15px; border-bottom: 2px solid #00aaff; padding-bottom: 10px; display: inline-block; }
.about-card p { color: #c0c0e0; line-height: 1.7; }

@media (max-width: 992px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    .hero-content h1 { font-size: 3em; }
    .main-nav li { margin-left: 15px; }
    .blog-post-item { flex-direction: column; align-items: center; text-align: center; }
    .blog-post-item img { margin: 0 auto 15px auto; }
    
    .single-article-view h1 { font-size: 2.5em; }
}

@media (max-width: 768px) {
    /* Layouts */
    .features-grid, .about-grid { grid-template-columns: 1fr; }
    .download-item { flex-direction: column; align-items: flex-start; text-align: left; }
    .btn-download { width: 100%; text-align: center; margin-top: 15px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-content .intro { font-size: 1.1em; }
    .about-card { padding: 25px; }

    .hero-section { min-height: 60vh; padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
    .hero-content p { font-size: 1.1em; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }

    .single-article-view { padding: var(--spacing-md); }
    .single-article-view h1 { font-size: 2em; }
    .single-article-image { aspect-ratio: 4 / 3; }
    .article-full-content { font-size: 1em; }

    .nav-toggle { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
    .nav-toggle .bar { width: 100%; height: 3px; background-color: var(--color-primary); border-radius: 5px; transition: all 0.3s ease-in-out; }
    .nav-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.active .bar:nth-child(2) { opacity: 0; }
    .nav-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .main-nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px; height: 100vh; background-color: var(--color-dark-bg); padding-top: 80px; transition: right 0.4s ease-in-out; box-shadow: -10px 0 20px rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; align-items: center; z-index: 1000; overflow-y: auto; border-left: 2px solid var(--color-primary); }
    .main-nav.active { right: 0; }
    
    .main-nav ul { flex-direction: column; width: 100%; align-items: center; margin-top: 40px; padding: 0; }
    .main-nav li { margin: var(--spacing-sm) 0; width: 90%; text-align: center; }
    .main-nav a { display: block; padding: 15px 10px; font-size: 1.2em; background-color: var(--color-medium-grey); }
    
    .close-nav { display: block; position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1002; }
    .close-nav .bar { position: absolute; width: 100%; height: 3px; background-color: var(--color-primary); }
    .close-nav .bar:nth-child(1) { transform: rotate(45deg); }
    .close-nav .bar:nth-child(2) { transform: rotate(-45deg); }
    
    .overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 999; transition: opacity 0.4s ease-in-out; opacity: 0; pointer-events: none; }
    .overlay.active { opacity: 1; pointer-events: auto; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    .hero-content h1 { font-size: 2.5em; }
    .hero-content p { font-size: 1em; }
}