/*
Theme Name: DLC Neon Minimalist
Theme URI: https://deadlinecalls.com
Author: DLC Team
Description: A high-end, neon-minimalist directory for creative open calls.
Version: 2.0 (Updated to match Custom HTML Templates)
License: GNU General Public License v2 or later
Text Domain: dlc-theme
*/

/* ==========================================================================
   1. CSS VARIABLES, FONTS & RESET
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;900&family=Space+Grotesk:wght@400;700&display=swap');

:root {
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-dim: #999999;
    --accent-neon: #e0f26d;
    --accent-urgent: #ff5a7a;
    --accent-blue: #00e5ff;
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --font-ui: 'Outfit', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-ui);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* ==========================================================================
   2. GLOBAL LAYOUT & BACKGROUND EFFECTS
   ========================================================================== */
.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

.outline {
    -webkit-text-stroke: 1px var(--text-main);
    color: transparent;
}

.outline-neon {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
    color: transparent;
}

/* Gradient Blobs Animation */
.gradient-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.3;
}

.blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    z-index: -1;
}

.b1 { width: 50vw; height: 50vw; background: #00e5ff; top: -10%; left: -10%; }
.b2 { width: 40vw; height: 40vw; background: #d500f9; bottom: -5%; right: -5%; }
.b3 { width: 30vw; height: 30vw; background: #ff4081; top: 30%; right: 10%; }

/* ==========================================================================
   3. BUTTONS & INTERACTIVES
   ========================================================================== */
.btn-primary {
    background: var(--accent-neon);
    color: #000;
    border: none;
    padding: 1.2rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(224, 242, 109, 0.4), 0 0 60px rgba(224, 242, 109, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    padding: 1.2rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    border-color: var(--accent-neon);
    color: var(--accent-neon);
    box-shadow: 0 0 20px rgba(224, 242, 109, 0.2);
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: var(--space-md);
}

/* ==========================================================================
   4. NAVIGATION & FOOTER (MOBILE OPTIMIZED)
   ========================================================================== */
nav {
    height: var(--header-height);
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-neon);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-links a:hover { opacity: 1; color: var(--accent-neon); }

/* Hamburger Menu & Mobile Overlay */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 1100;
}

.hamburger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    nav { padding: 0 1rem; height: 60px; }
    .nav-links { display: none; }
    .hamburger-menu { display: flex; }
    :root { --header-height: 60px; }
}

/* ==========================================================================
   5. HOMEPAGE COMPONENTS (Hero, Ticker, Highlights)
   ========================================================================== */
.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(6rem, 20vw, 22rem);
    font-weight: 900;
    line-height: 0.75;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    display: flex;
    flex-direction: column;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--accent-neon);
    margin-bottom: 1rem;
    letter-spacing: 0.3em;
}

.ticker-wrap {
    width: 100%;
    background: var(--accent-neon);
    padding: 12px 0;
    overflow: hidden;
    border-bottom: 1px solid #000;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   6. CARDS & DIRECTORY GRIDS
   ========================================================================== */
.calls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 8rem;
}

.call-card {
    position: relative;
    min-height: 480px;
    width: 100%;
    overflow: hidden;
    background: #151515;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.call-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.call-card .card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.call-card:hover .card-image { transform: scale(1.05); }

.call-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.95) 100%);
    z-index: 2;
}

.call-card .card-content {
    position: relative;
    z-index: 3;
}

.card-deadline-big {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.8;
    margin-bottom: 1rem;
    color: var(--accent-neon);
}

.card-deadline-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--text-dim);
}

.card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.card-cta {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-neon);
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.card-cta::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0%; height: 2px;
    background: var(--accent-neon);
    transition: width 0.4s ease;
}

.call-card:hover .card-cta::after { width: 100%; }

/* Small Badges for Cards */
.preview-tag-accent {
    font-family: var(--font-mono); font-size: 0.7rem; padding: 0.4rem 0.8rem;
    background: rgba(224, 242, 109, 0.15); color: var(--accent-neon);
    border: 1px solid rgba(224, 242, 109, 0.3); border-radius: 2px;
}
.preview-tag-dim {
    font-family: var(--font-mono); font-size: 0.7rem; padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.08); color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 2px;
}
.preview-tag-blue {
    font-family: var(--font-mono); font-size: 0.7rem; padding: 0.4rem 0.8rem;
    background: rgba(0, 229, 255, 0.15); color: var(--accent-blue);
    border: 1px solid rgba(0, 229, 255, 0.3); border-radius: 2px;
}

/* ==========================================================================
   7. ARCHIVE & FILTER DRAWER (ALL CALLS PAGE)
   ========================================================================== */
.main-container {
    display: flex;
    position: relative;
    min-height: calc(100vh - var(--header-height));
}

/* Force 2-column landscape layout matching the original template */
    .calls-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
    
    /* Ensure the mobile view still stacks them vertically */
    @media (max-width: 1024px) {
        .calls-grid {
            grid-template-columns: 1fr !important;
        }
    }
.filter-drawer {
    width: 300px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: calc(100vh - var(--header-height));
    position: sticky;
    top: var(--header-height);
    padding: 3rem 2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
    overflow-y: auto;
}

.filter-section { margin-bottom: 3rem; }

.filter-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-neon);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    display: block;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: color 0.3s;
    cursor: pointer;
}

.filter-item:hover { color: var(--text-main); }
.filter-item.active { color: var(--accent-neon); }

.grid-content {
    flex: 1;
    padding: 5rem 4rem 3rem;
}

.page-header {
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.page-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
}

/* Mobile Filter Adjustments */
.mobile-filter-btn { display: none; }
.drawer-toggle {
    position: absolute; top: 2rem; right: -40px; width: 40px; height: 40px;
    background: var(--accent-neon); color: #000;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border: none; z-index: 51;
}

@media (max-width: 1024px) {
    .calls-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .call-card { min-height: 400px; padding: 1.5rem; }
    .card-title { font-size: 1.5rem; }
    .card-deadline-big { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .main-container { flex-direction: column; }
    
    .filter-drawer {
        position: fixed; top: 0; left: 0; width: 85%; max-width: 320px;
        height: 100vh; z-index: 2000; transform: translateX(-100%);
        padding: 5rem 1.5rem 2rem; background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px); border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .filter-drawer.open { transform: translateX(0); }
    
    .filter-drawer-overlay {
        display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1999;
    }
    .filter-drawer-overlay.open { display: block; }
    
    .drawer-toggle { display: none; }
    .filter-close {
        display: block; position: absolute; top: 1.2rem; right: 1.2rem;
        background: rgba(255,255,255,0.1); border: none; color: var(--text-main);
        font-size: 1.5rem; cursor: pointer; width: 40px; height: 40px; border-radius: 50%;
    }
    
    .mobile-filter-btn {
        display: flex; align-items: center; justify-content: center; gap: 0.5rem;
        font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-main);
        background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
        padding: 0.6rem 1rem; margin-bottom: 1.5rem; cursor: pointer; width: 100%;
    }
    
    .grid-content { padding: 1.5rem 1rem 2rem; }
    .page-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; }
    .page-title { font-size: 2rem; line-height: 0.95; }
}

/* ==========================================================================
   8. FORMS & INPUTS (SUBMISSION PAGE)
   ========================================================================== */
.submission-header {
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    max-width: 1600px;
    margin: 0 auto;
}

.step-indicator {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.step {
    height: 4px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.step.active { background: var(--accent-neon); }

.step-label {
    font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase;
    letter-spacing: 0.1em; position: absolute; top: 10px; color: var(--text-dim);
}

.step.active .step-label { color: var(--accent-neon); }

.form-title { font-family: var(--font-display); font-size: 4rem; font-weight: 900; text-transform: uppercase; line-height: 1; margin-bottom: var(--space-xs); }
.form-subtitle { font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent-neon); text-transform: uppercase; letter-spacing: 0.2em; }

.submission-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-lg) var(--space-xl);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
}

.form-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg);
}

.form-group { margin-bottom: var(--space-md); }

label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

input[type="text"], input[type="url"], input[type="email"], input[type="number"], select, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    color: var(--text-main);
    font-family: var(--font-ui);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent-neon);
    background: rgba(224, 242, 109, 0.05);
    box-shadow: 0 0 20px rgba(224, 242, 109, 0.25), 0 0 40px rgba(224, 242, 109, 0.1);
}

/* Glassmorphism Select Dropdown */
.glassy-select-wrapper { position: relative; }
.glassy-select-display {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 1.2rem;
    cursor: pointer; transition: all 0.3s ease;
}
.glassy-select-display:hover { border-color: rgba(224, 242, 109, 0.3); background: rgba(255, 255, 255, 0.04); }
.glassy-select-display.active { border-color: var(--accent-neon); background: rgba(224, 242, 109, 0.03); }

.glassy-options {
    position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0;
    background: rgba(10, 10, 10, 0.9); backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all 0.3s ease; z-index: 1000; padding: 0.5rem 0;
}
.glassy-select-wrapper.active .glassy-options { opacity: 1; visibility: visible; transform: translateY(0); }

.glassy-option {
    padding: 1rem 1.2rem; font-family: var(--font-ui); font-size: 0.95rem;
    color: var(--text-main); cursor: pointer; transition: all 0.2s ease;
    border-left: 2px solid transparent;
}
.glassy-option:hover { background: rgba(224, 242, 109, 0.1); border-left-color: var(--accent-neon); }
.glassy-option.active { color: var(--accent-neon); background: rgba(224, 242, 109, 0.08); }

/* Custom Date Card */
.glassy-date-card {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 0.65rem 1.2rem;
    transition: all 0.3s ease; height: 58px;
}
.date-display { display: flex; flex-direction: column; gap: 0.2rem; }
.date-main { display: flex; align-items: baseline; gap: 0.5rem; }
.date-day { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1; }
.date-month { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent-neon); font-weight: 600; }
.date-year { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-dim); }

.date-picker-btn {
    position: relative; background: rgba(224, 242, 109, 0.1);
    border: 1px solid rgba(224, 242, 109, 0.2); border-radius: 50%;
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease; flex-shrink: 0;
}
.hidden-date-input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* Custom Checkboxes and Radios */
input[type="radio"], input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent; cursor: pointer; transition: all 0.3s ease;
    position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"] { border-radius: 2px; } /* Squares for checkboxes */

input[type="radio"]:checked, input[type="checkbox"]:checked { border-color: var(--accent-neon); }
input[type="radio"]:focus, input[type="checkbox"]:focus { box-shadow: 0 0 0 3px rgba(224, 242, 109, 0.3); }

input[type="radio"]:checked::after {
    content: ''; width: 8px; height: 8px; background: var(--accent-neon); border-radius: 50%;
    animation: radioPulse 0.3s ease;
}
input[type="checkbox"]:checked { background: var(--accent-neon); }
input[type="checkbox"]:checked::after {
    content: ''; width: 8px; height: 8px; background: #000; border-radius: 50%; /* Using circle check inside square for stylistic match */
    animation: checkboxCheck 0.2s ease;
}

@keyframes radioPulse { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes checkboxCheck { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* Upload Area */
.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.1); padding: var(--space-lg);
    text-align: center; cursor: pointer; transition: all 0.3s;
}
.upload-area:hover, .upload-area.has-image {
    border-color: var(--accent-neon); background: rgba(224, 242, 109, 0.05);
    box-shadow: 0 0 20px rgba(224, 242, 109, 0.15);
}
.upload-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }

/* Location Reveal Animation */
.location-detail-wrapper {
    max-height: 0; opacity: 0; overflow: hidden; margin: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease-out, margin 0.3s ease;
}
.location-detail-wrapper.is-visible { max-height: 200px; opacity: 1; margin-top: 1rem; margin-bottom: var(--space-md); }

/* Submit Sidebar */
.sidebar-card { background: var(--accent-neon); color: #000; padding: var(--space-md); position: sticky; top: 140px; }
.sidebar-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 1rem; }
.guideline-list { list-style: none; }
.guideline-list li { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; margin-bottom: 0.75rem; display: flex; gap: 0.5rem; }

/* Step visibility transitions */
.step-1-view, .step-2-view { transition: opacity 0.3s ease; }

@media (max-width: 900px) {
    .submission-container { 
        grid-template-columns: 1fr; 
        padding: 0 1.5rem 4rem; /* Reduced horizontal padding for mobile */
    }
    .submission-header {
        padding: 2rem 1.5rem 1.5rem; /* Reduced horizontal padding for mobile */
    }
    .sidebar-card { position: static; }
    .form-title { font-size: 2.5rem; }
}

/* ==========================================================================
   9. MODALS & GLITCH ANIMATIONS
   ========================================================================== */
.success-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.success-modal.active { opacity: 1; visibility: visible; }
.success-modal-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px);
}
.success-modal-content {
    position: relative; background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--accent-neon); box-shadow: 0 0 40px rgba(224, 242, 109, 0.3);
    padding: var(--space-lg); max-width: 500px; width: 90%; text-align: center;
    transform: translateY(30px); transition: transform 0.4s ease;
}
.success-modal.active .success-modal-content { transform: translateY(0); }

.success-icon {
    width: 80px; height: 80px; border: 2px solid var(--accent-neon); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--accent-neon); margin: 0 auto var(--space-md);
    animation: successPulse 0.6s ease;
}
@keyframes successPulse { 0% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.success-modal-content h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; text-transform: uppercase; color: var(--text-main); margin-bottom: 1rem; }
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* 404 Glitch Effect */
.error-code {
    animation: glitch-skew 1s infinite linear alternate-reverse;
    position: relative;
}
.error-code::before, .error-code::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.8;
}
.error-code::before { color: #00e5ff; z-index: -1; animation: glitch-anim 2s infinite linear alternate-reverse; }
.error-code::after { color: #ff5a7a; z-index: -2; animation: glitch-anim2 3s infinite linear alternate-reverse; }

@keyframes glitch-anim {
    0% { clip: rect(30px, 9999px, 10px, 0); transform: skew(0.5deg); }
    20% { clip: rect(15px, 9999px, 60px, 0); transform: skew(0.1deg); }
    40% { clip: rect(80px, 9999px, 40px, 0); transform: skew(0.8deg); }
    60% { clip: rect(10px, 9999px, 90px, 0); transform: skew(0.3deg); }
    80% { clip: rect(50px, 9999px, 20px, 0); transform: skew(0.5deg); }
    100% { clip: rect(70px, 9999px, 80px, 0); transform: skew(0.2deg); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); transform: skew(-0.5deg); }
    50% { clip: rect(10px, 9999px, 40px, 0); transform: skew(-0.2deg); }
    100% { clip: rect(80px, 9999px, 120px, 0); transform: skew(-0.8deg); }
}
@keyframes glitch-skew { 0% { transform: skew(1deg); } 10% { transform: skew(-1deg); } 100% { transform: skew(0deg); } }

/* ==========================================================================
   10. WORDPRESS UTILITIES
   ========================================================================== */
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { border: 1px solid rgba(255,255,255,0.1); text-align: center; padding-top: 5px; }
.wp-caption-text { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); }