:root {
    --bg-dark: #080d12;
    --card-bg: rgba(16, 26, 36, 0.65);
    --glass-border: rgba(0, 242, 254, 0.18);
    --aqua-primary: #00f2fe;
    --aqua-secondary: #4facfe;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Glowing Blobs */
.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}
.blob-1 { top: -80px; left: -80px; background: var(--aqua-primary); }
.blob-2 { top: 500px; right: -80px; background: var(--aqua-secondary); }

/* Typography & Accent Utility */
.aqua-text { color: var(--aqua-primary); }
.aqua-glow {
    color: var(--aqua-primary);
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--aqua-primary);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.25);
    transform: translateY(-4px);
}

/* Header & Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background: rgba(8, 13, 18, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--aqua-primary);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.btn-submit {
    background: linear-gradient(135deg, var(--aqua-primary), var(--aqua-secondary));
    color: #000;
    font-weight: 700;
    padding: 10px 22px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
    transition: all 0.3s;
}

.btn-submit:hover {
    opacity: 0.95;
    transform: scale(1.04);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 70px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-section p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(16, 26, 36, 0.85);
    border: 1px solid var(--glass-border);
    padding: 8px 12px 8px 20px;
    border-radius: 40px;
    max-width: 680px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.search-box:focus-within {
    border-color: var(--aqua-primary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.search-icon {
    color: var(--aqua-primary);
    font-size: 1.2rem;
    margin-right: 15px;
}

.search-box input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
}

.search-box input::placeholder {
    color: #64748b;
}

.btn-search {
    background: var(--aqua-primary);
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-search:hover {
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.quick-tags {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.quick-tags .tag {
    color: var(--aqua-primary);
    text-decoration: none;
    margin: 0 6px;
    transition: 0.2s;
    display: inline-block;
}

.quick-tags .tag:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

/* Section Containers */
.section-container {
    max-width: 1600px;
    width: 95vw;
    margin: 40px auto;
    padding: 0 15px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.see-all {
    color: var(--aqua-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
}

.see-all:hover {
    letter-spacing: 0.5px;
}

/* Banner / Events Section Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.banner-card {
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.badge {
    align-self: flex-start;
    background: var(--aqua-primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.badge.upcoming {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-card h3 {
    margin: 18px 0 6px;
    font-size: 1.3rem;
}

.banner-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.btn-card {
    align-self: flex-start;
    background: transparent;
    border: 1px solid var(--aqua-primary);
    color: var(--aqua-primary);
    padding: 9px 20px;
    border-radius: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-card:hover {
    background: var(--aqua-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* --- FILTER TABS --- */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.tab-btn {
    background: rgba(16, 26, 36, 0.75);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--aqua-primary);
    border-color: var(--aqua-primary);
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.35);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.22), rgba(79, 172, 254, 0.22));
    color: var(--aqua-primary);
    border: 1px solid var(--aqua-primary);
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.4);
}

/* --- TRUE PROMPT HERO / PINTEREST MASONRY GRID --- */
.masonry-grid {
    column-count: 4;
    column-gap: 20px;
}

.prompt-card {
    break-inside: avoid;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
}

.card-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0d151d;
    border-radius: 16px 16px 0 0;
}

.card-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prompt-card:hover .card-img img {
    transform: scale(1.05);
}

.model-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: var(--aqua-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid var(--glass-border);
}

.card-content {
    padding: 16px;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 12px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.likes {
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-view {
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid var(--glass-border);
    color: var(--aqua-primary);
    padding: 7px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    transition: 0.3s;
}

.btn-view:hover {
    background: var(--aqua-primary);
    color: #000;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

/* --- MODAL POPUP (BOOST PAGEVIEWS & ADSENSE) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    border-radius: 24px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    color: var(--aqua-primary);
}

.modal-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 25px;
    align-items: start;
}

.modal-img-box {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.modal-img-box img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.modal-details h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
}

.modal-category-badge {
    display: inline-block;
    color: var(--aqua-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* AdSense Slot Placeholder */
.adsense-slot-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(0, 242, 254, 0.3);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.prompt-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--aqua-primary);
    padding: 15px;
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-copy-main {
    width: 100%;
    background: linear-gradient(135deg, var(--aqua-primary), var(--aqua-secondary));
    color: #000;
    font-size: 1rem;
    font-weight: 800;
    padding: 14px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    transition: 0.3s;
}

.btn-copy-main:hover {
    transform: scale(1.02);
}

/* Toast Notification */
.toast {
    visibility: hidden;
    min-width: 260px;
    background-color: var(--aqua-primary);
    color: #000;
    font-weight: 700;
    text-align: center;
    border-radius: 30px;
    padding: 14px 28px;
    position: fixed;
    z-index: 3000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 60px;
    background: rgba(8, 13, 18, 0.9);
}

/* RESPONSIVE SETUP */
@media (max-width: 1200px) {
    .masonry-grid { column-count: 3; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 20px; }
    .nav-links { display: none; }
    .hero-section h1 { font-size: 1.8rem; }
    .hero-section p { font-size: 0.95rem; }

    .search-box { 
        flex-direction: column; 
        gap: 10px; 
        border-radius: 20px; 
        padding: 12px; 
    }

    .btn-search { width: 100%; }

    .section-container {
        width: 100%;
        padding: 0 10px;
    }

    /* Mobile 2-Column Pinterest Grid */
    .masonry-grid {
        column-count: 2;
        column-gap: 10px;
    }

    .prompt-card { margin-bottom: 10px; }

    .modal-content-wrapper {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-tabs::-webkit-scrollbar { display: none; }
}