:root {
    --creative-primary: #2d3748;
    --creative-secondary: #1a202c;
    --creative-accent: #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumb-item a:hover {
    color: #1a202c;
}

.breadcrumb-item.active {
    color: #0f172a;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";
    color: #64748b;
    font-size: 1.1rem;
}

/* Creative Hero Section */
.creative-hero {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.creative-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.creative-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.creative-hero-content {
    position: relative;
    z-index: 1;
}

.creative-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.creative-hero .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.creative-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: white;
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    min-width: 140px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Search Form */
.creative-search-form {
    max-width: 750px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    gap: 0.75rem;
    background: white;
    border-radius: 60px;
    padding: 0.6rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.search-input-group::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 60px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-input-group:focus-within {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

.search-input-group:focus-within::before {
    opacity: 1;
}

.search-input-group input {
    border: none;
    padding: 0.875rem 1.75rem;
    font-size: 1.063rem;
    flex: 1;
    background: transparent;
    color: #1a202c;
}

.search-input-group input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-input-group input:focus {
    outline: none;
}

.search-input-group button {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 4px 12px rgba(26, 32, 44, 0.3);
    position: relative;
    overflow: hidden;
}

.search-input-group button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-input-group button:hover {
    background: linear-gradient(135deg, #1a202c 0%, #0f1419 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(26, 32, 44, 0.4);
}

.search-input-group button:hover::before {
    opacity: 1;
}

.search-input-group button:active {
    transform: scale(0.98);
}

/* Features Section */
.creative-features {
    background: white;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    border: 2px solid #f1f5f9;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2.5;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.feature-description {
    font-size: 0.938rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Creative Grid */
.creative-grid {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin: 1.5rem 0 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.creative-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    background: #ffffff;
    cursor: pointer;
}

.creative-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.creative-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.creative-card:hover::before {
    opacity: 1;
}

.creative-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f1f5f9;
}

.creative-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.creative-card:hover .creative-card-image img {
    transform: scale(1.15) rotate(2deg);
}

.creative-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
}

.creative-card:hover .creative-overlay {
    opacity: 1;
}

.creative-id {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.813rem;
    margin-bottom: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.creative-card:hover .creative-id {
    transform: translateY(0);
}

.creative-title {
    color: white;
    font-size: 1.063rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.creative-card:hover .creative-title {
    transform: translateY(0);
}

.creative-title:hover {
    color: #3b82f6;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    border: 2px dashed #cbd5e1;
    position: relative;
    overflow: hidden;
}

.no-results::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="%23cbd5e1" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.no-results > * {
    position: relative;
    z-index: 1;
}

.no-results-icon {
    font-size: 5rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.no-results h2 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.no-results p {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.no-results .btn {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(26, 32, 44, 0.3);
}

.no-results .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 32, 44, 0.4);
}

/* Pagination */
.pagination-wrapper {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
    position: relative;
}

.pagination-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.pagination {
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-link {
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    transition: var(--transition);
    margin: 0 0.125rem;
    padding: 0.625rem 1rem;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-link:hover {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-color: #1a202c;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(26, 32, 44, 0.3);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-color: #1a202c;
    color: white;
    box-shadow: 0 4px 12px rgba(26, 32, 44, 0.3);
}

.page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 991px) {
    .creative-hero {
        padding: 4rem 0;
    }

    .creative-hero h1 {
        font-size: 2.25rem;
    }

    .creative-hero .lead {
        font-size: 1.125rem;
    }

    .creative-stats {
        gap: 2.5rem;
    }

    .stat-item {
        min-width: 120px;
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.75rem 1.25rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .creative-grid {
        padding: 4rem 0;
    }
}

@media (max-width: 767px) {
    .creative-hero {
        padding: 3rem 0;
    }

    .creative-hero h1 {
        font-size: 1.875rem;
        letter-spacing: -0.3px;
    }

    .creative-hero .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .search-input-group {
        flex-direction: column;
        border-radius: 20px;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .search-input-group input {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .search-input-group button {
        border-radius: 16px;
        justify-content: center;
        width: 100%;
        padding: 1rem 2rem;
    }

    .creative-stats {
        gap: 1rem;
    }

    .stat-item {
        min-width: 100px;
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-description {
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .creative-grid {
        padding: 3rem 0;
    }

    .creative-card {
        border-radius: 12px;
    }

    .creative-overlay {
        padding: 1.25rem;
    }

    .creative-title {
        font-size: 0.938rem;
    }

    .no-results {
        padding: 4rem 1.5rem;
        border-radius: 16px;
    }

    .no-results-icon {
        font-size: 4rem;
    }

    .no-results h2 {
        font-size: 1.5rem;
    }

    .no-results p {
        font-size: 1rem;
    }

    .pagination-wrapper {
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .page-link {
        padding: 0.5rem 0.75rem;
        min-width: 38px;
        font-size: 0.875rem;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.creative-card-image.loading {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Scroll Reveal Animation */
.creative-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.creative-card:nth-child(1) { animation-delay: 0.1s; }
.creative-card:nth-child(2) { animation-delay: 0.2s; }
.creative-card:nth-child(3) { animation-delay: 0.3s; }
.creative-card:nth-child(4) { animation-delay: 0.4s; }
.creative-card:nth-child(5) { animation-delay: 0.5s; }
.creative-card:nth-child(6) { animation-delay: 0.6s; }
