/* Custom Styles for Discord Guild Wrapped Features Page */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse-icon:hover i {
    animation: pulse-icon 1s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Section */
.feature-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    color: #22d3ee;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(34, 211, 238, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Feature Card */
.feature-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(30, 41, 59, 0.3) 100%);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22d3ee, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(34, 211, 238, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(34, 211, 238, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Feature Icon */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #9ca3af;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    transition: all 0.3s ease;
}

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

.feature-list li:hover {
    color: #e5e7eb;
    padding-left: 0.5rem;
}

.feature-list li i {
    color: #22d3ee;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #22d3ee, #3b82f6, #8b5cf6);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 1rem 0 1rem 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 1.25rem;
    width: 12px;
    height: 12px;
    background: #22d3ee;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.timeline-item h4 {
    color: #e5e7eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-cyan {
    background: rgba(34, 211, 238, 0.2);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.badge-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-purple {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-amber {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* TOC */
.toc-link {
    display: block;
    padding: 8px 12px;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.toc-link:hover {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
    border-left-color: #22d3ee;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .feature-title {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .toc {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .feature-card {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .feature-title {
        color: black;
    }
}
