/* ========================================
   SETÓMETRO - BEM CSS
   All classes prefixed with .setometro-
   ======================================== */

/* Utility Classes */
.text-muted {
    opacity: 0.6;
    font-weight: normal;
}

/* Landing Page - Section Headers */
.setometro-landing__section-title {
    text-align: center;
    margin-bottom: var(--gap-lg);
}

.setometro-landing__section-subtitle {
    text-align: center;
    margin-bottom: var(--gap-xl);
    opacity: 0.8;
}

/* Landing Page - Game Mode Buttons */
.setometro-landing__cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-xl);
    max-width: 800px;
    margin: 0 auto;
}

.setometro-landing__btn {
    background: var(--accent);
    color: var(--white);
    padding: var(--gap-xl);
    border: 3px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-md);
    text-align: center;
}

.setometro-landing__btn i {
    font-size: 3rem;
}

.setometro-landing__btn-title {
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
}

.setometro-landing__btn-desc {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.setometro-landing__btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--white);
}

.setometro-landing__btn--solo {
    background: var(--accent);
}

.setometro-landing__btn--multi {
    background: var(--second-accent);
}

/* Landing Page - How It Works */
.setometro-landing__elo-box {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-light) 100%);
    border-radius: var(--radius-lg);
    padding: var(--gap-xxl);
    text-align: center;
    border: 2px solid var(--accent);
}

.setometro-landing__elo-box i {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: var(--gap-lg);
}

.setometro-landing__elo-box h3 {
    margin-bottom: var(--gap-md);
}

.setometro-landing__elo-box p {
    opacity: 0.9;
}

/* Global Ranking Table */
.setometro-global-ranking {
    overflow-x: auto;
}

.setometro-global-ranking .setometro-ranking__table {
    width: 100%;
    max-width: 100%;
}

.setometro-global-ranking td:first-child {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Concepts of the Day Title */
.setometro-concepts-day-title {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    margin-bottom: 0;
    font-size: 1.5rem;
    color: var(--text);
    border-top: 2px solid #e0e0e0;
}

/* Random Concept Cards */
.setometro-concept-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-lg);
    margin-top: var(--gap-lg);
}

@media (min-width: 768px) {
    .setometro-concept-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

.setometro-concept-card {
    background: linear-gradient(135deg, #f0f0f0 0%, #fafafa 100%);
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: var(--gap-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 140px;
}

.setometro-concept-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.setometro-concept-card > i:first-child {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: var(--gap-sm);
}

.setometro-concept-card__name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: auto;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.setometro-concept-card__value {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-dark);
    margin-top: var(--gap-md);
}

.setometro-concept-card__value i {
    color: var(--accent);
}

/* Session Join Box */
.setometro-session-join-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: var(--gap-xl);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(138, 75, 175, 0.15);
}

.setometro-session-join-box h3 {
    color: var(--accent);
    margin-bottom: var(--gap-lg);
    font-size: 1.4rem;
    text-align: center;
}

.setometro-session-join-box .form-group {
    margin-bottom: var(--gap-lg);
}

.setometro-session-join-box label {
    display: block;
    margin-bottom: var(--gap-sm);
    font-weight: 600;
    color: var(--text);
}

.setometro-session-join-box input {
    width: 100%;
    padding: var(--gap-md);
    border: 2px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.setometro-session-join-box input:focus {
    outline: none;
    border-color: var(--accent);
}

.setometro-session-join-box button {
    width: 100%;
}

/* Session Info Component (replaces text-and-img for session page) */
.setometro-session-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: start;
}

@media (max-width: 992px) {
    .setometro-session-info {
        grid-template-columns: 1fr;
    }

    .setometro-session-info__box {
        order: 2;
    }

    .setometro-session-info__text {
        order: 1;
    }
}

/* Session Share Box */
.setometro-session-share-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: var(--gap-xl);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(138, 75, 175, 0.15);
}

.setometro-session-share-box__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gap-lg);
    gap: var(--gap-md);
}

.setometro-session-share-box__header .btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
    margin: 0;
    opacity: 0.7;
    line-height: 1;
    align-self: center;
}

.setometro-session-share-box__header .btn:hover {
    opacity: 1;
}

.setometro-session-share-box h3 {
    color: var(--accent);
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.2;
}

.setometro-session-share-box .setometro-link-box {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

/* Session Actions */
.setometro-session-actions {
    display: flex;
    gap: var(--gap-md);
    justify-content: center;
    margin-bottom: var(--gap-xl);
    flex-wrap: wrap;
}

/* Ranking Title */
.setometro-ranking__title {
    text-align: center;
    margin-bottom: var(--gap-lg);
    color: var(--accent);
}

/* Modal Fullscreen */
.setometro-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 9999;
    overflow-y: auto;
    display: none;
}

.setometro-modal.active {
    display: flex;
    flex-direction: column;
}

.setometro-modal__close {
    position: fixed;
    top: var(--gap-md);
    right: var(--gap-md);
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow);
    z-index: 10000;
    transition: all 0.3s ease;
}

.setometro-modal__close:hover {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.setometro-modal__container {
    max-width: 800px;
    margin: auto;
    padding: var(--gap-xl) var(--gap-md);
    width: 100%;
}

/* Screen */
.setometro-screen {
    display: none;
    animation: fadeIn 0.3s ease;
}

.setometro-screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Welcome Screen */
.setometro-welcome {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.setometro-welcome__icon {
    font-size: 4rem;
    color: var(--second-accent);
    margin-bottom: var(--gap-md);
}

.setometro-welcome h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: var(--gap-md);
}

.setometro-welcome p {
    font-size: 1.1rem;
    margin-bottom: var(--gap-lg);
    opacity: 0.9;
}

/* Create Session Form */
.setometro-create {
    max-width: 500px;
    margin: 0 auto;
}

.setometro-create h2 {
    font-family: var(--font-title);
    text-align: center;
    margin-bottom: var(--gap-sm);
}

.setometro-create__subtitle {
    text-align: center;
    opacity: 0.8;
    margin-bottom: var(--gap-lg);
}

.setometro-create__form {
    background: var(--white);
    padding: var(--gap-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px var(--shadow);
}

.setometro-create__form .form-group {
    margin-bottom: var(--gap-md);
}

.setometro-create__form label {
    display: block;
    margin-bottom: var(--gap-xs);
    font-weight: 600;
}

.setometro-create__form input {
    width: 100%;
    padding: var(--gap-sm);
    border: 2px solid var(--bg-dark);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.setometro-create__form input:focus {
    outline: none;
    border-color: var(--accent);
}

.setometro-create__button-wrapper {
    text-align: center;
}

/* Email Sent Confirmation */
.setometro-email-sent {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.setometro-email-sent__icon {
    font-size: 4rem;
    color: var(--color-green);
    margin-bottom: var(--gap-md);
}

.setometro-email-sent h2 {
    font-family: var(--font-title);
    margin-bottom: var(--gap-md);
}

.setometro-email-sent__email {
    font-size: 1.2rem;
    color: var(--accent);
    margin: var(--gap-md) 0;
}

.setometro-email-sent__instructions {
    background: var(--bg-light-blue);
    padding: var(--gap-md);
    border-radius: var(--radius-md);
    margin: var(--gap-lg) 0;
}

/* Comparison Screen */
.setometro-comparison {
    max-width: 700px;
    margin: 0 auto;
}

.setometro-comparison__question {
    text-align: center;
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: var(--gap-xl);
}

.setometro-comparison__options {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    margin-bottom: var(--gap-xl);
}

.setometro-comparison__option {
    flex: 1;
    background: var(--white);
    border: 3px solid var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: var(--gap-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-md);
    min-height: 200px;
    justify-content: center;
}

.setometro-comparison__option:hover {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.setometro-comparison__option i {
    font-size: 3rem;
    color: var(--second-accent);
}

.setometro-comparison__option span {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--txt);
}

.setometro-comparison__vs {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--txt);
    opacity: 0.5;
}

/* Progress Bar */
.setometro-progress {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.setometro-progress__bar {
    width: 100%;
    height: 12px;
    background: var(--bg-dark);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-bottom: var(--gap-sm);
}

.setometro-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--second-accent));
    transition: width 0.3s ease;
    border-radius: var(--radius-pill);
}

.setometro-progress__text {
    font-weight: 600;
    color: var(--txt);
}

/* Results Screen */
.setometro-results {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.setometro-results__icon {
    font-size: 4rem;
    color: var(--second-accent);
    margin-bottom: var(--gap-md);
}

.setometro-results h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: var(--gap-lg);
}

.setometro-results__gauge {
    background: var(--white);
    padding: var(--gap-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px var(--shadow);
    margin-bottom: var(--gap-lg);
}

.setometro-gauge {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto var(--gap-md);
}

.setometro-gauge__fill {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        var(--second-accent) calc(var(--percentage) * 1%),
        var(--bg-dark) calc(var(--percentage) * 1%)
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.setometro-gauge__value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: bold;
    color: var(--txt);
    background: var(--bg);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setometro-results__actions {
    display: flex;
    gap: var(--gap-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Ranking Table */
.setometro-ranking {
    max-width: 800px;
    margin: 0 auto;
}

.setometro-ranking--page {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 var(--gap-md);
}

.setometro-ranking h2 {
    font-family: var(--font-title);
    text-align: center;
    margin-bottom: var(--gap-sm);
}

.setometro-ranking__code {
    text-align: center;
    margin-bottom: var(--gap-lg);
}

.setometro-ranking__code strong {
    color: var(--accent);
    font-size: 1.2rem;
}

.setometro-ranking__table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
}

.setometro-ranking__table thead {
    background: var(--second-accent);
    color: var(--white);
}

.setometro-ranking__table th {
    padding: var(--gap-md);
    text-align: left;
    font-weight: 600;
}

.setometro-ranking__table td {
    padding: var(--gap-md);
    border-bottom: 1px solid var(--bg-dark);
}

.setometro-ranking__table tbody tr:last-child td {
    border-bottom: none;
}

.setometro-ranking__affinity {
    font-weight: bold;
    color: var(--second-accent);
    font-size: 1.1rem;
}

.setometro-ranking__info {
    text-align: center;
    margin-top: var(--gap-md);
    opacity: 0.7;
    font-size: 0.9rem;
}

.setometro-ranking__fullscreen-btn {
    margin-left: var(--gap-md);
}

/* Link Box (for sharing) */
.setometro-link-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: var(--gap-lg);
    border-radius: var(--radius-md);
    margin: var(--gap-lg) 0;
    border: 2px solid #e0e0e0;
}

.setometro-link-box label {
    display: block;
    margin-bottom: var(--gap-sm);
    font-weight: 600;
    font-size: 0.95rem;
}

.setometro-link-input-group {
    position: relative;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.setometro-link-input-group input {
    flex: 1;
    padding: 0.65rem var(--gap-md);
    border: 2px solid #ddd;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: none;
    font-size: 0.9rem;
    background: white;
}

.setometro-link-input-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.setometro-link-input-group .btn {
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-left: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 0 1rem;
    margin: 0;
    color: #666;
    cursor: pointer;
    transition: none;
    box-shadow: none;
}

.setometro-link-input-group .btn:hover {
    background: #e8e8e8;
    transform: none;
    box-shadow: none;
}

.setometro-link-input-group input:focus + .btn {
    border-color: var(--accent);
}

.setometro-share-buttons {
    display: flex;
    gap: var(--gap-sm);
    margin-top: var(--gap-md);
}

.setometro-share-buttons .btn {
    flex: 1;
    margin-top: 0;
}

.setometro-share-buttons .btn i {
    vertical-align: middle;
}

.setometro-share-buttons .btn:first-child {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.setometro-share-buttons .btn:first-child:hover {
    background: white;
    color: #25D366;
    border-color: #25D366;
}

.setometro-share-buttons .btn:last-child {
    background: #0088cc;
    color: white;
    border-color: #0088cc;
}

.setometro-share-buttons .btn:last-child:hover {
    background: white;
    color: #0088cc;
    border-color: #0088cc;
}

/* Share buttons for review screen */
.setometro-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-sm);
    padding: var(--gap-md) var(--gap-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
}

.setometro-share-btn i {
    vertical-align: middle;
}

.setometro-share-btn--whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.setometro-share-btn--whatsapp:hover {
    background: white;
    color: #25D366;
    border-color: #25D366;
}

.setometro-share-btn--telegram {
    background: #0088cc;
    color: white;
    border-color: #0088cc;
}

.setometro-share-btn--telegram:hover {
    background: white;
    color: #0088cc;
    border-color: #0088cc;
}

/* Validation Page */
.setometro-validation {
    max-width: 800px;
    margin: var(--gap-xl) auto;
    padding: var(--gap-lg) var(--gap-md);
}

.setometro-validation__success {
    text-align: center;
    background: var(--white);
    padding: var(--gap-xxl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px var(--shadow);
}

.setometro-validation__success .fa-circle-check {
    color: var(--color-green);
}

.setometro-validation__success h1 {
    font-size: 1.8rem;
}

.setometro-validation__success h2 {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
    text-transform: uppercase;
}

.setometro-manage__form {
    text-align: left;
    margin-top: var(--gap-xl);
}

.setometro-manage__password-info {
    margin-top: var(--gap-sm);
    font-size: 0.9rem;
    color: #666;
    background: #f0f0f0;
    padding: var(--gap-sm) var(--gap-md);
    border-radius: var(--radius-md);
}

.setometro-validation__actions {
    display: flex;
    gap: var(--gap-md);
    justify-content: center;
    margin: var(--gap-lg) 0;
}

.setometro-validation__actions .btn {
    margin-top: 0;
}

@media (max-width: 767px) {
    .setometro-validation__actions {
        flex-direction: column;
    }

    .setometro-validation__actions .btn {
        width: 100%;
    }
}

/* Mobile: No white box, full width */
@media (max-width: 767px) {
    .setometro-validation {
        margin: 0;
        padding: 0;
    }

    .setometro-validation__success {
        background: var(--white);
        border-radius: 0;
        box-shadow: none;
        padding: var(--gap-xl) var(--gap-md);
    }
}

/* Session Pending */
.setometro-session-pending {
    max-width: 600px;
    margin: var(--gap-xxl) auto;
    padding: var(--gap-xl) var(--gap-md);
    text-align: center;
}

.setometro-session-pending i {
    color: var(--accent);
    margin-bottom: var(--gap-md);
}

/* Session Join */
.setometro-session-join {
    max-width: 500px;
    margin: var(--gap-xxl) auto;
    padding: var(--gap-xl) var(--gap-md);
}

.setometro-session-join h1 {
    font-family: var(--font-title);
    text-align: center;
    margin-bottom: var(--gap-sm);
}

.setometro-session-join > p {
    text-align: center;
    opacity: 0.8;
    margin-bottom: var(--gap-lg);
}

.setometro-session-actions {
    display: flex;
    gap: var(--gap-md);
    justify-content: center;
    margin-bottom: var(--gap-lg);
    flex-wrap: wrap;
}

.setometro-session-join form {
    background: var(--white);
    padding: var(--gap-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px var(--shadow);
}

.setometro-session-join .form-group {
    margin-bottom: var(--gap-md);
}

.setometro-session-join label {
    display: block;
    margin-bottom: var(--gap-xs);
    font-weight: 600;
}

.setometro-session-join label small {
    font-weight: normal;
    opacity: 0.7;
}

.setometro-session-join input {
    width: 100%;
    padding: var(--gap-sm);
    border: 2px solid var(--bg-dark);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.setometro-session-join input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Session Password Prompt */
.setometro-password {
    max-width: 800px;
    margin: var(--gap-xl) auto;
    padding: var(--gap-lg) var(--gap-md);
}

.setometro-password__box {
    text-align: center;
    background: var(--white);
    padding: var(--gap-xxl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px var(--shadow);
}

.setometro-password__box .fa-lock {
    color: var(--accent);
}

.setometro-password__box h1 {
    font-size: 1.8rem;
}

.setometro-password__box h2 {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
    text-transform: uppercase;
}

.setometro-password-form {
    margin: var(--gap-lg) 0;
}

.setometro-password-form .form-group {
    margin-bottom: var(--gap-md);
}

.setometro-password-form label {
    display: block;
    margin-bottom: var(--gap-xs);
    font-weight: 600;
    text-align: left;
}

.setometro-password-form input {
    width: 100%;
    padding: var(--gap-sm) var(--gap-md);
    border: 2px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.setometro-password-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.setometro-password-form .btn {
    margin-top: 0;
    width: 100%;
}

.setometro-password__box > .btn {
    margin-top: var(--gap-md);
}

.setometro-password-form__error {
    background: #fee;
    color: #c00;
    padding: var(--gap-sm);
    border-radius: var(--radius-md);
    margin-top: var(--gap-sm);
    margin-bottom: var(--gap-md);
}

/* Mobile: No white box, full width */
@media (max-width: 767px) {
    .setometro-password {
        margin: 0;
        padding: 0;
    }

    .setometro-password__box {
        background: var(--white);
        border-radius: 0;
        box-shadow: none;
        padding: var(--gap-xl) var(--gap-md);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .setometro-landing__cta {
        grid-template-columns: 1fr;
    }

    .setometro-comparison__options {
        flex-direction: column;
    }

    .setometro-comparison__vs {
        transform: rotate(90deg);
    }

    .setometro-comparison__option {
        min-height: 150px;
    }

    .setometro-comparison__option i {
        font-size: 2.5rem;
    }

    .setometro-comparison__option span {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .setometro-landing__hero h1 {
        font-size: 2rem;
    }

    .setometro-landing__icon {
        font-size: 3.5rem;
    }

    .setometro-ranking__table {
        font-size: 0.9rem;
    }

    .setometro-ranking__table th,
    .setometro-ranking__table td {
        padding: var(--gap-sm);
    }
}

/* ========================================
   REVIEW SCREEN
   ======================================== */

.setometro-review {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--gap-xl) var(--gap-md);
}

/* Badge Showcase */
.setometro-review__badge {
    text-align: center;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFF5DC 50%, #FFE4B5 100%);
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: var(--gap-xxl) var(--gap-xl);
    margin-bottom: var(--gap-xxl);
    box-shadow: 0 8px 32px rgba(255, 200, 87, 0.2);
}

.setometro-review__badge-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: var(--gap-md);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.setometro-review__badge-label {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--txt);
    margin-bottom: var(--gap-sm);
}

.setometro-review__badge-affinity {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: var(--gap-sm);
}

.setometro-review__badge-description {
    font-size: 1.1rem;
    color: var(--txt);
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto var(--gap-md);
}

.setometro-review__badge-name {
    font-size: 1.5rem;
    color: var(--txt);
    font-weight: 600;
    margin-bottom: var(--gap-xs);
}

/* Share Actions */
.setometro-review__share-actions {
    display: flex;
    gap: var(--gap-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--gap-xl);
}

/* Section Header */
.setometro-review__section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gap-lg);
    padding-bottom: var(--gap-md);
    border-bottom: 2px solid var(--bg-dark);
}

.setometro-review__section-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--txt);
}

/* Comparison Mode Toggle */
.setometro-review__toggle {
    display: flex;
    gap: var(--gap-xs);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: var(--gap-xs);
}

.setometro-review__toggle-btn {
    padding: var(--gap-sm) var(--gap-md);
    border: none;
    background: transparent;
    color: var(--txt);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.setometro-review__toggle-btn--active {
    background: var(--accent);
    color: var(--white);
}

.setometro-review__toggle-btn:hover:not(.setometro-review__toggle-btn--active) {
    background: rgba(0, 0, 0, 0.05);
}

/* Pair Reviews List */
.setometro-review__pairs {
    margin-bottom: var(--gap-xxl);
}

/* Individual Pair */
.setometro-review__pair {
    background: var(--white);
    border: 2px solid var(--bg-dark);
    border-radius: var(--radius-md);
    margin-bottom: var(--gap-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.setometro-review__pair:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Pair Header (Clickable) */
.setometro-review__pair-header {
    padding: var(--gap-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    transition: background 0.2s ease;
}

.setometro-review__pair-header:hover {
    background: rgba(255, 107, 107, 0.05);
}

.setometro-review__pair-question {
    flex: 1;
}

.setometro-review__pair-number {
    font-size: 0.9rem;
    color: var(--txt);
    opacity: 0.6;
    margin-bottom: var(--gap-xs);
}

.setometro-review__pair-text {
    font-size: 1.2rem;
    color: var(--txt);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
}

.setometro-review__pair-vs {
    opacity: 0.5;
}

.setometro-review__pair-expand {
    font-size: 1.5rem;
    color: var(--txt);
    opacity: 0.4;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.setometro-review__pair--expanded .setometro-review__pair-expand {
    transform: rotate(180deg);
    opacity: 0.8;
}

/* Pair Content (Expandable) */
.setometro-review__pair-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.setometro-review__pair--expanded .setometro-review__pair-content {
    max-height: 1000px;
}

.setometro-review__pair-inner {
    padding: var(--gap-md);
    border-top: 2px solid var(--bg-dark);
}

/* Selection Label */
.setometro-review__selection-label {
    font-size: 0.85rem;
    color: var(--txt);
    opacity: 0.6;
    margin-bottom: var(--gap-xs);
    font-weight: 500;
}

/* Compact Stats Design */
.setometro-review__compact-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-lg);
    padding: var(--gap-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--gap-md);
}

.setometro-review__your-pick {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    flex: 1;
}

.setometro-review__your-pick i {
    font-size: 1.8rem;
    color: var(--second-accent);
}

.setometro-review__your-pick span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--txt);
}

.setometro-review__agreement {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    padding: var(--gap-sm) var(--gap-md);
    border-radius: var(--radius-md);
}

.setometro-review__agreement.agrees {
    background: rgba(39, 174, 96, 0.1);
    border: 2px solid #27ae60;
}

.setometro-review__agreement.disagrees {
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid #e74c3c;
}

.setometro-review__agreement-icon {
    font-size: 1.3rem;
}

.setometro-review__agreement.agrees .setometro-review__agreement-icon {
    color: #27ae60;
}

.setometro-review__agreement.disagrees .setometro-review__agreement-icon {
    color: #e74c3c;
}

.setometro-review__agreement-text {
    font-size: 0.95rem;
    white-space: nowrap;
}

.setometro-review__agreement-text strong {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Session Voters Compact */
.setometro-review__session-voters {
    padding: var(--gap-md);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--bg-dark);
}

.setometro-review__voters-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--txt);
    opacity: 0.7;
    margin-bottom: var(--gap-sm);
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
}

.setometro-review__voters-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-xs);
}

.setometro-review__voter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
    padding: var(--gap-xs) var(--gap-sm);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
}

.setometro-review__voter-chip.same {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.setometro-review__voter-chip.different {
    background: var(--bg-light);
    color: var(--txt);
    opacity: 0.7;
}

.setometro-review__voter-chip i {
    font-size: 0.9rem;
}

/* Ranking Section */
.setometro-review__ranking {
    margin-top: var(--gap-xxl);
}

/* Loading State */
.setometro-review__loading {
    text-align: center;
    padding: var(--gap-xxl);
    color: var(--txt);
    opacity: 0.6;
}

.setometro-review__loading-spinner {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Error State */
.setometro-review__error {
    text-align: center;
    padding: var(--gap-xxl);
}

.setometro-review__error-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: var(--gap-md);
}

.setometro-review__error-text {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 992px) {
    .setometro-review__compact-stats {
        flex-direction: column;
        align-items: stretch;
    }

    .setometro-review__agreement {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .setometro-review {
        padding: var(--gap-lg) var(--gap-sm);
    }

    .setometro-review__badge {
        padding: var(--gap-xl) var(--gap-md);
    }

    .setometro-review__badge-icon {
        font-size: 4rem;
    }

    .setometro-review__badge-label {
        font-size: 1.5rem;
    }

    .setometro-review__badge-affinity {
        font-size: 2.5rem;
    }

    .setometro-review__section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--gap-md);
    }

    .setometro-review__toggle {
        width: 100%;
    }

    .setometro-review__toggle-btn {
        flex: 1;
    }

    .setometro-review__pair-header {
        padding: var(--gap-md);
    }

    .setometro-review__pair-inner {
        padding: var(--gap-sm);
    }

    .setometro-review__share-actions {
        flex-direction: column;
    }

    .setometro-review__share-actions .btn,
    .setometro-review__share-actions .setometro-share-btn {
        width: 100%;
    }
}

/* ==========================================================================
   Daily Challenge Widget
   ========================================================================== */

.daily-challenge {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-light) 100%);
    border-radius: var(--radius-lg);
    padding: var(--gap-xl);
    margin: var(--gap-xl) 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--accent);
}

.daily-challenge__header {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    margin-bottom: var(--gap-lg);
    justify-content: center;
}

.daily-challenge__header i {
    font-size: 2rem;
    color: var(--accent);
}

.daily-challenge__header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--txt);
}

.daily-challenge__content {
    text-align: center;
}

.daily-challenge__loading {
    padding: var(--gap-xl);
}

.daily-challenge__loading i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: var(--gap-md);
}

.daily-challenge__question {
    text-align: center;
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: var(--gap-lg);
    color: var(--txt);
}

.daily-challenge__options {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    margin-bottom: var(--gap-lg);
}

.daily-challenge__vs {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--txt);
    opacity: 0.5;
}

.daily-challenge__option {
    flex: 1;
    background: var(--white);
    border: 3px solid var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: var(--gap-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-md);
    min-height: 200px;
    justify-content: center;
}

.daily-challenge__option:hover {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.daily-challenge__option:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.daily-challenge__option i {
    font-size: 3rem;
    color: var(--second-accent);
}

.daily-challenge__option span {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--txt);
}

.daily-challenge__result-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-md);
}

.daily-challenge__result-icon {
    font-size: 2.5rem;
}

.daily-challenge__result-header p {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.daily-challenge__stats {
    display: flex;
    gap: var(--gap-md);
    justify-content: center;
}

.daily-challenge__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-xs);
    padding: var(--gap-md);
    background: white;
    border-radius: var(--radius-md);
    min-width: 140px;
}

.daily-challenge__stat i {
    font-size: 1.5rem;
    color: var(--accent);
}

.daily-challenge__stat-label {
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
}

.daily-challenge__stat-percentage {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.daily-challenge__cta {
    border-top: 1px solid var(--border);
}

.daily-challenge__already-voted {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.daily-challenge__already-voted-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: var(--gap-md);
}

.daily-challenge__already-voted-text {
    margin-bottom: var(--gap-md);
}

.daily-challenge__already-voted-subtext {
    opacity: 0.7;
    font-size: 0.9rem;
}

.daily-challenge__already-voted-btn {
    margin-top: 1.5rem;
}

.daily-challenge__error {
    padding: var(--gap-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-lg);
}

/* Responsive */
@media (max-width: 992px) {
    .daily-challenge__options {
        flex-direction: column;
    }

    .daily-challenge__vs {
        transform: rotate(90deg);
    }

    .daily-challenge__option {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .daily-challenge__question {
        font-size: 1.5rem;
    }

    .daily-challenge__option {
        min-height: 150px;
    }

    .daily-challenge__option i {
        font-size: 2.5rem;
    }

    .daily-challenge__option span {
        font-size: 1.1rem;
    }

    .daily-challenge__stats {
        flex-direction: column;
    }

    .daily-challenge__stat {
        width: 100%;
    }

    .setometro-global-ranking .setometro-ranking__table th:nth-child(4),
    .setometro-global-ranking .setometro-ranking__table td:nth-child(4),
    .setometro-global-ranking .setometro-ranking__table th:nth-child(5),
    .setometro-global-ranking .setometro-ranking__table td:nth-child(5) {
        display: none;
    }
}

/* Error Toast Notification */
.setometro-error-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--error-bg, #dc3545);
    color: white;
    padding: var(--gap-md) var(--gap-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    z-index: 100000;
    animation: setometro-toast-slide-in 0.3s ease-out;
    max-width: 90%;
    font-weight: 600;
}

.setometro-error-toast i {
    font-size: 1.5rem;
}

.setometro-error-toast--fade {
    animation: setometro-toast-fade-out 0.3s ease-out forwards;
}

@keyframes setometro-toast-slide-in {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes setometro-toast-fade-out {
    to {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
}
