/* ==========================================================================
   JCOMM — SUBTLE PREMIUM ENHANCEMENTS
   Clean editorial style with refined micro-interactions
   ========================================================================== */

/* Smooth entrance animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Enhanced card interactions */
.casino-rank-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.casino-rank-card:hover .rank-logo {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.casino-rank-card:hover .btn--primary {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Archive card image zoom */
.archive-card { overflow: hidden; }
.archive-card-image { transition: transform 0.4s ease; }
.archive-card:hover .archive-card-image { transform: scale(1.04); }

/* Button pulse on CTA */
.btn--primary {
    position: relative;
    overflow: hidden;
}

.btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn--primary:hover::after { opacity: 1; }

/* Header refinement */
.site-header {
    transition: box-shadow 0.3s ease;
}

/* Sidebar link hover arrow */
.sidebar-links a {
    position: relative;
}

.sidebar-links a::before {
    content: '→';
    position: absolute;
    right: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
    color: var(--color-brand);
}

.sidebar-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Score number emphasis */
.rank-score {
    transition: transform 0.2s ease;
}

.casino-rank-card:hover .rank-score {
    transform: scale(1.05);
}

/* Sub-nav smooth border */
.sub-nav a {
    position: relative;
}

.sub-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-brand);
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.sub-nav a:hover::after {
    width: 100%;
}

/* Trust strip icon bounce */
.trust-item svg {
    transition: transform 0.2s ease;
}

.trust-item:hover svg {
    transform: scale(1.15);
}

/* Verdict box accent */
.verdict-box {
    position: relative;
    overflow: hidden;
}

.verdict-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-brand), var(--color-brand-light));
    border-radius: 4px 0 0 4px;
}

/* Editorial role hover */
.editorial-role {
    transition: all 0.2s ease;
}

.editorial-role:hover .editorial-role-avatar {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px var(--color-brand-50);
}

/* Page hero subtle pattern */
.page-hero {
    background-image: 
        radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
        linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
}

/* Responsive rating badge */
.rating-badge {
    transition: transform 0.2s ease;
}

.casino-rank-card:hover .rating-badge {
    transform: scale(1.05);
}

/* Smooth page scroll reveal */
.casino-rank-card,
.archive-card {
    animation: fadeInUp 0.4s ease both;
}

.casino-rank-card:nth-child(1) { animation-delay: 0s; }
.casino-rank-card:nth-child(2) { animation-delay: 0.05s; }
.casino-rank-card:nth-child(3) { animation-delay: 0.1s; }
.casino-rank-card:nth-child(4) { animation-delay: 0.15s; }
.casino-rank-card:nth-child(5) { animation-delay: 0.2s; }
.casino-rank-card:nth-child(6) { animation-delay: 0.25s; }
.casino-rank-card:nth-child(7) { animation-delay: 0.3s; }
.casino-rank-card:nth-child(8) { animation-delay: 0.35s; }
.casino-rank-card:nth-child(9) { animation-delay: 0.4s; }
