:root {
    /* Colors */
    --cosmic-purple: #6A1B9A;
    --deep-indigo: #191970;
    --ethereal-blue: #4A148C;
    --astral-cyan: #00BCD4;
    --luminous-gold: #FFD700;
    --amber-glow: #FFA500;
    --pure-white: #FFFFFF;
    --silver-mist: #E8E8E8;
    --steel-gray: #C0C0C0;
    --charcoal: #333333;
    --cosmic-black: #000000;

    /* Typography */
    --font-display: 'Marcellus SC', serif;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Merriweather', Georgia, serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
}

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

body {
    font-family: var(--font-body);
    background: var(--cosmic-black);
    color: var(--pure-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cosmic Background */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.4) 0%, transparent 50%),
        var(--cosmic-black);
}

/* Navigation Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: rgba(25, 25, 112, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-xl);
    overflow-y: auto;
    z-index: 100;
}

.sidebar-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: var(--space-2xl);
    background: linear-gradient(135deg, #C0C0C0, #FFFFFF, #E8E8E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar__logo-img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sidebar__logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.sidebar-logo .ampersand {
    color: var(--luminous-gold);
    -webkit-text-fill-color: var(--luminous-gold);
}

.nav-section {
    margin-bottom: var(--space-lg);
}

.nav-section-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--silver-mist);
    margin-bottom: var(--space-sm);
    opacity: 0.6;
}

.nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    transform: translateX(4px);
}

.nav-link.active {
    background: rgba(255, 215, 0, 0.15);
    color: var(--luminous-gold);
    border-left: 3px solid var(--luminous-gold);
}

/* Main Content - FULL WIDTH */
.main-content {
    margin-left: 280px;
    padding: 0;
    width: calc(100vw - 280px);
    min-height: 100vh;
}

/* Content Container - NO MAX WIDTH */
.content-container {
    width: 100%;
    padding: var(--space-3xl) var(--space-2xl);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: var(--space-4xl) 0;
    margin-bottom: var(--space-3xl);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
    background: linear-gradient(
        135deg,
        #C0C0C0 0%,
        #FFFFFF 25%,
        #E8E8E8 50%,
        #FFFFFF 75%,
        #C0C0C0 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.hero-title .ampersand {
    color: var(--luminous-gold);
    -webkit-text-fill-color: var(--luminous-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.5rem);
    letter-spacing: 0.2em;
    color: var(--silver-mist);
    margin-bottom: var(--space-lg);
}

.hero-version {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.decorative-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.6) 50%,
        transparent 100%
    );
    margin: var(--space-xl) auto;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* Section */
.section {
    margin-bottom: var(--space-4xl);
    scroll-margin-top: var(--space-xl);
}

.section-header {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xl);
    background: linear-gradient(135deg, #C0C0C0, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--silver-mist);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.section-subheader {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--astral-cyan);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

/* Cards */
.card {
    background: rgba(25, 25, 112, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(138, 43, 226, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(138, 43, 226, 0.15);
}

.card-body {
    padding: 0;
}

.card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

/* Color Swatches */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.color-swatch {
    background: rgba(25, 25, 112, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.color-swatch:hover {
    transform: translateY(-4px);
}

.color-preview {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.color-info {
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.3);
}

.color-name {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--pure-white);
}

.color-values {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Courier New', monospace;
}

.color-values div {
    margin-bottom: 2px;
}

/* Typography Examples */
.type-example {
    background: rgba(25, 25, 112, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
}

.type-display {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.type-specs {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
}

/* Logo Examples */
.logo-example {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    margin: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 300px;
}

.logo-example.on-dark {
    background: var(--cosmic-black);
}

.logo-example.on-light {
    background: var(--pure-white);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.15em;
}

.logo-text.full-color {
    background: linear-gradient(135deg, #C0C0C0, #FFFFFF, #E8E8E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text.white {
    color: var(--pure-white);
}

.logo-text.black {
    color: var(--cosmic-black);
}

.logo-text .ampersand {
    color: var(--luminous-gold);
    -webkit-text-fill-color: var(--luminous-gold);
}

.logo-text.black .ampersand {
    color: var(--charcoal);
    -webkit-text-fill-color: var(--charcoal);
}

/* Buttons */
.button-showcase {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin: var(--space-xl) 0;
}

.btn {
    padding: 1rem 2.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.15em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    color: var(--cosmic-black);
    background: linear-gradient(135deg, var(--luminous-gold), var(--amber-glow));
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.4),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: var(--cosmic-black);
    box-shadow: 
        0 6px 20px rgba(255, 215, 0, 0.6),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--pure-white);
}

.btn-secondary:hover {
    border-color: var(--luminous-gold);
    background: rgba(255, 215, 0, 0.1);
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--astral-cyan);
    text-decoration: underline;
    text-decoration-color: transparent;
}

.btn-ghost:hover {
    text-decoration-color: var(--astral-cyan);
}

.btn-sm { padding: 0.5rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1.25rem 3rem; font-size: 1.125rem; }

/* Forms */
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--pure-white);
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--luminous-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--silver-mist);
}

/* Code Blocks */
.code-block {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--astral-cyan);
    line-height: 1.6;
}

/* Lists */
.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-xl);
    position: relative;
}

.styled-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--luminous-gold);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

/* Info Box */
.info-box {
    background: rgba(0, 188, 212, 0.1);
    border-left: 4px solid var(--astral-cyan);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    border-radius: 4px;
}

.warning-box {
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid var(--amber-glow);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    border-radius: 4px;
}

.success-box {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4CAF50;
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    border-radius: 4px;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
}

.data-table th,
.data-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
}

.data-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--luminous-gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.data-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Badges */
.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-primary {
    background: rgba(255, 215, 0, 0.2);
    color: var(--luminous-gold);
    border: 1px solid var(--luminous-gold);
}

.badge-success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.badge-warning {
    background: rgba(255, 165, 0, 0.2);
    color: var(--amber-glow);
    border: 1px solid var(--amber-glow);
}

.badge-gold {
    background: linear-gradient(135deg, var(--luminous-gold), var(--amber-glow));
    color: var(--cosmic-black);
}

.badge-silver {
    background: rgba(192, 192, 192, 0.2);
    color: var(--silver-mist);
    border: 1px solid var(--steel-gray);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: var(--space-lg);
    left: var(--space-lg);
    z-index: 101;
    background: var(--luminous-gold);
    color: var(--cosmic-black);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Theme Toggle */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--pure-white);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.theme-toggle .moon-icon, .theme-toggle .sun-icon {
    font-size: 1.2rem;
}

/* Gradient Previews */
.gradient-preview {
    height: 100px;
    border-radius: 12px;
    margin: var(--space-lg) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--pure-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gradient-silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #FFFFFF 25%, #E8E8E8 50%, #FFFFFF 75%, #C0C0C0 100%);
}

.gradient-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.gradient-cosmic {
    background: linear-gradient(180deg, #191970 0%, #4A148C 50%, #6A1B9A 100%);
}

/* Animations */
.animate-fade-in { animation: fadeIn 0.6s ease-out; }
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float { animation: float 8s ease-in-out infinite; }
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100vw;
    }

    .content-container {
        padding: var(--space-xl) var(--space-lg);
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .content-container {
        padding: var(--space-lg) var(--space-md);
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: var(--pure-white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.7);
}

/* Print Styles */
@media print {
    .sidebar,
    .menu-toggle,
    .cosmic-bg {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    body {
        background: white;
        color: black;
    }
}

/* Text Color Overrides */
h1, h2, h3, h4, h5, h6, p, span, div, li, td, th, label, a {
    color: var(--pure-white);
}

.text-white, .text-gray-300, .text-gray-400, .text-gray-500, .text-gray-600 {
    color: var(--pure-white) !important;
}

/* ===============================================
   TECHNIQUES PAGE - PROFESSIONAL STYLING
   =============================================== */

/* Techniques Hero Section */
.techniques-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.techniques-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/tecniche_viaggio.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.techniques-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.techniques-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.techniques-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.techniques-hero-badge-icon {
    font-size: 0.875rem;
}

.techniques-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.techniques-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.1;
}

.techniques-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.techniques-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.techniques-hero-divider-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.5) 50%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.techniques-hero-divider-icon {
    font-size: 1.25rem;
    color: var(--luminous-gold);
    animation: pulse 3s ease-in-out infinite;
}

.techniques-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.techniques-hero-subtitle-accent {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Techniques Content Section */
.techniques-content-section {
    padding: 4rem 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.98) 0%,
        rgba(15, 15, 35, 0.95) 100%
    );
}

.techniques-section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.techniques-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.techniques-section-title-accent {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.7);
}

.techniques-section-title-main {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #FFFFFF, #E8E8E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.techniques-section-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Search and Filters */
.techniques-search-filters {
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.techniques-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.techniques-search-icon {
    position: absolute;
    left: 1rem;
    font-size: 1.25rem;
    color: rgba(255, 215, 0, 0.6);
    pointer-events: none;
    z-index: 1;
}

.techniques-search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.techniques-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.techniques-search-input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(20, 20, 45, 0.9);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.techniques-search-clear {
    position: absolute;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.techniques-search-clear:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--luminous-gold);
}

.techniques-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
}

.techniques-filter-group {
    flex: 1;
    min-width: 200px;
}

.techniques-filter-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.8);
    margin-bottom: 0.5rem;
}

.techniques-filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.techniques-filter-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.techniques-filter-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.techniques-filter-btn--active {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--luminous-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.techniques-filter-select {
    width: 100%;
    padding: 0.5rem 1rem;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.techniques-filter-select:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(20, 20, 45, 0.9);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.techniques-filter-select option {
    background: rgba(15, 15, 30, 0.95);
    color: rgba(255, 255, 255, 0.9);
}

.techniques-results-count {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.techniques-results-count span:first-child {
    color: var(--luminous-gold);
    font-weight: 600;
}

.techniques-reset-filters-btn {
    margin-top: 1rem;
    padding: 0.625rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.techniques-reset-filters-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

/* Techniques Grid - Professional Spacious */
.techniques-grid-professional {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .techniques-grid-professional {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .techniques-grid-professional {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        padding: 0 2rem;
    }
}

@media (min-width: 1400px) {
    .techniques-grid-professional {
        gap: 3rem;
    }
}

/* Technique Card - Professional Spacious */
.technique-card-professional {
    background: rgba(15, 15, 30, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    min-height: 280px;
}

@media (min-width: 768px) {
    .technique-card-professional {
        padding: 2.25rem 2rem;
        gap: 1.5rem;
        min-height: 300px;
    }
}

@media (min-width: 1024px) {
    .technique-card-professional {
        padding: 2.5rem 2.25rem;
        gap: 1.75rem;
        min-height: 320px;
    }
}

.technique-card-professional:hover {
    background: rgba(20, 20, 45, 0.95);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.technique-card-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

/* Technique Badges - Professional Spacious */
.technique-difficulty-badge {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: var(--font-heading);
    line-height: 1;
}

.difficulty-beginner {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10B981;
}

.difficulty-intermediate {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #F59E0B;
}

.difficulty-advanced {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #EF4444;
}

.technique-category-badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 215, 0, 0.95);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
}

.technique-card-professional:hover .technique-category-badge {
    background: rgba(255, 215, 0, 0.18);
    border-color: rgba(255, 215, 0, 0.45);
    color: var(--luminous-gold);
}

/* Technique Card Title */
.technique-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .technique-card-title {
        font-size: 1.375rem;
    }
}

@media (min-width: 1024px) {
    .technique-card-title {
        font-size: 1.5rem;
    }
}

.technique-card-professional:hover .technique-card-title {
    color: var(--luminous-gold);
}

/* Technique Card Description */
.technique-card-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
    transition: color 0.3s ease;
    font-family: var(--font-body);
}

@media (min-width: 768px) {
    .technique-card-description {
        font-size: 1rem;
        line-height: 1.75;
    }
}

@media (min-width: 1024px) {
    .technique-card-description {
        font-size: 1.0625rem;
    }
}

.technique-card-professional:hover .technique-card-description {
    color: rgba(255, 255, 255, 0.85);
}

/* Technique Card Footer */
.technique-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.technique-duration-info {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    font-weight: 500;
}

.technique-duration-info span:first-child {
    font-size: 1rem;
}

.technique-card-professional:hover .technique-duration-info {
    color: rgba(255, 255, 255, 0.7);
}

.technique-card-action {
    font-size: 0.875rem;
    color: rgba(255, 215, 0, 0.9);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.technique-card-action::after {
    content: '→';
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.technique-card-professional:hover .technique-card-action {
    color: var(--luminous-gold);
}

.technique-card-professional:hover .technique-card-action::after {
    transform: translateX(4px);
}

/* Loading & Empty States */
.techniques-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.techniques-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--luminous-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.techniques-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Technique Modal - Ultra Professional */
.technique-modal-professional {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.technique-modal-professional--active {
    opacity: 1;
    visibility: visible;
    display: flex !important;
}

.technique-modal-professional-content {
    background: rgba(10, 10, 25, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.technique-modal-professional--active .technique-modal-professional-content {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.technique-modal-professional-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.03) 0%,
        transparent 100%
    );
}

.technique-modal-professional-header-content {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    flex: 1;
}

.technique-modal-professional-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.technique-modal-professional-title-wrapper {
    flex: 1;
}

.technique-modal-professional-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.technique-modal-professional-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 215, 0, 0.7);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-heading);
    margin: 0;
}

.technique-modal-professional-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.technique-modal-professional-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
    transform: rotate(90deg);
}

.technique-modal-professional-close svg {
    width: 20px;
    height: 20px;
}

/* Modal Body */
.technique-modal-professional-body {
    padding: 2rem;
}

/* Meta Section */
.technique-modal-professional-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.technique-modal-professional-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.technique-modal-professional-meta-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.technique-modal-professional-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    font-family: var(--font-heading);
    border: 1px solid;
    width: fit-content;
}

.technique-modal-professional-badge--success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.technique-modal-professional-badge--warning {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}

.technique-modal-professional-badge--danger {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.technique-modal-professional-badge--category {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.technique-modal-professional-badge--duration {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60A5FA;
}

/* Section */
.technique-modal-professional-section {
    margin-bottom: 2.5rem;
}

.technique-modal-professional-section:last-child {
    margin-bottom: 0;
}

.technique-modal-professional-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.technique-modal-professional-section-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.technique-modal-professional-section-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--luminous-gold);
    margin: 0;
    letter-spacing: 0.05em;
}

.technique-modal-professional-section-content {
    padding-left: 2.5rem;
}

.technique-modal-professional-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* Steps */
.technique-modal-professional-steps {
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.05) 0%,
        rgba(255, 215, 0, 0.02) 100%
    );
    border-left: 4px solid var(--luminous-gold);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem;
    position: relative;
    box-shadow: 
        inset 0 0 20px rgba(255, 215, 0, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.technique-modal-professional-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--luminous-gold),
        rgba(255, 215, 0, 0.5)
    );
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.technique-modal-professional-steps-content {
    font-family: var(--font-body);
    font-size: 0.95rem;
    white-space: pre-line;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Footer */
.technique-modal-professional-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.02) 0%,
        transparent 100%
    );
}

.technique-modal-professional-footer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.technique-modal-professional-footer-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.technique-modal-professional-footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.technique-modal-professional-footer-link {
    color: var(--luminous-gold);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.technique-modal-professional-footer-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

.technique-modal-professional-footer-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.technique-modal-professional-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid;
}

.technique-modal-professional-action-btn--primary {
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.15),
        rgba(255, 165, 0, 0.15)
    );
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--luminous-gold);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.technique-modal-professional-action-btn--primary:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.25),
        rgba(255, 165, 0, 0.25)
    );
    border-color: var(--luminous-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.technique-modal-professional-action-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.technique-modal-professional-action-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Legacy support */
.technique-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.technique-modal-content {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.technique-modal--active .technique-modal-content {
    transform: scale(1);
}

.technique-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.technique-modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.technique-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.technique-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--luminous-gold);
}

.technique-modal-body {
    padding: 1.5rem;
}

.technique-modal-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.technique-modal-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.technique-modal-badge--info {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.technique-modal-badge--neutral {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.technique-modal-section {
    margin-bottom: 2rem;
}

.technique-modal-section:last-child {
    margin-bottom: 0;
}

.technique-modal-section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--luminous-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.technique-modal-section-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

.technique-modal-steps {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid var(--luminous-gold);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
}

.technique-modal-steps-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    white-space: pre-line;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.technique-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-end;
}

.technique-modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid;
}

.technique-modal-btn--primary {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.technique-modal-btn--primary:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.technique-modal-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.technique-modal-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .techniques-hero-section {
        min-height: 60vh;
        padding: 100px 1.5rem 40px;
    }
    
    .techniques-grid-professional {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .technique-card-professional {
        padding: 1.75rem 1.5rem;
        min-height: 260px;
    }
    
    .technique-modal-professional-content {
        max-width: 100%;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .technique-modal-professional-header {
        padding: 1.5rem 1.5rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .technique-modal-professional-header-content {
        width: 100%;
    }
    
    .technique-modal-professional-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .technique-modal-professional-body {
        padding: 1.5rem;
    }
    
    .technique-modal-professional-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .technique-modal-professional-section-content {
        padding-left: 0;
    }
    
    .technique-modal-professional-section-header {
        padding-left: 0;
    }
    
    .technique-modal-professional-footer {
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .technique-modal-professional-footer-actions {
        flex-direction: column;
    }
    
    .technique-modal-professional-action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .technique-modal-content {
        max-width: 100%;
        margin: 1rem;
    }
    
    .technique-modal-header,
    .technique-modal-body,
    .technique-modal-footer {
        padding: 1.25rem;
    }
    
    .technique-modal-footer {
        flex-direction: column;
    }
    
    .technique-modal-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .techniques-grid-professional {
        gap: 1rem;
    }
    
    .technique-card-header {
        flex-wrap: wrap;
    }
    
    .technique-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .techniques-search-filters {
        margin-bottom: 2rem;
    }
    
    .techniques-filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .techniques-filter-group {
        min-width: 100%;
    }
    
    .techniques-filter-buttons {
        gap: 0.375rem;
    }
    
    .techniques-filter-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .techniques-search-bar {
        margin-bottom: 1.25rem;
    }
    
    .techniques-results-count {
        text-align: left;
    }
}

/* ===============================================
   BLOG PAGE STYLES - PROFESSIONAL
   =============================================== */

.blog-hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.blog-hero-background {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers7.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.blog-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
    animation: fadeIn 1.2s ease-out 0.3s both;
}

.blog-hero-badge-icon {
    font-size: 0.875rem;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.blog-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.blog-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    line-height: 1.1;
}

.blog-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.blog-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.blog-hero-divider-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.5) 50%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.blog-hero-divider-icon {
    font-size: 1.25rem;
    color: var(--luminous-gold);
    animation: pulse 3s ease-in-out infinite;
}

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

.blog-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-style: italic;
}

.blog-hero-subtitle-accent {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 400;
}

.blog-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-top: 3rem;
}

.blog-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.blog-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--luminous-gold);
    line-height: 1;
}

.blog-stat-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.blog-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 215, 0, 0.3) 50%,
        transparent 100%
    );
}

.blog-hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 215, 0, 0.6);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: color 0.3s ease;
}

.blog-hero-scroll-indicator:hover {
    color: var(--luminous-gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-hero-section {
        min-height: 75vh;
        padding: 100px 1.5rem 60px;
    }
    
    .blog-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .blog-stat-divider {
        width: 60px;
        height: 1px;
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(255, 215, 0, 0.3) 50%,
            transparent 100%
        );
    }
    
    .blog-hero-divider-line {
        width: 60px;
    }
}

/* Blog Posts Main Section */
.blog-posts-section {
    padding: 5rem 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.98) 0%,
        rgba(15, 15, 35, 0.95) 100%
    );
}

.blog-posts-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-posts-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-posts-title-accent {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.7);
}

.blog-posts-title-main {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #FFFFFF, #E8E8E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-posts-description {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Recent Posts Section */
.blog-recent-section {
    padding: 5rem 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.95) 0%,
        rgba(15, 15, 35, 0.98) 100%
    );
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
}

.blog-recent-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.3) 50%,
        transparent 100%
    );
}

.blog-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-section-header-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.4) 50%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.blog-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--pure-white);
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.blog-section-title-icon {
    color: var(--luminous-gold);
    font-size: 1.2em;
    animation: pulse 3s ease-in-out infinite;
}

/* Blog Pagination */
.blog-pagination-wrapper {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-pagination-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--luminous-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.blog-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-pagination-number:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--luminous-gold);
    transform: scale(1.1);
}

.blog-pagination-number--active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border-color: var(--luminous-gold);
    color: var(--luminous-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

@media (max-width: 640px) {
    .blog-pagination {
        gap: 0.5rem;
    }
    
    .blog-pagination-btn {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }
    
    .blog-pagination-number {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }
}

/* Legacy hero-background class for compatibility */
.hero-background {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

/* Text Shadow Utility */
.text-shadow-lg {
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ===============================================
   BLOG CARDS - ULTRA PROFESSIONAL COMPACT STYLING
   =============================================== */

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 1600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1400px) {
    .blog-posts-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

.card.glass-effect {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Animated border glow effect - Minimal Professional */
.card.glass-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.15),
        rgba(255, 215, 0, 0.1),
        rgba(255, 215, 0, 0.15)
    );
    -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.25s ease;
    pointer-events: none;
}

.card.glass-effect:hover::before {
    opacity: 0.5;
}

.card.glass-effect:hover {
    background: rgba(20, 20, 45, 0.9);
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Card Image Container - Ultra Compact Professional */
.blog-card-image-container {
    position: relative;
    overflow: hidden;
    height: 140px;
    border-radius: 10px 10px 0 0;
}

@media (min-width: 768px) {
    .blog-card-image-container {
        height: 160px;
    }
}

@media (min-width: 1024px) {
    .blog-card-image-container {
        height: 150px;
    }
}

.blog-card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    filter: brightness(0.8) contrast(1.05);
}

.card.glass-effect:hover .blog-card-image-container img {
    transform: scale(1.05);
    filter: brightness(0.9) contrast(1.1);
}

/* Gradient overlay on image - Minimal Professional */
.blog-card-image-container .absolute.inset-0 {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.15) 70%,
        rgba(0, 0, 0, 0.5) 100%
    );
    transition: all 0.25s ease;
}

.card.glass-effect:hover .blog-card-image-container .absolute.inset-0 {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 60%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

/* Card Body - Ultra Compact Professional */
.blog-card-body {
    padding: 0.875rem;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.01) 0%,
        transparent 100%
    );
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .blog-card-body {
        padding: 1rem;
        gap: 0.625rem;
    }
}

@media (min-width: 1024px) {
    .blog-card-body {
        padding: 0.875rem;
        gap: 0.5rem;
    }
}

/* Badge styling - Ultra Professional Minimal */
.blog-card-body .badge {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: rgba(255, 215, 0, 0.9);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-heading);
}

.card.glass-effect:hover .blog-card-body .badge {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.35);
    color: var(--luminous-gold);
}

/* Meta info row */
.blog-card-body > div:first-child {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
}

/* Date styling - Ultra Professional */
.blog-card-body time {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
    font-weight: 400;
    transition: color 0.2s ease;
    font-family: var(--font-body);
    letter-spacing: 0.2px;
}

.card.glass-effect:hover .blog-card-body time {
    color: rgba(255, 255, 255, 0.65);
}

/* Title styling - Ultra Professional */
.blog-card-body h2 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

@media (min-width: 768px) {
    .blog-card-body h2 {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .blog-card-body h2 {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

.card.glass-effect:hover .blog-card-body h2 {
    color: var(--luminous-gold);
}

.blog-card-body h2 a {
    text-decoration: none;
    display: block;
}

/* Excerpt styling - Ultra Professional */
.blog-card-body p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    transition: color 0.2s ease;
    flex-grow: 1;
    font-weight: 400;
}

@media (min-width: 768px) {
    .blog-card-body p {
        font-size: 0.8125rem;
    }
}

.card.glass-effect:hover .blog-card-body p {
    color: rgba(255, 255, 255, 0.8);
}

/* Button styling - Ultra Professional Minimal */
.blog-card-body .btn {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: rgba(255, 215, 0, 0.85);
    padding: 0.4rem 0.875rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    align-self: flex-start;
    margin-top: auto;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.blog-card-body .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card.glass-effect:hover .blog-card-body .btn {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.06);
    /* Mantieni testo giallo per sfondo molto chiaro */
    color: rgba(255, 215, 0, 0.95);
}

.card.glass-effect:hover .blog-card-body .btn::before {
    opacity: 1;
}

.blog-card-body .btn:hover {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.5);
    /* Quando lo sfondo giallo diventa più saturo, usa testo scuro per contrasto */
    color: rgba(20, 20, 30, 0.95);
    font-weight: 600;
}

/* Shimmer effect - Minimal Professional (disabled for ultra-clean look) */
.card.glass-effect::after {
    display: none;
}

/* Ensure images cover properly */
.card img {
    width: 100%;
    object-fit: cover;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Recent Posts Cards (smaller variant) */
aside .card.glass-effect {
    background: rgba(15, 15, 35, 0.6);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
}

aside .card.glass-effect img {
    height: 140px;
    border-radius: 0;
}

aside .card.glass-effect .card-body {
    padding: 1rem;
}

aside .card.glass-effect h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

aside .card.glass-effect:hover h4 {
    color: var(--luminous-gold);
}

aside .card.glass-effect time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments for blog cards - Ultra Professional */
@media (max-width: 640px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blog-card-image-container {
        height: 140px;
    }
    
    .blog-card-body {
        padding: 0.875rem;
    }
    
    .card.glass-effect:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .card.glass-effect {
        border-radius: 12px;
    }
    
    .card.glass-effect:hover {
        transform: translateY(-3px);
    }
    
    aside .card.glass-effect img {
        height: 100px;
    }
}

@media (min-width: 1024px) {
    .blog-posts-grid {
        gap: 1.25rem;
    }
}

/* ===============================================
   BOOK PAGE - PROFESSIONAL STYLING
   =============================================== */

.book-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.book-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.book-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.book-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.book-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.book-hero-badge-icon {
    font-size: 0.875rem;
}

.book-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.book-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.1;
}

.book-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.book-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.book-hero-divider-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.5) 50%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.book-hero-divider-icon {
    font-size: 1.25rem;
    color: var(--luminous-gold);
    animation: pulse 3s ease-in-out infinite;
}

.book-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.book-hero-subtitle-accent {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Book Content Section */
.book-content-section {
    padding: 4rem 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.98) 0%,
        rgba(15, 15, 35, 0.95) 100%
    );
}

.book-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .book-layout-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 2.5rem;
    }
}

/* Book Cover Card */
.book-cover-card {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.book-cover-card:hover {
    background: rgba(20, 20, 45, 0.9);
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.1);
}

.book-cover-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.book-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8) contrast(1.05);
}

.book-cover-card:hover .book-cover-image img {
    transform: scale(1.05);
    filter: brightness(0.9) contrast(1.1);
}

.book-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.15) 70%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.book-cover-info {
    padding: 1rem;
}

.book-cover-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.book-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.book-stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--luminous-gold);
    line-height: 1;
}

.book-stat-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.book-stat-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 215, 0, 0.3) 50%,
        transparent 100%
    );
}

/* Book Details Card */
.book-details-card {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.book-details-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.book-details-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.book-details-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.book-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.book-feature-item {
    display: flex;
    gap: 1rem;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.book-feature-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 215, 0, 0.2);
}

.book-feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 6px;
    color: var(--luminous-gold);
    font-weight: 600;
    font-size: 0.875rem;
}

.book-feature-content {
    flex: 1;
}

.book-feature-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.25rem;
}

.book-feature-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* Download Section */
.book-download-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.book-download-auth-message {
    padding: 1rem;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    color: rgba(255, 215, 0, 0.9);
    font-size: 0.875rem;
}

.book-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.book-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border: 1px solid;
    cursor: pointer;
}

.book-download-btn--primary {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.book-download-btn--primary:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.book-download-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.book-download-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Chapters Section */
.book-chapters-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.book-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.book-section-header-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.4) 50%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.book-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--pure-white);
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.book-section-title-icon {
    color: var(--luminous-gold);
    font-size: 1.2em;
    animation: pulse 3s ease-in-out infinite;
}

.book-chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .book-chapters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .book-chapters-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

.book-chapter-card {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.book-chapter-card:hover {
    background: rgba(20, 20, 45, 0.9);
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.1);
}

.book-chapter-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.6);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.book-chapter-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    margin: 0;
}

.book-chapter-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

.book-chapter-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .book-hero-section {
        min-height: 60vh;
        padding: 100px 1.5rem 40px;
    }
    
    .book-layout-grid {
        gap: 1.5rem;
    }
    
    .book-cover-image {
        height: 300px;
    }
    
    .book-details-card {
        padding: 1.25rem;
    }
    
    .book-chapters-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================================
   BOOK INDEX - COMPLETE TABLE OF CONTENTS
   =============================================== */
.book-index-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(15, 15, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.book-index-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.book-index-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--pure-white);
    margin: 0.5rem 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.book-index-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin: 0.75rem 0;
    font-style: italic;
}

.book-index-author {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 215, 0, 0.8);
    margin-top: 0.5rem;
}

.book-index-section {
    margin-bottom: 2.5rem;
}

.book-index-section:last-child {
    margin-bottom: 0;
}

.book-index-part-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--luminous-gold);
    margin: 2rem 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
}

.book-index-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--luminous-gold);
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.book-index-chapter {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.book-index-chapter-title {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 1rem 0 0.5rem 0;
    line-height: 1.5;
}

.book-index-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.book-index-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.35rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.book-index-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: rgba(255, 215, 0, 0.6);
    font-size: 0.8em;
}

.book-index-sublist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 1.5rem;
}

.book-index-sublist li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
}

.book-index-sublist li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 215, 0, 0.5);
    font-size: 1em;
}

.book-index-final {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.book-index-final li {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .book-index-container {
        padding: 1.5rem;
    }
    
    .book-index-chapter {
        padding-left: 0.5rem;
    }
    
    .book-index-sublist {
        margin-left: 1rem;
    }
    
    .book-index-list li,
    .book-index-sublist li {
        padding-left: 1rem;
    }
}

/* ===============================================
   FORUM PAGE - PROFESSIONAL STYLING
   =============================================== */

/* Forum Hero Section */
.forum-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.forum-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers7.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.forum-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.forum-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.forum-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.forum-hero-badge-icon {
    font-size: 0.875rem;
}

.forum-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.forum-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.1;
}

.forum-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.forum-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.forum-hero-divider-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.5) 50%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.forum-hero-divider-icon {
    font-size: 1.25rem;
    color: var(--luminous-gold);
    animation: pulse 3s ease-in-out infinite;
}

.forum-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.forum-hero-subtitle-accent {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Forum Content Section */
.forum-content-section {
    padding: 4rem 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.98) 0%,
        rgba(15, 15, 35, 0.95) 100%
    );
}

.forum-section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.forum-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.forum-section-title-accent {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.7);
}

.forum-section-title-main {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #FFFFFF, #E8E8E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.forum-section-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Search and Filters */
.forum-search-filters {
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.forum-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forum-search-icon {
    position: absolute;
    left: 1rem;
    font-size: 1.25rem;
    color: rgba(255, 215, 0, 0.6);
    pointer-events: none;
    z-index: 1;
}

.forum-search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.forum-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.forum-search-input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(20, 20, 45, 0.9);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.forum-search-clear {
    position: absolute;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.forum-search-clear:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--luminous-gold);
}

.forum-categories-professional {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.forum-category-btn {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.forum-category-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.forum-category-btn--active {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--luminous-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.forum-actions {
    display: flex;
    justify-content: flex-end;
}

.forum-new-topic-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.forum-new-topic-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.forum-new-topic-btn span:first-child {
    font-size: 1.25rem;
    line-height: 1;
}

/* Loading State */
.forum-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.forum-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--luminous-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

/* Forum Topics Grid */
.forum-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .forum-topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .forum-topics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Forum Topic Card - Professional */
.forum-topic-card-professional {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.forum-topic-card-professional:hover {
    background: rgba(20, 20, 45, 0.9);
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.forum-topic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.forum-topic-status {
    display: flex;
    gap: 0.25rem;
}

.forum-topic-pin,
.forum-topic-lock {
    font-size: 0.875rem;
}

.forum-topic-category-badge {
    padding: 0.2rem 0.625rem;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 215, 0, 0.9);
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

.forum-topic-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.forum-topic-card-professional:hover .forum-topic-title {
    color: var(--luminous-gold);
}

.forum-topic-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.forum-topic-author {
    color: rgba(255, 255, 255, 0.6);
}

.forum-topic-date {
    color: rgba(255, 255, 255, 0.45);
}

.forum-topic-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.forum-topic-stats {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.forum-topic-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.forum-topic-stat-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--luminous-gold);
    line-height: 1;
}

.forum-topic-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.forum-topic-stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.forum-topic-action {
    font-size: 0.75rem;
    color: rgba(255, 215, 0, 0.85);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    transition: all 0.2s ease;
}

.forum-topic-card-professional:hover .forum-topic-action {
    color: var(--luminous-gold);
    transform: translateX(2px);
}

/* Empty State */
.forum-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.forum-empty-action-btn {
    margin-top: 1rem;
    padding: 0.625rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.forum-empty-action-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

/* Forum Modal */
.forum-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.forum-modal-content {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.forum-modal--active .forum-modal-content {
    transform: scale(1);
}

.forum-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.forum-modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.forum-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.forum-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--luminous-gold);
}

.forum-modal-body {
    padding: 1.5rem;
}

.forum-form-group {
    margin-bottom: 1.5rem;
}

.forum-form-group:last-child {
    margin-bottom: 0;
}

.forum-form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.forum-form-input,
.forum-form-select,
.forum-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.forum-form-input:focus,
.forum-form-select:focus,
.forum-form-textarea:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(20, 20, 45, 0.9);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.forum-form-textarea {
    resize: vertical;
    min-height: 150px;
}

.forum-form-select option {
    background: rgba(15, 15, 30, 0.95);
    color: rgba(255, 255, 255, 0.9);
}

.forum-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-end;
}

.forum-modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid;
}

.forum-modal-btn--primary {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.forum-modal-btn--primary:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.forum-modal-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.forum-modal-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .forum-hero-section {
        min-height: 60vh;
        padding: 100px 1.5rem 40px;
    }
    
    .forum-topics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .forum-categories-professional {
        gap: 0.5rem;
    }
    
    .forum-category-btn {
        padding: 0.4rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .forum-modal-content {
        max-width: 100%;
        margin: 1rem;
    }
    
    .forum-modal-header,
    .forum-modal-body,
    .forum-modal-footer {
        padding: 1.25rem;
    }
    
    .forum-modal-footer {
        flex-direction: column;
    }
    
    .forum-modal-btn {
        width: 100%;
    }
}

/* ===============================================
   REGISTER PAGE - PROFESSIONAL STYLING
   =============================================== */

/* Register Hero Section */
.register-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.register-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers15.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.register-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.register-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.register-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.register-hero-badge-icon {
    font-size: 0.875rem;
}

.register-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.register-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.1;
}

.register-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.register-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.register-hero-divider-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.5) 50%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.register-hero-divider-icon {
    font-size: 1.25rem;
    color: var(--luminous-gold);
    animation: pulse 3s ease-in-out infinite;
}

.register-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.register-hero-subtitle-accent {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Register Content Section */
.register-content-section {
    padding: 4rem 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.98) 0%,
        rgba(15, 15, 35, 0.95) 100%
    );
}

.register-form-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .register-form-wrapper {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
}

/* Register Form Card */
.register-form-card {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .register-form-card {
        padding: 2.5rem;
    }
}

.register-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.register-form-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.register-form-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.register-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.register-form-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
}

.register-form-required {
    color: var(--luminous-gold);
    margin-left: 0.25rem;
}

.register-form-optional {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-left: 0.25rem;
}

.register-form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.register-form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.register-form-input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(20, 20, 45, 0.9);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.register-form-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.register-form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.register-form-checkbox {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--luminous-gold);
}

.register-form-checkbox-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.register-form-link {
    color: var(--luminous-gold);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.register-form-link:hover {
    color: #FFD700;
}

.register-form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.register-form-submit:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.register-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.register-form-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.register-form-footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.register-form-footer-link {
    color: var(--luminous-gold);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-left: 0.25rem;
}

.register-form-footer-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Register Benefits Sidebar */
.register-benefits {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    height: fit-content;
}

.register-benefits-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.register-benefits-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.register-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.register-benefit-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.register-benefit-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateX(4px);
}

.register-benefit-icon {
    flex-shrink: 0;
    font-size: 1.75rem;
    line-height: 1;
}

.register-benefit-content {
    flex: 1;
}

.register-benefit-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.25rem;
}

.register-benefit-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .register-hero-section {
        min-height: 50vh;
        padding: 100px 1.5rem 40px;
    }
    
    .register-form-wrapper {
        gap: 2rem;
    }
    
    .register-form-card {
        padding: 1.5rem;
    }
    
    .register-benefits {
        padding: 1.5rem;
    }
    
    .register-benefit-item {
        padding: 0.875rem;
    }
}

/* ===============================================
   ADMIN SECTION - PROFESSIONAL STYLING
   =============================================== */

/* Admin Hero Section - Shared */
.admin-hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.admin-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers13.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.admin-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.admin-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.admin-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.admin-hero-badge-icon {
    font-size: 0.875rem;
}

.admin-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.admin-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.1;
}

.admin-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.admin-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.admin-hero-divider-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.5) 50%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.admin-hero-divider-icon {
    font-size: 1.25rem;
    color: var(--luminous-gold);
    animation: pulse 3s ease-in-out infinite;
}

.admin-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.admin-hero-subtitle-accent {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Admin Content Section */
.admin-content-section {
    padding: 4rem 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.98) 0%,
        rgba(15, 15, 35, 0.95) 100%
    );
}

/* Admin Loading */
.admin-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.admin-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--luminous-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

/* Admin Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .admin-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.admin-stat-card {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-stat-card:hover {
    background: rgba(20, 20, 45, 0.9);
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.1);
}

.admin-stat-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.admin-stat-content {
    flex: 1;
}

.admin-stat-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.admin-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--luminous-gold);
    line-height: 1;
}

/* Admin Quick Actions */
.admin-quick-actions {
    max-width: 1400px;
    margin: 0 auto;
}

.admin-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.admin-section-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .admin-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .admin-actions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.admin-action-card {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-action-card:hover {
    background: rgba(20, 20, 45, 0.9);
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.1);
}

.admin-action-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.admin-action-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.admin-action-card:hover .admin-action-title {
    color: var(--luminous-gold);
}

.admin-action-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.admin-action-arrow {
    align-self: flex-end;
    font-size: 1.25rem;
    color: rgba(255, 215, 0, 0.6);
    transition: all 0.2s ease;
}

.admin-action-card:hover .admin-action-arrow {
    color: var(--luminous-gold);
    transform: translateX(4px);
}

/* Responsive */
/* Admin Search Bar */
.admin-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.admin-search-icon {
    position: absolute;
    left: 1rem;
    font-size: 1.25rem;
    color: rgba(255, 215, 0, 0.6);
    pointer-events: none;
    z-index: 1;
}

.admin-search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.admin-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.admin-search-input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(20, 20, 45, 0.9);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.admin-search-clear {
    position: absolute;
    right: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.admin-search-clear:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--luminous-gold);
}

/* Admin Table */
.admin-table-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.admin-table-card {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-table-professional {
    width: 100%;
    border-collapse: collapse;
}

.admin-table-professional thead {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table-professional th {
    padding: 1rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: rgba(255, 215, 0, 0.9);
}

.admin-table-professional tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.admin-table-professional tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.admin-table-professional tbody tr:last-child {
    border-bottom: none;
}

.admin-table-professional td {
    padding: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-user-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.admin-user-verified {
    font-size: 0.875rem;
}

.admin-table-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.admin-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: var(--font-heading);
}

.admin-badge--info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60A5FA;
}

.admin-badge--danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.admin-action-buttons {
    display: flex;
    gap: 0.5rem;
}

.admin-action-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: scale(1.1);
}

.admin-action-btn--edit:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.admin-action-btn--delete:hover {
    border-color: rgba(239, 68, 68, 0.5);
}

.admin-empty-state {
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Admin Modal */
/* Alpine.js x-cloak */
[x-cloak] {
    display: none !important;
}

.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.admin-modal-overlay[x-cloak] {
    display: none !important;
}

.admin-modal {
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.3) rgba(255, 255, 255, 0.05);
}

.admin-modal::-webkit-scrollbar {
    width: 8px;
}

.admin-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.admin-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 10px;
}

.admin-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

.admin-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.5) 50%,
        transparent 100%
    );
    border-radius: 20px 20px 0 0;
}

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

.admin-modal-content {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.admin-modal--active .admin-modal-content {
    transform: scale(1);
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(
        to bottom,
        rgba(255, 215, 0, 0.03) 0%,
        transparent 100%
    );
}

.admin-modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.admin-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.admin-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--luminous-gold);
}

.admin-modal-body {
    padding: 2rem;
}

.admin-modal-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-group:last-child {
    margin-bottom: 0;
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .admin-form-row {
        grid-template-columns: 1fr;
    }
}

.admin-form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.625rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.admin-form-label::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.admin-form-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    background: rgba(15, 15, 30, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.admin-form-input:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(20, 20, 40, 0.95);
}

.admin-form-input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(20, 20, 45, 0.95);
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.15),
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-form-select {
    width: 100%;
    padding: 0.875rem 1.125rem;
    background: rgba(15, 15, 30, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.05);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.admin-form-select:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background-color: rgba(20, 20, 40, 0.95);
}

.admin-form-select:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.5);
    background-color: rgba(20, 20, 45, 0.95);
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.15),
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-form-select option {
    background: rgba(15, 15, 30, 0.95);
    color: rgba(255, 255, 255, 0.9);
}

/* Admin Form Info */
.admin-form-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.admin-form-info-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-heading);
}

.admin-form-info-subtext {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.admin-form-help {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ===============================================
   PROGRESS PAGE - PROFESSIONAL STYLING
   =============================================== */

/* Progress Hero Section */
.progress-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.progress-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers9.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.progress-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.progress-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.progress-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.progress-hero-badge-icon {
    font-size: 0.875rem;
}

.progress-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.progress-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.1;
}

.progress-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.progress-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.progress-hero-divider-line {
    flex: 1;
    max-width: 150px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 215, 0, 0.3),
        transparent
    );
}

.progress-hero-divider-icon {
    font-size: 1.5rem;
    opacity: 0.6;
}

.progress-hero-description {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

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

/* Progress Loading */
.progress-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.progress-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--luminous-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.progress-loading-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
}

/* Progress Content */
.progress-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Progress Stats Grid */
.progress-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.progress-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.progress-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.progress-stat-card:hover::before {
    opacity: 1;
}

.progress-stat-icon {
    font-size: 3rem;
    line-height: 1;
    opacity: 0.8;
}

.progress-stat-content {
    flex: 1;
}

.progress-stat-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.progress-stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--luminous-gold);
    line-height: 1;
}

/* Progress Section */
.progress-section {
    margin-bottom: 3rem;
}

.progress-section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.progress-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.progress-section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Progress Milestones Grid */
.progress-milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.progress-milestone-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.progress-milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-milestone-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.progress-milestone-card:hover::before {
    opacity: 1;
}

.progress-milestone-card--unlocked {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.05);
}

.progress-milestone-card--unlocked::before {
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.progress-milestone-card--unlocked:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.08);
}

.progress-milestone-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.progress-milestone-card--unlocked .progress-milestone-icon {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.progress-milestone-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
}

.progress-milestone-status {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.progress-milestone-card--unlocked .progress-milestone-status {
    color: var(--luminous-gold);
}

/* Progress Skills Grid */
.progress-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.progress-skill-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.progress-skill-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.progress-skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-skill-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.progress-skill-value {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--luminous-gold);
    font-weight: 600;
}

.progress-skill-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-skill-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.8), rgba(255, 165, 0, 0.8));
    border-radius: 10px;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* Progress Actions */
.progress-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.progress-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.progress-action-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.progress-action-icon {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
}

/* Progress Modal */
.progress-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.progress-modal-overlay[x-cloak] {
    display: none !important;
}

.progress-modal {
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.3) rgba(255, 255, 255, 0.05);
}

.progress-modal::-webkit-scrollbar {
    width: 8px;
}

.progress-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.progress-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 10px;
}

.progress-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

.progress-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.progress-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.5rem;
    line-height: 1;
}

.progress-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.progress-modal-body {
    padding: 2rem;
}

.progress-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.progress-form-group {
    margin-bottom: 1.5rem;
}

.progress-form-group:last-child {
    margin-bottom: 0;
}

.progress-form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.progress-form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.progress-form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.progress-form-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-form-section-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.progress-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.progress-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.progress-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
}

.progress-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--luminous-gold);
    cursor: pointer;
}

.progress-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-end;
}

.progress-modal-btn {
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid;
}

.progress-modal-btn--primary {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.progress-modal-btn--primary:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.progress-modal-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.progress-modal-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .progress-hero-section {
        min-height: 60vh;
        padding: 100px 1.5rem 40px;
    }
    
    .progress-container {
        padding: 2rem 1rem;
    }
    
    .progress-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .progress-milestones-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .progress-skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .progress-modal {
        max-width: 100%;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .progress-modal-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }
    
    .progress-modal-body {
        padding: 1.5rem;
    }
    
    .progress-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .progress-modal-footer {
        flex-direction: column;
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .progress-modal-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================================
   ACHIEVEMENTS PAGE - PROFESSIONAL STYLING
   =============================================== */

/* Achievements Hero Section */
.achievements-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.achievements-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers10.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.achievements-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.achievements-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.achievements-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.achievements-hero-badge-icon {
    font-size: 0.875rem;
}

.achievements-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.achievements-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.1;
}

.achievements-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.achievements-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.achievements-hero-divider-line {
    flex: 1;
    max-width: 150px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 215, 0, 0.3),
        transparent
    );
}

.achievements-hero-divider-icon {
    font-size: 1.5rem;
    opacity: 0.6;
}

.achievements-hero-description {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

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

/* Achievements Loading */
.achievements-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.achievements-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--luminous-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.achievements-loading-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
}

/* Achievements Content */
.achievements-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Achievements Progress Section */
.achievements-progress-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.achievements-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.achievements-progress-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.achievements-progress-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.achievements-progress-unlocked {
    color: var(--luminous-gold);
    font-weight: 700;
}

.achievements-progress-separator {
    color: rgba(255, 255, 255, 0.5);
}

.achievements-progress-total {
    color: rgba(255, 255, 255, 0.7);
}

.achievements-progress-bar {
    width: 100%;
    height: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.achievements-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.8), rgba(255, 165, 0, 0.8));
    border-radius: 10px;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* Achievements Grid Professional */
.achievements-grid-professional {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.achievement-card-professional {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.achievement-card-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-card-professional:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.achievement-card-professional:hover::before {
    opacity: 1;
}

.achievement-card-professional--unlocked {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.05);
}

.achievement-card-professional--unlocked::before {
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.achievement-card-professional--unlocked:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.08);
}

.achievement-card-professional--rare {
    border-color: rgba(0, 188, 212, 0.4);
}

.achievement-card-professional--epic {
    border-color: rgba(138, 43, 226, 0.4);
}

.achievement-card-professional--legendary {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.achievement-card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    line-height: 1;
}

.achievement-card-professional--unlocked .achievement-card-icon {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    animation: pulse 2s ease-in-out infinite;
}

.achievement-card-content {
    flex: 1;
    width: 100%;
}

.achievement-card-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
}

.achievement-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.achievement-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.achievement-card-points {
    color: var(--luminous-gold);
    font-weight: 600;
    font-family: var(--font-heading);
}

.achievement-card-date {
    color: rgba(255, 255, 255, 0.6);
}

.achievement-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--luminous-gold);
    font-weight: 700;
    font-size: 1.25rem;
}

.achievements-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.achievements-empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.achievements-empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.achievements-empty-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
}

/* ===============================================
   PROFILE PAGE - PROFESSIONAL STYLING
   =============================================== */

/* Profile Hero Section */
.profile-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.profile-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers11.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.profile-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.profile-hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.profile-hero-avatar-wrapper {
    margin-bottom: 2rem;
}

.profile-hero-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.profile-hero-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.profile-hero-avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.25rem;
}

.profile-hero-avatar-edit:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
}

.profile-hero-info {
    width: 100%;
}

.profile-hero-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.profile-hero-username {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: rgba(255, 215, 0, 0.8);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.profile-hero-bio {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.profile-hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-hero-badge {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.profile-hero-badge--points {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.3);
    color: var(--amber-glow);
}

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

/* Profile Loading */
.profile-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.profile-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--luminous-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.profile-loading-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
}

/* Profile Content */
.profile-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Profile Actions */
.profile-actions {
    display: flex;
    justify-content: center;
}

.profile-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.profile-action-btn:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.profile-action-icon {
    font-size: 1.25rem;
    line-height: 1;
}

/* Profile Stats Grid Professional */
.profile-stats-grid-professional {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.profile-stat-card-professional {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.profile-stat-card-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-stat-card-professional:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.profile-stat-card-professional:hover::before {
    opacity: 1;
}

.profile-stat-icon {
    font-size: 3rem;
    line-height: 1;
    opacity: 0.8;
}

.profile-stat-content {
    flex: 1;
}

.profile-stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--luminous-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.profile-stat-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* Profile Modal */
.profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.profile-modal-overlay[x-cloak] {
    display: none !important;
}

.profile-modal {
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.3) rgba(255, 255, 255, 0.05);
}

.profile-modal::-webkit-scrollbar {
    width: 8px;
}

.profile-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.profile-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 10px;
}

.profile-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

.profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.profile-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.5rem;
    line-height: 1;
}

.profile-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.profile-modal-body {
    padding: 2rem;
}

.profile-form-group {
    margin-bottom: 1.5rem;
}

.profile-form-group:last-child {
    margin-bottom: 0;
}

.profile-form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.profile-form-input,
.profile-form-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.profile-form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
    line-height: 1.6;
}

.profile-form-input:focus,
.profile-form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.profile-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-end;
}

.profile-modal-btn {
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid;
}

.profile-modal-btn--primary {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.profile-modal-btn--primary:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.profile-modal-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.profile-modal-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .achievements-hero-section,
    .profile-hero-section {
        min-height: 60vh;
        padding: 100px 1.5rem 40px;
    }
    
    .achievements-container,
    .profile-container {
        padding: 2rem 1rem;
    }
    
    .achievements-grid-professional {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-stats-grid-professional {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-hero-avatar {
        width: 120px;
        height: 120px;
    }
    
    .achievements-modal,
    .profile-modal {
        max-width: 100%;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .profile-modal-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }
    
    .profile-modal-body {
        padding: 1.5rem;
    }
    
    .profile-modal-footer {
        flex-direction: column;
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .profile-modal-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================================
   STAR MAP - BLOG DESIGN
   =============================================== */

/* Container della mappa stellare */
.star-map-container {
    position: relative;
    width: 100%;
    height: 80vh;
    background: linear-gradient(to bottom, rgba(138, 43, 226, 0.2), rgba(0, 0, 0, 1));
    overflow: hidden;
    border-radius: 16px;
    margin: 2rem auto;
    max-width: 1400px;
}

/* Full width version */
.star-map-container--fullwidth {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    height: 85vh;
    min-height: 600px;
}

/* Sfondo stellato animato */
.star-background {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    z-index: 1;
}

.stars {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 40% 80%, rgba(255, 215, 0, 0.7), transparent),
        radial-gradient(1px 1px at 90% 60%, rgba(138, 43, 226, 0.8), transparent);
    background-size: 300px 300px, 400px 400px, 200px 200px, 500px 500px, 350px 350px;
    animation: star-twinkle 4s ease-in-out infinite alternate;
}

/* Animazione stellare */
@keyframes star-twinkle {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

/* SVG della mappa stellare */
.star-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Linee di connessione */
.connection-line {
    transition: opacity 0.3s ease;
}

.connection-line--active {
    opacity: 0.8 !important;
    stroke-width: 1;
}

/* Gruppi stelle */
.star-group {
    cursor: pointer;
    transition: all 0.3s ease;
}

.star-group:hover .star-circle {
    r: 1.5;
}

/* Cerchi delle stelle */
.star-circle {
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Pulsazione stelle */
.star-pulse {
    animation: star-pulse-animation 2s ease-in-out infinite;
}

@keyframes star-pulse-animation {
    0%, 100% {
        r: 1.5;
        opacity: 0.6;
    }
    50% {
        r: 3;
        opacity: 0.2;
    }
}

/* Labels delle stelle */
.star-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    fill: rgba(196, 181, 253, 0.95);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    text-anchor: middle;
    dominant-baseline: middle;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(138, 43, 226, 0.8);
}

/* Sidebar informazioni stella */
.star-sidebar {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    max-width: calc(100% - 4rem);
    z-index: 10;
    pointer-events: auto;
}

.star-map-container--fullwidth .star-sidebar {
    right: 3rem;
    max-width: calc(100% - 6rem);
}

.star-sidebar-content {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 215, 0, 0.2);
}

.star-sidebar-category {
    font-size: 0.75rem;
    color: rgba(255, 215, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.star-sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(196, 181, 253, 0.9);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.star-sidebar-excerpt {
    font-size: 0.875rem;
    color: rgba(209, 213, 219, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.star-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.star-sidebar-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.5);
    border-radius: 9999px;
    color: rgba(196, 181, 253, 0.9);
    text-transform: lowercase;
}

.star-sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.star-sidebar-button {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.star-sidebar-button--primary {
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.9), rgba(255, 215, 0, 0.9));
    color: rgba(255, 255, 255, 0.95);
}

.star-sidebar-button--primary:hover {
    background: linear-gradient(90deg, rgba(138, 43, 226, 1), rgba(255, 215, 0, 1));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.5);
}

.star-sidebar-button--secondary {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: rgba(196, 181, 253, 0.9);
    text-transform: none;
    font-size: 0.75rem;
}

.star-sidebar-button--secondary:hover {
    background: rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.6);
}

/* Transizioni sidebar */
.sidebar-enter {
    transition: all 0.3s ease;
}

.sidebar-enter-start {
    opacity: 0;
    transform: translateX(2rem) translateY(-50%);
}

.sidebar-leave {
    transition: all 0.3s ease;
}

.sidebar-leave-start {
    opacity: 1;
    transform: translateY(-50%);
}

/* Responsive */
@media (max-width: 1024px) {
    .star-sidebar {
        position: fixed;
        right: 1rem;
        left: 1rem;
        top: auto;
        bottom: 1rem;
        transform: none;
        width: auto;
        max-width: none;
    }

    .star-sidebar-content {
        max-width: 400px;
        margin: 0 auto;
    }

    .star-map-container {
        height: 60vh;
        margin: 1rem auto;
    }
}

@media (max-width: 768px) {
    .star-map-container {
        height: 50vh;
        border-radius: 8px;
    }

    .star-sidebar-content {
        padding: 1rem;
    }

    .star-sidebar-title {
        font-size: 1.25rem;
    }
}

/* ===============================================
   FAQ PAGE - PROFESSIONAL STYLING
   =============================================== */

/* FAQ Hero Section */
.faq-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.faq-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers12.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.faq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.faq-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.faq-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.faq-hero-badge-icon {
    font-size: 0.875rem;
}

.faq-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.faq-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.1;
}

.faq-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.faq-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.faq-hero-divider-line {
    flex: 1;
    max-width: 150px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 215, 0, 0.3),
        transparent
    );
}

.faq-hero-divider-icon {
    font-size: 1.5rem;
    opacity: 0.6;
}

.faq-hero-description {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

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

/* FAQ Search Section */
.faq-search-section {
    margin-bottom: 3rem;
}

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

.faq-search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    opacity: 0.6;
    z-index: 1;
}

.faq-search-input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.faq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* FAQ Content */
.faq-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* FAQ Category Section */
.faq-category-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-category-icon {
    font-size: 2rem;
    line-height: 1;
}

.faq-category-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* FAQ Items */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item--active {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    flex: 1;
    padding-right: 1rem;
}

.faq-item--active .faq-question-text {
    color: var(--luminous-gold);
}

.faq-question-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--luminous-gold);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.faq-item--active .faq-question-icon {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
    transform: rotate(180deg);
}

.faq-answer-wrapper {
    overflow: hidden;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.faq-answer strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin: 0.5rem 0;
}

/* FAQ Transitions */
.faq-answer-enter {
    transition: all 0.3s ease-out;
}

.faq-answer-enter-start {
    opacity: 0;
    max-height: 0;
}

.faq-answer-enter-end {
    opacity: 1;
    max-height: 1000px;
}

.faq-answer-leave {
    transition: all 0.3s ease-in;
}

.faq-answer-leave-start {
    opacity: 1;
    max-height: 1000px;
}

.faq-answer-leave-end {
    opacity: 0;
    max-height: 0;
}

/* FAQ Empty State */
.faq-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.faq-empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.faq-empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.faq-empty-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
}

/* FAQ Contact Section */
.faq-contact-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    text-align: center;
}

.faq-contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.faq-contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.faq-contact-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

.faq-contact-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.faq-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid;
}

.faq-contact-btn--primary {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.faq-contact-btn--primary:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-hero-section {
        min-height: 50vh;
        padding: 100px 1.5rem 40px;
    }
    
    .faq-container {
        padding: 2rem 1rem;
    }
    
    .faq-category-section {
        padding: 1.5rem;
    }
    
    .faq-category-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-question-text {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-contact-section {
        padding: 2rem 1.5rem;
    }
    
    .faq-contact-title {
        font-size: 1.5rem;
    }
    
    .faq-contact-btn {
        width: 100%;
    }
}

.admin-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-end;
    background: linear-gradient(
       10, 10, 25, 0.5);
}

.admin-btn {
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.admin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.admin-btn--primary {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--luminous-gold);
    box-shadow: 
        0 4px 12px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.admin-btn--primary:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.15));
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.admin-btn--primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.admin-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-btn--secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-btn--secondary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid;
}

.admin-modal-btn--primary {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.admin-modal-btn--primary:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.admin-modal-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.admin-modal-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Admin Actions Bar */
.admin-actions-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.admin-action-btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-action-btn-primary:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.admin-action-btn-primary span:first-child {
    font-size: 1.25rem;
    line-height: 1;
}

.admin-post-title {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.admin-badge--success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.admin-badge--warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #F59E0B;
}

.admin-modal-content--large {
    max-width: 800px;
}

.admin-form-textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    background: rgba(15, 15, 30, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-family: var(--font-body);
    resize: vertical;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.05);
    line-height: 1.6;
}

.admin-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.admin-form-textarea:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(20, 20, 40, 0.95);
}

.admin-form-textarea:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(20, 20, 45, 0.95);
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.15),
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-table-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.admin-achievement-icon {
    font-size: 1.5rem;
    display: inline-block;
    line-height: 1;
}

.admin-achievement-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.admin-achievement-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    max-width: 300px;
}

.admin-technique-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.admin-points-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: var(--luminous-gold);
    font-weight: 600;
    font-size: 0.875rem;
}

.admin-form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.admin-badge--gold {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--luminous-gold);
}

.admin-form-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.admin-form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--luminous-gold);
}

.admin-form-checkbox-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .admin-hero-section {
        min-height: 40vh;
        padding: 100px 1.5rem 40px;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-table-card {
        overflow-x: auto;
    }
    
    .admin-table-professional {
        min-width: 800px;
    }
    
    .admin-modal-content {
        max-width: 100%;
        margin: 1rem;
    }
    
    .admin-modal-header,
    .admin-modal-body,
    .admin-modal-footer {
        padding: 1.25rem;
    }
    
    .admin-modal-footer {
        flex-direction: column;
    }
    
    .admin-modal-btn {
        width: 100%;
    }
}

/* ===============================================
   LOGIN PAGE - PROFESSIONAL STYLING
   =============================================== */

/* Login Hero Section */
.login-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.login-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers7.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.login-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.login-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.login-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.login-hero-badge-icon {
    font-size: 0.875rem;
}

.login-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.login-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.1;
}

.login-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.login-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.login-hero-divider-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 215, 0, 0.5) 50%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.login-hero-divider-icon {
    font-size: 1.25rem;
    color: var(--luminous-gold);
    animation: pulse 3s ease-in-out infinite;
}

.login-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.login-hero-subtitle-accent {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Login Content Section */
.login-content-section {
    padding: 4rem 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.98) 0%,
        rgba(15, 15, 35, 0.95) 100%
    );
}

.login-form-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .login-form-wrapper {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
}

/* Login Form Card */
.login-form-card {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .login-form-card {
        padding: 2.5rem;
    }
}

.login-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-form-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.login-form-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-form-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
}

.login-form-required {
    color: var(--luminous-gold);
    margin-left: 0.25rem;
}

.login-form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.login-form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.login-form-input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(20, 20, 45, 0.9);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.login-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.login-form-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.login-form-checkbox {
    margin-top: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--luminous-gold);
}

.login-form-checkbox-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.login-form-forgot-link {
    font-size: 0.875rem;
    color: var(--luminous-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-form-forgot-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

.login-form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.login-form-submit:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.login-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-form-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.login-form-footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.login-form-footer-link {
    color: var(--luminous-gold);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-left: 0.25rem;
}

.login-form-footer-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Login Benefits Sidebar */
.login-benefits {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    height: fit-content;
}

.login-benefits-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-benefits-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.login-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-benefit-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.login-benefit-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateX(4px);
}

.login-benefit-icon {
    flex-shrink: 0;
    font-size: 1.75rem;
    line-height: 1;
}

.login-benefit-content {
    flex: 1;
}

.login-benefit-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.25rem;
}

.login-benefit-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .login-hero-section {
        min-height: 50vh;
        padding: 100px 1.5rem 40px;
    }
    
    .login-form-wrapper {
        gap: 2rem;
    }
    
    .login-form-card {
        padding: 1.5rem;
    }
    
    .login-benefits {
        padding: 1.5rem;
    }
    
    .login-benefit-item {
        padding: 0.875rem;
    }
    
    .login-form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===============================================
   JOURNAL PAGE - PROFESSIONAL STYLING
   =============================================== */

/* Journal Hero Section */
.journal-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a1a 100%);
}

.journal-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        url('/Images/covers/riflessi_incanto_covers8.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.8;
    filter: blur(1px);
}

.journal-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 26, 0.4) 0%,
        rgba(10, 10, 26, 0.6) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.journal-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.journal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luminous-gold);
}

.journal-hero-badge-icon {
    font-size: 0.875rem;
}

.journal-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.journal-hero-title-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #E8E8E8 25%,
        #FFFFFF 50%,
        #E8E8E8 75%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    line-height: 1.1;
}

.journal-hero-title-accent {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.journal-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.journal-hero-divider-line {
    flex: 1;
    max-width: 150px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 215, 0, 0.3),
        transparent
    );
}

.journal-hero-divider-icon {
    font-size: 1.5rem;
    opacity: 0.6;
}

.journal-hero-description {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

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

/* Journal Controls */
.journal-controls-professional {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 3rem;
}

.journal-btn-new {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.journal-btn-new:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.journal-btn-icon {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
}

/* Journal Loading */
.journal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.journal-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--luminous-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.journal-loading-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
}

/* Journal Grid */
.journal-grid-professional {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Journal Card Professional */
.journal-card-professional {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.journal-card-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.5),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journal-card-professional:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.journal-card-professional:hover::before {
    opacity: 1;
}

.journal-card-professional-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.journal-card-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.journal-card-day {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--luminous-gold);
}

.journal-card-month {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.journal-card-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.journal-card-badge--neutral {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.journal-card-badge--info {
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.3);
    color: var(--astral-cyan);
}

.journal-card-badge--warning {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    color: var(--amber-glow);
}

.journal-card-badge--success {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.journal-card-professional-body {
    margin-bottom: 1.5rem;
}

.journal-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.journal-card-preview {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.journal-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.journal-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.journal-card-meta-icon {
    font-size: 1rem;
    opacity: 0.7;
}

.journal-card-professional-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.journal-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.journal-card-action:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateX(4px);
}

.journal-card-action-arrow {
    transition: transform 0.2s ease;
}

.journal-card-action:hover .journal-card-action-arrow {
    transform: translateX(4px);
}

.journal-card-actions {
    display: flex;
    gap: 0.5rem;
}

.journal-card-action-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.journal-card-action-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.journal-card-action-icon--danger:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: rgba(255, 100, 100, 1);
}

/* Journal Empty State */
.journal-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.journal-empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.journal-empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.journal-empty-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    max-width: 500px;
}

.journal-empty-action {
    padding: 0.875rem 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: var(--luminous-gold);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.journal-empty-action:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

/* Journal Modal */
.journal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

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

.journal-modal-professional {
    background: linear-gradient(
        135deg,
        rgba(25, 25, 112, 0.95) 0%,
        rgba(10, 10, 26, 0.98) 100%
    );
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.journal-modal-overlay--active .journal-modal-professional {
    transform: scale(1);
}

.journal-modal-professional-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.journal-modal-professional-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.journal-modal-professional-icon {
    font-size: 2rem;
    line-height: 1;
}

.journal-modal-professional-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.journal-modal-professional-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.5rem;
    line-height: 1;
}

.journal-modal-professional-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.journal-modal-professional-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.journal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.journal-form-group {
    margin-bottom: 1.5rem;
}

.journal-form-group:last-child {
    margin-bottom: 0;
}

.journal-form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.journal-form-input,
.journal-form-select,
.journal-form-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.journal-form-input:focus,
.journal-form-select:focus,
.journal-form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.journal-form-textarea {
    resize: vertical;
    min-height: 200px;
    font-family: var(--font-body);
    line-height: 1.6;
}

.journal-modal-professional-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.journal-modal-btn {
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid;
}

.journal-modal-btn--primary {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--luminous-gold);
}

.journal-modal-btn--primary:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.journal-modal-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.journal-modal-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .journal-hero-section {
        min-height: 60vh;
        padding: 100px 1.5rem 40px;
    }
    
    .journal-container {
        padding: 2rem 1rem;
    }
    
    .journal-grid-professional {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .journal-card-professional {
        padding: 1.5rem;
    }
    
    .journal-card-professional-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .journal-modal-professional {
        max-width: 100%;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .journal-modal-professional-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }
    
    .journal-modal-professional-body {
        padding: 1.5rem;
    }
    
    .journal-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .journal-modal-professional-footer {
        flex-direction: column;
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .journal-modal-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   IL CODICE SORGENTE - Matrix Theme Styles
   Philosophy Section with Matrix Rain, Glitch Effects, Layer System
═══════════════════════════════════════════════════════════════════════════════ */

/* Base Container */
.source-code-page {
    background: #020617;
    color: #e0e0e0;
    min-height: 100vh;
}

.source-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════════ */
.source-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.source-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.source-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.3) 0%,
        rgba(2, 6, 23, 0.6) 50%,
        rgba(2, 6, 23, 0.95) 100%
    );
}

.source-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 900px;
}

/* Terminal Effect */
.source-hero-terminal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #C084FC;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 4px;
}

.terminal-prompt {
    color: #C084FC;
    font-weight: bold;
}

.terminal-text {
    opacity: 0.8;
}

.terminal-cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: #C084FC;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 
        0 0 10px rgba(192, 132, 252, 0.8),
        0 0 20px rgba(192, 132, 252, 0.6),
        0 0 40px rgba(168, 85, 247, 0.4),
        0 0 80px rgba(168, 85, 247, 0.2);
    margin-bottom: 1.5rem;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 #9333EA;
    clip-path: inset(0);
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 #C084FC;
    clip-path: inset(0);
    animation: glitch-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 95% 0); }
    10% { clip-path: inset(40% 0 30% 0); }
    20% { clip-path: inset(90% 0 5% 0); }
    30% { clip-path: inset(10% 0 60% 0); }
    40% { clip-path: inset(60% 0 10% 0); }
    50% { clip-path: inset(30% 0 40% 0); }
    60% { clip-path: inset(70% 0 20% 0); }
    70% { clip-path: inset(20% 0 50% 0); }
    80% { clip-path: inset(80% 0 5% 0); }
    90% { clip-path: inset(5% 0 80% 0); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(95% 0 0 0); }
    15% { clip-path: inset(50% 0 20% 0); }
    25% { clip-path: inset(10% 0 70% 0); }
    35% { clip-path: inset(80% 0 10% 0); }
    45% { clip-path: inset(25% 0 45% 0); }
    55% { clip-path: inset(55% 0 25% 0); }
    65% { clip-path: inset(15% 0 65% 0); }
    75% { clip-path: inset(45% 0 35% 0); }
    85% { clip-path: inset(35% 0 55% 0); }
    95% { clip-path: inset(65% 0 15% 0); }
}

.source-hero-subtitle {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #C084FC;
    margin-bottom: 2rem;
}

.source-hero-description {
    font-size: 1.25rem;
    color: #CBD5E1;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.source-hero-description strong {
    color: #C084FC;
}

/* Stats Grid */
.source-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.source-stat {
    text-align: center;
}

.source-stat-value {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    font-weight: bold;
    color: #C084FC;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.6);
}

.source-stat-label {
    display: block;
    font-size: 0.875rem;
    color: #94A3B8;
    margin-top: 0.5rem;
}

/* Scroll Indicator */
.source-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #C084FC;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.source-scroll-indicator span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

/* ═══════════════════════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════════════════════ */
.source-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.source-section-badge {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #C084FC;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.source-section-title {
    font-family: 'Courier New', monospace;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #C084FC;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
    margin-bottom: 1rem;
}

.source-section-subtitle {
    font-size: 1.125rem;
    color: #94A3B8;
}

/* ═══════════════════════════════════════════════════════════════════
   CATEGORIES SECTION
═══════════════════════════════════════════════════════════════════ */
.source-categories-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #020617 0%, #0F172A 100%);
}

.source-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.source-category-card {
    background: rgba(168, 85, 247, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.source-category-card:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-4px);
    box-shadow: 
        0 10px 40px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.source-category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.source-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #C084FC;
    margin-bottom: 0.75rem;
}

.source-category-desc {
    font-size: 0.9375rem;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.source-category-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.source-category-count {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #C084FC;
    opacity: 0.7;
}

.source-category-arrow {
    font-size: 1.25rem;
    color: #C084FC;
    transition: transform 0.3s ease;
}

.source-category-card:hover .source-category-arrow {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════════
   LAYER SYSTEM SECTION
═══════════════════════════════════════════════════════════════════ */
.source-layer-section {
    padding: 6rem 0;
    background: #0F172A;
}

.source-layer-demo {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Breadcrumb */
.source-breadcrumb {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #C084FC;
    margin-bottom: 2rem;
}

.breadcrumb-dim {
    opacity: 0.5;
}

/* Article Header */
.source-article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.source-article-title {
    font-size: 2rem;
    font-weight: bold;
    color: #C084FC;
    margin-bottom: 1rem;
}

.source-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #94A3B8;
}

.meta-separator {
    opacity: 0.5;
}

.depth-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.depth-bars {
    display: flex;
    gap: 3px;
}

.depth-bar {
    width: 6px;
    height: 16px;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.depth-bar.active {
    background: #C084FC;
    box-shadow: 0 0 8px rgba(192, 132, 252, 0.6);
}

/* Layer Selector */
.source-layer-selector {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.layer-selector-title {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #C084FC;
    margin-bottom: 1rem;
}

.layer-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.layer-button {
    background: transparent;
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.layer-button:hover {
    background: rgba(168, 85, 247, 0.1);
}

.layer-button.active {
    background: rgba(168, 85, 247, 0.15);
    border-color: #C084FC;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.2);
}

.layer-name {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    font-weight: bold;
    color: #C084FC;
    margin-bottom: 0.5rem;
}

.layer-desc {
    display: block;
    font-size: 0.8125rem;
    color: #CBD5E1;
    line-height: 1.5;
}

/* Layer Content */
.source-layer-content {
    margin-bottom: 2rem;
}

.layer-content-panel {
    line-height: 1.8;
}

.layer-lead {
    font-size: 1.125rem;
    color: #E9D5FF;
    margin-bottom: 1.5rem;
}

.layer-content-panel p {
    color: #CBD5E1;
    margin-bottom: 1rem;
}

.layer-callout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(168, 85, 247, 0.1);
    border-left: 4px solid #C084FC;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.callout-icon {
    font-size: 1.25rem;
}

.layer-equation {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.equation-label {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #C084FC;
    margin-bottom: 0.75rem;
}

.equation-formula {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #E9D5FF;
    margin-bottom: 0.75rem;
}

.equation-desc {
    font-size: 0.8125rem;
    color: #94A3B8;
}

.layer-citation {
    background: rgba(15, 23, 42, 0.8);
    border-left: 4px solid #C084FC;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.citation-label {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #C084FC;
    margin-bottom: 0.5rem;
}

.citation-text {
    font-size: 0.9375rem;
    color: #E9D5FF;
}

.citation-link {
    color: #C084FC;
    text-decoration: none;
}

.citation-link:hover {
    text-decoration: underline;
}

/* Related Nodes */
.source-related-nodes {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
}

.related-title {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #C084FC;
    margin-bottom: 1rem;
}

.related-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.related-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 6px;
    color: #C084FC;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-link:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.5);
}

.related-arrow {
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════════
   TIMELINE SECTION
═══════════════════════════════════════════════════════════════════ */
.source-timeline-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #0F172A 0%, #020617 100%);
}

.philosophy-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(168, 85, 247, 0.5) 10%,
        rgba(168, 85, 247, 0.5) 90%,
        transparent 100%
    );
    transform: translateX(-50%);
}

.timeline-event {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.timeline-event--left {
    flex-direction: row;
}

.timeline-event--right {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: rgba(168, 85, 247, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    max-width: calc(50% - 40px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.4);
    transform: scale(1.02);
}

.timeline-event--left .timeline-content {
    text-align: right;
    margin-right: 20px;
}

.timeline-event--right .timeline-content {
    text-align: left;
    margin-left: 20px;
}

.timeline-node {
    width: 16px;
    height: 16px;
    background: #C084FC;
    border: 3px solid #020617;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 10;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.5);
}

.timeline-node--pulse {
    animation: pulse-purple 2s infinite;
}

@keyframes pulse-purple {
    0%, 100% { box-shadow: 0 0 15px rgba(192, 132, 252, 0.5); }
    50% { box-shadow: 0 0 30px rgba(192, 132, 252, 0.8), 0 0 50px rgba(168, 85, 247, 0.4); }
}

.timeline-date {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #C084FC;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #E9D5FF;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.875rem;
    color: #CBD5E1;
    line-height: 1.6;
}

.timeline-event--now .timeline-content {
    border-color: #C084FC;
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════
   QUANTUM VISUALIZER SECTION
═══════════════════════════════════════════════════════════════════ */
.source-quantum-section {
    padding: 6rem 0;
    background: #020617;
}

.quantum-viz-container {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.quantum-viz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.quantum-viz-title {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #C084FC;
}

.quantum-viz-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.status-label {
    color: #94A3B8;
}

.status-value {
    color: #C084FC;
    font-weight: bold;
}

.quantum-canvas {
    width: 100%;
    height: 200px;
    background: rgba(30, 27, 75, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.quantum-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quantum-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(168, 85, 247, 0.15);
    border: 2px solid #C084FC;
    border-radius: 6px;
    color: #C084FC;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantum-btn:hover:not(:disabled) {
    background: rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.3);
}

.quantum-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantum-btn--secondary {
    background: transparent;
    border-color: rgba(168, 85, 247, 0.5);
}

.btn-icon {
    font-size: 1rem;
}

.quantum-explanation {
    padding: 1rem;
    background: rgba(168, 85, 247, 0.05);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #CBD5E1;
    line-height: 1.6;
}

.quantum-explanation strong {
    color: #C084FC;
}

/* ═══════════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════════════ */
.source-cta-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #020617 0%, #0F172A 100%);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.source-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.source-cta-title {
    font-family: 'Courier New', monospace;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #C084FC;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
    margin-bottom: 1rem;
}

.source-cta-text {
    font-size: 1.125rem;
    color: #CBD5E1;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.source-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.source-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.source-cta-btn--primary {
    background: var(--luminous-gold);
    color: #000;
    border: 2px solid var(--luminous-gold);
}

.source-cta-btn--primary:hover {
    background: var(--amber-glow);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.source-cta-btn--secondary {
    background: transparent;
    color: #C084FC;
    border: 2px solid rgba(168, 85, 247, 0.5);
}

.source-cta-btn--secondary:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: #C084FC;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE STYLES
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .source-container {
        padding: 0 1rem;
    }
    
    .source-hero-content {
        padding: 2rem 1rem;
    }
    
    .source-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .source-stat-value {
        font-size: 2rem;
    }
    
    .source-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .layer-buttons {
        grid-template-columns: 1fr;
    }
    
    .source-layer-demo {
        padding: 1rem;
    }
    
    .source-article-title {
        font-size: 1.5rem;
    }
    
    .source-article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .meta-separator {
        display: none;
    }
    
    /* Timeline mobile */
    .timeline-line {
        left: 20px;
    }
    
    .timeline-event,
    .timeline-event--left,
    .timeline-event--right {
        flex-direction: row;
    }
    
    .timeline-content,
    .timeline-event--left .timeline-content,
    .timeline-event--right .timeline-content {
        max-width: calc(100% - 60px);
        text-align: left;
        margin-left: 20px;
        margin-right: 0;
    }
    
    .timeline-node {
        position: absolute;
        left: 12px;
    }
    
    .timeline-event {
        position: relative;
        padding-left: 0;
    }
    
    .quantum-controls {
        flex-direction: column;
    }
    
    .quantum-btn {
        justify-content: center;
    }
    
    .source-cta-buttons {
        flex-direction: column;
    }
    
    .source-cta-btn {
        width: 100%;
        justify-content: center;
    }
}