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

body {
    font-family: 'Segoe UI', 'Trebuchet MS', 'Arial Unicode MS', sans-serif;
    line-height: 1.6;
    color: #d4d4d4;
    background: 
        repeating-linear-gradient(
            45deg,
            #1a1a1a,
            #1a1a1a 2px,
            #181818 2px,
            #181818 4px
        ),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a20 50%, #0d0d15 100%);
    background-size: 100% 100%, 100% 100%;
    min-height: 100vh;
}

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

/* Header */
header {
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(0,0,0,0.3),
            rgba(0,0,0,0.3) 1px,
            transparent 1px,
            transparent 2px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(0,0,0,0.2),
            rgba(0,0,0,0.2) 1px,
            transparent 1px,
            transparent 2px
        ),
        linear-gradient(135deg, #0d0d0d 0%, #1a1a23 50%, #0f0f1a 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 60px rgba(0, 0, 0, 0.9);
    border-bottom: 3px solid #3a3a3a;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(100, 100, 100, 0.05), transparent);
    pointer-events: none;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(100, 100, 100, 0.2);
    position: relative;
    z-index: 1;
    color: #f0f0f0;
}

header .subtitle {
    font-size: 1.2em;
    opacity: 0.85;
    position: relative;
    z-index: 1;
    color: #c0c0c0;
}

/* Navigation Bar */
.navbar {
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(0,0,0,0.4),
            rgba(0,0,0,0.4) 1px,
            transparent 1px,
            transparent 2px
        ),
        rgba(5, 5, 10, 0.98);
    padding: 0;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #2a2a2a;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #b8b8b8;
    transition: all 0.3s ease;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    background: linear-gradient(90deg, transparent, rgba(100, 100, 100, 0.1), transparent);
    background-size: 0 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(90deg, transparent, rgba(100, 100, 100, 0.3), transparent);
    color: #e8e8e8;
    border-bottom-color: #5a5a5a;
    box-shadow: inset 0 -2px 8px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero {
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(50, 50, 50, 0.1),
            rgba(50, 50, 50, 0.1) 2px,
            transparent 2px,
            transparent 4px
        ),
        linear-gradient(135deg, rgba(30, 30, 35, 0.6), rgba(40, 40, 45, 0.6));
    padding: 60px 0;
    text-align: center;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 80px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(100, 100, 100, 0.2);
}

.hero-image {
    margin-top: 30px;
    overflow: hidden;
    border-radius: 8px;
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border: 2px solid rgba(100, 100, 100, 0.3);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero h2 {
    font-size: 2.5em;
    color: #d0d0d0;
    margin-bottom: 15px;
    text-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(80, 80, 80, 0.3);
}

.hero p {
    font-size: 1.3em;
    color: #a0a0a0;
}

/* Categories Section */
.categories {
    padding: 40px 0;
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(40, 40, 40, 0.1),
            rgba(40, 40, 40, 0.1) 2px,
            transparent 2px,
            transparent 4px
        ),
        linear-gradient(135deg, rgba(20, 20, 25, 0.5), rgba(30, 30, 35, 0.5));
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 100, 100, 0.15);
}

.categories h2 {
    text-align: center;
    font-size: 2em;
    color: #d0d0d0;
    margin-bottom: 40px;
    text-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(80, 80, 80, 0.2);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* Category Card Link */
.category-card-link {
    text-decoration: none;
    color: inherit;
    display: contents;
}

.category-card {
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(40, 40, 40, 0.1),
            rgba(40, 40, 40, 0.1) 1px,
            transparent 1px,
            transparent 2px
        ),
        linear-gradient(135deg, rgba(15, 15, 20, 0.8), rgba(25, 25, 30, 0.8));
    border: 1px solid rgba(100, 100, 100, 0.25);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 100, 100, 0.1), transparent);
    transition: left 0.3s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-color: rgba(120, 120, 120, 0.4);
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(50, 50, 50, 0.15),
            rgba(50, 50, 50, 0.15) 1px,
            transparent 1px,
            transparent 2px
        ),
        linear-gradient(135deg, rgba(20, 20, 25, 0.9), rgba(30, 30, 35, 0.9));
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(100, 100, 100, 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.85);
}

.category-card:hover .card-image img {
    transform: scale(1.08);
    filter: brightness(0.95);
}

.category-card h3 {
    color: #d0d0d0;
    margin-bottom: 8px;
    font-size: 1.5em;
}

.category-card h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.category-card h3 a:hover {
    color: #e8e8e8;
    text-shadow: 0 0 10px rgba(200, 200, 200, 0.3);
}

.category-card p {
    color: #888888;
    font-size: 0.9em;
    margin-bottom: 15px;
    font-style: italic;
}

.category-card ul {
    list-style: none;
    padding-left: 0;
}

.category-card li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.category-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #7a7a7a;
    font-weight: bold;
}

.category-card a {
    text-decoration: none;
    color: #9a9a9a;
    transition: color 0.3s;
}

.category-card a:hover {
    color: #b8b8b8;
    text-shadow: 0 0 8px rgba(150, 150, 150, 0.4);
}

/* Featured Section */
.featured {
    padding: 40px 0;
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(40, 40, 40, 0.1),
            rgba(40, 40, 40, 0.1) 2px,
            transparent 2px,
            transparent 4px
        ),
        linear-gradient(135deg, rgba(20, 20, 25, 0.5), rgba(30, 30, 35, 0.5));
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 100, 100, 0.15);
}

.featured h2 {
    text-align: center;
    font-size: 2em;
    color: #d0d0d0;
    margin-bottom: 40px;
    text-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(80, 80, 80, 0.2);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.featured-item {
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(50, 50, 50, 0.1),
            rgba(50, 50, 50, 0.1) 1px,
            transparent 1px,
            transparent 2px
        ),
        linear-gradient(135deg, rgba(15, 15, 20, 0.6), rgba(25, 25, 30, 0.6));
    border-left: 5px solid #5a5a5a;
    padding: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.featured-item:hover {
    transform: translateX(5px);
    box-shadow: 
        0 10px 24px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-left-color: #7a7a7a;
}

.featured-item h4 {
    color: #d0d0d0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.featured-item p {
    color: #9a9a9a;
    line-height: 1.6;
}

/* Footer */
footer {
    background: 
        repeating-linear-gradient(
            90deg,
            rgba(0,0,0,0.3),
            rgba(0,0,0,0.3) 1px,
            transparent 1px,
            transparent 2px
        ),
        linear-gradient(135deg, #050505 0%, #0a0a0f 100%);
    color: #909090;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 2px solid #2a2a2a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

footer p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header .subtitle {
        font-size: 1em;
    }

    .nav-menu a {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }
}
