/* 
   Athlein Sports - Advanced Modern Sporty Theme
   Aesthetics: Aggressive, Dynamic, High-Contrast, Slanted Geometry
*/

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    /* High-Energy Palette */
    --primary: #e60000; /* Electric Red */
    --primary-rgb: 230, 0, 0;
    --primary-hover: #ff1a1a;
    --primary-dark: #b30000;
    
    --bg-base: #0a0a0a; /* Vantablack */
    --bg-surface: #141414; /* Dark Carbon */
    --bg-surface-light: #1f1f1f;
    
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #111111;
    
    --border: #2a2a2a;
    --border-glow: rgba(230, 0, 0, 0.5);
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --radius: 4px; /* Sharp, slight radius for aggressive look */
    
    /* Layout */
    --container-width: 1400px;
    --padding-x: 5%;
}

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

body {
    font-size: 15px; /* Scaled down base font */
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }

/* Layout Utilities */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--padding-x); }
.section { padding: 4rem 0; position: relative; } /* Reduced spacing */
.section-surface { background: var(--bg-surface); }
.section-pattern { 
    background-color: var(--bg-base);
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 30px 30px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }

/* Typography */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.title-slanted { transform: skewX(-10deg); display: inline-block; }

/* Aggressive Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2rem; font-family: var(--font-heading); font-weight: 600;
    font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em;
    cursor: pointer; transition: all 0.3s ease; transform: skewX(-10deg);
    position: relative; z-index: 1; border: none; overflow: hidden;
}
.btn-inner { transform: skewX(10deg); display: inline-block; } /* Unskew text */

.btn-primary { background: var(--primary); color: white; }
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: var(--primary-hover); transition: left 0.3s ease; z-index: -1;
}
.btn-primary:hover::before { left: 0; }

.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--text-dark); }

/* Sticky High-Tech Header */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); padding: 1rem 0; transition: all 0.3s ease;
}
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: white; letter-spacing: -0.02em; transform: skewX(-5deg); display: flex; align-items: center; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links li { position: relative; display: flex; align-items: center; }
.nav-links a { font-family: var(--font-heading); font-size: 1.05rem; text-transform: uppercase; font-weight: 500; padding: 0.5rem 0; position: relative; }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
    background: var(--primary); transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: var(--bg-surface); border-top: 3px solid var(--primary);
    padding: 0.5rem 0; min-width: 250px; display: flex; flex-direction: column;
    opacity: 0; transform: translateY(15px); pointer-events: none; transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); z-index: 100;
}
.nav-links li:hover .dropdown-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.dropdown-menu a { display: block; padding: 0.75rem 1.5rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ccc; transition: all 0.3s ease; text-transform: capitalize; }
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a::after { display: none; }
.dropdown-menu li:hover > a { background: rgba(255,255,255,0.05); color: var(--primary); padding-left: 2rem; }

.dropdown-menu li { position: relative; display: block; width: 100%; }
.dropdown-menu .dropdown-menu-sub {
    position: absolute; top: 0; left: 100%; background: var(--bg-surface); border-top: 3px solid var(--primary);
    min-width: 250px; display: flex; flex-direction: column; padding: 0.5rem 0;
    opacity: 0; transform: translateX(15px); pointer-events: none; transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); z-index: 101;
}
.dropdown-menu li:hover > .dropdown-menu-sub { opacity: 1; transform: translateX(0); pointer-events: auto; }

/* Aggressive Hero */
.hero {
    display: flex; align-items: center;
    position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.hero-home {
    height: 100vh; min-height: 650px; padding-top: 80px;
}
.hero:not(.hero-home) {
    padding-top: 160px; /* Stronger offset to push title down visually */
}
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; z-index: -2; opacity: 0.6; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: linear-gradient(90deg, var(--bg-base) 0%, rgba(10,10,10,0.4) 100%);
}
.hero-content {
    max-width: 1000px; position: relative; z-index: 1;
}
.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 6rem); line-height: 1; margin-bottom: 1rem; text-shadow: 4px 4px 0px rgba(230,0,0,0.5);
}
.hero-content p {
    font-size: 1.3rem; font-weight: 400; color: rgba(255,255,255,0.7);
    margin-bottom: 3rem; max-width: 620px; line-height: 1.7;
    padding-top: 1.25rem; position: relative;
}
.hero-content p::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 50px; height: 3px; background: var(--primary);
}

/* Category Hover Reveal Cards */
.cat-card {
    position: relative; height: 400px; overflow: hidden; background: var(--bg-surface);
    transition: transform 0.4s ease; border: 1px solid var(--border);
}
.cat-card:hover { border-color: var(--primary); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(230,0,0,0.1); }
.cat-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; object-position: center;
    transition: transform 0.8s ease; opacity: 0.7;
}
.cat-card:hover .cat-image { transform: scale(1.1); opacity: 0.4; }
.cat-content {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem;
    background: linear-gradient(0deg, var(--bg-base) 0%, transparent 100%);
}
.cat-content h3 { font-size: 1.5rem; margin: 0; color: white; transition: color 0.3s ease; }
.cat-card:hover .cat-content h3 { color: var(--primary); }

/* Feature Blocks - Advanced Dark Glow Style */
.feature-block {
    background: linear-gradient(145deg, var(--bg-surface), #050505);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    border-bottom: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.feature-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(230,0,0,0.1), transparent 50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.feature-block:hover {
    border-bottom-color: var(--primary);
    border-color: rgba(230,0,0,0.5);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(230,0,0,0.15);
    background: #080808;
}
.feature-block:hover::before {
    opacity: 1;
}
.feature-icon {
    font-size: 2.2rem; color: var(--primary); margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-block:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}
.feature-block::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg) translateY(-100%); transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 10; pointer-events: none;
}
.feature-block:hover::after {
    transform: rotate(45deg) translateY(100%);
}
.feature-block img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-block:hover img {
    transform: scale(1.08);
}
.feature-block:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}
.feature-block h4, .feature-block h5 { color: #ffffff; text-transform: uppercase; letter-spacing: 1px; }
.feature-block p.text-muted { color: var(--text-muted); }

/* Parallax Split Section */
.split-section { display: flex; min-height: 600px; }
.split-half { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 4rem; overflow: hidden; }
.split-content { position: relative; z-index: 2; max-width: 500px; }
.split-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; transition: opacity 0.4s ease; z-index: 1;}
.split-half:hover .split-bg { opacity: 0.6; }
.split-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); z-index: 1; }
.split-half:hover .split-overlay { background: rgba(230,0,0,0.2); }

/* Massive Footer */
.sporty-footer {
    background: #050505; padding: 6rem 0 0; border-top: 4px solid var(--primary);
}
.footer-grid-sporty { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; }
.footer-heading { color: white; font-size: 1.5rem; margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { font-size: 1.1rem; color: var(--text-muted); font-weight: 500; transition: color 0.2s ease; display: inline-block; }
.footer-links a:hover { color: var(--primary); transform: translateX(5px); }
.footer-bottom { 
    background: var(--primary); color: white; padding: 1.5rem 0; font-weight: 600; text-transform: uppercase; font-size: 0.9rem;
    display: flex; justify-content: space-between;
}

/* Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; } .stagger-2 { transition-delay: 0.2s; } .stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; } .stagger-5 { transition-delay: 0.5s; }

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(230,0,0,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(230,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(230,0,0,0); }
}
.pulse-anim { animation: pulse-glow 2s infinite; }

/* Glow Card Component */
.glow-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    z-index: 1;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.12) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.glow-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(var(--primary-rgb), 0.15);
}

.glow-card:hover::before {
    opacity: 1;
}

/* About Section */
.about-section .about-image {
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(230,0,0,0.1);
    width: 100%; height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.about-section .about-text p {
    color: #e0e0e0;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
    padding-left: 1.2rem;
    line-height: 1.8;
    font-weight: 300;
}

.about-section .about-text p strong {
    color: white;
    font-weight: 600;
}

.about-section .about-slogan {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.4);
    border-left: 3px solid var(--primary);
    backdrop-filter: blur(10px);
}

.about-section .about-slogan .check {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.about-section .about-slogan .brand {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.about-section .about-slogan .tagline {
    color: #ccc;
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Blog Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    text-decoration: none;
    display: block;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(var(--primary-rgb), 0.15);
}

.blog-card .blog-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-card .blog-content {
    padding: 1.5rem;
}

.blog-card .blog-date {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.blog-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Blog Detail */
.blog-detail-hero {
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.blog-detail-hero .hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
}

.blog-detail-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, var(--bg-base) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
}

.blog-detail-hero .hero-content {
    padding-bottom: 3rem;
}

.blog-detail-hero .back-link {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.blog-detail-hero .back-link:hover {
    color: white;
}

.blog-detail-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1rem;
    max-width: 900px;
    line-height: 1.1;
}

.blog-detail-hero .blog-date {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.blog-article h2 {
    color: white;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 2.5rem 0 1rem;
}

.blog-article p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 3rem;
}

.blog-share span {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.share-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.blog-cta {
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    margin-top: 3rem;
}

.blog-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle { display: none; }
.nav-links li.nav-close-btn { display: none; }

/* --- Mobile Menu Nav Overlay --- */
@media (max-width: 768px) {
    .menu-toggle { display: flex !important; }
    .header-buttons .btn { display: none; }
    .mobile-only { display: flex !important; }

    .nav-links {
        position: fixed; top: 0; right: -100%; width: 85%; max-width: 360px;
        height: 100vh; background: var(--bg-surface); flex-direction: column;
        padding: 6rem 2rem 2rem; gap: 0; z-index: 999;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto; display: flex; border-left: 2px solid var(--primary);
        box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    }
    .nav-links.active { right: 0; }
    .nav-links li { flex-direction: column; align-items: stretch; width: 100%; }
    .nav-links > li > a {
        padding: 1rem 0; font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.05);
        display: flex; justify-content: space-between; align-items: center;
    }
    .nav-links > li > a::after { display: none; }
    .nav-links .dropdown-menu,
    .nav-links .dropdown-menu-sub {
        position: static; opacity: 1; transform: none; pointer-events: auto;
        background: transparent; border-top: none; box-shadow: none; min-width: auto;
        display: none; padding: 0 0 0 1rem;
    }
    .nav-links li:hover .dropdown-menu,
    .nav-links li:hover .dropdown-menu-sub { display: none; }
    .nav-links li.open > .dropdown-menu,
    .nav-links li.open > .dropdown-menu-sub { display: flex; }
    .dropdown-menu a { color: #999; font-size: 0.95rem; padding: 0.6rem 1rem; }
    .mobile-only { display: flex !important; flex-direction: column; align-items: flex-start; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
    .mobile-only a { padding: 0.75rem 0; font-size: 1.1rem; }
    .nav-links li.nav-close-btn { display: flex !important; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 0.5rem; padding-bottom: 0.5rem; }
    .nav-links .nav-close-btn button { justify-content: flex-end; color: var(--text-muted) !important; }
    .nav-links .nav-close-btn button:hover { color: white !important; }
}

/* --- Menu Overlay --- */
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 998; opacity: 0;
    pointer-events: none; transition: opacity 0.35s ease;
}
.menu-overlay.active { opacity: 1; pointer-events: auto; }

/* Responsive */
@media (max-width: 1200px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid-sporty { grid-template-columns: 1fr 1fr; }
    .split-section { flex-direction: column; min-height: auto; }
    .split-half { min-height: 300px; padding: 2rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-content h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
    .nav-links { gap: 1.5rem; }
    .nav-links a { font-size: 0.95rem; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { font-size: 14px; }
    h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); }
    h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); }
    h4 { font-size: 1rem; }
    .grid-2, .grid-3, .grid-6, .footer-grid-sporty { grid-template-columns: 1fr; }
    .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .grid-5 .feature-block img { object-fit: cover; height: 250px; }
    .hero:not(.hero-home) { min-height: auto; padding: 100px 0 60px; clip-path: none; }
    .hero-home { height: auto; min-height: auto; clip-path: none; }
    .hero-home .hero-slide { position: relative !important; top: auto !important; left: auto !important; width: 100% !important; height: auto !important; min-height: 300px; display: flex !important; align-items: center; padding: 70px 0 40px; }
    .hero-home .hero-slide:not(.active) { display: none !important; }
    .hero-home .hero-content { padding-top: 0; }
    .hero-bg { object-fit: cover !important; }
    .hero-content { width: 100%; padding-top: 2rem; }
    .hero-content h1 { font-size: 2rem; text-shadow: 2px 2px 0px rgba(230,0,0,0.5); }
    .hero-content p { font-size: 0.9rem; margin-bottom: 1.5rem; }
    .btn { transform: none; } .btn-inner { transform: none; }
    .cat-card { height: 300px; }
    .cat-image { object-fit: cover; width: 100%; }
    .section { padding: 3rem 0; }
    .feature-block { padding: 2rem 1.5rem; }
    .footer-grid-sporty { gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .title-slanted { transform: none; }
    .hero-content p::before { display: none; }
    .hero-content p { padding-top: 0; }
    .glow-card { transform: none !important; }
    .glow-card:hover { transform: translateY(-5px) !important; }
    .reveal, .reveal-left, .reveal-right, .reveal-up { transform: none !important; opacity: 1 !important; }
    .country-badge { transform: none; font-size: 1rem; padding: 0.5rem 1rem; }
    .country-badge:hover { transform: translateY(-2px); }
    .country-badge span { transform: none; }
    .hero-home .hero-content .reveal.stagger-2[style*="display: flex"] { flex-wrap: wrap; gap: 1rem !important; }
    .hero-home .hero-content .reveal.stagger-2 .btn { font-size: 0.85rem; padding: 0.75rem 1.25rem; white-space: nowrap; }
    #heroPrevBtn, #heroNextBtn { display: none !important; }
    .card-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .blog-card .blog-image { height: 200px; }
    .blog-detail-hero { min-height: 40vh; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .hero:not(.hero-home) { min-height: 40vh; padding-top: 100px; }
    .cat-card { height: 250px; }
    .footer-grid-sporty { gap: 1.5rem; }
}

/* Fix inline grid layouts on mobile */
@media (max-width: 768px) {
    [style*="grid-template-columns: 1fr 2fr"],
    [style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    [style*="position: sticky"] {
        position: static !important;
    }
    .testimonial-slide {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns: 1fr 1fr"]:not(.nav-links):not(.dropdown-menu):not(.header-buttons) {
        grid-template-columns: 1fr !important;
    }
    .hero-slide .hero-content .reveal.stagger-2[style*="display: flex"] {
        flex-wrap: wrap;
    }
    [style*="gap: 4rem"] { gap: 2rem !important; }
    [style*="background-attachment: fixed"],
    [style*="background: url"][style*="fixed"] {
        background-attachment: scroll !important;
    }
}

/* --- Scroll Reveal Animations --- */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-zoom {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-zoom { transform: scale(0.95); }

.reveal.active, .reveal-up.active, .reveal-left.active, .reveal-right.active, .reveal-zoom.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* --- Continuous Animations --- */
@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.08); }
    30% { transform: scale(1); }
    45% { transform: scale(1.08); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

.heartbeat {
    animation: heartbeat 2s infinite;
    will-change: transform;
}

/* Hero Slider Ken Burns Zoom */
@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}
.hero-slide.active .hero-bg {
    animation: heroZoom 7s ease forwards;
    transform-origin: center;
}
.hero-slide .hero-bg {
    transition: transform 0.8s ease;
}

/* Floating Particles */
.hero-particles {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; pointer-events: none;
}
.hero-particles span {
    position: absolute; display: block;
    animation: particleFloat 10s infinite ease-in-out;
}
.hero-particles span:nth-child(1) { left: 5%; top: 70%; width: 3px; height: 3px; border-radius: 50%; background: rgba(230,0,0,0.7); box-shadow: 0 0 6px rgba(230,0,0,0.4); animation-delay: 0s; animation-duration: 9s; }
.hero-particles span:nth-child(2) { left: 12%; top: 40%; width: 2px; height: 8px; background: rgba(255,255,255,0.3); animation-delay: 0.7s; animation-duration: 11s; }
.hero-particles span:nth-child(3) { left: 20%; top: 80%; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.4); box-shadow: 0 0 10px rgba(255,255,255,0.3); animation-delay: 1.2s; animation-duration: 13s; }
.hero-particles span:nth-child(4) { left: 28%; top: 20%; width: 6px; height: 6px; background: rgba(230,0,0,0.5); box-shadow: 0 0 8px rgba(230,0,0,0.3); animation-delay: 1.8s; animation-duration: 8s; transform: rotate(45deg); }
.hero-particles span:nth-child(5) { left: 35%; top: 60%; width: 8px; height: 2px; background: rgba(255,255,255,0.2); animation-delay: 2.3s; animation-duration: 12s; }
.hero-particles span:nth-child(6) { left: 42%; top: 90%; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.4); animation-delay: 2.9s; animation-duration: 10s; }
.hero-particles span:nth-child(7) { left: 48%; top: 30%; width: 7px; height: 7px; background: rgba(230,0,0,0.4); box-shadow: 0 0 10px rgba(230,0,0,0.3); animation-delay: 3.4s; animation-duration: 14s; transform: rotate(45deg); }
.hero-particles span:nth-child(8) { left: 55%; top: 55%; width: 2px; height: 2px; border-radius: 50%; background: rgba(255,255,255,0.6); box-shadow: 0 0 4px rgba(255,255,255,0.3); animation-delay: 4s; animation-duration: 7s; }
.hero-particles span:nth-child(9) { left: 62%; top: 75%; width: 10px; height: 2px; background: rgba(255,255,255,0.15); animation-delay: 4.5s; animation-duration: 15s; }
.hero-particles span:nth-child(10) { left: 68%; top: 15%; width: 3px; height: 3px; border-radius: 50%; background: rgba(230,0,0,0.7); box-shadow: 0 0 6px rgba(230,0,0,0.4); animation-delay: 5s; animation-duration: 9s; }
.hero-particles span:nth-child(11) { left: 75%; top: 85%; width: 6px; height: 6px; background: rgba(255,255,255,0.3); animation-delay: 5.5s; animation-duration: 11s; transform: rotate(45deg); }
.hero-particles span:nth-child(12) { left: 82%; top: 45%; width: 2px; height: 7px; background: rgba(255,255,255,0.25); animation-delay: 6.1s; animation-duration: 13s; }
.hero-particles span:nth-child(13) { left: 88%; top: 65%; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.5); box-shadow: 0 0 8px rgba(255,255,255,0.2); animation-delay: 6.7s; animation-duration: 8s; }
.hero-particles span:nth-child(14) { left: 94%; top: 10%; width: 5px; height: 5px; border-radius: 50%; background: rgba(230,0,0,0.5); box-shadow: 0 0 8px rgba(230,0,0,0.3); animation-delay: 7.2s; animation-duration: 12s; }
.hero-particles span:nth-child(15) { left: 8%; top: 5%; width: 4px; height: 8px; background: rgba(255,255,255,0.2); animation-delay: 7.8s; animation-duration: 10s; }
.hero-particles span:nth-child(16) { left: 18%; top: 50%; width: 8px; height: 2px; background: rgba(230,0,0,0.3); animation-delay: 8.3s; animation-duration: 14s; }
.hero-particles span:nth-child(17) { left: 25%; top: 95%; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.4); box-shadow: 0 0 6px rgba(255,255,255,0.2); animation-delay: 8.9s; animation-duration: 7s; }
.hero-particles span:nth-child(18) { left: 33%; top: 35%; width: 6px; height: 6px; background: rgba(230,0,0,0.5); box-shadow: 0 0 8px rgba(230,0,0,0.3); animation-delay: 9.4s; animation-duration: 11s; transform: rotate(45deg); }
.hero-particles span:nth-child(19) { left: 40%; top: 10%; width: 2px; height: 6px; background: rgba(255,255,255,0.2); animation-delay: 10s; animation-duration: 13s; }
.hero-particles span:nth-child(20) { left: 50%; top: 70%; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.5); box-shadow: 0 0 8px rgba(255,255,255,0.3); animation-delay: 10.5s; animation-duration: 9s; }
.hero-particles span:nth-child(21) { left: 58%; top: 40%; width: 9px; height: 2px; background: rgba(230,0,0,0.25); animation-delay: 11s; animation-duration: 15s; }
.hero-particles span:nth-child(22) { left: 65%; top: 95%; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.35); animation-delay: 11.5s; animation-duration: 8s; }
.hero-particles span:nth-child(23) { left: 72%; top: 25%; width: 7px; height: 7px; background: rgba(230,0,0,0.4); box-shadow: 0 0 8px rgba(230,0,0,0.3); animation-delay: 12s; animation-duration: 12s; transform: rotate(45deg); }
.hero-particles span:nth-child(24) { left: 78%; top: 55%; width: 2px; height: 2px; border-radius: 50%; background: rgba(255,255,255,0.6); animation-delay: 12.5s; animation-duration: 10s; }
.hero-particles span:nth-child(25) { left: 92%; top: 80%; width: 2px; height: 8px; background: rgba(255,255,255,0.2); animation-delay: 13s; animation-duration: 11s; }

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    15% { opacity: 0.8; }
    50% { opacity: 1; transform: translateY(-50vh) translateX(20px) rotate(90deg); }
    85% { opacity: 0.6; }
    100% { transform: translateY(-110vh) translateX(-15px) rotate(180deg); opacity: 0; }
}

@media (max-width: 768px) {
    .hero-particles { display: none; }
}
