:root {
    /* Copying essential variables from style.css */
    --bg-primary: #010204;
    --bg-secondary: #050810;
    --accent-lightblue: #38bdf8;
    --accent-emerald: #10b981;
    --accent-yellow: #fcd34d;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-gradient-main: linear-gradient(135deg, var(--accent-yellow), var(--accent-emerald), var(--accent-lightblue));
    --liquid-bg: rgba(255, 255, 255, 0.03);
    --liquid-border: rgba(255, 255, 255, 0.1);
    --liquid-blur: 25px;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Background Elements */
.bg-mesh {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    filter: blur(80px);
}

.mesh-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    opacity: 0.1;
}

.blob-1 { background: var(--accent-lightblue); top: -10%; left: -10%; }
.blob-2 { background: var(--accent-emerald); bottom: -10%; right: -10%; }
.blob-3 { background: var(--accent-yellow); top: 40%; left: 40%; }

.grid-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    opacity: 0.5;
}

/* Guide Grid Layout */
.guide-container {
    max-width: 1400px;
    margin: 120px auto 40px;
    padding: 0 5%;
}

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

.resource-card {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--liquid-border);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.resource-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(1, 2, 4, 0.3), rgba(1, 2, 4, 0.8));
    z-index: 1;
    transition: background 0.4s ease;
}

.resource-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.resource-card:hover::before {
    background: linear-gradient(to bottom, rgba(1, 2, 4, 0.2), rgba(1, 2, 4, 0.6));
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.resource-card:hover h3 {
    transform: scale(1.1);
}

/* Hero Content for Guide */
.guide-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.guide-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    background: var(--text-gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.guide-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .resource-grid {
        grid-template-columns: 1fr;
    }
    .guide-container {
        margin-top: 100px;
    }
    .card-content h3 {
        font-size: 1.5rem;
    }
}
