* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.15;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.tagline {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.1rem;
    color: #aaaaaa;
    font-weight: 300;
}

/* Generators Grid */
.generators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Generator Cards */
.generator-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.generator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.generator-card:hover::before {
    opacity: 1;
}

.generator-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

/* Card Staggered Animation */
.generator-card:nth-child(1) { animation-delay: 0.1s; }
.generator-card:nth-child(2) { animation-delay: 0.2s; }
.generator-card:nth-child(3) { animation-delay: 0.3s; }
.generator-card:nth-child(4) { animation-delay: 0.4s; }
.generator-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Icon */
.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.generator-card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Card Title */
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.3;
}

/* Card Description */
.card-description {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Card Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #aaddff;
}

/* Card Arrow */
.card-arrow {
    position: absolute;
    bottom: 25px;
    right: 30px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.generator-card:hover .card-arrow {
    color: rgba(102, 126, 234, 1);
    transform: translateX(5px);
}

/* Card Color Variations */
.card-basic:hover {
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5);
}

.card-detailed:hover {
    box-shadow: 0 20px 60px rgba(118, 75, 162, 0.5);
}

.card-advanced:hover {
    box-shadow: 0 20px 60px rgba(240, 147, 251, 0.5);
}

.card-asm:hover {
    box-shadow: 0 20px 60px rgba(79, 172, 254, 0.5);
}

.card-kids:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.5);
}

.card-turkpop:hover {
    box-shadow: 0 20px 60px rgba(255, 87, 51, 0.5);
}

.card-vocal:hover {
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.5);
}

.card-psychedelic:hover {
    box-shadow: 0 20px 60px rgba(255, 0, 255, 0.6), 0 0 40px rgba(0, 255, 255, 0.4);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.footer p {
    font-size: 1rem;
    color: #aaaaaa;
    margin-bottom: 8px;
}

.footer strong {
    color: #ffffff;
    font-weight: 700;
}

.footer-note {
    font-size: 0.9rem;
    color: #777777;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .generators-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .generator-card {
        padding: 25px;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-icon {
        font-size: 2.8rem;
    }
}

/* Smooth Hover Effects */
@media (hover: hover) {
    .generator-card {
        will-change: transform;
    }
}
