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

body {
    background-color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1 {
    text-align: center;
    font-size: 3rem;
    color: #ffffff;
    padding: 60px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    background: linear-gradient(to right, #ff0080, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    animation: fadeIn 2s ease-in-out;
}
.subheading {
    text-align: center;
    font-size: 1.2rem;
    color: #d3d3d3;
    margin-top: 10px;
    margin-bottom: 20px;
}

.website-description {
    text-align: center;
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-top: 10px;
    margin-bottom: 40px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.category-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px;
    animation: fadeIn 3s ease-in-out;
}

.category-box {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: #d3d3d3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #3d3d3d;
}

.category-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ff7f50;
}

.category-box p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.5;
}

.category-box:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(0, 255, 255, 0.2));
    transform: translate(-50%, -50%);
    animation: flashEffect 2s infinite;
    border-radius: 50%;
    opacity: 0.6;
}

.category-box:hover {
    transform: translateY(-10px);
    background: #333;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    border-color: #ff8c00;
}

.category-box:hover h2 {
    color: #fff;
}

.category-box:hover:before {
    animation: flashEffectHover 1s ease-in-out infinite;
}


@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes flashEffect {
    0% { transform: scale(0.9); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(0.9); opacity: 0.4; }
}

@keyframes flashEffectHover {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.6; }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        padding: 30px 0;
    }

    .category-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}
