:root {
    --silk-burgundy: #8B2635;
    --gold-thread: #D4AF37;
    --cream-white: #FFF8F0;
    --deep-teal: #1A535C;
    --soft-rose: #FFE5E5;
    --charcoal: #2C2C2C;
    --border-gold: #C9A961;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFE5E5 50%, #FFF8F0 100%);
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.03) 35px, rgba(212, 175, 55, 0.03) 70px);
    pointer-events: none;
    z-index: 1;
}

.dashboard-container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--silk-burgundy);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(139, 38, 53, 0.1);
    letter-spacing: 1px;
}

.header p {
    font-size: 1.1rem;
    color: var(--deep-teal);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(139, 38, 53, 0.08);
    border: 2px solid var(--border-gold);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(139, 38, 53, 0.15);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--deep-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--silk-burgundy);
    font-weight: 700;
    line-height: 1;
}

.main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-card,
.collection-card,
.video-list-card,
.strategy-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(139, 38, 53, 0.1);
    border: 2px solid var(--border-gold);
    animation: fadeInUp 0.8s ease-out backwards;
    animation-delay: 0.5s;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--soft-rose);
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--silk-burgundy);
    font-weight: 600;
}

.chart-container {
    position: relative;
    height: 350px;
}

.collection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--cream-white);
    border-radius: 12px;
    border-left: 4px solid var(--gold-thread);
    transition: all 0.3s ease;
}

.collection-item:hover {
    background: var(--soft-rose);
    transform: translateX(5px);
    border-left-color: var(--silk-burgundy);
}

.collection-name {
    font-weight: 500;
    color: var(--charcoal);
    font-size: 1rem;
}

.collection-tag {
    background: var(--deep-teal);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.video-list-card {
    grid-column: 1 / -1;
    animation-delay: 0.6s;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.video-item {
    background: var(--cream-white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.video-item:hover {
    border-color: var(--gold-thread);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.video-title {
    font-weight: 600;
    color: var(--silk-burgundy);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--deep-teal);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.hashtag {
    background: var(--soft-rose);
    color: var(--silk-burgundy);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold-thread);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.strategy-card {
    animation-delay: 0.6s;
}

.strategy-card:nth-child(2) { animation-delay: 0.7s; }
.strategy-card:nth-child(3) { animation-delay: 0.8s; }
.strategy-card:nth-child(4) { animation-delay: 0.9s; }

.strategy-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--silk-burgundy), var(--deep-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.strategy-list {
    list-style: none;
}

.strategy-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    border-bottom: 1px solid var(--soft-rose);
    position: relative;
    color: var(--charcoal);
    line-height: 1.6;
    font-size: 0.95rem;
}

.strategy-list li:last-child {
    border-bottom: none;
}

.strategy-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold-thread);
    font-weight: bold;
}

.highlight-box {
    background: linear-gradient(135deg, var(--soft-rose), var(--cream-white));
    border-left: 4px solid var(--silk-burgundy);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--soft-rose);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-marker {
    min-width: 40px;
    height: 40px;
    background: var(--gold-thread);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-weight: 600;
    color: var(--silk-burgundy);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.timeline-description {
    color: var(--charcoal);
    font-size: 0.9rem;
    line-height: 1.5;
}

.warning-badge {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

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

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

    .strategy-grid {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}
