/**
 * GMSU Talent Platform - Public Styles
 * Premium Dark Blue Aesthetic
 */

:root {
    --gmsu-primary: #f5b942;
    --gmsu-primary-hover: #e0a52d;
    --gmsu-bg: #07111f;
    --gmsu-bg-card: #0c1a2d;
    --gmsu-bg-input: rgba(255, 255, 255, 0.05);
    --gmsu-text: #ffffff;
    --gmsu-text-dim: rgba(255, 255, 255, 0.7);
    --gmsu-border: rgba(255, 255, 255, 0.1);
    --gmsu-success: #10b981;
    --gmsu-error: #ef4444;
    --gmsu-v3-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --gmsu-v3-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gmsu-public-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gmsu-box {
    background: var(--gmsu-bg-card);
    border: 1px solid var(--gmsu-border);
    border-radius: 20px;
    padding: 30px;
    color: var(--gmsu-text);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.gmsu-box-head {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--gmsu-border);
    padding-bottom: 15px;
}

.gmsu-title {
    color: var(--gmsu-primary);
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.gmsu-subtitle {
    color: var(--gmsu-text-dim);
    font-size: 14px;
}

/* Forms */
.gmsu-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gmsu-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gmsu-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gmsu-text-dim);
}

.gmsu-field input, 
.gmsu-field textarea {
    width: 100%;
    background: var(--gmsu-bg-input);
    border: 1px solid var(--gmsu-border);
    border-radius: 10px;
    padding: 12px 15px;
    color: #fff;
    transition: border-color 0.3s;
}

.gmsu-field input:focus, 
.gmsu-field textarea:focus {
    border-color: var(--gmsu-primary);
    outline: none;
}

.gmsu-field select {
    width: 100%;
    background: var(--gmsu-bg-input);
    border: 1px solid var(--gmsu-border);
    border-radius: 10px;
    padding: 12px 15px;
    color: #fff;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    transition: border-color 0.3s;
}
.gmsu-field select:focus { border-color: var(--gmsu-primary); outline: none; }
.gmsu-field select option { background: #0c1a2d; color: #fff; }

.gmsu-field input[type="date"] {
    color-scheme: dark;
}

.gmsu-field input[type="file"] {
    background: transparent;
    border: 2px dashed var(--gmsu-border);
    border-radius: 10px;
    padding: 18px 15px;
    cursor: pointer;
    transition: border-color 0.3s;
    color: var(--gmsu-text-dim);
    font-size: 13px;
}
.gmsu-field input[type="file"]:hover { border-color: var(--gmsu-primary); }

.gmsu-radio-group,
.gmsu-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.gmsu-radio-label,
.gmsu-checkbox-label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: var(--gmsu-bg-input);
    border: 1px solid var(--gmsu-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s;
}
.gmsu-radio-label:hover,
.gmsu-checkbox-label:hover { border-color: var(--gmsu-primary); }
.gmsu-radio-label input[type="radio"],
.gmsu-checkbox-label input[type="checkbox"] {
    accent-color: var(--gmsu-primary);
    width: auto;
    background: transparent;
    border: none;
    padding: 0;
}

.gmsu-field-help {
    font-size: 12px;
    color: var(--gmsu-text-dim);
    margin: 5px 0 0 0;
    font-style: italic;
}

/* Card extra field values */
.gmsu-card-extra {
    font-size: 12px;
    color: var(--gmsu-text-dim);
    margin: 3px 0;
}
.gmsu-card-extra a { color: var(--gmsu-primary); }

/* Buttons */
.gmsu-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
}

.gmsu-btn-primary {
    background: var(--gmsu-primary);
    color: #000;
}

.gmsu-btn-primary:hover {
    background: var(--gmsu-primary-hover);
    transform: translateY(-2px);
}

.gmsu-btn-outline {
    background: transparent;
    border: 1px solid var(--gmsu-primary);
    color: var(--gmsu-primary);
}

.gmsu-btn-outline:hover {
    background: var(--gmsu-primary);
    color: #000;
}

.gmsu-btn-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.gmsu-btn-block {
    display: block;
    width: 100%;
}

@media (max-width: 600px) {
    .gmsu-card-actions {
        flex-direction: column;
    }
    .gmsu-card-actions .gmsu-btn {
        width: 100%;
    }
}

/* GMSU Contestant Card Design 3 - Premium Compact Polished */
.gmsu-card-v3 {
    background: #0c1a2d;
    border: 1px solid rgba(245, 185, 66, 0.12);
    border-radius: 20px;
    padding: 24px 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
    overflow: hidden;
    color: #fff;
}

/* Subtle Radial Glow */
.gmsu-card-v3::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 185, 66, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.gmsu-card-v3:hover {
    transform: translateY(-8px);
    border-color: var(--gmsu-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 185, 66, 0.1);
}

/* Category Tag - Below Name */
.gmsu-card-tag {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 10px;
    background: #07111f;
    color: var(--gmsu-primary);
    border: 1px solid var(--gmsu-primary);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gmsu-v3-header {
    margin-bottom: 12px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.gmsu-v3-avatar-wrap {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 3px solid var(--gmsu-primary);
    padding: 3px;
    background: linear-gradient(135deg, var(--gmsu-primary), #e0a52d);
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: hidden; /* Ensure circularity */
}

.gmsu-v3-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #07111f;
    border: 2px solid #0c1a2d;
    display: block;
}

.gmsu-v3-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1a2a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    color: var(--gmsu-primary);
}

.gmsu-v3-name {
    margin: 0 0 5px 0;
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em; /* Standard height for 2 lines */
    padding: 0 5px;
}

.gmsu-v3-country {
    font-size: 11px;
    color: var(--gmsu-text-dim);
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Compact Votes Pill */
.gmsu-v3-stats {
    margin: 15px 0 20px;
    background: rgba(245, 185, 66, 0.1);
    padding: 6px 15px;
    border-radius: 50px;
    border: 1px solid rgba(245, 185, 66, 0.15);
    position: relative;
    z-index: 1;
}

.gmsu-v3-votes {
    font-size: 11px;
    font-weight: 800;
    color: var(--gmsu-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gmsu-v3-votes strong {
    font-size: 15px;
}

/* Actions Layout */
.gmsu-v3-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.gmsu-v3-main-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.gmsu-v3-btn {
    height: 38px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.gmsu-v3-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gmsu-v3-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gmsu-primary);
    color: var(--gmsu-primary) !important;
}

.gmsu-v3-btn-primary {
    background: var(--gmsu-primary);
    color: #000 !important;
}

.gmsu-v3-btn-primary:hover {
    background: #fff;
    color: #000 !important;
}

/* Paid Voting Row */
.gmsu-v3-paid-row {
    display: flex;
    background: #07111f;
    border: 1px solid var(--gmsu-primary);
    border-radius: 10px;
    overflow: hidden;
    height: 40px;
    width: 100%;
}

.gmsu-v3-stepper {
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(245, 185, 66, 0.3);
}

.gmsu-v3-stepper button {
    width: 32px;
    height: 100%;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gmsu-v3-stepper button:hover { background: rgba(255, 255, 255, 0.1); }

.gmsu-v3-stepper .gmsu-vote-qty {
    width: 34px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: var(--gmsu-primary) !important;
    text-align: center !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gmsu-v3-btn-buy {
    flex: 1;
    background: #07111f;
    color: var(--gmsu-primary) !important;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    transition: all 0.3s ease;
}

.gmsu-v3-btn-buy span { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.gmsu-v3-btn-buy small { font-size: 9px; font-weight: 700; opacity: 0.8; }

.gmsu-v3-btn-buy:hover { 
    background: #0c1a2d; 
    color: #fff !important;
    box-shadow: inset 0 0 10px rgba(245, 185, 66, 0.1);
}

/* Mobile Polish */
@media (max-width: 480px) {
    .gmsu-card-v3 { padding: 20px 15px; }
    .gmsu-v3-avatar-wrap { width: 78px; height: 78px; }
    .gmsu-v3-name { font-size: 16px; }
    .gmsu-v3-avatar-placeholder { font-size: 28px; }
    .gmsu-v3-stats { margin: 10px 0 15px; padding: 5px 12px; }
    .gmsu-v3-paid-row { height: 38px; }
    .gmsu-v3-btn { height: 36px; font-size: 12px; }
}

@media (max-width: 320px) {
    .gmsu-v3-main-btns { grid-template-columns: 1fr; }
}


/* Compact Purchase Bar */
.gmsu-compact-purchase-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gmsu-border);
    border-radius: 8px;
    overflow: hidden;
    height: 38px;
}

.gmsu-qty-selector {
    display: flex;
    align-items: center;
    border-right: 1px solid var(--gmsu-border);
    height: 100%;
}

.gmsu-qty-btn {
    width: 28px;
    height: 100%;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.gmsu-qty-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.gmsu-qty-input {
    width: 32px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: var(--gmsu-primary) !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 0 !important;
    -moz-appearance: textfield;
}

.gmsu-qty-input::-webkit-outer-spin-button,
.gmsu-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gmsu-btn-buy {
    flex: 1;
    height: 100%;
    background: var(--gmsu-primary);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.gmsu-btn-buy:hover {
    background: var(--gmsu-primary-hover);
}

.gmsu-price-tag {
    opacity: 0.7;
    font-weight: 600;
}

@media (max-width: 480px) {
    .gmsu-archive-grid {
        grid-template-columns: 1fr !important;
        padding: 0 10px;
    }
    
    .gmsu-card-image {
        height: 260px;
    }
}

/* Tables */
.gmsu-table-responsive {
    overflow-x: auto;
}

.gmsu-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.gmsu-table th {
    text-align: left;
    padding: 15px;
    color: var(--gmsu-primary);
    border-bottom: 2px solid var(--gmsu-border);
    font-size: 13px;
    text-transform: uppercase;
}

.gmsu-table td {
    padding: 15px;
    border-bottom: 1px solid var(--gmsu-border);
    font-size: 14px;
}

.gmsu-rank {
    font-weight: 800;
    color: var(--gmsu-primary);
}

/* Profile View */
.gmsu-profile-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gmsu-profile-image {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--gmsu-primary);
}

.gmsu-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gmsu-profile-info {
    flex: 1;
    min-width: 300px;
}

.gmsu-profile-name {
    font-size: 36px;
    margin: 0 0 15px 0;
}

.gmsu-tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-right: 10px;
    font-size: 13px;
}

.gmsu-profile-votes {
    margin: 25px 0;
    font-size: 18px;
}

.gmsu-profile-votes .count {
    font-size: 32px;
    font-weight: 800;
    color: var(--gmsu-primary);
}

/* Alerts */
.gmsu-alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.gmsu-alert-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--gmsu-success);
    color: #fff;
}

/* Live Updates */
.gmsu-live-dot {
    height: 10px;
    width: 10px;
    background-color: var(--gmsu-error);
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    box-shadow: 0 0 10px var(--gmsu-error);
    animation: gmsu-pulse 1.5s infinite;
}

@keyframes gmsu-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.gmsu-live-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--gmsu-border);
}

.gmsu-live-date {
    font-size: 12px;
    color: var(--gmsu-primary);
    margin-bottom: 5px;
}

.gmsu-live-title {
    margin: 0 0 10px 0;
}

/* Voting & Leaderboard Enhancements */
.gmsu-vote-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #555;
    color: #fff;
    border-color: #555;
}

.gmsu-alert-error {
    color: var(--gmsu-error);
    font-weight: bold;
}

.gmsu-alert-success {
    color: var(--gmsu-success);
    font-weight: bold;
}

.gmsu-rank-badge {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-weight: 900;
}

.gmsu-top-rank.gmsu-rank-1 .gmsu-rank-badge {
    background: #ffd700;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    font-size: 18px;
}

.gmsu-top-rank.gmsu-rank-2 .gmsu-rank-badge {
    background: #c0c0c0;
    color: #000;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
    font-size: 16px;
}

.gmsu-top-rank.gmsu-rank-3 .gmsu-rank-badge {
    background: #cd7f32;
    color: #fff;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
    font-size: 15px;
}

.gmsu-top-rank td {
    background: rgba(255, 255, 255, 0.03);
}

.gmsu-top-rank .gmsu-name {
    font-size: 16px;
}

.gmsu-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

/* Dark UI Judge Panel & Live Scoreboard */
.gmsu-dark-ui {
    background: #1a1a1a;
    color: #f1f1f1;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gmsu-dark-ui .gmsu-title, .gmsu-dark-ui h2 {
    color: #fff;
    margin-top: 0;
}

.gmsu-judge-header, .gmsu-ls-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.gmsu-ls-weights {
    color: #aaa;
    font-size: 14px;
    margin-top: 5px;
}

.gmsu-dark-ui .gmsu-judge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gmsu-dark-ui .gmsu-judge-card {
    background: #252525;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gmsu-dark-ui .gmsu-judge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.gmsu-dark-ui .gmsu-judge-card.gmsu-scored {
    border-color: var(--gmsu-success);
}

.gmsu-dark-ui .gmsu-jc-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #1e1e1e;
    border-bottom: 1px solid #333;
}

.gmsu-dark-ui .gmsu-jc-photo {
    margin-right: 15px;
}

.gmsu-dark-ui .gmsu-jc-photo img, .gmsu-dark-ui .gmsu-jc-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.gmsu-dark-ui .gmsu-jc-placeholder {
    background: #444;
}

.gmsu-dark-ui .gmsu-jc-info h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #fff;
}

.gmsu-dark-ui .gmsu-jc-body {
    padding: 15px;
}

.gmsu-dark-ui input, .gmsu-dark-ui textarea {
    background: #111;
    color: #fff;
    border: 1px solid #444;
}

.gmsu-dark-ui input:focus, .gmsu-dark-ui textarea:focus {
    border-color: var(--gmsu-primary);
}

.gmsu-locked-notice {
    text-align: center;
    padding: 10px;
    background: #333;
    color: #aaa;
    border-radius: 4px;
    font-size: 14px;
}

.gmsu-ls-table {
    color: #ddd;
}

.gmsu-ls-table th {
    background: #222;
    color: #fff;
    border-bottom: 2px solid #444;
}

.gmsu-ls-table td {
    border-bottom: 1px solid #333;
}

.gmsu-final-score {
    color: var(--gmsu-primary);
    font-size: 18px;
}

/* Events Grid & Cards */
.gmsu-events-wrap {
    padding: 20px;
}
.gmsu-event-card {
    background: #252525;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}
.gmsu-ec-image {
    position: relative;
    height: 200px;
}
.gmsu-ec-image img, .gmsu-ec-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gmsu-ec-placeholder {
    background: #333;
}
.gmsu-ec-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: #111;
}
.gmsu-status-upcoming { background: #3498db; color: #fff; }
.gmsu-status-live { background: #e74c3c; color: #fff; animation: gmsu-pulse 2s infinite; }
.gmsu-status-completed { background: #27ae60; color: #fff; }
.gmsu-status-cancelled { background: #95a5a6; color: #fff; }

@keyframes gmsu-pulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.gmsu-ec-featured-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--gmsu-primary);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}
.gmsu-ec-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.gmsu-ec-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: #aaa;
}
.gmsu-ec-title {
    margin: 0 0 10px 0;
    font-size: 20px;
}
.gmsu-ec-title a {
    color: #fff;
    text-decoration: none;
}
.gmsu-ec-location {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 10px;
}
.gmsu-ec-desc {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}
.gmsu-ec-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.gmsu-ec-actions .gmsu-btn {
    flex: 1;
    text-align: center;
    padding: 8px 15px;
}
.gmsu-btn-live {
    background: #e74c3c;
    color: #fff !important;
}

/* Event Detail Hero */
.gmsu-ed-hero {
    border-radius: 12px 12px 0 0;
    padding: 60px 40px;
    background-size: cover;
    background-position: center;
    background-color: #222;
    text-align: center;
}
.gmsu-ed-title {
    font-size: 40px;
    color: #fff;
    margin: 20px 0;
}
.gmsu-ed-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #ccc;
    font-size: 16px;
    margin-bottom: 30px;
}
.gmsu-ed-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.gmsu-ed-body {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}
.gmsu-ed-main {
    flex: 2;
}
.gmsu-ed-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.gmsu-ed-widget {
    background: #252525;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Countdown */
.gmsu-cd-timer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.gmsu-cd-unit {
    background: #111;
    padding: 15px 10px;
    border-radius: 6px;
    text-align: center;
    flex: 1;
    border: 1px solid #333;
}
.gmsu-cd-val {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: var(--gmsu-primary);
}
.gmsu-cd-label {
    display: block;
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Live Updates Timeline */
.gmsu-pinned {
    border-left: 3px solid var(--gmsu-primary);
    background: rgba(212, 175, 55, 0.05);
}
.gmsu-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}
.gmsu-badge-announcement { background: #3498db; color:#fff; }
.gmsu-badge-result { background: #2ecc71; color:#fff; }
.gmsu-badge-schedule { background: #f39c12; color:#fff; }
.gmsu-badge-backstage { background: #9b59b6; color:#fff; }
.gmsu-badge-emergency { background: #e74c3c; color:#fff; }
.gmsu-badge-sponsor { background: #34495e; color:#fff; }

@media (max-width: 768px) {
    .gmsu-ed-body {
        flex-direction: column;
    }
    .gmsu-ed-meta {
        flex-direction: column;
        gap: 10px;
    }
}
    }
}

/* Showcase Grid Refinements for V3 Cards */
.gmsu-sc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 20px;
}

.gmsu-sc-grid-wrap {
    margin-bottom: 40px;
}

/* Slider Track Adjustments */
.gmsu-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.gmsu-slide {
    flex-shrink: 0;
    width: calc((100% - (var(--gmsu-sc-cols-d, 3) - 1) * 20px) / var(--gmsu-sc-cols-d, 3));
    height: auto;
}

@media (max-width: 992px) {
    .gmsu-slide {
        width: calc((100% - (var(--gmsu-sc-cols-t, 2) - 1) * 20px) / var(--gmsu-sc-cols-t, 2));
    }
}

@media (max-width: 480px) {
    .gmsu-slide {
        width: 100%;
    }
}

/* Typography Fluid Sizing */
.gmsu-v3-name {
    font-size: clamp(16px, 2.5vw, 18px);
}

.gmsu-v3-votes strong {
    font-size: 1.1em;
}

/* Button Global Base for V3 */
.gmsu-v3-btn {
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Public Judges Directory */
.gmsu-public-judges-directory,
.gmsu-public-judges-directory * {
    box-sizing: border-box;
}

.gmsu-public-judges-directory {
    width: 100%;
    max-width: 1200px; /* Centered max-width container */
    margin: 0 auto;
    overflow-x: hidden;
    color: #071B3A;
    padding: 0 15px; /* Prevent edge touching on small screens */
}

.gmsu-public-judges-directory .gmsu-public-judges-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* Desktop: 4 cards per row */
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.gmsu-public-judges-directory .gmsu-public-judges-columns-1 {
    grid-template-columns: minmax(0, 1fr);
}

.gmsu-public-judges-directory .gmsu-public-judges-columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gmsu-public-judges-directory .gmsu-public-judges-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gmsu-public-judges-directory .gmsu-public-judges-columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gmsu-public-judges-directory .gmsu-public-judge-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    height: 100%; /* Consistent card heights */
    padding: 24px; /* Balanced padding */
    overflow: hidden;
    background: #fff; /* White luxury style */
    border: 1px solid rgba(244, 182, 61, 0.28);
    border-radius: 16px; /* Rounded corners */
    box-shadow: 0 10px 30px rgba(7, 27, 58, 0.08);
    color: #071B3A;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
}

.gmsu-public-judges-directory .gmsu-public-judge-card:hover {
    transform: translateY(-6px); /* Smoother hover effect */
    border-color: rgba(244, 182, 61, 0.6);
    box-shadow: 0 20px 50px rgba(7, 27, 58, 0.15);
}

.gmsu-public-judges-directory .gmsu-public-judge-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px; /* Slightly larger image */
    height: 90px;
    margin-bottom: 20px;
    padding: 4px;
    border: 2px solid rgba(244, 182, 61, 0.45);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(244, 182, 61, 0.15), rgba(255, 255, 255, 0.95));
    flex: 0 0 auto;
}

.gmsu-public-judges-directory .gmsu-public-judge-photo,
.gmsu-public-judges-directory .gmsu-public-judge-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 999px;
}

.gmsu-public-judges-directory .gmsu-public-judge-photo {
    object-fit: cover;
}

.gmsu-public-judges-directory .gmsu-public-judge-initials {
    background: #F4B63D;
    color: #071B3A;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.gmsu-public-judges-directory .gmsu-public-judge-content {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes content to fill available height */
}

.gmsu-public-judges-directory .gmsu-public-judge-accent {
    width: 40px;
    height: 3px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #F4B63D; /* Gold accents */
}

.gmsu-public-judges-directory .gmsu-public-judge-name {
    margin: 0 0 6px 0;
    color: #071B3A; /* Navy typography */
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.gmsu-public-judges-directory .gmsu-public-judge-role {
    margin: 0 0 12px 0; /* Better typography spacing */
    color: #8A6112;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.gmsu-public-judges-directory .gmsu-public-judge-bio {
    margin: 0;
    color: rgba(7, 27, 58, 0.8);
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.gmsu-public-judges-directory .gmsu-public-judges-empty {
    margin: 0;
    color: #071B3A;
    font-size: 15px;
    text-align: center;
}

/* Tablet: 2 per row */
@media (max-width: 992px) {
    .gmsu-public-judges-directory .gmsu-public-judges-columns-3,
    .gmsu-public-judges-directory .gmsu-public-judges-columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile: 1 per row */
@media (max-width: 576px) {
    .gmsu-public-judges-directory .gmsu-public-judges-grid,
    .gmsu-public-judges-directory .gmsu-public-judges-columns-1,
    .gmsu-public-judges-directory .gmsu-public-judges-columns-2,
    .gmsu-public-judges-directory .gmsu-public-judges-columns-3,
    .gmsu-public-judges-directory .gmsu-public-judges-columns-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .gmsu-public-judges-directory .gmsu-public-judge-card {
        padding: 20px;
    }
}

/* Light Luxury Judge Panel */
.gmsu-light-luxury-panel {
    background: #ffffff;
    color: #071B3A;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(7, 27, 58, 0.05);
    max-width: 1200px;
    margin: 0 auto;
}

.gmsu-ll-judge-header {
    text-align: center;
    margin-bottom: 30px;
}

.gmsu-ll-judge-header h2 {
    color: #071B3A;
    margin: 0 0 10px 0;
    font-weight: 800;
}

.gmsu-ll-judge-header p {
    color: rgba(7, 27, 58, 0.7);
    margin: 0 0 15px 0;
}

.gmsu-ll-header-accent {
    width: 50px;
    height: 3px;
    background: #F4B63D;
    margin: 0 auto;
    border-radius: 999px;
}

.gmsu-ll-judge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gmsu-ll-judge-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(244, 182, 61, 0.25);
    box-shadow: 0 8px 24px rgba(7, 27, 58, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gmsu-ll-judge-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(7, 27, 58, 0.12);
    border-color: rgba(244, 182, 61, 0.6);
}

.gmsu-ll-judge-card.gmsu-ll-scored {
    border-color: #27ae60;
}

.gmsu-ll-jc-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(180deg, rgba(244, 182, 61, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom: 1px solid rgba(7, 27, 58, 0.05);
}

.gmsu-ll-jc-photo {
    margin-right: 16px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px solid #F4B63D;
    padding: 3px;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(244, 182, 61, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gmsu-ll-jc-photo img, .gmsu-ll-jc-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.gmsu-ll-jc-placeholder {
    background: linear-gradient(135deg, #F4B63D 0%, #D49B2A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gmsu-ll-jc-placeholder::after {
    content: "\f110";
    font-family: dashicons;
    color: #fff;
    font-size: 32px;
}


.gmsu-ll-jc-info h3 {
    margin: 0 0 6px 0;
    font-size: 17px;
    color: #071B3A;
    font-weight: 700;
}

.gmsu-ll-jc-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.gmsu-ll-tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.gmsu-ll-tag-cat {
    background: rgba(7, 27, 58, 0.05);
    color: #071B3A;
}

.gmsu-ll-tag-country {
    background: rgba(244, 182, 61, 0.15);
    color: #8A6112;
}

.gmsu-ll-jc-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gmsu-ll-form-group {
    margin-bottom: 16px;
}

.gmsu-ll-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(7, 27, 58, 0.8);
}

.gmsu-score-input, .gmsu-score-notes {
    width: 100%;
    padding: 10px 14px;
    background: #fdfdfd;
    border: 1px solid rgba(7, 27, 58, 0.15);
    border-radius: 10px;
    color: #071B3A;
    font-size: 14px;
    transition: all 0.2s ease;
}

.gmsu-score-input:focus, .gmsu-score-notes:focus {
    outline: none;
    border-color: #F4B63D;
    box-shadow: 0 0 0 3px rgba(244, 182, 61, 0.2);
    background: #fff;
}

.gmsu-ll-btn-submit {
    background: #071B3A;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.1s ease;
    width: 100%;
    margin-top: auto;
}

.gmsu-ll-btn-submit:hover {
    background: #0a254d;
    transform: translateY(-2px);
}

.gmsu-ll-btn-submit:active {
    transform: translateY(0);
}

.gmsu-ll-locked-notice {
    text-align: center;
    padding: 12px;
    background: rgba(7, 27, 58, 0.04);
    color: rgba(7, 27, 58, 0.6);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .gmsu-ll-judge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .gmsu-ll-judge-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .gmsu-light-luxury-panel {
        padding: 20px;
    }
}

/* Custom Judge Login Form Styles */
.gmsu-ll-login-container {
    max-width: 450px !important;
    margin: 40px auto;
}

.gmsu-ll-login-form {
    margin-top: 20px;
}

.gmsu-ll-input {
    width: 100%;
    padding: 12px 16px;
    background: #fdfdfd;
    border: 1px solid rgba(7, 27, 58, 0.15);
    border-radius: 12px;
    color: #071B3A;
    font-size: 15px;
    transition: all 0.2s ease;
}

.gmsu-ll-input:focus {
    outline: none;
    border-color: #F4B63D;
    box-shadow: 0 0 0 3px rgba(244, 182, 61, 0.2);
    background: #fff;
}

.gmsu-ll-login-error {
    background: #fff5f5;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 12px;
    border-left: 4px solid #c53030;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gmsu-ll-rememberme {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(7, 27, 58, 0.7);
}

.gmsu-ll-rememberme input {
    margin-right: 8px;
}

.gmsu-ll-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(7, 27, 58, 0.05);
    color: #071B3A;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gmsu-ll-logout-btn:hover {
    background: #071B3A;
    color: #fff;
}

.gmsu-ll-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .gmsu-ll-header-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
}


/* Premium Public Judge Cards */
.gmsu-public-judges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.gmsu-public-judge-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(7, 27, 58, 0.05);
    border: 1px solid rgba(7, 27, 58, 0.05);
    border-top: 4px solid #F4B63D;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.gmsu-public-judge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(7, 27, 58, 0.12);
}

.gmsu-public-judge-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #071B3A;
    color: #F4B63D;
    padding: 4px 35px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gmsu-public-judge-media {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #F4B63D;
    padding: 4px;
    background: #fff;
    box-shadow: 0 0 15px rgba(244, 182, 61, 0.2);
    position: relative;
}

.gmsu-public-judge-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.gmsu-public-judge-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #071B3A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
}

.gmsu-public-judge-name {
    color: #071B3A;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.gmsu-public-judge-role-pill {
    display: inline-block;
    background: rgba(7, 27, 58, 0.04);
    color: #071B3A;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.gmsu-public-judge-bio {
    font-size: 14px;
    color: rgba(7, 27, 58, 0.6);
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em; /* roughly 2 lines */
}

.gmsu-public-judge-footer {
    margin-top: auto;
    font-size: 10px;
    font-weight: 700;
    color: rgba(7, 27, 58, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 1200px) {
    .gmsu-public-judges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .gmsu-public-judges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .gmsu-public-judges-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LIGHT PREMIUM EVENT DETAIL
   ========================================================================== */

.gmsu-event-detail-wrap.gmsu-light-theme {
    background: #f8fbff;
    color: #071b3a;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(7, 27, 58, 0.08);
    margin-bottom: 50px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gmsu-light-theme .gmsu-ed-hero {
    padding: 100px 40px;
    background-color: #fff;
    position: relative;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gmsu-light-theme .gmsu-ed-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.96) 100%);
    z-index: 1;
}

.gmsu-light-theme .gmsu-ed-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.gmsu-light-theme .gmsu-ed-title {
    color: #071b3a;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    margin: 15px 0 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.gmsu-ed-short-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(7, 27, 58, 0.7);
    margin: 0 auto 30px;
    max-width: 750px;
    line-height: 1.6;
    font-weight: 500;
}

.gmsu-light-theme .gmsu-tag {
    background: rgba(7, 27, 58, 0.05);
    color: #071b3a;
    font-weight: 700;
    border: 1px solid rgba(7, 27, 58, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
}

.gmsu-light-theme .gmsu-tag-type {
    background: #071b3a;
    color: #f5b942;
    border-color: #071b3a;
}

.gmsu-light-theme .gmsu-tag-featured {
    background: #f5b942;
    color: #000;
    border-color: #f5b942;
}

.gmsu-light-theme .gmsu-ed-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    color: rgba(7, 27, 58, 0.6);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 35px;
}

.gmsu-light-theme .gmsu-ed-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gmsu-light-theme .gmsu-ed-body {
    padding: 60px 40px;
    background: #fff;
    display: flex;
    gap: 40px;
}

.gmsu-light-theme .gmsu-ed-main {
    flex: 2;
}

.gmsu-light-theme .gmsu-ed-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gmsu-light-theme .gmsu-ed-main h3, 
.gmsu-light-theme .gmsu-ed-sidebar h3 {
    color: #071b3a;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gmsu-light-theme .gmsu-ed-content {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(7, 27, 58, 0.8);
    margin-bottom: 50px;
}

.gmsu-light-theme .gmsu-ed-widget {
    background: #f8fbff;
    border: 1px solid rgba(7, 27, 58, 0.06);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(7, 27, 58, 0.03);
}

.gmsu-light-theme .gmsu-cd-unit {
    background: #fff;
    border: 1px solid rgba(7, 27, 58, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.gmsu-light-theme .gmsu-cd-val {
    color: #071b3a;
    font-size: 32px;
}

.gmsu-light-theme .gmsu-cd-label {
    color: rgba(7, 27, 58, 0.4);
    font-weight: 700;
}

.gmsu-contestants-empty-state {
    text-align: center;
    padding: 60px 40px;
    background: #f8fbff;
    border: 2px dashed rgba(7, 27, 58, 0.1);
    border-radius: 24px;
    color: rgba(7, 27, 58, 0.4);
    margin: 20px 0;
}

.gmsu-contestants-empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.3;
}

.gmsu-contestants-empty-state p {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 992px) {
    .gmsu-light-theme .gmsu-ed-body {
        flex-direction: column;
        padding: 40px 20px;
    }
    .gmsu-light-theme .gmsu-ed-hero {
        padding: 60px 20px;
    }
}

@media (max-width: 600px) {
    .gmsu-light-theme .gmsu-ed-meta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .gmsu-light-theme .gmsu-ed-title {
        font-size: 32px;
    }

    /* Mobile Countdown Refinement */
    .gmsu-light-theme .gmsu-cd-timer {
        gap: 6px;
    }
    .gmsu-light-theme .gmsu-cd-unit {
        padding: 12px 5px;
        border-radius: 12px;
    }
    .gmsu-light-theme .gmsu-cd-val {
        font-size: 20px;
    }
    .gmsu-light-theme .gmsu-cd-label {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
}

/* Latest Updates - Light Premium Redesign */
.gmsu-light-theme .gmsu-live-box {
    background: #fff !important;
    color: #071b3a !important;
    border: 1px solid rgba(7, 27, 58, 0.06) !important;
    box-shadow: 0 10px 30px rgba(7, 27, 58, 0.04) !important;
    padding: 25px !important;
    border-radius: 20px !important;
}

.gmsu-light-theme .gmsu-live-box .gmsu-title {
    color: #071b3a !important;
    font-size: 18px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.gmsu-light-theme .gmsu-live-box .gmsu-box-head {
    border-bottom-color: rgba(7, 27, 58, 0.05) !important;
}

.gmsu-light-theme .gmsu-live-item {
    border-bottom: 1px solid rgba(7, 27, 58, 0.05) !important;
    padding: 20px 0 !important;
}

.gmsu-light-theme .gmsu-live-item:last-child {
    border-bottom: none !important;
}

.gmsu-light-theme .gmsu-live-date {
    color: #f5b942 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.gmsu-light-theme .gmsu-live-title {
    color: #071b3a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.gmsu-light-theme .gmsu-live-excerpt {
    color: rgba(7, 27, 58, 0.7) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.gmsu-light-theme .gmsu-live-dot {
    background-color: #e74c3c !important;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.3) !important;
}

/**
 * Featured Event Section - Refined Premium Homepage Layout
 * FIX: Enforced desktop side-by-side and centered container
 */
.gmsu-featured-event-section {
    background: var(--gmsu-bg-card);
    border: 1px solid var(--gmsu-border);
    border-radius: 30px;
    padding: 0;
    margin: 60px auto; /* Centered */
    max-width: 1200px;  /* Constrained */
    width: calc(100% - 40px); /* Margin safety */
    position: relative;
    overflow: hidden;
    box-shadow: var(--gmsu-v3-shadow);
    display: block; /* Ensure block */
}

.gmsu-fe-container {
    display: flex !important;
    flex-direction: row !important; /* Force row on desktop */
    flex-wrap: nowrap !important;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Left Column: Content */
.gmsu-fe-content-col {
    flex: 0 0 55% !important;
    width: 55%;
    padding: 60px 50px 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.gmsu-fe-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.gmsu-fe-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.gmsu-badge-type { background: rgba(245, 185, 66, 0.1); color: var(--gmsu-primary); border: 1px solid rgba(245, 185, 66, 0.3); }
.gmsu-badge-featured { background: var(--gmsu-primary); color: #000; }
.gmsu-badge-live { background: #ef4444; color: #fff; display: flex; align-items: center; gap: 6px; box-shadow: 0 0 15px rgba(239, 68, 68, 0.4); }

.gmsu-live-pulse {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: gmsu-pulse 1.5s infinite;
}

.gmsu-fe-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin: 0 0 20px 0;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.gmsu-fe-description {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gmsu-text-dim);
    margin-bottom: 35px;
    max-width: 90%;
}

.gmsu-fe-countdown-wrap {
    margin-bottom: 35px;
    padding: 20px 25px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--gmsu-border);
    border-radius: 20px;
    max-width: fit-content;
}

.gmsu-fe-countdown-label {
    margin: 0 0 15px 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gmsu-primary);
    font-weight: 700;
}

.gmsu-fe-countdown .gmsu-cd-timer {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.gmsu-fe-countdown .gmsu-cd-unit {
    text-align: center;
}

.gmsu-fe-countdown .gmsu-cd-val {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    display: block;
    line-height: 1;
}

.gmsu-fe-countdown .gmsu-cd-unit small {
    font-size: 10px;
    color: var(--gmsu-text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    display: block;
}

.gmsu-fe-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: auto;
}

.gmsu-fe-btn {
    min-width: 190px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Right Column: Image */
.gmsu-fe-image-col {
    flex: 0 0 45% !important;
    width: 45%;
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Ensure visibility */
}

.gmsu-fe-image-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.gmsu-fe-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gmsu-featured-event-section:hover .gmsu-fe-img {
    transform: scale(1.05);
}

.gmsu-fe-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2a3a 0%, #07111f 100%);
}

/* Mini Contestants in Image Col */
.gmsu-fe-contestants-mini {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 5;
}

.gmsu-fe-contestant-list {
    display: flex;
    align-items: center;
}

.gmsu-fe-contestant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #222;
    overflow: hidden;
    margin-left: -10px;
    transition: transform 0.3s;
}

.gmsu-fe-contestant-avatar:first-child { margin-left: 0; }
.gmsu-fe-contestant-avatar:hover { transform: translateY(-3px); z-index: 2; }

.gmsu-fe-contestant-avatar img { width: 100%; height: 100%; object-fit: cover; }

.gmsu-fe-avatar-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: var(--gmsu-primary);
}

.gmsu-fe-contestant-more {
    font-size: 11px;
    color: #fff;
    margin-left: 8px;
    font-weight: 700;
}

.gmsu-fe-contestant-note {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Info Bar */
.gmsu-fe-infobar {
    display: flex !important; /* Flex is more robust for equal cols */
    flex-direction: row;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--gmsu-border);
    padding: 0;
}

.gmsu-fe-info-item {
    flex: 1; /* 4 equal columns */
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid var(--gmsu-border);
    padding: 25px 30px;
    box-sizing: border-box;
}

.gmsu-fe-info-item:last-child { border-right: none; }

.gmsu-fe-info-item .gmsu-icon {
    font-size: 20px;
    opacity: 0.8;
}

.gmsu-info-text {
    display: flex;
    flex-direction: column;
}

.gmsu-info-text small {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--gmsu-text-dim);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.gmsu-info-text span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.gmsu-status-tag {
    display: inline-block;
    font-size: 12px !important;
    text-transform: uppercase;
}

.gmsu-status-tag.status-open { color: var(--gmsu-success) !important; }
.gmsu-status-tag.status-closed { color: var(--gmsu-error) !important; }

/* Empty State */
.gmsu-featured-event-empty {
    padding: 80px 40px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    border: 2px dashed var(--gmsu-border);
    border-radius: 30px;
    margin: 60px 0;
}

.gmsu-fe-empty-content i { font-size: 60px; display: block; margin-bottom: 25px; opacity: 0.3; }
.gmsu-fe-empty-content h3 { font-size: 24px; margin: 0 0 12px 0; color: #fff; }
.gmsu-fe-empty-content p { color: var(--gmsu-text-dim); font-size: 16px; }

/* Responsive */
@media (max-width: 1100px) {
    .gmsu-fe-infobar { display: grid !important; grid-template-columns: repeat(2, 1fr); }
    .gmsu-fe-info-item { border-right: none; border-bottom: 1px solid var(--gmsu-border); }
    .gmsu-fe-info-item:nth-child(3), .gmsu-fe-info-item:nth-child(4) { border-bottom: none; }
}

@media (max-width: 991px) {
    .gmsu-fe-container { flex-direction: column-reverse !important; }
    .gmsu-fe-content-col { flex: 0 0 100% !important; width: 100%; padding: 40px 30px; }
    .gmsu-fe-image-col { flex: 0 0 400px !important; width: 100%; min-height: 350px; }
    .gmsu-fe-description { max-width: 100%; }
}

@media (max-width: 600px) {
    .gmsu-fe-infobar { grid-template-columns: 1fr !important; }
    .gmsu-fe-info-item { border-right: none; border-bottom: 1px solid var(--gmsu-border); }
    .gmsu-fe-info-item:last-child { border-bottom: none; }
    .gmsu-fe-actions { flex-direction: column; }
    .gmsu-fe-btn { width: 100%; }
}

@media (max-width: 480px) {
    .gmsu-fe-countdown .gmsu-cd-timer {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
    }
    .gmsu-fe-countdown-wrap {
        padding: 15px 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center;
    }
    .gmsu-fe-countdown-label {
        text-align: center;
        margin-bottom: 12px !important;
    }
    .gmsu-fe-countdown .gmsu-cd-val {
        font-size: 24px !important;
        letter-spacing: -0.5px !important;
    }
    .gmsu-fe-countdown .gmsu-cd-unit {
        padding: 12px 5px !important;
        background: rgba(255,255,255,0.03) !important;
        border: 1px solid var(--gmsu-border) !important;
        border-radius: 12px !important;
        flex: 1 !important;
        max-width: 75px !important;
        min-width: 60px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .gmsu-fe-countdown .gmsu-cd-unit small {
        font-size: 8px !important;
        margin-top: 4px !important;
        opacity: 0.8;
    }
}

/* GMSU Judges Slider */
/* GMSU Judges Slider - Premium Refined Design */
.gmsu-judges-slider-container {
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.gmsu-judges-swiper {
    width: 100%;
    height: auto;
    padding-bottom: 60px !important;
}

.gmsu-judges-swiper .swiper-wrapper {
    align-items: stretch;
}

.gmsu-judges-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

/* Premium Slider Judge Card */
.gmsu-judges-slider .gmsu-public-judge-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 25px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(7, 27, 58, 0.08);
    border: 1px solid rgba(7, 27, 58, 0.06);
    border-top: none; /* Pseudo-element used for top line */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    margin: 0;
    width: 100%;
}

/* Top thin navy/blue/gold accent line */
.gmsu-judges-slider .gmsu-public-judge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #071B3A 0%, #1a4a8e 50%, #F4B63D 100%);
    z-index: 2;
}

.gmsu-judges-slider .gmsu-public-judge-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(7, 27, 58, 0.15);
}

/* Circular judge image with gold border */
.gmsu-judges-slider .gmsu-public-judge-media {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 3px solid #F4B63D;
    padding: 3px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(244, 182, 61, 0.2);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gmsu-judges-slider .gmsu-public-judge-card:hover .gmsu-public-judge-media {
    transform: scale(1.05);
}

.gmsu-judges-slider .gmsu-public-judge-name {
    color: #071B3A;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px 0;
    text-align: center;
}

/* Role as navy pill/button with gold icon or accent */
.gmsu-judges-slider .gmsu-public-judge-role-pill {
    display: inline-flex;
    align-items: center;
    background: #071B3A;
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    border: 1px solid #F4B63D;
    box-shadow: 0 4px 10px rgba(7, 27, 58, 0.2);
}

.gmsu-judges-slider .gmsu-public-judge-bio {
    font-size: 14px;
    color: rgba(7, 27, 58, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em;
}

.gmsu-judges-slider .gmsu-public-judge-footer {
    margin-top: auto;
    font-size: 11px;
    font-weight: 800;
    color: #071B3A;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Corner ribbon refiner */
.gmsu-judges-slider .gmsu-public-judge-badge {
    position: absolute;
    top: 12px;
    right: -25px;
    background: #071B3A;
    color: #F4B63D;
    padding: 3px 25px;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    width: 100px;
    text-align: center;
}

/* Premium Circular Arrows */
.gmsu-judges-prev,
.gmsu-judges-next {
    width: 48px !important;
    height: 48px !important;
    background: #ffffff !important;
    border: 2px solid #F4B63D !important;
    border-radius: 50% !important;
    color: #071B3A !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

.gmsu-judges-prev:hover,
.gmsu-judges-next:hover {
    background: #F4B63D !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

.gmsu-judges-prev:after,
.gmsu-judges-next:after {
    font-size: 18px !important;
    font-weight: 900 !important;
}

/* Pagination dot gold */
.gmsu-judges-pagination {
    bottom: 0px !important;
}

.gmsu-judges-pagination .swiper-pagination-bullet {
    background: #071B3A;
    opacity: 0.2;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.gmsu-judges-pagination .swiper-pagination-bullet-active {
    background: #F4B63D;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .gmsu-judges-prev,
    .gmsu-judges-next {
        display: none !important;
    }
    
    .gmsu-judges-swiper .swiper-slide {
        padding: 0 15px;
    }

    .gmsu-judges-slider .gmsu-public-judge-card {
        padding: 30px 20px 25px;
    }
    .gmsu-judges-slider .gmsu-public-judge-media {
        width: 90px;
        height: 90px;
    }
}

/* Non-initialized Fallback / Static Centered Row */
.gmsu-judges-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gmsu-judges-swiper:not(.swiper-initialized) .swiper-slide {
    width: calc(25% - 20px);
    min-width: 250px;
}

@media (max-width: 1024px) {
    .gmsu-judges-swiper:not(.swiper-initialized) .swiper-slide {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 600px) {
    .gmsu-judges-swiper:not(.swiper-initialized) .swiper-slide {
        width: 100%;
    }
}

