/* ============================================================
   Awards & Rankings Page
   ============================================================ */

/* Hero Section */
.awards-hero {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

.awards-hero__badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA000);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.awards-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.awards-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Show Hero */
.awards-show-hero {
    text-align: center;
    padding: 2rem 0 1.5rem;
}

.awards-show-hero__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 12px;
}

.awards-show-hero__count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

/* Category Nav Pills */
.awards-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 0 2rem;
}

.awards-nav__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #fff;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

.awards-nav__pill:hover {
    background: #fff;
    color: #fff;
    transform: translateY(-1px);
}

/* Category Section */
.awards-category {
    margin-bottom: 2.5rem;
    scroll-margin-top: 80px;
}

.awards-category__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 1.25rem;
}

.awards-category__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.awards-category__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.awards-category__desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

.awards-category__more {
    text-align: center;
    margin-top: 1rem;
}

.awards-view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.awards-view-all:hover {
    color: #FFD700;
}

/* Podium: Top 3 Winners */
.awards-podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 0.75rem;
}

.awards-podium--large {
    gap: 16px;
    margin-bottom: 2rem;
}

.awards-podium__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
    transition: all 0.2s ease;
    overflow: hidden;
}

.awards-podium__card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.awards-podium__card--gold {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.06);
}

.awards-podium__card--gold:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.1);
}

.awards-podium__card--silver {
    border-color: rgba(192, 192, 192, 0.3);
    background: rgba(192, 192, 192, 0.04);
}

.awards-podium__card--silver:hover {
    border-color: rgba(192, 192, 192, 0.5);
    background: rgba(192, 192, 192, 0.08);
}

.awards-podium__card--bronze {
    border-color: rgba(205, 127, 50, 0.3);
    background: rgba(205, 127, 50, 0.04);
}

.awards-podium__card--bronze:hover {
    border-color: rgba(205, 127, 50, 0.5);
    background: rgba(205, 127, 50, 0.08);
}

.awards-podium__medal {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 4px;
}

.awards-podium__medal--lg {
    font-size: 2rem;
}

.awards-podium__rank {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.awards-podium__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    margin-bottom: 8px;
}

.awards-podium__logo--lg {
    width: 64px;
    height: 64px;
}

.awards-podium__logo-placeholder,
.awards-podium__logo-placeholder--lg {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}

.awards-podium__logo-placeholder--lg {
    width: 64px;
    height: 64px;
    font-size: 1.2rem;
}

.awards-podium__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.awards-podium__card--detail .awards-podium__name {
    font-size: 1rem;
}

.awards-podium__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
}

.awards-podium__metric-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.awards-podium__metric-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFD700;
}

.awards-podium__detail {
    font-size: 0.78rem;
    color: #555;
    margin-bottom: 4px;
}

.awards-podium__tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    background: #fff;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    font-weight: 500;
}

/* Full Rankings */
.awards-rankings {
    margin-bottom: 2rem;
}

.awards-rankings__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px;
}

.awards-rankings__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.awards-rank-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
    transition: all 0.2s ease;
}

.awards-rank-row:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

.awards-rank-row--top {
    background: rgba(255, 215, 0, 0.04);
    border-color: rgba(255, 215, 0, 0.12);
}

.awards-rank-row--top:hover {
    background: rgba(255, 215, 0, 0.08);
}

.awards-rank-row__position {
    min-width: 36px;
    text-align: center;
}

.awards-rank-medal {
    font-size: 1.3rem;
    line-height: 1;
}

.awards-rank-num {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
}

.awards-rank-row__firm {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.awards-rank-row__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px;
    flex-shrink: 0;
}

.awards-rank-row__logo-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.awards-rank-row__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.awards-rank-row__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.awards-rank-row__type {
    font-size: 0.75rem;
    color: #888;
}

.awards-rank-row__split,
.awards-rank-row__payout,
.awards-rank-row__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 80px;
}

.awards-rank-row__label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.awards-rank-row__value {
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
}

.awards-rank-row__value--highlight {
    color: #FFD700;
}

.awards-rank-row__visit {
    flex-shrink: 0;
}

.awards-visit-btn {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(100deg, #34d399 0%, #059669 100%);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.awards-visit-btn:hover {
    opacity: 0.85;
}

.awards-visit-btn i {
    font-size: 10px;
    margin-left: 3px;
}

.awards-rank-row__arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.awards-rank-row:hover .awards-rank-row__arrow {
    color: rgba(255, 255, 255, 0.7);
}

/* Other Categories Grid */
.awards-other {
    margin-bottom: 2rem;
}

.awards-other__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px;
}

.awards-other__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.awards-other__card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #dee2e6;
    color: #555;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.awards-other__card:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.awards-other__card i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Empty State */
.awards-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.awards-empty h3 {
    color: rgba(255, 255, 255, 0.7);
    margin: 12px 0 8px;
}

/* CTA Section */
.awards-cta {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #dee2e6;
    margin-bottom: 3rem;
}

.awards-cta__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.awards-cta__text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px;
}

.awards-cta__buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.awards-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.awards-cta__btn--primary {
    background: linear-gradient(135deg, #FFD700, #FFA000);
    color: #1a1a1a;
}

.awards-cta__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
    color: #1a1a1a;
}

.awards-cta__btn--secondary {
    background: #fff;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.awards-cta__btn--secondary:hover {
    background: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Votes */
.awards-hero__votes {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(244, 67, 54, 0.12);
    color: #F44336;
    font-size: 0.85rem;
    font-weight: 600;
}

.awards-hero__votes i {
    font-size: 1rem;
}

/* Vote CTA Banner */
.awards-vote-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.08), rgba(255, 152, 0, 0.08));
    border: 1px solid rgba(244, 67, 54, 0.15);
    margin-bottom: 1.5rem;
}

.awards-vote-banner__content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.awards-vote-banner__content i {
    font-size: 1.5rem;
    color: #F44336;
    flex-shrink: 0;
}

.awards-vote-banner__content strong {
    color: #fff;
    display: block;
    font-size: 0.9rem;
}

.awards-vote-banner__content span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.awards-vote-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.awards-vote-banner__btn:hover {
    background: rgba(244, 67, 54, 0.25);
    color: #ff6659;
    transform: translateY(-1px);
}

/* Nav Pill Vote Count */
.awards-nav__vote-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

/* Category Vote Badge */
.awards-category__vote-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #F44336;
    font-weight: 500;
}

.awards-category__vote-badge i {
    font-size: 0.85rem;
}

/* Vote Button */
.awards-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    color: #555;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.awards-vote-btn:hover {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    color: #F44336;
    transform: translateY(-1px);
}

.awards-vote-btn i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.awards-vote-btn:hover i {
    transform: scale(1.15);
}

.awards-vote-btn--active {
    background: rgba(244, 67, 54, 0.15);
    border-color: rgba(244, 67, 54, 0.35);
    color: #F44336;
}

.awards-vote-btn--active:hover {
    background: rgba(244, 67, 54, 0.08);
}

.awards-vote-btn--sm {
    padding: 4px 10px;
    font-size: 0.72rem;
}

.awards-vote-btn--loading {
    opacity: 0.5;
    pointer-events: none;
}

.awards-vote-btn[disabled] {
    opacity: 0.4;
    cursor: pointer;
}

/* Podium card voted state */
.awards-podium__card--voted {
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.3);
}

/* Podium link and vote row */
.awards-podium__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.awards-podium__vote-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.awards-podium__vote-count {
    font-size: 0.75rem;
    color: rgba(244, 67, 54, 0.8);
    font-weight: 600;
}

/* Rank row voted state */
.awards-rank-row--voted {
    box-shadow: inset 3px 0 0 0 #F44336;
}

/* Rank row vote cell */
.awards-rank-row__vote-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.awards-rank-vote-count {
    font-size: 0.72rem;
    color: rgba(244, 67, 54, 0.7);
    font-weight: 600;
    min-width: 14px;
    text-align: center;
}

/* Show page hero stats */
.awards-show-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.awards-show-hero__votes {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: #F44336;
    font-weight: 600;
}

.awards-show-hero__votes i {
    font-size: 1rem;
}

/* Vote Card on Show Page */
.awards-vote-card {
    padding: 20px 24px;
    border-radius: 14px;
    background: rgba(244, 67, 54, 0.04);
    border: 1px solid rgba(244, 67, 54, 0.12);
    margin-bottom: 2rem;
}

.awards-vote-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.awards-vote-card__header i {
    font-size: 1.3rem;
    color: #F44336;
}

.awards-vote-card__header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.awards-vote-card__desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 12px;
    line-height: 1.5;
}

.awards-vote-card__current {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(244, 67, 54, 0.08);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.awards-vote-card__current strong {
    color: #F44336;
}

.awards-vote-card__prompt {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin: 0 0 12px;
}

.awards-vote-card__login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.awards-vote-card__login-btn:hover {
    background: rgba(244, 67, 54, 0.25);
    color: #ff6659;
    transform: translateY(-2px);
}

/* Vote Search */
.awards-vote-search {
    position: relative;
}

.awards-vote-search__input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}

.awards-vote-search__input::placeholder {
    color: #888;
}

.awards-vote-search__input:focus {
    border-color: rgba(244, 67, 54, 0.4);
}

.awards-vote-search__results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    margin-top: 4px;
    border-radius: 10px;
    background: rgba(30, 20, 50, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.awards-vote-search__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    border-bottom: 1px solid #dee2e6;
    color: #333;
    font-size: 0.88rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.awards-vote-search__item:last-child {
    border-bottom: none;
}

.awards-vote-search__item:hover {
    background: rgba(244, 67, 54, 0.1);
}

.awards-vote-search__item i {
    color: #F44336;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .awards-hero__title {
        font-size: 1.8rem;
    }

    .awards-podium {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .awards-podium__card {
        flex-direction: row;
        text-align: left;
        padding: 12px 16px;
        gap: 12px;
    }

    .awards-podium__card--detail {
        flex-direction: column;
        text-align: center;
    }

    .awards-podium--large {
        grid-template-columns: 1fr;
    }

    .awards-podium__medal {
        font-size: 1.3rem;
    }

    .awards-podium__logo {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
    }

    .awards-podium__rank {
        display: none;
    }

    .awards-nav__pill {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .awards-category__header {
        flex-direction: column;
        gap: 8px;
    }

    .awards-rank-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
    }

    .awards-rank-row__split,
    .awards-rank-row__payout {
        display: none;
    }

    .awards-rank-row__metric {
        min-width: auto;
        margin-left: auto;
    }

    .awards-other__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .awards-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .awards-cta__btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .awards-vote-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .awards-vote-banner__btn {
        align-self: stretch;
        justify-content: center;
    }

    .awards-rank-row__vote-cell {
        margin-left: auto;
    }

    .awards-vote-card {
        padding: 16px;
    }

    .awards-show-hero__stats {
        flex-direction: column;
        gap: 4px;
    }

    .awards-podium__vote-row {
        margin-top: 6px;
    }
}

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

    .awards-other__grid {
        grid-template-columns: 1fr;
    }
}
