* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --autumn-primary: #d97706;
    --autumn-secondary: #92400e;
    --autumn-accent: #ea8a3a;
    --autumn-light: #fef3c7;
    --autumn-dark: #451a03;

    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: block;
    overflow-x: auto;
    overflow-y: auto;
    padding: 20px 0;
    min-width: 320px; 
}

#nav-pumpkin {
    position: fixed;
    width: 60px;
    height: 60px;
    z-index: 9999;
    pointer-events: none;
    will-change: transform, left, top;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* image background */
body.autumn-background {
    background-image: url('/assets/strat.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    padding: 0;
}

body.autumn-background::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(217, 119, 6, 0.3) 0%,
        rgba(146, 64, 14, 0.5) 50%,
        rgba(69, 26, 3, 0.6) 100%
    );
    z-index: -1;
}

#page-content {
    width: 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-direction: column;
    padding: 32px 8px 8px 8px;
    min-height: 100vh;
}

/* Full width for tournament bracket */
#page-content.tournament-active {
    max-width: 100%;
    width: 100vw;
    height: calc(100vh - 60px);
    position: fixed;
    top: 60px;
    left: 0;
    overflow: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* settings page horizontal layout */
#page-content.settings-horizontal {
    max-width: 100%;
    width: 100vw;
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 1rem 1rem 1rem;
    box-sizing: border-box;
    overflow-y: scroll;
}

/* containers */
.autumn-container {
    position: relative;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    padding-top: 4rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: calc(100% - 2rem);
    min-width: 320px;
    margin: 48px auto 0 auto;
    transition: all 0.3s ease;
}

.autumn-container:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 48px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
}

.autumn-glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.15);
}

.sideBySideWrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
    height: auto;
}

.sideBySideWrapper > .autumn-glass {
    min-height: 280px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

/* letters */
.autumn-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.25rem;
    font-weight: bold;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.autumn-subtitle {
    font-size: 1.125rem;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

.autumn-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 0.5rem;
}

/* language button */
.autumn-language-dropdown {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(186, 99, 23, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 600;
}

.autumn-language-dropdown:hover {
    border-color: #ba6317;
    background: rgba(255, 255, 255, 0.8);
}

.autumn-language-dropdown:focus {
    border-color: #ba6317;
    box-shadow: 0 0 0 2px rgba(186, 99, 23, 0.3);
}

.autumn-language-dropdown option {
    background: #ffffff;
    color: #1a1a1a;
}

/* back button */
.autumn-back-button {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(217, 119, 6, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #92400e;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.autumn-back-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #d97706;
    transform: translateX(-2px);
}

.autumn-back-button:active {
    transform: translateX(0);
}

.autumn-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.autumn-input::placeholder {
    color: #9ca3af;
}

.autumn-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--autumn-accent);
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(245, 158, 11, 0.2);
}

.autumn-input:hover {
    border-color: #9ca3af;
}

/* added the navigation bar on top */
.top-game-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.75rem 2rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.top-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.75rem 2rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.top-nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.top-nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.top-game-nav-left {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.top-game-nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.game-nav-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fef3c7;
    margin-right: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* buttons */
.autumn-button-nav {
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    text-shadow: none;
}

.autumn-button-nav::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ba6317;
    transition: width 0.3s ease;
}

.autumn-button-nav:hover {
    color: #92400e;
    background: rgba(255, 255, 255, 0.4);
}

.autumn-button-nav:hover::after {
    width: 100%;
}

.autumn-button-nav:active {
    transform: translateY(1px);
}

.autumn-button-light {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #ba6317 0%, #92400e 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(186, 99, 23, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.autumn-button-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.autumn-button-light:hover::before {
    left: 100%;
}

.autumn-button-light:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(186, 99, 23, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #d97706 0%, #ba6317 100%);
}

.autumn-button-light:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(186, 99, 23, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

.autumn-button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #ba6317 0%, #92400e 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(186, 99, 23, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.autumn-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.autumn-button:hover::before {
    left: 100%;
}

.autumn-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(186, 99, 23, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #d97706 0%, #ba6317 100%);
}

.autumn-button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(186, 99, 23, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

.autumn-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.autumn-button-small {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ba6317 0%, #92400e 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(186, 99, 23, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.autumn-button-small:hover {
    background: linear-gradient(135deg, #d97706 0%, #ba6317 100%);
    box-shadow: 0 4px 12px rgba(186, 99, 23, 0.4);
    transform: translateY(-2px);
}

.autumn-button-small:active {
    transform: translateY(0);
}

.autumn-button-secondary {
    background: linear-gradient(135deg, #ba6317 0%, #92400e 100%);
    border: none;
    box-shadow: 
        0 4px 12px rgba(186, 99, 23, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

.autumn-button-secondary:hover {
    background: linear-gradient(135deg, #d97706 0%, #ba6317 100%);
    box-shadow: 
        0 6px 20px rgba(186, 99, 23, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* google button */
.autumn-button-google {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.autumn-button-google:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.autumn-button-google img {
    width: 20px;
    height: 20px;
}

/* AI buttons */
.ai-difficulty-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ba6317 0%, #92400e 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(186, 99, 23, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    opacity: 0.6;
}

.ai-difficulty-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.ai-difficulty-btn:hover::before {
    left: 100%;
}

.ai-difficulty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(186, 99, 23, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #d97706 0%, #ba6317 100%);
    opacity: 0.8;
}

.ai-difficulty-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 1px 4px rgba(186, 99, 23, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.2);
}

.ai-difficulty-btn.active {
    opacity: 1;
    background: linear-gradient(135deg, #d97706 0%, #ba6317 100%);
    box-shadow: 
        0 4px 16px rgba(186, 99, 23, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.ai-difficulty-btn.active:hover {
    transform: translateY(-1px);
}

.autumn-form-group {
    margin-bottom: 1.5rem;
}

.autumn-form-group:last-of-type {
    margin-bottom: 2rem;
}

.validation-checklist {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid #e5e7eb;
}

.validation-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.validation-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.validation-icon.valid {
    color: #10b981;
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.5));
}

.validation-icon.invalid {
    color: rgba(255, 255, 255, 0.4);
}

.validation-item.valid {
    color: #065f46;
}

/* msg */
.autumn-error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #991b1b;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.autumn-success {
    background: #d1fae5;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #065f46;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.autumn-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.autumn-separator::before,
.autumn-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #d1d5db;
}

.autumn-separator span {
    padding: 0 1rem;
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

.space-y-4 > * + * {
    margin-top: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* game page adjustments */
.game-page-with-nav {
    padding-top: 80px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    width: 100%;
}

.game-mode-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 4rem;
    font-weight: 900;
    color: #ffffffbe;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    white-space: nowrap;
    text-shadow:
        0 1px 0 #ffffff42;
    display: inline-block;
}

.game-mode-button-horizontal {
    width: 200px;
    padding: 0.875rem 1.25rem;
    font-size: 1.05rem;
    flex-shrink: 0;
    margin: 0 0.5rem;
    background: rgba(255,255,255,0.6);
    color: #1a1a1a;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.game-mode-button-horizontal:hover {
    background: rgba(255,255,255,0.8);
    color: #92400e;
    border-color: #ba6317;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

/* smaller buttons */
.game-mode-button-small {
    width: 120px; 
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin: 0 0.4rem;
    background: rgba(255,255,255,0.6);
    color: #1a1a1a;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.game-mode-button-small:hover {
    background: rgba(255,255,255,0.85);
    color: #92400e;
    border-color: #ba6317;
    box-shadow: 0 6px 20px rgba(0,0,0,0.14);
}

.tournament-button-full {
    width: 420px;
    padding: 0.875rem 1.5rem;
    font-size: 1.05rem;
    background: rgba(255,255,255,0.6);
    color: #1a1a1a;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tournament-button-full:hover {
    background: rgba(255,255,255,0.8);
    color: #92400e;
    border-color: #ba6317;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

/* tournament lobby container */
.tournament-lobby-container {
    width: 28rem; 
    max-width: 28rem;
    min-width: 28rem;
    height: 520px; 
    min-height: 520px;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    margin: 40px auto 0 auto;
    padding: 1.5rem;
    box-sizing: border-box;
}

/* tournament bracket - OLD RULES REMOVED - see new rules below */
.tournament-lobby-container .autumn-title,
.tournament-lobby-container .autumn-subtitle {
    flex-shrink: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.tournament-lobby-container #lobby-actions,
.tournament-lobby-container #lobby-error {
    flex-shrink: 0;
}

/* tournament help text */
.alias-help-text {
    font-size: 0.75rem;
    color: var(--autumn-secondary);
    opacity: 0.8;
    margin-top: 0.5rem;
    text-align: center;
    font-style: italic;
}

/* participant list for tournament */
.participant-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1; /* take available space */
    overflow-y: auto;
    padding-right: 8px; /* space for scrollbar */
    margin-bottom: 1rem;
}

/* scrollbar */
.participant-list::-webkit-scrollbar {
    width: 8px;
}

.participant-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.participant-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.participant-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.participant-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.75rem;
    background: rgba(255,255,255,0.96);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.participant-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--autumn-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Georgia', serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.participant-alias {
    font-weight: 700;
    color: #1a1a1a;
}

.participant-host {
    margin-left: auto;
    background: linear-gradient(135deg,#d97706,#ba6317);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.lobby-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    margin-top: 0.5rem;
}

.lobby-form .tournament-button-full {
    width: 100%;
}

.lobby-form .autumn-input {
    width: 100%;
}

/* --- Tournament Bracket Full-Width Layout --- */
.tournament-bracket-wrapper {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.tournament-bracket-wrapper .autumn-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffffbe;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    white-space: nowrap;
    text-shadow:
        0 1px 0 #ffffff42;
    display: inline-block;
    z-index: 10;
    position: relative;
}

/* game title like the tournament one */
.game-title-with-leaves {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #ffffffbe;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    white-space: nowrap;
    text-shadow:
        0 1px 0 #ffffff42;
    display: inline-block;
    z-index: 10;
    position: relative;
}

.tournament-bracket-wrapper .autumn-title::before,
.tournament-bracket-wrapper .autumn-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-image: url('../assets/pumpkin.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: pumpkinFloat 2s ease-in-out infinite;
}

/* leaf decorations */
.game-title-with-leaves::before,
.game-title-with-leaves::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-image: url('../assets/leaf.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: leafFloat 2s ease-in-out infinite;
}

.tournament-bracket-wrapper .autumn-title::before {
    left: -80px;
}

.tournament-bracket-wrapper .autumn-title::after {
    right: -80px;
    transform: translateY(-50%) scaleX(-1);
    animation: pumpkinFloatReverse 2s ease-in-out infinite;
}

.game-title-with-leaves::before {
    right: -70px;
}

.game-title-with-leaves::after {
    left: -70px;
    transform: translateY(-50%) scaleX(-1);
    animation: leafFloatReverse 2s ease-in-out infinite;
}

@keyframes pumpkinFloat {
    0%, 100% {
        transform: translateY(-50%) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) translateY(-5px) rotate(5deg);
    }
}

@keyframes pumpkinFloatReverse {
    0%, 100% {
        transform: translateY(-50%) scaleX(-1) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) scaleX(-1) translateY(-5px) rotate(-5deg);
    }
}

.tournament-bracket-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    flex-wrap: wrap;
    padding: 0;
}

.tournament-bracket-container.split-first-round {
    flex-wrap: nowrap;
    justify-content: center;
    max-width: 1800px;
    gap: 0.25rem;
}

.tournament-bracket-round.split-top {
    order: -2;
}

.tournament-bracket-round.split-bottom {
    order: -1;
}

.tournament-bracket-round:not(.split-top):not(.split-bottom) {
    order: 0;
}

.tournament-bracket-round {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    gap: 0.5rem;
}

.tournament-bracket-round-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #92400e;
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.tournament-bracket-match {
    background: rgba(255, 255, 255, 0.85);
    border: 3px solid #d97706;
    border-radius: 16px;
    box-shadow: 4px 4px 0px #ba6317;
    min-width: 180px;
    min-height: 80px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    position: relative;
    transition: all 0.2s;
}

.tournament-bracket-match:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0px #ba6317;
}

.tournament-bracket-match .winner {
    color: #d97706;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.tournament-bracket-match .loser {
    color: #9ca3af;
    font-weight: normal;
    font-size: 1rem;
}

.tournament-bracket-match .vs {
    color: #92400e;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.2rem 0;
}

.tournament-bracket-champion {
    background: none;
    border: none;
    min-width: 250px;
    min-height: 120px;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: #fffffae3;
    text-shadow: 
        3px 3px 0px #d97706,
        5px 5px 0px #b45309,
        0 0 20px rgba(217, 119, 6, 1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    animation: championAppear 0.8s ease-out;
    text-align: center;
}

.tournament-bracket-champion::before,
.tournament-bracket-champion::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-image: url('../assets/pumpkin.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: pumpkinFloat 2s ease-in-out infinite;
}

.tournament-bracket-champion::before {
    left: -80px;
}

.tournament-bracket-champion::after {
    right: -80px;
    transform: translateY(-50%) scaleX(-1);
    animation: pumpkinFloatReverse 2s ease-in-out infinite;
}

@keyframes pumpkinFloat {
    0%, 100% {
        transform: translateY(-50%) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) translateY(-5px) rotate(5deg);
    }
}

@keyframes pumpkinFloatReverse {
    0%, 100% {
        transform: translateY(-50%) scaleX(-1) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) scaleX(-1) translateY(-5px) rotate(-5deg);
    }
}

@keyframes leafFloat {
    0%, 100% {
        transform: translateY(-50%) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) translateY(-5px) rotate(5deg);
    }
}

@keyframes leafFloatReverse {
    0%, 100% {
        transform: translateY(-50%) scaleX(-1) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50%) scaleX(-1) translateY(-5px) rotate(-5deg);
    }
}

.leaf-falling {
    position: fixed;
    width: 40px;
    height: 40px;
    background-image: url('../assets/leaf.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9998;
    top: 60px;
    opacity: 0;
    animation: pumpkinFall 8s linear forwards;
}

@keyframes pumpkinFall {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(calc(100vh - 60px)) rotate(360deg);
    }
}

@keyframes championAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotate(-10deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@media (max-width: 640px) {
    .lobby-form {
        flex-direction: column;
        align-items: stretch;
    }
    .lobby-form .tournament-button-full {
        width: 100%;
    }
}

/* dropdown */
.game-dropdown-container {
    position: relative;
    display: inline-block;
}

.game-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(186, 99, 23, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    overflow: hidden;
}

.game-dropdown-menu.show {
    display: block;
}

.game-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    text-align: left;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Georgia', serif;
}

.game-dropdown-item:hover {
    background: rgba(186, 99, 23, 0.15);
    color: #92400e;
}

.game-dropdown-item:active {
    background: rgba(186, 99, 23, 0.25);
}

@media (max-width: 640px) {
    .autumn-container {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .autumn-title {
        font-size: 2rem;
    }
    
    .autumn-subtitle {
        font-size: 1rem;
    }
    
    .autumn-button {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .top-game-nav {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }

    .top-nav-bar {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }

    .top-game-nav-left {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .top-nav-links {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .game-nav-title {
        font-size: 1rem;
        margin-right: 1rem;
    }

    .game-mode-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .game-mode-button-horizontal {
        width: 140px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .tournament-button-full {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .game-popup-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }
    
    .game-popup-title {
        font-size: 1.5rem;
    }
}

/* start the game popup */
.game-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    background: transparent;
}

.game-popup-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.game-popup-content {
    background: rgba(255, 255, 255, 0.856);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 4px solid #ba6317;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.856);
    width: 100%;
    max-width: 600px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.game-popup-overlay.show .game-popup-content {
    transform: scale(1);
}

.game-popup-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.856);
}

.game-popup-score {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.144);
    border-radius: 12px;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.game-popup-instructions {
    background: rgba(255, 255, 255, 0.144);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.game-popup-instructions p {
    margin: 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
}

.game-popup-button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #ba6317 0%, #92400e 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(186, 99, 23, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.game-popup-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.game-popup-button:hover::before {
    left: 100%;
}

.game-popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(186, 99, 23, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #d97706 0%, #ba6317 100%);
}

.game-popup-button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(186, 99, 23, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

.game-countdown {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 6rem;
    font-weight: bold;
    color: #1a1a1a;
    text-shadow: 
        3px 3px 6px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 255, 0.5);
    animation: countdownPulse 1s ease-in-out;
    margin-top: 1rem;
}

.canvas-countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 8rem;
    font-weight: bold;
    color: #ebd26e;
    text-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(235, 210, 110, 0.8),
        0 0 50px rgba(235, 210, 110, 0.5);
    z-index: 1000;
    pointer-events: none;
    animation: countdownPulse 1s ease-in-out;
}

@keyframes countdownPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.language-dropdown {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.language-dropdown select {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(217, 119, 6, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: #1a1a1a;
    font-family: 'Georgia', serif;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.language-dropdown select:hover {
    border-color: #d97706;
    background: rgba(255, 255, 255, 1);
}

.language-dropdown select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

.language-dropdown select option {
    background: #fff;
    color: #1a1a1a;
}

.autumn-button.loading {
    position: relative;
    color: transparent;
}

.autumn-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* chat page */
.chat-page-wrapper { position: fixed; top: 60px; left: 0; right: 0; bottom: 0; display: flex; background: url('./assets/strat.jpg') center/cover fixed; }
.chat-sidebar { width: 320px; background: rgba(255, 255, 255, 0.89); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-right: 2px solid rgba(255, 255, 255, 0.5); display: flex; flex-direction: column; }
.chat-sidebar-header { padding: 1rem; background: transparent; }
.chat-sidebar-title { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 600; color: #92400e; margin: 0; }
.chat-search-container { padding: 0.75rem; position: relative; }
.chat-search-input { width: 100%; padding: 0.5rem; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px; font-family: Georgia, serif; font-size: 0.9rem; color: var(--autumn-dark); }
.chat-search-input:focus { outline: none; border-color: rgba(217, 119, 6, 0.5); }
.chat-search-results { position: absolute; top: calc(100% - 0.5rem); left: 0.75rem; right: 0.75rem; background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px; max-height: 300px; overflow-y: auto; z-index: 1000; display: none; }
.chat-search-results:not(:empty) { display: block; }
.chat-conversation-list { flex: 1; overflow-y: auto; background: transparent; }
.conversation-item { padding: 0.875rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.2); cursor: pointer; display: flex; align-items: center; gap: 0.75rem; background: transparent; }
.conversation-item:hover { background: rgba(255, 255, 255, 0.418); }
.conversation-item.active { background: rgba(217, 119, 6, 0.15); border-left: 3px solid rgba(217, 119, 6, 0.6); }
.chat-main-area { flex: 1; display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.61); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.chat-main-header { padding: 1rem; background: transparent; border-bottom: 2px solid rgba(255, 255, 255, 0.5); display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.chat-user-info { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; flex: 1; }
.chat-avatar { width: 40px; height: 40px; background: linear-gradient(135deg, #d97706, #b45309); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 1.1rem; }
.chat-user-details { display: flex; flex-direction: column; }
.chat-username { font-family: Georgia, serif; font-size: 1rem; font-weight: 600; color: #92400e; margin: 0; }
.chat-online-status { font-size: 0.8rem; color: #78716c; margin: 0; }
.chat-actions { display: flex; gap: 0.5rem; }
.chat-empty-state { flex: 1; display: flex; align-items: center; justify-content: center; background: transparent; }
.chat-empty-content { text-align: center; }
.chat-empty-icon { width: 80px; height: 80px; margin: 0 auto 1rem; opacity: 0.4; }
.chat-empty-text { font-family: Georgia, serif; font-size: 1rem; color: #78716c; }
.chat-message-window { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; background: transparent; }
.chat-message { max-width: 65%; padding: 0.75rem 1rem; border-radius: 18px; font-family: Georgia, serif; line-height: 1.5; word-wrap: break-word; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.chat-message.sent { background: rgba(217, 119, 6, 0.25); color: var(--autumn-secondary); margin-left: auto; border: none; border-radius: 18px 18px 4px 18px; font-weight: 500; }
.chat-message.received { background: rgba(255, 255, 255, 0.85); border: none; color: var(--autumn-dark); margin-right: auto; border-radius: 18px 18px 18px 4px; }
.chat-message-time { font-size: 0.7rem; opacity: 0.6; margin-top: 0.25rem; display: block; font-weight: normal; }
.chat-typing-indicator { padding: 0.5rem 1rem; display: flex; align-items: center; gap: 0.5rem; color: #78716c; font-size: 0.85rem; font-style: italic; }
.typing-dots { display: flex; gap: 3px; }
.typing-dot { width: 6px; height: 6px; background: #d97706; border-radius: 50%; animation: typing-bounce 1.4s infinite; }
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing-bounce { 0%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } }
.chat-input-area { padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.25); border-top: 2px solid rgba(255, 255, 255, 0.5); }
.chat-input-container { display: flex; gap: 0.75rem; }
.chat-message-input { min-width: 80px; padding: 0.625rem 1rem; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px; font-family: Georgia, serif; font-size: 0.95rem; color: var(--autumn-dark); }
.chat-message-input:focus { outline: none; border-color: rgba(217, 119, 6, 0.5); }
.chat-message-input:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-send-button { padding: 0.625rem 1rem !important; flex: 1; }
.chat-send-button:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
@media (max-width: 768px) { .chat-sidebar { width: 280px; } .chat-message { max-width: 80%; } }

.autumn-button-small.delete {
    background: linear-gradient(135deg, #a21d1a 0%, #7c2d12 100%);
}
.autumn-button-small.delete:hover {
    background: linear-gradient(135deg, #7c2d12 0%, #a21d1a 100%);
}
/* .autumn-button-small.twofa {
    background: linear-gradient(135deg, #b6860d 0%, #ebd26e 100%);
}
.autumn-button-small.twofa:hover {
    background: linear-gradient(135deg, #ebd26e 0%, #b6860d 100%);
} */
.autumn-button-light.twofa {
    background: linear-gradient(135deg, #b6860d 0%, #ebd26e 100%);
}
.autumn-button-light.twofa:hover {
    background: linear-gradient(135deg, #ebd26e 0%, #b6860d 100%);
}