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

:root {
    --primary-orange: #FF6B35;
    --primary-coral: #FF8C61;
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --border-color: #e5e5e5;
    --hover-bg: #f9f9f9;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #fef5f1 100%);
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-coral) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://cdn1.genspark.ai/user-upload-image/5_generated/4c5f1230-68d6-4c4b-a16f-ed5441520127.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Search Bar */
.search-container {
    margin-bottom: 3rem;
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(255, 107, 53, 0.08);
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* Category Grid */
.category-grid {
    display: grid;
    gap: 1.5rem;
}

.category-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.category-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-header:hover {
    background: var(--hover-bg);
}

.category-header.active {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-coral) 100%);
    color: white;
    border-bottom: none;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.category-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    transition: all 0.3s ease;
}

.category-header.active .category-icon svg {
    stroke: white;
    transform: scale(1.1);
}

.category-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.category-header.active .category-toggle {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.category-content.active {
    max-height: 5000px;
}

.prompts-container {
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
}

/* Prompt Card */
.prompt-card {
    background: var(--hover-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.prompt-card:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.prompt-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.prompt-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    white-space: pre-wrap;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.copy-btn {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: var(--primary-coral);
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #10b981;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d2d2d 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.footer-logo {
    width: 200px;
    margin-bottom: 1rem;
    opacity: 0.9;
    display: none;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .prompt-header {
        flex-direction: column;
        gap: 1rem;
    }

    .copy-btn {
        width: 100%;
    }

    .category-header {
        padding: 1rem 1.5rem;
    }

    .category-title {
        font-size: 1.1rem;
    }

    .prompts-container {
        padding: 1rem;
    }
}