:root {
    /* Edgy Color Palette */
    --color-bg-deep: #050505;
    --color-bg-elevated: #111111;
    --color-bg-card: #181818;
    
    --color-primary-red: #E63946;
    --color-primary-orange: #F77F00;
    --color-primary-yellow: #FCBF49;
    --color-text-main: #F8F9FA;
    --color-text-muted: #ADB5BD;
    
    /* Gradients */
    --gradient-fire: linear-gradient(135deg, var(--color-primary-red) 0%, var(--color-primary-orange) 50%, var(--color-primary-yellow) 100%);
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Spacing & Utilities */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-medium: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 9999px;
    
    /* Z-Index */
    --z-nav: 1000;
    --z-dropdown: 900;
    --z-modal: 1050;
    --z-cursor: 9999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* For custom cursor */
}

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

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary-yellow);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(252, 191, 73, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: calc(var(--z-cursor) - 1);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.custom-cursor.hover {
    width: 12px;
    height: 12px;
    background-color: var(--color-primary-red);
}

.custom-cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--color-primary-red);
    background-color: rgba(230, 57, 70, 0.1);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

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

/* Utilities */
.text-accent {
    color: var(--color-primary-red);
}

.text-gradient {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-medium);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width var(--transition-medium);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-fire);
    color: var(--color-bg-deep);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(247, 127, 0, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--color-primary-yellow);
    color: var(--color-bg-deep);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
}

.section-header p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Reveal Animations */
.reveal, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all var(--transition-slow);
}

.reveal {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

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

/* =========================================
   NAVIGATION
========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: var(--z-nav);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding var(--transition-medium), background var(--transition-medium);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: lowercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-fire);
    transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    z-index: calc(var(--z-nav) + 1);
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: all var(--transition-fast);
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: blob-float 15s infinite alternate;
}

.red-blob {
    top: 10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--color-primary-red);
    animation-delay: 0s;
}

.orange-blob {
    bottom: -20%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--color-primary-orange);
    animation-delay: -5s;
}

.yellow-blob {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: var(--color-primary-yellow);
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.animate-word {
    display: block;
    transform: translateY(20px);
    opacity: 0;
    animation: slide-up 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animate-word:nth-child(1) { animation-delay: 0.2s; }
.animate-word:nth-child(2) { animation-delay: 0.4s; }
.animate-word:nth-child(3) { animation-delay: 0.6s; }

@keyframes slide-up {
    to { transform: translateY(0); opacity: 1; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    opacity: 0;
    animation: fade-in 1s ease forwards 1s;
}

@keyframes fade-in {
    to { opacity: 1; }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fade-in 1s ease forwards 1.2s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: bounce-fade 2s infinite 2s;
}

@keyframes bounce-fade {
    0%, 100% { transform: translate(-50%, 0); opacity: 0; }
    50% { transform: translate(-50%, 10px); opacity: 0.7; }
}

/* =========================================
   SECTIONS GLOBAL
========================================= */
section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================
   GEAR SECTION
========================================= */
.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gear-card {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
    position: relative;
}

.gear-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(247, 127, 0, 0.3);
}

.card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gear-card:hover .placeholder-img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,1), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0.8;
}

.card-overlay .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--color-primary-yellow);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.gear-card:hover .card-overlay .material-symbols-outlined {
    opacity: 1;
    transform: translateY(0);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary-red);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

.btn-text .material-symbols-outlined {
    transition: transform var(--transition-fast);
}

.btn-text:hover .material-symbols-outlined {
    transform: translateX(5px);
}

/* =========================================
   NEW (AI) SECTION
========================================= */
.new-section {
    position: relative;
}

.new-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.03), transparent);
    z-index: -1;
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--color-primary-yellow);
}

.new-text h2 {
    font-size: 4rem;
}

.trend-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trend-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.trend-list li:hover {
    border-left-color: var(--color-primary-orange);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.icon-glow {
    color: var(--color-primary-red);
    filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5));
}

.new-visual {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.ai-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.2);
}

.glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    aspect-ratio: 1;
    border: 2px solid rgba(252, 191, 73, 0.3);
    border-radius: 50%;
    animation: ring-pulse 4s infinite cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

@keyframes ring-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; border-color: rgba(252, 191, 73, 0.8); }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* =========================================
   ARTICLES SECTION
========================================= */
.articles-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

.featured-article {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: none;
}

.article-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-article:hover .article-img img {
    transform: scale(1.03);
}

.category-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--color-primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.featured-article::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(totop, rgba(5,5,5,1) 0%, rgba(5,5,5,0) 60%);
    pointer-events: none;
}

.article-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
}

.article-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--color-primary-yellow);
    padding-bottom: 0.25rem;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--color-bg-elevated);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
}

.article-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--color-primary-orange);
    transform: translateX(10px);
}

.article-number {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    font-family: monospace;
}

.article-item:hover .article-number {
    color: var(--color-primary-orange);
}

.article-detail .category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-primary-red);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    display: block;
}

.article-detail h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.article-item .material-symbols-outlined {
    margin-left: auto;
    color: var(--color-text-muted);
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all var(--transition-fast);
}

.article-item:hover .material-symbols-outlined {
    opacity: 1;
    transform: translate(0, 0);
    color: white;
}

/* =========================================
   FOOTER
========================================= */
footer {
    background: var(--color-bg-elevated);
    padding: 6rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2.5rem;
    letter-spacing: -0.05em;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-yellow);
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--color-text-muted);
}

.link-group a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media screen and (max-width: 1024px) {
    .section-header h2 { font-size: 3rem; }
    .new-text h2 { font-size: 3rem; }
    .articles-layout { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg-deep);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-medium);
        z-index: var(--z-dropdown);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-item {
        margin: 1.5rem 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
    
    .new-container { grid-template-columns: 1fr; }
    .new-visual { order: -1; aspect-ratio: 16/9; }
    
    .footer-content { flex-direction: column; gap: 2rem; }
    
    /* Disable custom cursor on mobile */
    .custom-cursor, .custom-cursor-follower { display: none; }
    * { cursor: auto; }
}
