* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

/* Matrix Background Animation */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.matrix-bg canvas {
    display: block;
}

/* Header Section */
.header {
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(224, 0, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e00000, #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(224, 0, 0, 0.5);
}

.header p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Resources Grid */
.resources-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

/* Glowing Resource Cards */
.resource-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.9));
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(224, 0, 0, 0.2);
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(224, 0, 0, 0.1), rgba(255, 68, 68, 0.05));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.resource-card:hover::before {
    opacity: 1;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(224, 0, 0, 0.2),
        0 0 80px rgba(224, 0, 0, 0.1),
        inset 0 0 0 1px rgba(224, 0, 0, 0.3);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(224, 0, 0, 0.5));
}

.card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(224, 0, 0, 0.3);
}

.card-description {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 25px;
}

.card-features {
    list-style: none;
    margin-bottom: 30px;
}

.card-features li {
    padding: 8px 0;
    position: relative;
}

.card-features a {
    color: #aaaaaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0 8px 20px;
    position: relative;
}

.card-features a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #e00000;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

/* Hover effects for feature links */
.card-features a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.card-features a:hover::before {
    color: #ff4444;
    transform: scale(1.2);
}

.card-cta {
    background: linear-gradient(135deg, #e00000, #cc0000);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.card-cta:hover {
    background: linear-gradient(135deg, #ff0000, #e00000);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(224, 0, 0, 0.3);
}

/* Glowing Particle Effects */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #e00000;
    border-radius: 50%;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; right: 15%; animation-delay: 2s; }
.particle:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .resource-card {
        padding: 30px 25px;
    }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}