﻿/* =========================
   DARK GOLDEN LUXURY STYLE
   Refined Deep Gold Color Palette
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Manrope:wght@300;400;600&display=swap');

:root {
    /* Background Colors */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --card-bg: #0f0f0f;
    --card-bg-hover: #151515;
    
    /* REFINED DEEP GOLD PALETTE - More muted, elegant tones */
    --gold-primary: #a8893a;          /* Main gold - deeper, less saturated */
    --gold-light: #c9a84e;            /* Lighter gold for highlights */
    --gold-dark: #7a6428;             /* Dark gold for borders/accents */
    --gold-dim: #5c4b1f;              /* Very dim gold for subtle elements */
    --gold-muted: #8b7331;            /* Muted gold for secondary elements */
    
    /* Gold Gradients - Richer, deeper tones */
    --gold-gradient: linear-gradient(135deg, #a8893a 0%, #d4b85a 50%, #7a6428 100%);
    --gold-gradient-subtle: linear-gradient(135deg, #8b7331 0%, #a8893a 50%, #5c4b1f 100%);
    --gold-gradient-premium: linear-gradient(135deg, #7a6428 0%, #a8893a 30%, #c9a84e 50%, #a8893a 70%, #7a6428 100%);
    
    /* Text Colors */
    --text-main: #d8d8d8;
    --text-muted: #707070;
    --text-gold: #a8893a;
    
    /* Glow Effects - More subtle */
    --gold-glow: rgba(168, 137, 58, 0.25);
    --gold-glow-strong: rgba(168, 137, 58, 0.4);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
}

/* LOADER */
.loader {
    border: 3px solid rgba(168, 137, 58, 0.15);
    border-top: 3px solid var(--gold-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body > div[style*="height: 100vh"] p {
    color: #aaa !important;
}

/* LAYOUT */
.main-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px 80px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.ny-banner {
    color: var(--gold-primary);
    font-family: 'Playfair Display', serif;
    margin-top: 20px;
    text-align: center;
}

/* PAGE TITLE */
.page-title {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin: 20px auto;
    font-size: 1.6rem;
    max-width: 100%;
    word-break: break-word;
    padding: 0 16px;
}

/* ============================
   STICKY HEADER & FILTERS
   ============================ */
.sticky-header-container {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: padding 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    width: 100%;
    left: 0;
    right: 0;
    gap: 10px;
}

.sticky-header-container.shrink {
    padding: 8px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Search Container */
.search-container {
    width: 100%;
    max-width: 600px;
    padding: 0;
    margin-bottom: 0;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--gold-muted);
    pointer-events: none;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 12px 44px 12px 44px;
    background: rgba(168, 137, 58, 0.05);
    border: 1px solid var(--gold-dim);
    border-radius: 25px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.2s ease;
    outline: none;
}

.search-input:focus {
    border-color: var(--gold-primary);
    background: rgba(168, 137, 58, 0.08);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.search-clear-btn:hover {
    background: rgba(168, 137, 58, 0.2);
    color: var(--gold-primary);
}

.search-clear-btn svg {
    width: 14px;
    height: 14px;
}

/* Filters Container */
.filters-container {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    padding: 0;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.filter-group {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    max-width: calc(50% - 4px);
}

.filter-btn {
    padding: 8px 14px;
    background: rgba(168, 137, 58, 0.06);
    color: var(--text-main);
    border: 1px solid var(--gold-dim);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    font-family: 'Manrope', sans-serif;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-btn span {
    display: inline-block;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.sticky-header-container.shrink .filter-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.sticky-header-container.shrink .filter-btn span {
    max-width: 100px;
}

.filter-btn:hover,
.filter-btn:active {
    background: rgba(168, 137, 58, 0.12);
    border-color: var(--gold-primary);
}

.filter-btn:focus {
    outline: none;
    border-color: var(--gold-primary);
}

/* DROPDOWN */
.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #0f0f0f;
    min-width: 180px;
    max-width: calc(100vw - 20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    border: 1px solid var(--gold-dim);
    padding: 8px 0;
    z-index: 9999;
    max-height: 50vh;
    overflow-y: auto;
}

.dropdown-content.show {
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    color: #aaa;
    text-align: left;
    transition: background 0.15s ease;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.dropdown-item:hover,
.dropdown-item:active {
    background: rgba(168, 137, 58, 0.1);
    color: var(--gold-primary);
}

.dropdown-item label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.dropdown-item label span {
    word-break: break-word;
    overflow-wrap: break-word;
}

.dropdown-item input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--gold-primary);
    flex-shrink: 0;
}

/* Mobile dropdown positioning */
@media (max-width: 768px) {
    .filter-group {
        max-width: calc(50% - 4px);
    }
    
    .filter-group:first-child .dropdown-content {
        left: 0;
        transform: none;
        right: auto;
    }
    
    .filter-group:last-child .dropdown-content {
        left: auto;
        right: 0;
        transform: none;
    }
    
    .filter-group:not(:first-child):not(:last-child) .dropdown-content {
        left: 50%;
        transform: translateX(-50%);
        max-width: calc(100vw - 40px);
    }
    
    .sticky-header-container {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .search-input {
        padding: 10px 40px 10px 40px;
        font-size: 0.9rem;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .filter-btn span {
        max-width: 80px;
    }
    
    .dropdown-content {
        min-width: 200px;
        max-width: calc(100vw - 20px);
    }
}

@media (max-width: 400px) {
    .filter-group {
        max-width: 100%;
        flex-basis: calc(50% - 4px);
    }
    
    .filter-btn span {
        max-width: 60px;
    }
    
    .filters-container {
        gap: 6px;
    }
}

/* SELECTED SECTIONS */
.selected-sections-container {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 12px;
}

.selected-section-chip {
    display: inline-block;
    background: rgba(168, 137, 58, 0.1);
    color: var(--gold-primary);
    padding: 6px 10px;
    border-radius: 16px;
    border: 1px solid var(--gold-dim);
    font-size: 0.85rem;
}

/* PRACTICE CARDS */
.practices-list {
    width: 100%;
    margin: 0 auto;
    max-width: 600px;
    padding: 0 10px;
}

.practice-card {
    border: 1px solid rgba(168, 137, 58, 0.1);
    border-radius: 24px;
    margin-bottom: 30px;
    background: var(--card-bg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.card-header {
    cursor: pointer;
    padding: 20px 24px;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    border-bottom: 1px solid rgba(168, 137, 58, 0.08);
    transition: background 0.2s ease;
    gap: 12px;
    min-width: 0;
}

.card-header:hover {
    background: rgba(168, 137, 58, 0.03);
}

.card-header-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.card-header h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-meta-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.meta-type {
    font-size: 0.75em;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(168, 137, 58, 0.12);
    color: var(--gold-primary);
    font-weight: 600;
    border: 1px solid var(--gold-dim);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* SVG type icons */
.type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.type-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--gold-primary);
}

.type-name {
    line-height: 1;
}

/* ============================
   ADMIN CARD ACTIONS
   ============================ */
.admin-card-actions {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(168, 137, 58, 0.08) 0%, rgba(15, 15, 15, 0.95) 100%);
    border-bottom: 1px solid var(--gold-dim);
    border-radius: 24px 24px 0 0;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.admin-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}

.admin-btn-edit {
    background: var(--gold-gradient);
    color: #000;
}

.admin-btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--gold-glow-strong);
}

.admin-btn-delete {
    background: rgba(180, 60, 60, 0.15);
    color: #c75050;
    border: 1px solid rgba(180, 60, 60, 0.3);
}

.admin-btn-delete:hover {
    background: rgba(180, 60, 60, 0.25);
    border-color: #c75050;
    transform: translateY(-2px);
}

.practice-card:has(.admin-card-actions) .card-header {
    border-radius: 0;
}

/* CONTENT */
.card-content {
    display: none;
    padding: 0 24px 30px 24px;
    background: var(--card-bg);
    animation: fadeIn 0.4s ease;
}

.card-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* PRACTICE FULL TITLE */
.practice-full-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold-dim);
}

.practice-full-title h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.6em;
    font-weight: 400;
    color: var(--gold-primary);
    line-height: 1.4;
    word-break: break-word;
}

/* TABS */
.tab-pane {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-pane.active {
    display: block;
}

/* MEDIA CONTAINER */
.media-container {
    margin: 20px 0;
}

/* ============================
   VIDEO PLAYER
   ============================ */
.video-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.video-play-overlay.hidden {
    display: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 0 4px var(--gold-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-play-overlay:hover .video-play-btn {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 6px var(--gold-glow-strong);
}

.video-play-btn svg {
    width: 36px;
    height: 36px;
    fill: #000;
    margin-left: 6px;
}

video.real-media-element {
    width: 100% !important;
    height: auto !important;
    max-height: 70vh;
    display: block !important;
    background: #000 !important;
    border-radius: 16px !important;
    object-fit: contain !important;
}

video::-webkit-media-controls-download-button,
audio::-webkit-media-controls-download-button {
    display: none !important;
}

/* ============================
   AUDIO PLAYER
   ============================ */
.audio-wrapper {
    background: linear-gradient(135deg, rgba(25, 22, 15, 0.9), rgba(15, 13, 8, 0.9));
    border: 1px solid var(--gold-dim);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.audio-container {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.audio-play-btn {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 0 3px var(--gold-glow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
    flex-shrink: 0;
}

.audio-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 0 4px var(--gold-glow-strong);
}

.audio-play-btn:active {
    transform: scale(0.95);
}

.audio-play-btn svg {
    width: 26px;
    height: 26px;
    fill: #000;
}

.audio-play-btn .play-icon {
    margin-left: 4px;
}

.audio-play-btn .pause-icon {
    display: none;
}

.audio-play-btn.playing .play-icon {
    display: none;
}

.audio-play-btn.playing .pause-icon {
    display: block;
}

audio.real-media-element,
audio.audio-element {
    width: 100% !important;
    height: 44px !important;
    display: block !important;
    flex: 1;
}

/* IMAGES */
img.real-media-element {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    margin-bottom: 10px !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

img.real-media-element:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* LIGHTBOX */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* TEXT */
.practice-text {
    margin-top: 20px;
    font-size: 1.05em;
    color: #a0a0a0;
    line-height: 1.8;
    font-weight: 300;
}

/* ============================
   TEXT FORMATTING
   ============================ */

.practice-text .gold-text {
    color: var(--gold-primary);
    text-shadow: 0 0 8px var(--gold-glow);
    font-weight: 500;
}

.practice-text .practice-heading {
    font-family: 'Playfair Display', serif;
    color: var(--gold-primary);
    margin: 20px 0 12px 0;
    line-height: 1.3;
}

.practice-text .practice-heading.h1 {
    font-size: 1.5em;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gold-dim);
}

.practice-text .practice-heading.h2 {
    font-size: 1.25em;
    font-weight: 500;
    color: var(--gold-light);
}

.practice-text .practice-title {
    color: var(--gold-primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.4em;
    font-weight: 600;
    margin: 15px 0;
    text-shadow: 0 0 8px var(--gold-glow);
}

.practice-text.formatted p {
    margin: 0 0 12px 0;
}

.practice-text.formatted ul,
.practice-text.formatted ol {
    margin: 15px 0;
    padding-left: 20px;
}

.practice-text.formatted li {
    margin-bottom: 8px;
    color: #a0a0a0;
}

.practice-text.formatted a {
    color: var(--gold-primary);
    text-decoration: underline;
}

.practice-text.formatted a:hover {
    color: var(--gold-light);
}

.practice-text .gold-divider,
hr.gold-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-dark) 20%, var(--gold-dark) 80%, transparent 100%);
    margin: 25px 0;
    opacity: 0.5;
}

.practice-text .practice-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.practice-text .practice-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #a0a0a0;
}

.practice-text .practice-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold-muted);
    font-size: 0.8em;
}

.practice-text .practice-quote {
    margin: 20px 0;
    padding: 15px 20px;
    background: rgba(168, 137, 58, 0.04);
    border-left: 3px solid var(--gold-dark);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #a0a0a0;
}

.practice-text .practice-link {
    color: var(--gold-primary);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.practice-text .practice-link:hover {
    color: var(--gold-light);
    text-shadow: 0 0 6px var(--gold-glow);
}

.practice-text .media-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(168, 137, 58, 0.08);
    border: 1px solid var(--gold-dim);
    border-radius: 8px;
    color: var(--gold-muted);
    font-size: 0.9em;
    margin: 5px 0;
}

.practice-text strong {
    font-weight: 600;
    color: #c0c0c0;
}

.practice-text em {
    font-style: italic;
    color: #a0a0a0;
}

/* ============================
   DATE BADGE
   ============================ */
.meta-date-badge {
    font-size: 0.8em;
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

/* ============================
   TYPE ICON
   ============================ */
.type-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
}

/* ============================
   INLINE MEDIA
   ============================ */
.inline-media {
    margin: 15px 0;
    border-radius: 12px;
    overflow: hidden;
}

.inline-media-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.inline-media-img:hover {
    transform: scale(1.02);
}

.inline-media-video {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    background: #000;
}

.inline-media-audio {
    width: 100%;
}

.inline-media .media-caption {
    margin-top: 8px;
    font-size: 0.9em;
    color: var(--text-muted);
    text-align: center;
}

/* ============================
   ADDITIONAL MATERIALS
   ============================ */
.additional-materials-block {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gold-dim);
}

.am-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    color: var(--gold-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.am-title::before {
    content: '📚';
    font-size: 1.2em;
}

.am-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.am-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(168, 137, 58, 0.06) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 1px solid var(--gold-dim);
    border-radius: 12px;
    color: #c0c0c0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95em;
}

.am-btn:hover {
    background: linear-gradient(135deg, rgba(168, 137, 58, 0.12) 0%, rgba(30, 30, 30, 0.95) 100%);
    border-color: var(--gold-primary);
    transform: translateX(4px);
    box-shadow: 0 4px 15px var(--gold-glow);
}

.am-btn:active {
    transform: translateX(2px);
}

.am-btn span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0a0a0;
}

.am-btn span:last-child {
    color: var(--gold-primary);
    font-size: 1.2em;
    transition: transform 0.2s ease;
}

.am-btn:hover span:last-child {
    transform: translateX(4px);
}

/* ============================
   LINKED TAB HEADER
   ============================ */
.linked-tab-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--gold-dim);
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(168, 137, 58, 0.08);
    border: 1px solid var(--gold-dim);
    color: var(--gold-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.back-btn:hover {
    background: rgba(168, 137, 58, 0.15);
    border-color: var(--gold-primary);
    transform: translateX(-2px);
}

.back-btn-icon {
    font-size: 1.3em;
    line-height: 1;
}

.lt-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    color: var(--gold-primary);
    flex: 1;
}

/* ============================
   CLOSE CARD BUTTON
   ============================ */
.close-card-area {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.close-card-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.close-card-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-dim);
    color: #a0a0a0;
}

/* ============================
   TYPE ICONS - SVG styles
   ============================ */
.type-icon svg {
    fill: var(--gold-primary);
}

.icon-type-2 svg {
    fill: #909090;
}

.icon-type-4 svg,
.icon-type-5 svg,
.icon-type-6 svg,
.icon-type-7 svg {
    fill: var(--gold-primary);
}

/* ============================
   COMMENTS SECTION
   ============================ */
.comments-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gold-dim);
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.comments-header h4 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    color: var(--gold-primary);
    font-weight: 400;
}

.comments-list {
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.comments-placeholder {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9em;
    padding: 20px 0;
}

.comment-item {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.comment-item.admin-reply {
    background: rgba(168, 137, 58, 0.04);
    border-color: var(--gold-dim);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.comment-author {
    font-weight: 600;
    color: var(--gold-primary);
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-author .admin-badge {
    background: var(--gold-gradient);
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 700;
}

.comment-delete-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2em;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, color 0.2s;
    padding: 0 4px;
}

.comment-item:hover .comment-delete-btn {
    opacity: 1;
}

.comment-delete-btn:hover {
    color: #c75050;
}

.comment-text {
    color: #a0a0a0;
    font-size: 0.95em;
    line-height: 1.5;
    word-break: break-word;
}

.comment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.comment-date {
    font-size: 0.8em;
    color: var(--text-muted);
}

.comment-reply-btn {
    background: none;
    border: none;
    color: var(--gold-muted);
    font-size: 0.8em;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.comment-reply-btn:hover {
    opacity: 1;
    text-decoration: underline;
}

.comment-replies {
    margin-top: 12px;
    margin-left: 20px;
    padding-left: 12px;
    border-left: 2px solid var(--gold-dim);
}

.comment-replies .comment-item {
    margin-bottom: 8px;
    padding: 10px 12px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(168, 137, 58, 0.04);
    border: 1px solid var(--gold-dim);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.95em;
    font-family: 'Manrope', sans-serif;
    resize: vertical;
    min-height: 60px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.comment-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(168, 137, 58, 0.06);
}

.comment-input::placeholder {
    color: var(--text-muted);
}

.comment-submit-btn {
    align-self: flex-end;
    padding: 12px 24px;
    background: var(--gold-gradient);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--gold-glow-strong);
}

.comment-submit-btn:active {
    transform: translateY(0);
}

.comment-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================
   SIDE-BY-SIDE CONTENT BLOCKS
   ============================ */
.content-block {
    margin: 20px 0;
}

.content-block.layout-full {
    display: block;
}

.content-block.layout-image-left,
.content-block.layout-image-right {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: start;
}

.content-block.layout-image-right {
    grid-template-columns: 2fr 1fr;
}

.content-block .block-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.content-block .block-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.content-block .block-image img:hover {
    transform: scale(1.02);
}

.content-block .block-text {
    color: #a0a0a0;
    line-height: 1.8;
    font-size: 1.05em;
}

.content-block.layout-image-right .block-image {
    order: 2;
}

.content-block.layout-image-right .block-text {
    order: 1;
}

.content-block .block-video,
.content-block .block-audio {
    width: 100%;
}

.content-block .block-video video {
    width: 100%;
    border-radius: 12px;
}

.content-block .block-audio audio {
    width: 100%;
}

@media (max-width: 768px) {
    .content-block.layout-image-left,
    .content-block.layout-image-right {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .content-block.layout-image-right .block-image,
    .content-block.layout-image-right .block-text {
        order: unset;
    }

    .content-block .block-image,
    .content-block .block-text,
    .content-block .block-video,
    .content-block .block-audio {
        width: 100%;
    }
}

/* INLINE MEDIA ALIGNMENT */
.inline-media.align-left {
    float: left;
    margin: 0 20px 15px 0;
    max-width: 40%;
}

.inline-media.align-right {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 40%;
}

.inline-media.align-full {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 15px 0;
}

.practice-text::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 768px) {
    .inline-media.align-left,
    .inline-media.align-right {
        float: none;
        max-width: 100%;
        margin: 15px 0;
    }
}

/* ============================
   WATERMARKS
   ============================ */
.watermarks-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

body.page-practices .watermarks-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 0;
    opacity: 0.04;
}

.watermark {
    font-size: 11px;
    color: var(--gold-muted);
    white-space: nowrap;
    transform: rotate(-25deg);
    user-select: none;
    font-family: 'Manrope', sans-serif;
    text-shadow: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.watermark:nth-child(1),
.watermark:nth-child(2),
.watermark:nth-child(3),
.watermark:nth-child(4),
.watermark:nth-child(5),
.watermark:nth-child(6),
.watermark:nth-child(7),
.watermark:nth-child(8),
.watermark:nth-child(9),
.watermark:nth-child(10) {
    position: static;
    top: auto;
    left: auto;
}

.watermark:nth-child(n+13) {
    display: none;
}

/* ============================
   METADATA BADGES
   ============================ */
.card-metadata-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.meta-category {
    background: rgba(168, 137, 58, 0.08);
    border: 1px solid var(--gold-dark);
    color: var(--gold-primary);
}

.meta-category:hover {
    background: rgba(168, 137, 58, 0.15);
}

.meta-category-more {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-size: 0.7em;
}

.meta-phase {
    background: linear-gradient(135deg, rgba(76, 140, 80, 0.12), rgba(76, 140, 80, 0.04));
    border: 1px solid rgba(76, 140, 80, 0.4);
    color: #6aad6e;
}

.meta-schedule {
    background: linear-gradient(135deg, rgba(70, 130, 180, 0.12), rgba(70, 130, 180, 0.04));
    border: 1px solid rgba(70, 130, 180, 0.4);
    color: #5a9bd4;
}

.meta-streak {
    background: linear-gradient(135deg, rgba(200, 130, 50, 0.12), rgba(200, 130, 50, 0.04));
    border: 1px solid rgba(200, 130, 50, 0.4);
    color: #c98c3e;
    font-weight: 700;
}

@media (max-width: 480px) {
    .card-metadata-badges {
        gap: 4px;
    }
    
    .meta-badge {
        padding: 3px 8px;
        font-size: 0.7em;
    }
}

/* ============================
   ACTIVITY REPORT SECTION
   ============================ */
.report-section-container {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}

.report-accordion {
    background: var(--card-bg);
    border: 1px solid var(--gold-dim);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.report-accordion:hover {
    border-color: var(--gold-dark);
}

.report-accordion.open {
    border-color: var(--gold-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.report-accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    user-select: none;
}

.report-accordion-header:hover {
    background: rgba(168, 137, 58, 0.04);
}

.report-accordion-icon {
    font-size: 1.3em;
}

.report-accordion-title {
    flex: 1;
    font-weight: 600;
    color: var(--gold-primary);
    font-size: 1rem;
}

.report-accordion-status {
    margin-right: 10px;
}

.report-accordion-arrow {
    color: var(--gold-muted);
    transition: transform 0.3s ease;
    font-size: 0.8em;
}

.report-accordion.open .report-accordion-arrow {
    transform: rotate(180deg);
}

.report-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}

.report-accordion.open .report-accordion-content {
    max-height: 1000px;
    padding: 0 20px 20px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(180, 150, 50, 0.12);
    color: #b89638;
    border: 1px solid rgba(180, 150, 50, 0.25);
}

.status-badge.approved {
    background: rgba(76, 140, 80, 0.12);
    color: #6aad6e;
    border: 1px solid rgba(76, 140, 80, 0.25);
}

.status-badge.rejected {
    background: rgba(180, 70, 70, 0.12);
    color: #c75858;
    border: 1px solid rgba(180, 70, 70, 0.25);
}

.report-form-intro {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(168, 137, 58, 0.04);
    border-radius: 12px;
    border-left: 3px solid var(--gold-dark);
}

.report-form-intro p {
    margin: 0 0 8px 0;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.5;
}

.report-form-intro p:last-child {
    margin-bottom: 0;
}

.report-hint {
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
}

.report-textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    background: rgba(168, 137, 58, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
}

.report-textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(168, 137, 58, 0.05);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.report-textarea::placeholder {
    color: var(--text-muted);
}

.report-textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.report-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    gap: 15px;
}

.char-counter {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.char-counter .char-current {
    font-weight: 600;
}

.char-counter.valid {
    color: #6aad6e;
}

.char-counter.invalid {
    color: #c98c3e;
}

.report-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.report-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow-strong);
}

.report-submit-btn:disabled {
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.report-submit-btn .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.report-status-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 15px;
}

.report-status-card.pending {
    background: linear-gradient(135deg, rgba(180, 150, 50, 0.08), rgba(180, 150, 50, 0.03));
    border: 1px solid rgba(180, 150, 50, 0.2);
}

.report-status-card.approved {
    background: linear-gradient(135deg, rgba(76, 140, 80, 0.08), rgba(76, 140, 80, 0.03));
    border: 1px solid rgba(76, 140, 80, 0.2);
}

.status-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.status-content {
    flex: 1;
}

.status-content h4 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.1rem;
}

.status-content p {
    margin: 0 0 8px 0;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.5;
}

.status-hint {
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
    font-style: italic;
}

.bonus-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: var(--gold-gradient);
    border-radius: 10px;
    color: #000;
    font-weight: 700;
    font-size: 0.9em;
}

.admin-reply {
    margin-top: 15px;
    padding: 12px;
    background: rgba(168, 137, 58, 0.06);
    border-radius: 10px;
    border-left: 3px solid var(--gold-dark);
}

.admin-reply strong {
    display: block;
    color: var(--gold-primary);
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.admin-reply p {
    margin: 0;
    font-style: italic;
}

.reviewed-date {
    margin-top: 10px !important;
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
}

.rejection-notice {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: rgba(180, 70, 70, 0.08);
    border: 1px solid rgba(180, 70, 70, 0.2);
    border-radius: 12px;
    margin-bottom: 15px;
}

.rejection-icon {
    font-size: 1.5rem;
}

.rejection-content strong {
    display: block;
    color: #c75858;
    margin-bottom: 6px;
}

.rejection-content p {
    margin: 0;
    color: var(--text-main);
    font-size: 0.9rem;
}

.report-preview {
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.report-preview h5 {
    margin: 0 0 10px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.preview-text {
    margin: 0;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
}

.report-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px;
    color: var(--text-muted);
}

.report-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
}

.btn-retry {
    padding: 8px 16px;
    background: rgba(168, 137, 58, 0.08);
    border: 1px solid var(--gold-dim);
    border-radius: 8px;
    color: var(--gold-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-retry:hover {
    background: rgba(168, 137, 58, 0.15);
}

.loader-small {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold-dim);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-tiny {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@media (max-width: 480px) {
    .report-accordion-header {
        padding: 14px 16px;
    }
    
    .report-accordion-title {
        font-size: 0.9rem;
    }
    
    .report-form-footer {
        flex-direction: column;
        gap: 12px;
    }
    
    .report-submit-btn {
        width: 100%;
    }
    
    .char-counter {
        align-self: flex-end;
    }
    
    .report-status-card {
        flex-direction: column;
        text-align: center;
    }
    
    .status-icon {
        margin: 0 auto;
    }
}

/* ============================
   MOON TRACKER COMPONENT
   ============================ */
.card-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.card-moon-tracker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.moon-btn-header {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gold-dim);
    background: rgba(15, 15, 15, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.moon-btn-header:hover:not(:disabled) {
    border-color: var(--gold-primary);
    background: rgba(168, 137, 58, 0.08);
    transform: scale(1.1);
}

.moon-btn-header:active:not(:disabled) {
    transform: scale(0.95);
}

.moon-btn-header:disabled {
    cursor: default;
}

.moon-btn-header.moon-completed {
    border-color: var(--gold-primary);
    background: rgba(168, 137, 58, 0.1);
    box-shadow: 0 0 12px var(--gold-glow);
}

.moon-btn-header.loading {
    pointer-events: none;
}

.moon-btn-header.loading::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.moon-icon-header {
    font-size: 1.5em;
    line-height: 1;
    transition: all 0.3s ease;
}

.moon-btn-header.loading .moon-icon_header {
    opacity: 0.3;
}

@keyframes moonFill {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.moon-fill-animation {
    animation: moonFill 0.5s ease;
}

.moon-progress-mini {
    display: flex;
    gap: 3px;
}

.moon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.moon-dot.dot-empty {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.moon-dot.dot-filled {
    background: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 4px var(--gold-glow);
}

.category-badge {
    background: var(--gold-dark) !important;
    color: #000 !important;
    border: none !important;
}

.phase-badge {
    background: rgba(76, 140, 80, 0.12);
    border: 1px solid rgba(76, 140, 80, 0.3);
    color: #6aad6e;
}

.day-badge {
    background: rgba(70, 130, 180, 0.12);
    border: 1px solid rgba(70, 130, 180, 0.3);
    color: #5a9bd4;
}

.schedule-badge {
    background: rgba(130, 80, 150, 0.12);
    border: 1px solid rgba(130, 80, 150, 0.3);
    color: #a06eb8;
}

.difficulty-badge {
    background: rgba(200, 130, 50, 0.12);
    border: 1px solid rgba(200, 130, 50, 0.3);
    color: #c98c3e;
}

.duration-badge {
    background: rgba(100, 120, 140, 0.12);
    border: 1px solid rgba(100, 120, 140, 0.3);
    color: #8a9aaa;
}

@media (max-width: 480px) {
    .card-moon-tracker {
        gap: 4px;
    }
    
    .moon-btn-header {
        width: 38px;
        height: 38px;
    }
    
    .moon-icon-header {
        font-size: 1.3em;
    }
    
    .moon-dot {
        width: 5px;
        height: 5px;
    }
}
/* === Блок Дополнительных материалов (Ссылки на практики) === */
.additional-materials-block {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.am-title {
    color: var(--gold-primary, #d4af37);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.15em;
    font-family: 'Playfair Display', serif;
}

.am-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.am-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(30, 30, 30, 0.8));
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 14px 18px;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .am-btn:hover {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(30, 30, 30, 0.9));
        border-color: rgba(212, 175, 55, 0.6);
        transform: translateX(4px);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
    }

    .am-btn span:last-child {
        color: var(--gold-primary, #d4af37);
        font-size: 1.2em;
        transition: transform 0.2s;
    }

    .am-btn:hover span:last-child {
        transform: translateX(3px);
    }
