/* Base Styles & Variables */
:root {
    --primary-color: #7000FF;
    --secondary-color: #00A3FF;
    --accent-color: #FF007A;
    --text-color: #E0E0E0;
    --dark-bg: #0B0B13;
    --darker-bg: #070711;
    --card-bg: rgba(22, 22, 35, 0.7);
    --header-height: 80px;
    --glow-primary: 0 0 10px rgba(112, 0, 255, 0.7), 0 0 20px rgba(112, 0, 255, 0.4);
    --glow-secondary: 0 0 10px rgba(0, 163, 255, 0.7), 0 0 20px rgba(0, 163, 255, 0.4);
    --glow-accent: 0 0 10px rgba(255, 0, 122, 0.7), 0 0 20px rgba(255, 0, 122, 0.4);
    --transition: all 0.3s ease-in-out;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --grid-gap: 30px;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&family=Montserrat:wght@300;400;500;700&display=swap');

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(112, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 163, 255, 0.1) 0%, transparent 50%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(255, 0, 122, 0.7);
}

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

ul {
    list-style: none;
}

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

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

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin: 6rem 0 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 3px;
}

/* Glowing Text Effect */
.glowing-text {
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8),
                 0 0 10px rgba(112, 0, 255, 0.8),
                 0 0 15px rgba(0, 163, 255, 0.6);
    animation: textPulse 3s infinite alternate;
}

@keyframes textPulse {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.8),
                     0 0 10px rgba(112, 0, 255, 0.8),
                     0 0 15px rgba(0, 163, 255, 0.6);
    }
    100% {
        text-shadow: 0 0 7px rgba(255, 255, 255, 0.9),
                     0 0 15px rgba(112, 0, 255, 0.9),
                     0 0 20px rgba(0, 163, 255, 0.7),
                     0 0 25px rgba(255, 0, 122, 0.5);
    }
}

/* Buttons */
.btn, button {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 10px rgba(112, 0, 255, 0.5);
}

.btn:hover, button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--glow-secondary);
}

.btn:active, button:active {
    transform: translateY(1px);
}

.read-more-btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(112, 0, 255, 0.5);
    color: white;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    font-size: 1.8rem;
    margin-top: 2rem;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.5);
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    background-color: rgba(7, 7, 17, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: var(--glow-primary);
    margin-right: 1.5rem;
}

.site-title {
    font-size: 2.4rem;
    margin: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
    background: rgba(112, 0, 255, 0.2);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3);
}

.spelling-btn, .create-logo-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    font-size: 1.5rem;
    box-shadow: none;
    padding: 0.8rem 1.5rem;
}

.spelling-btn:hover, .create-logo-btn:hover {
    color: white;
    background: rgba(112, 0, 255, 0.2);
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3);
}

/* Hero Section */
.hero-section {
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 6rem;
    background-image: url('images/1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 4rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(7, 7, 17, 0.7),
        rgba(11, 11, 19, 0.9)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Post */
.featured-post {
    margin-bottom: 6rem;
}

.featured-post .post-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.featured-post .post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
}

.featured-post .post-image {
    height: 100%;
}

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

.featured-post .post-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.featured-post h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.post-meta {
    font-size: 1.4rem;
    color: rgba(224, 224, 224, 0.7);
    margin-bottom: 2rem;
}

.post-excerpt {
    margin-bottom: 3rem;
}

/* Blog Posts Grid */
.blog-posts {
    margin-bottom: 8rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

.post-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
}

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

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

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

.post-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-card .read-more-btn {
    align-self: start;
    margin-top: auto;
}

/* About Page Styles */
.about-hero {
    text-align: center;
    padding: 6rem 0 4rem;
}

.about-hero h2 {
    margin-bottom: 3rem;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.8rem;
}

.team-section {
    margin-bottom: 8rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--grid-gap);
}

.team-member {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.team-member h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 2rem;
}

.team-member p {
    margin: 0.5rem 0;
    padding: 0 1.5rem;
}

.team-member p:nth-of-type(1) {
    color: var(--secondary-color);
    font-weight: 500;
}

.team-member p:nth-of-type(2) {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
}

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

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(112, 0, 255, 0.5);
}

.mission-section {
    margin-bottom: 8rem;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    align-items: center;
}

.mission-text {
    padding: 2rem;
}

.mission-image {
    text-align: center;
}

.mission-image img {
    border-radius: var(--border-radius);
    max-width: 100%;
}

.glow-effect {
    box-shadow: var(--glow-secondary);
}

/* Contact Page Styles */
.contact-hero {
    text-align: center;
    padding: 6rem 0 4rem;
}

.contact-hero h2 {
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    margin-bottom: 6rem;
}

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

.info-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.5);
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.info-card p {
    margin: 0.5rem 0;
    font-size: 1.4rem;
}

.contact-form-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(112, 0, 255, 0.3);
    border-radius: var(--border-radius);
    background-color: rgba(11, 11, 19, 0.8);
    color: white;
    font-family: var(--font-main);
    font-size: 1.6rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin: 0;
    font-size: 1.4rem;
}

.map-section {
    margin-bottom: 8rem;
    text-align: center;
}

.map-section h3 {
    margin-bottom: 3rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

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

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(7, 7, 17, 0.6);
    transition: var(--transition);
}

.map-overlay:hover {
    background-color: rgba(7, 7, 17, 0.4);
}

.map-overlay p {
    background-color: rgba(112, 0, 255, 0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    margin: 0;
}

/* Blog Post Styles */
.blog-post {
    max-width: 900px;
    margin: 6rem auto 8rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-header {
    margin-bottom: 4rem;
}

.post-title {
    font-size: 3.8rem;
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0 2rem 2rem;
    border-bottom: 1px solid rgba(224, 224, 224, 0.1);
}

.post-featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.post-content {
    padding: 4rem 4rem 2rem;
}

.post-content h2 {
    margin-top: 4rem;
    font-size: 2.8rem;
    color: var(--secondary-color);
}

.post-content p {
    font-size: 1.7rem;
    line-height: 1.7;
}

.post-figure {
    margin: 4rem 0;
    text-align: center;
}

.post-image {
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

figcaption {
    margin-top: 1rem;
    font-size: 1.4rem;
    color: rgba(224, 224, 224, 0.7);
}

blockquote {
    margin: 4rem 0;
    padding: 2rem 3rem;
    border-left: 4px solid var(--primary-color);
    background-color: rgba(112, 0, 255, 0.1);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

blockquote p {
    font-style: italic;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

blockquote cite {
    font-weight: 500;
    color: var(--secondary-color);
}

.post-footer {
    padding: 2rem 4rem;
    border-top: 1px solid rgba(224, 224, 224, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.post-tags, .post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-tags a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(112, 0, 255, 0.2);
    border-radius: 20px;
    font-size: 1.4rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: rgba(0, 163, 255, 0.3);
    transform: translateY(-2px);
}

.post-share span {
    margin-right: 1rem;
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.post-share a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.related-posts {
    padding: 4rem;
    background-color: rgba(7, 7, 11, 0.5);
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--grid-gap);
}

.related-post {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    padding: 1.5rem;
    font-size: 1.6rem;
    margin: 0;
}

/* Footer */
.site-footer {
    background-color: var(--darker-bg);
    padding: 6rem 4rem 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary-color);
    box-shadow: var(--glow-primary);
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4,
.footer-social h4 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a,
.footer-legal a {
    color: var(--text-color);
    font-size: 1.4rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.footer-social .social-icons {
    justify-content: flex-start;
}

.footer-bottom {
    text-align: center;
    padding-top: 4rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(224, 224, 224, 0.1);
}

.footer-bottom p {
    font-size: 1.4rem;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 17, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.5);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.4rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.modal h2 {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.modal p {
    margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(7, 7, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.cookie-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

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

.btn-reject {
    background-color: transparent;
    border: 2px solid rgba(224, 224, 224, 0.3);
}

.cookie-more {
    font-size: 1.4rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    html {
        font-size: 56.25%; /* 9px */
    }
    
    .featured-post .post-card {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%; /* 8px */
    }
    
    .site-header {
        padding: 0 2rem;
        flex-direction: column;
        height: auto;
        padding: 2rem;
    }
    
    .logo-container {
        margin-bottom: 1.5rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-section {
        height: 50vh;
    }
    
    .hero-content h2 {
        font-size: 4rem;
    }
    
    .posts-grid,
    .team-grid,
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
    
    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-content {
        padding: 3rem 2.5rem 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        gap: 1rem;
    }
    
    .main-nav a,
    .spelling-btn,
    .create-logo-btn {
        padding: 0.6rem 1rem;
        font-size: 1.4rem;
    }
    
    .hero-content h2 {
        font-size: 3.2rem;
    }
    
    .site-footer {
        padding: 4rem 2rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-logo-img {
        margin: 0 auto 1.5rem;
    }
    
    .footer-links ul,
    .footer-legal ul {
        align-items: center;
    }
    
    .footer-social .social-icons {
        justify-content: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 1rem;
    }
}
