/*
 * Poll Number Badge Hover Effects
 * Different colors for each poll card's circular badge
 */

/* Default state for all poll numbers - dark gray */
.poll-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #44475a, #282a36);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3),
                0 1px 3px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Poll #1 (Coffee Hour) - Purple gradient with purple glow */
.poll-card:nth-child(1):hover .poll-number {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6),
                0 0 30px rgba(139, 92, 246, 0.4),
                0 6px 8px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.8);
}

/* Poll #2 (Events) - Gold/Orange gradient with gold glow */
.poll-card:nth-child(2):hover .poll-number {
    background: linear-gradient(135deg, #FFC947, #F4D03F);
    color: #1a1a1a;
    box-shadow: 0 0 20px rgba(255, 201, 71, 0.6),
                0 0 30px rgba(255, 201, 71, 0.4),
                0 6px 8px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 201, 71, 0.8);
}

/* Poll #3 (3D Merch) - Green/Cyan gradient with cyan glow */
.poll-card:nth-child(3):hover .poll-number {
    background: linear-gradient(135deg, #50fa7b, #8be9fd);
    color: #1a1a1a;
    box-shadow: 0 0 20px rgba(80, 250, 123, 0.6),
                0 0 30px rgba(139, 233, 253, 0.4),
                0 6px 8px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(80, 250, 123, 0.8);
}

/* Add sweep animation to poll numbers */
.poll-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    border-radius: 50%;
}

.poll-card:hover .poll-number::before {
    left: 100%;
}

/* Make sure the number stays on top of the sweep */
.poll-number {
    position: relative;
    overflow: hidden;
}

/* ====================================
   POLL BUTTON HOVER EFFECTS
   ==================================== */

/* Poll #1 (Coffee Hour) - PURPLE BUTTON HOVER */
.polls-grid .poll-card:nth-child(1) a.poll-button:hover,
.polls-grid .poll-card:nth-child(1) a.action-button:hover,
.polls-grid .poll-card:nth-child(1) .poll-action a:hover {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA) !important;
    color: var(--text-primary) !important;
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6) !important,
                0 6px 12px rgba(0, 0, 0, 0.4) !important,
                inset 0 1px 0 rgba(167, 139, 250, 0.4) !important;
    transform: translateY(-2px) !important;
}

.polls-grid .poll-card:nth-child(1) a.poll-button::after,
.polls-grid .poll-card:nth-child(1) a.action-button::after,
.polls-grid .poll-card:nth-child(1) .poll-action a::after {
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent) !important;
}

/* Poll #2 (Events) - GOLD BUTTON HOVER */
.polls-grid .poll-card:nth-child(2) a.poll-button:hover,
.polls-grid .poll-card:nth-child(2) a.action-button:hover,
.polls-grid .poll-card:nth-child(2) .poll-action a:hover {
    background: linear-gradient(135deg, #FFC947, #F4D03F) !important;
    color: #1a1a1a !important;
    border-color: #FFC947 !important;
    box-shadow: 0 0 30px rgba(255, 201, 71, 0.6) !important,
                0 6px 12px rgba(0, 0, 0, 0.4) !important,
                inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px) !important;
}

.polls-grid .poll-card:nth-child(2) a.poll-button::after,
.polls-grid .poll-card:nth-child(2) a.action-button::after,
.polls-grid .poll-card:nth-child(2) .poll-action a::after {
    background: linear-gradient(90deg, transparent, rgba(255, 201, 71, 0.3), transparent) !important;
}

/* Poll #3 (3D Merch) - GREEN/CYAN BUTTON HOVER */
.polls-grid .poll-card:nth-child(3) a.poll-button:hover,
.polls-grid .poll-card:nth-child(3) a.action-button:hover,
.polls-grid .poll-card:nth-child(3) .poll-action a:hover {
    background: linear-gradient(135deg, #50fa7b, #8be9fd) !important;
    color: #1a1a1a !important;
    border-color: #50fa7b !important;
    box-shadow: 0 0 30px rgba(80, 250, 123, 0.6) !important,
                0 6px 12px rgba(0, 0, 0, 0.4) !important,
                inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px) !important;
}

.polls-grid .poll-card:nth-child(3) a.poll-button::after,
.polls-grid .poll-card:nth-child(3) a.action-button::after,
.polls-grid .poll-card:nth-child(3) .poll-action a::after {
    background: linear-gradient(90deg, transparent, rgba(80, 250, 123, 0.3), transparent) !important;
}
