/**
 * Public Voting - Futuristic Cyberpunk Theme
 * Hackathon Voting System
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #0080ff;
    --secondary-color: #00ffff;
    --neon-purple: #b000ff;
    --neon-pink: #ff00ff;
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a28;
    --glass-bg: rgba(18, 18, 26, 0.7);
    --glass-border: rgba(0, 128, 255, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-accent: #00ffff;
    --glow-blue: 0 0 20px rgba(0, 128, 255, 0.5);
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
    --shadow-deep: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Container */
.hackathon-voting-container {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    min-height: 100vh;
    padding: clamp(20px, 5vw, 40px) clamp(10px, 3vw, 20px);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* Event Banner with Overlay */
.event-banner {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: var(--bg-primary);
}

.event-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(10, 10, 15, 1) 0%,
            rgba(10, 10, 15, 0.8) 60%,
            rgba(10, 10, 15, 0) 100%);
    padding: 15px 30px;
    /* Reduced top padding to pull content down */
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

@media (max-width: 600px) {
    .banner-overlay {
        padding: 40px 15px 15px;
        /* More top padding to extend the dark gradient */
        align-items: flex-end;
        /* Keep text at the bottom */
        justify-content: center;
        text-align: center;
    }
}

.banner-text {
    width: 100%;
    text-align: left;
}

.event-title {
    color: var(--primary-color);
    font-size: clamp(18px, 2.5vw, 28px);
    /* Slightly smaller to avoid overlap */
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 15px rgba(0, 128, 255, 0.9), 0 0 5px #000;
    /* Added black shadow for contrast */
    line-height: 1.2;
}

.event-subtitle {
    color: var(--secondary-color);
    font-size: clamp(12px, 1.5vw, 16px);
    /* Slightly smaller */
    font-weight: 300;
    margin: 5px 0 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6), 0 0 3px #000;
    line-height: 1.3;
}

/* Event Header (No Banner) */
.event-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 40px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-deep);
}

/* Authentication Card */
.auth-section {
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-deep);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 128, 255, 0.1) 0%, transparent 70%);
    animation: rotateGlow 10s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.auth-card h2 {
    color: var(--text-primary);
    font-size: 28px;
    margin: 0 0 10px;
    text-align: center;
}

.auth-description {
    color: var(--text-secondary);
    text-shadow: var(--glow-blue);
    text-align: center;
}

.auth-card p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0 0 30px;
    text-align: center;
}

/* Form Group */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-align: center;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(26, 26, 40, 0.6);
    text-align: center;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 128, 255, 0.4);
}

.input-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.form-group input:focus+.input-underline {
    width: 100%;
}

/* Buttons */
.btn-primary,
.btn-submit {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--neon-purple));
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 128, 255, 0.4);
}

.btn-done {
    margin-top: 30px;
    max-width: 250px;
}

.btn-primary:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 128, 255, 0.6);
}

.btn-primary:active,
.btn-submit:active {
    transform: translateY(0);
}

.btn-glow {
    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.5s ease;
}

.btn-primary:hover .btn-glow,
.btn-submit:hover .btn-glow {
    left: 100%;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Error Message */
.error-message {
    background: rgba(255, 0, 80, 0.1);
    border: 1px solid rgba(255, 0, 80, 0.5);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ff0080;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    box-sizing: border-box;
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

/* Welcome Message */
.welcome-message {
    max-width: 1200px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.2), rgba(0, 255, 255, 0.2));
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    padding: 20px 30px;
    text-align: center;
}

.welcome-message p {
    background: linear-gradient(90deg, #ff0000, #ff6600, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    /* Reduced from 18px */
    font-weight: 600;
    margin: 0;
    display: inline-block;
}

.welcome-message h2 {
    color: var(--secondary-color);
    font-size: 32px;
    margin: 0 0 5px;
    text-shadow: var(--glow-cyan);
}

/* Jury Specific Welcome */
.welcome-content h2 {
    color: var(--secondary-color);
    font-size: 28px;
    margin: 0;
    text-shadow: var(--glow-cyan);
}

.welcome-content .designation {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 5px 0 10px;
}

.welcome-content .instruction {
    background: linear-gradient(90deg, #ff0000, #ff6600, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Participants Grid */
.participants-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 100%, 350px), 1fr));
    gap: clamp(15px, 3vw, 30px);
    justify-content: center;
    margin-bottom: 40px;
}

/* Participant Card */
.participant-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-deep);
    transition: all 0.3s ease;
    overflow: hidden;
}

.participant-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 40px rgba(0, 128, 255, 0.3);
    transform: translateY(-5px);
}

.participant-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--glass-border);
    text-align: center;
}

.participant-name {
    color: var(--primary-color);
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    margin: 0 0 15px;
    text-shadow: 0 0 20px rgba(0, 128, 255, 0.6);
}

/* Project Info Compact Container */
.project-info-compact {
    background: rgba(0, 128, 255, 0.05);
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.project-title-main {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.project-subtitle-text {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

/* Participant Details Compact */
.participant-details-compact {
    margin-bottom: 25px;
}

.detail-section {
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(26, 26, 40, 0.4);
    border-left: 3px solid var(--secondary-color);
    border-radius: 4px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

/* Empty Criteria Message */
.empty-criteria-message {
    text-align: center;
    padding: 30px;
    color: var(--secondary-color);
    background: rgba(0, 217, 255, 0.1);
    border-radius: 12px;
    margin: 20px 0;
    border: 1px dashed var(--glass-border);
}

.empty-criteria-message p {
    margin: 0;
    font-size: 16px;
}

.empty-criteria-message .help-text {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.7;
}

.detail-label {
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.detail-content {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Old styles (keep for backwards compatibility) */
.project-title {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px;
}

.project-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
    margin: 0;
}

/* Participant Details */
.participant-details {
    margin-bottom: 20px;
    font-size: 14px;
}

.participant-details strong {
    color: var(--text-accent);
    display: block;
    margin-bottom: 5px;
}

.participant-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 15px;
}

/* Criteria Ratings */
.criteria-ratings {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

/* Criteria Card Style (when enabled in form builder) */
.criterion-card {
    background: linear-gradient(135deg,
            rgba(0, 128, 255, 0.1),
            rgba(0, 255, 255, 0.1));
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 128, 255, 0.3);
    transition: all 0.3s ease;
    animation: criteriaGlow 3s ease-in-out infinite;
}

.criterion-card:hover {
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

@keyframes criteriaGlow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(0, 128, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    }
}

/* Alternate colors for variety */
.criterion-card:nth-child(odd) {
    background: linear-gradient(135deg,
            rgba(176, 0, 255, 0.1),
            rgba(255, 0, 255, 0.1));
}

.criterion-card .criterion-label {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 128, 255, 0.6);
}

.criterion-card .criterion-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Inline Criterion Row (default) */
.criterion-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.criterion-label {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.criterion-desc {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 400;
    margin-top: 4px;
}

/* Star Rating - Base */
.star-rating {
    display: flex;
    gap: clamp(4px, 1.5vw, 8px);
    font-size: clamp(24px, 5vw, 32px);
    justify-content: center;
    flex-wrap: wrap;
}

.star {
    color: rgba(160, 160, 176, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

/* Gradient Star Rating (Red to Green) */
.star-rating.gradient .star:hover,
.star-rating.gradient .star.active {
    transform: scale(1.2);
}

/* Gradient colors based on rating - IMPORTANT: Higher specificity */
.star-rating.gradient .star.filled.rating-1 {
    color: #ff0000 !important;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8) !important;
}

.star-rating.gradient .star.filled.rating-2 {
    color: #ff8000 !important;
    text-shadow: 0 0 20px rgba(255, 128, 0, 0.8) !important;
}

.star-rating.gradient .star.filled.rating-3 {
    color: #ffff00 !important;
    text-shadow: 0 0 20px rgba(255, 255, 0, 0.8) !important;
}

.star-rating.gradient .star.filled.rating-4 {
    color: #80ff00 !important;
    text-shadow: 0 0 20px rgba(128, 255, 0, 0.8) !important;
}

.star-rating.gradient .star.filled.rating-5 {
    color: #00ff00 !important;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.8) !important;
}

/* Single Color Star Rating (Traditional) */
.star-rating.single .star:hover,
.star-rating.single .star.active {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    transform: scale(1.2);
}

.star-rating.single .star.filled {
    color: var(--primary-color);
    text-shadow: var(--glow-blue);
}

/* Submit Section */
.submit-section {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

/* Jury Comments Section */
.comments-section {
    margin-top: 15px;
    width: 100%;
}

.comment-label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}

.jury-comment-field {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    resize: vertical;
    display: block;
    transition: border-color 0.3s ease;
}

.jury-comment-field:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.character-count {
    text-align: right;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Success Section */
.success-section {
    max-width: 600px;
    margin: 0 auto;
}

.success-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 0, 0.5);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.2);
}

.success-icon {
    color: #00ff00;
    margin-bottom: 20px;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.success-card h2 {
    color: var(--text-primary);
    font-size: 32px;
    margin: 0 0 15px;
}

.success-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Voting Closed Message */
.voting-closed-message {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 128, 0, 0.5);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
}

.voting-closed-message .icon-wrapper {
    color: #ff8000;
    margin-bottom: 20px;
}

.voting-closed-message h2 {
    color: var(--text-primary);
    font-size: 28px;
    margin: 0 0 15px;
}

.voting-closed-message p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
}

.spinner-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.spinner-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--primary-color);
    border-color: var(--primary-color) transparent var(--secondary-color) transparent;
    animation: spinner 1.2s linear infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    color: var(--text-primary);
    margin-top: 20px;
    font-size: 18px;
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hackathon-voting-container {
        padding: 10px 5px;
        /* Minimal padding for mobile */
    }

    .event-banner {
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .event-banner img {
        max-height: 180px;
    }

    .event-header {
        padding: 25px 15px;
        margin-bottom: 20px;
    }

    .event-title {
        font-size: clamp(20px, 6vw, 28px);
        text-align: center;
    }

    .event-subtitle {
        font-size: clamp(12px, 4vw, 16px);
        margin-top: 8px;
        text-align: center;
    }

    .participants-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
    }

    .participant-card {
        padding: 20px 15px;
    }

    .participant-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .participant-name {
        font-size: 18px;
    }

    .project-info-compact {
        padding: 10px;
    }

    .project-title-main {
        font-size: 16px;
    }

    .star-rating {
        font-size: clamp(24px, 8vw, 32px);
        /* Larger stars for touch */
        gap: 8px;
    }

    .auth-card {
        padding: 25px 15px;
    }

    .auth-card h2 {
        font-size: 22px;
    }
}

@media (max-width: 350px) {
    .star-rating {
        font-size: 18px;
        gap: 2px;
    }

    .participant-card {
        padding: 15px 10px;
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 22px;
    }

    .event-subtitle {
        font-size: 14px;
    }

    .star-rating {
        font-size: 24px;
        gap: 4px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hackathon-voting-container {
        padding: 20px 10px;
    }

    .event-banner {
        margin-bottom: 15px;
        border-radius: 12px;
    }

    .event-banner img {
        max-height: 250px;
    }

    .banner-overlay {
        padding: 15px 20px;
    }

    .event-title {
        font-size: clamp(18px, 4vw, 24px);
    }

    .event-subtitle {
        font-size: clamp(12px, 3vw, 16px);
    }

    .participants-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .participant-card {
        padding: 20px;
    }

    .participant-name {
        font-size: 20px;
    }

    .project-title {
        font-size: 16px;
    }

    .star-rating {
        font-size: 28px;
        gap: 6px;
    }

    .auth-card {
        padding: clamp(20px, 5vw, 30px) clamp(15px, 4vw, 20px);
    }

    .summary-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 16px;
    }

    .event-subtitle {
        font-size: 12px;
    }

    .star-rating {
        font-size: 24px;
        gap: 4px;
    }
}

/* Vote Summary Styling */
.vote-summary-container {
    margin-top: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg,
            rgba(0, 128, 255, 0.05),
            rgba(0, 255, 255, 0.05));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.summary-title {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 25px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.summary-card {
    background: rgba(26, 26, 40, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.summary-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 128, 255, 0.3);
    transform: translateY(-3px);
}

.summary-participant-name {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 128, 255, 0.5);
}

/* Score Boxes (Color-coded) */
.score-boxes {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.score-box {
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    transition: all 0.3s ease;
}

.score-box:hover {
    transform: scale(1.1);
}

.score-number {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.summary-votes {
    margin-bottom: 15px;
}

.summary-vote-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 128, 255, 0.1);
}

.summary-vote-row:last-child {
    border-bottom: none;
}

.summary-criterion {
    color: var(--text-secondary);
    font-size: 14px;
}

.summary-score {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.summary-total {
    text-align: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 128, 255, 0.6);
}