@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&family=Syne:wght@700;800&family=JetBrains+Mono:wght@400;700&display=swap');

/* --- DESIGN SYSTEM & VARIABILI --- */
:root {
    --font-sans: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Palette Base (Landing Page & Dashboard) */
    --bg-base: #0b0f19;
    --bg-surface: #131b2e;
    --bg-surface-hover: #1e2942;
    --border-color: #223150;
    
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.4);
    --secondary: #818cf8;
    --accent: #f43f5e;
    --success: #34d399;
    --warning: #fbbf24;
    
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

/* Griglia & Contenitori */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- PULSANTI E COMPONENTI DI INTERFACCIA --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-dark);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    color: var(--text-dark);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-surface-hover);
    border-color: var(--primary);
}

.btn-danger {
    background-color: var(--accent);
    color: white;
}

.btn-danger:hover {
    background-color: #e11d48;
}

/* --- AUTH CARDS --- */
.auth-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background-color: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fda4af;
}

.alert-success {
    background-color: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #a7f3d0;
}

/* --- DASHBOARD STYLES --- */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 5px;
}

.boards-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.board-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.board-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.board-meta {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

/* --- THE PUBLIC BENTO LAYOUT (TEMPLATES) --- */
.bento-wrapper {
    width: 100%;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Griglia Bento Flessibile */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
    width: 100%;
    max-width: 960px;
    margin-top: 30px;
}

/* Responsive per Bento Grid */
@media (max-width: 850px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .tile {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

/* Colonna/Riga spans */
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }

.row-1 { grid-row: span 1; }
.row-2 { grid-row: span 2; }
.row-3 { grid-row: span 3; }

/* La Card (Tile) Singola del Bento */
.tile {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- TEMI SPECIFICI DI BENTO --- */

/* 1. Glassmorphism */
body.theme-glassmorphism {
    background: radial-gradient(circle at 10% 20%, rgb(4, 8, 20) 0%, rgb(18, 12, 38) 90.1%);
    color: #ffffff;
}
.theme-glassmorphism .tile {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    color: #ffffff;
}
.theme-glassmorphism .tile:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(129, 140, 248, 0.25);
}
.theme-glassmorphism .tile-accent {
    color: #818cf8;
}

/* 2. Neo-Brutalism */
body.theme-neobrutalism {
    background-color: #f7f4eb;
    color: #1a1a1a;
}
.theme-neobrutalism .tile {
    background-color: #ffffff;
    border: 3.5px solid #1a1a1a;
    box-shadow: 6px 6px 0px #1a1a1a;
    color: #1a1a1a;
    border-radius: 8px;
    font-family: 'Syne', sans-serif;
}
.theme-neobrutalism .tile:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #1a1a1a;
}
.theme-neobrutalism .tile-accent {
    color: #2563eb;
    text-decoration: underline;
}

/* 3. Dark Glowing / Neon */
body.theme-darkglowing {
    background-color: #030712;
    background-image: radial-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 0);
    background-size: 24px 24px;
    color: #f3f4f6;
}
.theme-darkglowing .tile {
    background-color: #111827;
    border: 1px solid #1f2937;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    color: #f3f4f6;
}
.theme-darkglowing .tile:hover {
    transform: translateY(-4px);
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}
.theme-darkglowing .tile-accent {
    color: #10b981;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* 4. Warm Pastel */
body.theme-warmpastel {
    background-color: #fdfaf7;
    color: #4b3e34;
}
.theme-warmpastel .tile {
    background-color: #ffffff;
    border: 1px solid #ebdcd0;
    box-shadow: 0 10px 30px rgba(75, 62, 52, 0.04);
    color: #4b3e34;
    border-radius: 30px;
}
.theme-warmpastel .tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(75, 62, 52, 0.08);
}
.theme-warmpastel .tile-accent {
    color: #f97316;
}

/* --- TIPI DI CARD (TILES) --- */
.tile-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tile-content {
    font-size: 0.95rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Card Link animati */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 500;
    color: inherit;
    transition: var(--transition);
}
.link-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
    border-color: var(--primary);
}
.theme-neobrutalism .link-item {
    background: #ffffff;
    border: 2px solid #1a1a1a;
    box-shadow: 3px 3px 0 #1a1a1a;
    color: #1a1a1a;
}
.theme-neobrutalism .link-item:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 #1a1a1a;
}
.theme-warmpastel .link-item {
    background: #faf7f2;
    border: 1px solid #ebdcd0;
}

/* Badge Aperto/Chiuso */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    margin-top: 10px;
}
.status-open {
    background-color: rgba(52, 211, 153, 0.15);
    color: #34d399;
}
.status-closed {
    background-color: rgba(244, 63, 94, 0.15);
    color: #fda4af;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* --- FOOTER PROMO WEBMASTER --- */
.promo-footer {
    width: 100%;
    max-width: 960px;
    margin-top: 40px;
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.theme-neobrutalism .promo-footer {
    background: #ffffff;
    border: 3.5px solid #1a1a1a;
    box-shadow: 4px 4px 0 #1a1a1a;
    color: #1a1a1a;
}
.theme-warmpastel .promo-footer {
    background: #ffffff;
    border: 1px solid #ebdcd0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.01);
}
.promo-footer a {
    font-weight: 600;
    text-decoration: underline;
}

/* Modulo di contatto Webmaster in overlay */
.lead-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lead-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.lead-modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    width: 100%;
    max-width: 480px;
    position: relative;
}

/* --- EDITOR SPECIFICO STYLES --- */
.editor-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    height: calc(100vh - 60px);
    overflow: hidden;
}
@media (max-width: 1024px) {
    .editor-layout {
        grid-template-columns: 1fr;
        height: auto;
        overflow: auto;
    }
    .editor-sidebar {
        height: auto !important;
        border-left: none !important;
        border-top: 1px solid var(--border-color);
    }
}
.editor-workspace {
    padding: 30px;
    overflow-y: auto;
    background: #090d16;
}
.editor-sidebar {
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}
.editor-top-bar {
    height: 60px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

/* Griglia Editor Overlay Pulsanti */
.tile-edit-overlay {
    position: absolute;
    top: 10px; right: 10px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.tile:hover .tile-edit-overlay {
    opacity: 1;
}
.tile-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}
.tile-btn:hover {
    background: var(--primary);
    color: var(--text-dark);
}

/* Anteprima SEO & Social */
.seo-preview-box {
    background: #0b0f19;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 10px;
}
.google-title {
    color: #1a0dab;
    font-size: 1.15rem;
    font-family: arial, sans-serif;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}
.google-url {
    color: #202124;
    font-size: 0.85rem;
    font-family: arial, sans-serif;
    margin-bottom: 4px;
}
.google-desc {
    color: #4d5156;
    font-size: 0.9rem;
    font-family: arial, sans-serif;
}
.social-preview-card {
    background: #090d16;
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.social-preview-img {
    height: 120px;
    background: linear-gradient(135deg, #1e1b4b, #311042);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.social-preview-info {
    padding: 12px;
    font-size: 0.85rem;
}

/* Testimonial slider / Reviews animati */
.review-card {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
    margin-bottom: 10px;
}
.theme-neobrutalism .review-card {
    background: #fff;
    border: 2px solid #10b981;
}

/* Modifica stile griglia editor: segnaposto card */
.tile-placeholder {
    border: 2px dashed rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.01);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.tile-placeholder:hover {
    border-color: var(--primary);
    background: rgba(56, 189, 248, 0.03);
}

/* Animazioni Globali */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.floating-element {
    animation: float 4s ease-in-out infinite;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    background: rgba(19, 27, 46, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cookie-banner.show {
    transform: translateY(0);
}
.theme-neobrutalism .cookie-banner {
    background: #ffffff;
    border: 3.5px solid #1a1a1a;
    box-shadow: 6px 6px 0px #1a1a1a;
    color: #1a1a1a;
    border-radius: 4px;
}
.theme-warmpastel .cookie-banner {
    background: #ffffff;
    border: 1px solid #ebdcd0;
    box-shadow: 0 10px 30px rgba(75, 62, 52, 0.08);
    border-radius: 20px;
    color: #4b3e34;
}
@media (min-width: 768px) {
    .cookie-banner {
        left: auto;
        right: 30px;
        bottom: 30px;
    }
}

/* --- RESPONSIVE DASHBOARD LAYOUT --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
    align-items: start;
}

.board-card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.board-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.board-card-actions {
    display: flex;
    gap: 10px;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column !important;
        height: auto !important;
        padding: 15px 20px !important;
        gap: 15px;
        text-align: center;
    }
    
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 10px !important;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: stretch !important;
        gap: 15px;
        text-align: center;
    }
    
    .dashboard-header .btn {
        width: 100%;
    }
    
    .board-card-horizontal {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: left;
        gap: 20px;
    }
    
    .board-card-actions {
        width: 100%;
        display: flex;
        gap: 10px;
    }
    
    .board-card-actions .btn {
        flex-grow: 0;
        justify-content: center;
    }
    
    .board-card-actions a[href*="editor.php"] {
        flex-grow: 1;
    }
}

/* Modal Wrapper Styling */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 40px 20px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

@media (max-height: 700px) or (max-width: 576px) {
    .modal-wrapper {
        align-items: flex-start;
    }
}

/* 5. Retro Terminal */
body.theme-retro-terminal {
    background-color: #030a05;
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    color: #33ff33;
    font-family: var(--font-mono);
}
.theme-retro-terminal .tile {
    background-color: #061208;
    border: 2px solid #33ff33;
    box-shadow: 0 0 10px rgba(51, 255, 51, 0.15);
    color: #33ff33;
    border-radius: 4px;
    font-family: var(--font-mono);
}
.theme-retro-terminal .tile:hover {
    transform: scale(1.005);
    box-shadow: 0 0 20px rgba(51, 255, 51, 0.4);
    background-color: #0a1e0c;
}
.theme-retro-terminal .tile-accent {
    color: #33ff33;
    text-shadow: 0 0 5px #33ff33;
}
.theme-retro-terminal .link-item {
    background: #020703;
    border: 1px solid #33ff33;
    color: #33ff33;
}
.theme-retro-terminal .link-item:hover {
    background: #33ff33;
    color: #030a05;
    transform: translateX(4px);
}
.theme-retro-terminal .promo-footer {
    background: #061208;
    border: 2px solid #33ff33;
    color: #33ff33;
}
.theme-retro-terminal .review-card {
    background: #020703;
    border-left: 3px solid #33ff33;
}

/* 6. Nordic Frost */
body.theme-nordic-frost {
    background: radial-gradient(ellipse at bottom, #0d1e36 0%, #050b14 100%);
    color: #e2e8f0;
}
.theme-nordic-frost .tile {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #38bdf8;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.05);
    color: #f1f5f9;
    border-radius: var(--radius-lg);
}
.theme-nordic-frost .tile:hover {
    transform: translateY(-4px);
    border-color: #7dd3fc;
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.2);
    background: rgba(30, 41, 59, 0.85);
}
.theme-nordic-frost .tile-accent {
    color: #38bdf8;
}
.theme-nordic-frost .link-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.15);
}
.theme-nordic-frost .link-item:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
}
.theme-nordic-frost .review-card {
    background: rgba(15, 23, 42, 0.4);
    border-left: 3px solid #38bdf8;
}

/* 7. Sunset Horizon */
body.theme-sunset-horizon {
    background: linear-gradient(180deg, #1b072e 0%, #0d0418 100%);
    color: #f8fafc;
}
.theme-sunset-horizon .tile {
    background: rgba(34, 10, 62, 0.5);
    border: 1px solid #f43f5e;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.1);
    color: #f8fafc;
    border-radius: var(--radius-lg);
}
.theme-sunset-horizon .tile:hover {
    transform: translateY(-4px) scale(1.005);
    border-color: #fb923c;
    box-shadow: 0 8px 30px rgba(251, 146, 60, 0.25), 0 0 10px rgba(244, 63, 94, 0.2);
    background: rgba(34, 10, 62, 0.8);
}
.theme-sunset-horizon .tile-accent {
    color: #fb923c;
}
.theme-sunset-horizon .link-item {
    background: rgba(244, 63, 94, 0.05);
    border: 1px solid rgba(244, 63, 94, 0.15);
}
.theme-sunset-horizon .link-item:hover {
    background: rgba(251, 146, 60, 0.15);
    border-color: #fb923c;
}
.theme-sunset-horizon .review-card {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid #f43f5e;
}

/* 8. Organic Forest */
body.theme-organic-forest {
    background-color: #141c12;
    background-image: radial-gradient(#1c2819 1px, transparent 1px);
    background-size: 20px 20px;
    color: #e2e8f0;
}
.theme-organic-forest .tile {
    background-color: #1a2517;
    border: 1.5px solid #4d7c0f;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #f1f5f9;
    border-radius: 16px;
}
.theme-organic-forest .tile:hover {
    transform: translateY(-4px);
    border-color: #a3e635;
    background-color: #22321e;
    box-shadow: 0 8px 20px rgba(163, 230, 53, 0.15);
}
.theme-organic-forest .tile-accent {
    color: #a3e635;
}
.theme-organic-forest .link-item {
    background: #141c12;
    border: 1px solid rgba(77, 124, 15, 0.3);
}
.theme-organic-forest .link-item:hover {
    background: rgba(163, 230, 53, 0.08);
    border-color: #a3e635;
}

/* 9. Vintage Newspaper */
body.theme-vintage-paper {
    background-color: #f5f0e1;
    color: #2b2b2b;
    font-family: 'Playfair Display', Georgia, serif;
}
.theme-vintage-paper .tile {
    background-color: #fbf8f0;
    border: 1px solid #4a4a4a;
    border-bottom: 3px solid #2b2b2b;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.15);
    color: #2b2b2b;
    border-radius: 0px;
    font-family: 'Playfair Display', Georgia, serif;
}
.theme-vintage-paper .tile:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.25);
    background-color: #ffffff;
}
.theme-vintage-paper .tile-accent {
    color: #111111;
    font-weight: 800;
}
.theme-vintage-paper .link-item {
    background: #fdfcf7;
    border: 1px solid #4a4a4a;
    border-radius: 0px;
    text-decoration: underline;
}
.theme-vintage-paper .link-item:hover {
    background: #2b2b2b;
    color: #fbf8f0;
    transform: translateX(4px);
}
.theme-vintage-paper .promo-footer {
    background: #fbf8f0;
    border: 1px solid #4a4a4a;
    border-radius: 0;
    color: #2b2b2b;
}
.theme-vintage-paper .review-card {
    background: #f5f0e1;
    border-left: 3px solid #2b2b2b;
}

/* 10. Solarized Light */
body.theme-solarized-light {
    background-color: #fdf6e3;
    color: #586e75;
}
.theme-solarized-light .tile {
    background-color: #eee8d5;
    border: 1px solid #d3c7a1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    color: #657b83;
    border-radius: 12px;
}
.theme-solarized-light .tile:hover {
    transform: translateY(-3px);
    background-color: #fdf6e3;
    border-color: #268bd2;
    box-shadow: 0 8px 16px rgba(38, 139, 210, 0.1);
}
.theme-solarized-light .tile-accent {
    color: #2aa198;
}
.theme-solarized-light .link-item {
    background: #fdf6e3;
    border: 1px solid #d3c7a1;
}
.theme-solarized-light .link-item:hover {
    background: #eee8d5;
    border-color: #268bd2;
}

/* 11. Royal Amethyst */
body.theme-royal-amethyst {
    background: linear-gradient(135deg, #180936 0%, #0a0418 100%);
    color: #f3e8ff;
}
.theme-royal-amethyst .tile {
    background: rgba(30, 15, 65, 0.6);
    border: 1px solid #d97706;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.1);
    color: #f3e8ff;
    border-radius: 20px;
}
.theme-royal-amethyst .tile:hover {
    transform: translateY(-4px);
    border-color: #fbbf24;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
    background: rgba(30, 15, 65, 0.85);
}
.theme-royal-amethyst .tile-accent {
    color: #fbbf24;
}
.theme-royal-amethyst .link-item {
    background: rgba(10, 4, 24, 0.5);
    border: 1px solid rgba(217, 119, 6, 0.2);
}
.theme-royal-amethyst .link-item:hover {
    background: rgba(217, 119, 6, 0.15);
    border-color: #fbbf24;
}

/* 12. Minimal Stark */
body.theme-minimal-stark {
    background-color: #000000;
    color: #ffffff;
}
.theme-minimal-stark .tile {
    background-color: #0a0a0a;
    border: 1px solid #1f1f1f;
    box-shadow: none;
    color: #ffffff;
    border-radius: 0px;
}
.theme-minimal-stark .tile:hover {
    border-color: #ffffff;
    background-color: #111111;
}
.theme-minimal-stark .tile-accent {
    color: #ffffff;
}
.theme-minimal-stark .link-item {
    background: #000000;
    border: 1px solid #1f1f1f;
    border-radius: 0;
}
.theme-minimal-stark .link-item:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* 13. Claymorphism */
body.theme-soft-clay {
    background-color: #f0f4f8;
    color: #334155;
}
.theme-soft-clay .tile {
    background-color: #ffffff;
    border: none;
    box-shadow: 9px 9px 16px rgba(163, 177, 198, 0.4), -9px -9px 16px rgba(255, 255, 255, 0.8), inset 3px 3px 5px rgba(0,0,0,0.02);
    color: #334155;
    border-radius: 28px;
}
.theme-soft-clay .tile:hover {
    transform: scale(1.01) translateY(-2px);
    box-shadow: 12px 12px 20px rgba(163, 177, 198, 0.5), -12px -12px 20px rgba(255, 255, 255, 0.9);
}
.theme-soft-clay .tile-accent {
    color: #6366f1;
}
.theme-soft-clay .link-item {
    background: #f8fafc;
    border: none;
    border-radius: 20px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
}
.theme-soft-clay .link-item:hover {
    background: #ffffff;
    box-shadow: 3px 3px 6px rgba(163, 177, 198, 0.4);
}

/* 14. Aura Holographic */
body.theme-aura-holographic {
    background: #070314;
    background-image: radial-gradient(at 10% 20%, rgba(236, 72, 153, 0.08) 0px, transparent 50%), radial-gradient(at 90% 80%, rgba(59, 130, 246, 0.08) 0px, transparent 50%);
    color: #ffffff;
}
.theme-aura-holographic .tile {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(236, 72, 153, 0.04), 0 8px 32px 0 rgba(59, 130, 246, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border-radius: 24px;
}
.theme-aura-holographic .tile:hover {
    transform: translateY(-4px) scale(1.005);
    border-color: rgba(236, 72, 153, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(236, 72, 153, 0.15), 0 10px 40px rgba(59, 130, 246, 0.15);
}
.theme-aura-holographic .tile-accent {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56,189,248,0.5);
}
.theme-aura-holographic .link-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.theme-aura-holographic .link-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(59, 130, 246, 0.3);
}

