/* 
Gameclick Hub Styles
Author: Gameclick Hub Team
Version: 1.0
Description: Core styles for Gameclick Hub gaming portal
*/

/* -----------------------------
   Table of Contents:
   1. Base & Reset
   2. Typography
   3. Layout & Grid
   4. Header & Navigation
   5. Hero Section
   6. Content Sections
   7. Cards & Modules
   8. Blog Styles
   9. Article Page
   10. Forms & Inputs
   11. Buttons
   12. Footer
   13. Utilities
   14. Media Queries
   15. Animations
   16. Special Components
----------------------------- */

/* -----------------------------
   1. Base & Reset
----------------------------- */
:root {
    /* Primary Colors */
    --primary-color: #7b5dd3;
    --primary-dark: #5a41a0;
    --primary-light: #9d82ea;
    
    /* Secondary Colors */
    --secondary-color: #44c2ff;
    --secondary-dark: #2b9cd4;
    --secondary-light: #81d9ff;
    
    /* Neutral Colors */
    --dark: #151b2e;
    --dark-gray: #21263f;
    --medium-gray: #505780;
    --light-gray: #b0b7c9;
    --very-light-gray: #e4e8f0;
    --white: #ffffff;
    
    /* Status Colors */
    --success: #4cd964;
    --warning: #ffcc00;
    --error: #ff3b30;
    --info: #5ac8fa;
    
    /* Typography */
    --font-heading: 'Poppins', 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Sizing */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-sm: 4px;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Z-indices */
    --z-header: 100;
    --z-dropdown: 200;
    --z-modal: 300;
    --z-toast: 400;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style-position: inside;
}

/* -----------------------------
   2. Typography
----------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--dark);
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    background-color: rgba(123, 93, 211, 0.05);
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

blockquote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

blockquote cite {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

code {
    font-family: var(--font-mono);
    background-color: var(--very-light-gray);
    padding: 0.2rem 0.4rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
}

pre {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 1.5rem 0;
}

pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-light);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* -----------------------------
   3. Layout & Grid
----------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

.gap-sm { gap: 1rem; }
.gap-md { gap: 2rem; }
.gap-lg { gap: 3rem; }

/* -----------------------------
   4. Header & Navigation
----------------------------- */
header {
    background-color: rgba(21, 27, 46, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: width var(--transition-medium);
}

nav ul li a:hover {
    color: var(--primary-light);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* -----------------------------
   5. Hero Section
----------------------------- */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,250.7C960,267,1056,245,1152,250.7C1248,256,1344,288,1392,304L1440,320L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-gray);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* -----------------------------
   6. Content Sections
----------------------------- */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 9rem 0 3rem;
    text-align: center;
    position: relative;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--light-gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.latest-news,
.esports-trends,
.game-development,
.gaming-tips,
.community {
    padding: 5rem 0;
}

.latest-news {
    background-color: var(--white);
}

.esports-trends {
    background-color: var(--very-light-gray);
}

.game-development {
    background-color: var(--white);
}

.gaming-tips {
    background-color: var(--very-light-gray);
}

.news-grid,
.trend-cards,
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trend-cards {
    grid-template-columns: repeat(3, 1fr);
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

.community {
    background-color: var(--primary-color);
    color: var(--white);
}

.newsletter {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.newsletter h2 {
    color: var(--white);
}

.newsletter p {
    margin-bottom: 2rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    padding: 1rem;
    border-radius: var(--border-radius);
    border: none;
    font-size: 1rem;
}

.community-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    text-align: center;
}

.stat {
    flex: 1;
}

.stat .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.tip-of-the-day {
    background-color: var(--white);
    padding: 5rem 0;
}

.tip-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.tip-story {
    padding: 2rem;
    background-color: var(--very-light-gray);
    border-radius: var(--border-radius);
    position: relative;
}

.tip-story::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -20px;
    left: 20px;
    color: var(--primary-light);
    font-family: var(--font-heading);
    line-height: 1;
    opacity: 0.3;
}

.daily-tip {
    padding: 2rem;
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius);
    background-color: rgba(123, 93, 211, 0.05);
}

.daily-tip h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* -----------------------------
   7. Cards & Modules
----------------------------- */
.news-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.news-card:hover .news-content h3 {
    color: var(--primary-color);
}

.news-content p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:hover::after {
    transform: translateX(3px);
}

.trend-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trend-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.trend-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.trend-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-card {
    display: flex;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.article-card img {
    width: 180px;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
    flex: 1;
}

.article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.article-card:hover .article-content h3 {
    color: var(--primary-color);
}

.article-content p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.tip {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tip-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(123, 93, 211, 0.1);
    line-height: 1;
    z-index: -1;
}

.tip h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    max-width: 80%;
}

.tip p {
    color: var(--medium-gray);
}

/* Blog Cards */
.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.post-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.post-card:hover .post-content h3 {
    color: var(--primary-color);
}

.post-content p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--medium-gray);
}

/* About Page Cards */
.value-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--medium-gray);
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3, .team-member p {
    padding: 0 1.5rem;
}

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-member p:last-of-type {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    padding: 1.5rem;
    gap: 1rem;
    border-top: 1px solid var(--very-light-gray);
}

.member-social a {
    color: var(--medium-gray);
    transition: color var(--transition-fast);
}

.member-social a:hover {
    color: var(--primary-color);
}

/* Contact Cards */
.contact-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-medium);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.social-links a {
    padding: 0.5rem 1rem;
    background-color: var(--very-light-gray);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* FAQ Cards */
.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--very-light-gray);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    padding-right: 2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-medium);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* -----------------------------
   8. Blog Styles
----------------------------- */
.blog-filters {
    padding: 2rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--very-light-gray);
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background-color: var(--very-light-gray);
    color: var(--medium-gray);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.filter-btn:hover {
    background-color: var(--light-gray);
    color: var(--dark);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.search-bar {
    display: flex;
    max-width: 400px;
    margin-left: auto;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--very-light-gray);
    border-right: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-size: 0.95rem;
}

.search-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 1.25rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

.blog-featured {
    padding: 5rem 0;
    background-color: var(--very-light-gray);
}

.featured-post {
    display: flex;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-image {
    flex: 1;
    min-height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    flex: 1;
    padding: 3rem;
}

.featured-content h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.featured-content p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.blog-grid {
    padding: 5rem 0;
    background-color: var(--white);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.page-current,
.page-link,
.page-dots,
.page-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.page-current {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
}

.page-link {
    background-color: var(--very-light-gray);
    color: var(--medium-gray);
}

.page-link:hover {
    background-color: var(--light-gray);
    color: var(--dark);
}

.page-dots {
    color: var(--medium-gray);
}

.page-next {
    background-color: var(--very-light-gray);
    color: var(--medium-gray);
}

.page-next:hover {
    background-color: var(--light-gray);
    color: var(--dark);
}

.newsletter-signup {
    padding: 5rem 0;
    background-color: var(--very-light-gray);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: 1rem;
    text-align: center;
}

/* -----------------------------
   9. Article Page
----------------------------- */
.article-page {
    margin-top: var(--header-height);
}

.article-header {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--light-gray);
}

.article-category {
    color: var(--primary-light);
    font-weight: 500;
}

.article-header h1 {
    font-size: 2.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-author {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-name {
    font-size: 1rem;
    font-weight: 500;
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.article-content {
    padding: 4rem 0;
}

.article-content .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-body h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1.25rem;
}

.article-body ul, .article-body ol {
    margin: 1.5rem 0 2rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body img {
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.article-image, .article-chart {
    margin: 2.5rem 0;
}

.image-caption, .chart-caption {
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-align: center;
    margin-top: 0.75rem;
}

.article-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    align-self: start;
}

.sidebar-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--very-light-gray);
}

.author-bio .author-info {
    display: flex;
    align-items: flex-start;
}

.author-bio .author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-bio h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.author-bio p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.5;
}

.related-posts ul {
    list-style: none;
}

.related-posts li {
    margin-bottom: 1.25rem;
}

.related-posts li:last-child {
    margin-bottom: 0;
}

.related-posts a {
    display: flex;
    align-items: center;
    color: var(--dark);
    transition: color var(--transition-fast);
}

.related-posts a:hover {
    color: var(--primary-color);
}

.related-posts img {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-sm);
    margin-right: 1rem;
    object-fit: cover;
}

.related-posts span {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.article-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--very-light-gray);
    border-bottom: 1px solid var(--very-light-gray);
}

.article-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.tag-label {
    font-weight: 500;
    color: var(--dark);
}

.tag {
    padding: 0.35rem 0.75rem;
    background-color: var(--very-light-gray);
    color: var(--medium-gray);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.tag:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-share span {
    font-weight: 500;
    color: var(--dark);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--very-light-gray);
    color: var(--medium-gray);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.share-twitter:hover {
    background-color: #1DA1F2;
    color: var(--white);
}

.share-facebook:hover {
    background-color: #4267B2;
    color: var(--white);
}

.share-linkedin:hover {
    background-color: #0077B5;
    color: var(--white);
}

.share-email:hover {
    background-color: #D44638;
    color: var(--white);
}

.article-comments {
    padding: 4rem 0;
    background-color: var(--very-light-gray);
}

.comment-form {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.comment-form h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.comments-list {
    margin-bottom: 2rem;
}

.comment {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.comment-header h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.comment p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-actions {
    display: flex;
    gap: 1.25rem;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.btn-link:hover {
    color: var(--primary-dark);
}

.comment.reply {
    margin: 1.5rem 0 0 0;
    background-color: rgba(123, 93, 211, 0.05);
}

.load-more {
    text-align: center;
}

.article-navigation {
    padding: 3rem 0;
    background-color: var(--white);
}

.article-navigation .container {
    display: flex;
    justify-content: space-between;
}

.nav-previous, .nav-next {
    max-width: 45%;
}

.nav-previous a, .nav-next a {
    display: flex;
    flex-direction: column;
    color: var(--dark);
    transition: color var(--transition-fast);
}

.nav-previous a:hover, .nav-next a:hover {
    color: var(--primary-color);
}

.nav-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.nav-title {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.nav-previous a {
    align-items: flex-start;
}

.nav-next a {
    align-items: flex-end;
    text-align: right;
}

/* About Page Specific */
.about-intro,
.our-values,
.team-section,
.our-approach,
.testimonials,
.join-us,
.contribute {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.approach-text h2 {
    margin-bottom: 1.5rem;
}

.approach-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.approach-text li {
    margin-bottom: 0.75rem;
}

.testimonial-slider {
    margin-top: 2.5rem;
    position: relative;
}

.testimonial {
    padding: 1rem;
}

.testimonial-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    margin-bottom: 0;
    font-style: normal;
    color: var(--medium-gray);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.prev-testimonial,
.next-testimonial {
    background: none;
    border: none;
    color: var(--medium-gray);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-gray);
    transition: background-color var(--transition-fast);
}

.dot.active {
    background-color: var(--primary-color);
}

.join-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.join-content h2 {
    margin-bottom: 1rem;
}

.join-content > p {
    margin-bottom: 2.5rem;
    color: var(--medium-gray);
}

.join-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.join-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.join-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.join-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.join-card p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 100%;
}

.contribute {
    background-color: var(--very-light-gray);
    text-align: center;
}

.contribute h2 {
    margin-bottom: 1rem;
}

.contribute p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--medium-gray);
}

.contribute-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Contact Page Specific */
.contact-info {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-form-section {
    padding: 5rem 0;
    background-color: var(--very-light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-info h2 {
    margin-bottom: 1.5rem;
}

.form-info p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.company-info {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.company-info p {
    margin-bottom: 0.75rem;
}

.company-info p:last-child {
    margin-bottom: 0;
}

.contact-form {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.map-section {
    padding: 5rem 0;
}

.map-container {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faq-section {
    padding: 5rem 0;
    background-color: var(--very-light-gray);
}

.faq-container {
    margin-top: 2.5rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 27, 46, 0.8);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--medium-gray);
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--dark);
}

.thank-you-message {
    padding: 3rem 2rem;
    text-align: center;
}

.thank-you-message svg {
    color: var(--success);
    margin-bottom: 1.5rem;
}

.thank-you-message h2 {
    margin-bottom: 1rem;
}

.thank-you-message p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* -----------------------------
   10. Forms & Inputs
----------------------------- */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--white);
    transition: border-color var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* -----------------------------
   11. Buttons
----------------------------- */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
    border: none;
    font-size: 1rem;
    font-family: var(--font-body);
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn.primary:hover {
    background-color: var(--primary-dark);
}

.btn.secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn.secondary:hover {
    background-color: var(--secondary-dark);
}

.btn.outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Cookies */
.btn.cookie-accept {
    background-color: var(--success);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn.cookie-accept:hover {
    background-color: #3cbc57;
}

.btn.cookie-settings {
    background-color: var(--light-gray);
    color: var(--dark);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn.cookie-settings:hover {
    background-color: #9ba3b5;
}

.btn.cookie-decline {
    background-color: transparent;
    color: var(--medium-gray);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn.cookie-decline:hover {
    color: var(--dark);
}

/* -----------------------------
   12. Footer
----------------------------- */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-links h3,
.footer-policies h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul,
.footer-policies ul {
    list-style: none;
}

.footer-links li,
.footer-policies li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-policies a {
    color: var(--light-gray);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-policies a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--light-gray);
}

.icon-location,
.icon-phone,
.icon-email {
    margin-right: 0.75rem;
    color: var(--primary-light);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* -----------------------------
   13. Utilities
----------------------------- */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 2.5rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 2.5rem;
}

.pb-0 {
    padding-bottom: 0;
}

.pb-1 {
    padding-bottom: 0.5rem;
}

.pb-2 {
    padding-bottom: 1rem;
}

.pb-3 {
    padding-bottom: 1.5rem;
}

.pb-4 {
    padding-bottom: 2rem;
}

.pb-5 {
    padding-bottom: 2.5rem;
}

.pt-0 {
    padding-top: 0;
}

.pt-1 {
    padding-top: 0.5rem;
}

.pt-2 {
    padding-top: 1rem;
}

.pt-3 {
    padding-top: 1.5rem;
}

.pt-4 {
    padding-top: 2rem;
}

.pt-5 {
    padding-top: 2.5rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -----------------------------
   14. Media Queries
----------------------------- */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
    
    .trend-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .tips-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-content .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .featured-post {
        flex-direction: column;
    }
    
    .featured-image {
        min-height: 300px;
    }
    
    .featured-content {
        padding: 2rem;
    }
    
    .about-content,
    .approach-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .join-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 8rem 0 5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    section {
        padding: 4rem 0;
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--dark);
        overflow: hidden;
        transition: height var(--transition-medium);
        z-index: 90;
    }
    
    nav.active {
        height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
    }
    
    nav ul li {
        margin: 0 0 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .tips-container {
        grid-template-columns: 1fr;
    }
    
    .community-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .article-footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .article-navigation .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-previous, .nav-next {
        max-width: 100%;
    }
    
    .tip-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .contribute-options {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .article-card {
        flex-direction: column;
    }
    
    .article-card img {
        width: 100%;
        height: 180px;
    }
    
    .comment {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-categories {
        overflow-x: auto;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        flex-wrap: nowrap;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
}

/* -----------------------------
   15. Animations
----------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------
   16. Special Components
----------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(21, 27, 46, 0.95);
    color: var(--white);
    padding: 1rem 0;
    z-index: var(--z-toast);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.5s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-more {
    color: var(--light-gray);
    text-decoration: underline;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    transition: color var(--transition-fast);
}

.cookie-more:hover {
    color: var(--white);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 80;
    box-shadow: var(--shadow-md);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
