/* ===================================
   TIKTOK HACKS PAGE STYLES
   =================================== */

.hacks-section {
    padding: var(--spacing-xl) 0 var(--spacing-2xl);
    background: var(--bg-primary);
    min-height: 60vh;
}

.hacks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

/* ===================================
   HACK CARD
   =================================== */

.hack-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hack-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.15);
}

.hack-card:hover::before {
    opacity: 1;
}

/* ===================================
   HACK HEADER
   =================================== */

.hack-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.hack-icon {
    font-size: 2rem;
    line-height: 1;
}

.hack-id {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-tertiary);
    background: var(--bg-tertiary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===================================
   HACK CONTENT
   =================================== */

.hack-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.hack-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

/* ===================================
   HACK STATISTICS
   =================================== */

.hack-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

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

.stat-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 700;
    font-family: var(--font-mono);
}

.stat-value.positive {
    color: var(--green);
}

.stat-value.negative {
    color: var(--red);
}

/* Warning Cards */
.warning-card {
    border-color: var(--red);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.warning-card::before {
    background: linear-gradient(90deg, var(--red), #ff6b6b);
}

.warning-card:hover {
    border-color: var(--red);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.25);
}

/* ===================================
   HACK CATEGORY
   =================================== */

.hack-category {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .hacks-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hack-card {
        padding: var(--spacing-md);
    }

    .hack-title {
        font-size: 1.1rem;
    }

    .hack-description {
        font-size: 0.9rem;
    }

    .hack-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }

    .stat-item {
        padding: 0.5rem;
        background: var(--bg-card);
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .hack-icon {
        font-size: 1.5rem;
    }

    .hack-title {
        font-size: 1rem;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

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

.hack-card {
    animation: fadeInUp 0.5s ease forwards;
}

.hack-card:nth-child(1) { animation-delay: 0.05s; }
.hack-card:nth-child(2) { animation-delay: 0.1s; }
.hack-card:nth-child(3) { animation-delay: 0.15s; }
.hack-card:nth-child(4) { animation-delay: 0.2s; }
.hack-card:nth-child(5) { animation-delay: 0.25s; }
.hack-card:nth-child(6) { animation-delay: 0.3s; }
.hack-card:nth-child(7) { animation-delay: 0.35s; }
.hack-card:nth-child(8) { animation-delay: 0.4s; }
.hack-card:nth-child(9) { animation-delay: 0.45s; }
.hack-card:nth-child(10) { animation-delay: 0.5s; }
.hack-card:nth-child(11) { animation-delay: 0.55s; }
.hack-card:nth-child(12) { animation-delay: 0.6s; }
