/* EXACT CSS FROM REFERENCE SITE */
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700|Open+Sans:300,400,600&display=swap);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Montserrat, "Open Sans", sans-serif;
    font-weight: 400;
    min-width: 100%;
    color: #000;
    background: #f7f7f9;
}

/* ===== TOP MENU - EXACT ===== */
.top-menu {
    background-color: #facb1c;
    font-size: 0;
}

.container-menu {
    width: 480px;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

.top-menu__content {
    display: flex;
    justify-content: space-between;
}

.btn-el {
    padding: 10px 8px;
    transition: .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.btn-el span {
    color: #000;
    background: #e6b706;
    font-size: 14px;
    margin-left: 8px;
    border-radius: 10px;
    padding: 6px 7px;
    transition: .2s;
}

.btn-el:hover {
    opacity: .8;
}

.block-btns {
    display: flex;
    align-items: center;
}

/* ===== SECTION ===== */
.section--main {
    padding: 0!important;
}

.center {
    width: 100%;
}

/* ===== PROGRESS BAR - EXACT FROM REFERENCE ===== */
.block-progress {
    display: flex;
    max-width: 490px;
    padding: 0 15px;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.block-progress__text {
    display: inline-block;
    color: #13141c;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    padding: 6px 0 0;
    width: 100px;
}

.block-progress__text span {
    color: #5e6176;
    font-size: 12px;
}

.dark-theme .block-progress__text {
    color: #fff;
}

.dark-theme .block-progress__text span {
    color: #c9cbda;
}

.block-progress__progress {
    display: flex;
    justify-content: space-between;
    width: 380px;
    padding: 15px 13px;
    overflow: hidden;
}

.block-progress__progress-el {
    height: 10px;
    width: 10px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #13141c;
    font-size: 15px;
    font-weight: 400;
    background-color: #d8dee9;
    position: relative;
}

.dark-theme .block-progress__progress-el {
    background-color: #4f536b;
}

.block-progress__progress-el:not(:first-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 100%;
    width: 37px;
    height: 1px;
    background-color: #d8dee9;
}

.dark-theme .block-progress__progress-el:not(:first-child)::after {
    background-color: #4f536b;
}

.block-progress__progress-el span {
    position: relative;
    z-index: 10;
    display: none;
}

.block-progress__progress-el.active,
.block-progress__progress-el.active::after,
.block-progress__progress-el.before,
.block-progress__progress-el.before::after {
    background-color: #facb1c!important;
}

.dark-theme .block-progress__progress-el.active,
.dark-theme .block-progress__progress-el.active::after {
    background-color: #c5a34a!important;
}

.block-progress__progress-el.active::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 100%;
    z-index: 1;
    background-color: #facb1c;
}

.dark-theme .block-progress__progress-el.active::before {
    background-color: #c5a34a;
}

.block-progress__progress-el.genius::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 100%;
    z-index: 1;
    background-color: #e6ebf3;
}

.dark-theme .block-progress__progress-el.genius::before {
    background-color: #3f435d;
}

.block-progress__progress-el.active span,
.block-progress__progress-el.genius span {
    display: block;
    font-weight: 400;
}

.dark-theme .block-progress__progress-el span {
    color: #fff;
}

.dark-theme .block-progress__progress-el.genius span {
    color: #c9cce0!important;
}

/* ===== WORDS DROPDOWN - EXACT ===== */
.block-words-select {
    width: 100%;
    max-width: 460px;
    margin-top: 10px;
    position: relative;
    z-index: 100;
    user-select: none;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.block-words-select__content {
    border-radius: 10px;
    background-color: #eef2f8;
    position: relative;
    padding: 10px 40px 10px 15px;
    min-height: 40px;
}

.dark-theme .block-words-select__content {
    background-color: #2f3247;
}

.block-words-select__arr {
    position: absolute;
    top: 17px;
    right: 14px;
    z-index: 100;
    transition: transform 0.3s;
}

.block-words-select.open .block-words-select__arr {
    transform: rotate(180deg);
}

.block-words-select__text {
    font-size: 15px;
    font-weight: 400;
    color: #8a9099;
    position: absolute;
    top: 0;
    left: 15px;
    right: 40px;
    padding-right: 55px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    user-select: none;
    width: 100%;
}

.block-words-select__text.active,
.block-words-select__text-hide {
    color: #424556;
    text-transform: capitalize;
}

.dark-theme .block-words-select__text.active,
.dark-theme .block-words-select__text-hide {
    color: #dcdeee;
}

.block-words-select__text-hide {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    word-break: break-all;
    display: none;
    position: relative;
    background-color: #ecf1f9;
    z-index: 20;
    user-select: none;
}

.block-words-select__dropdown {
    display: none;
    background-color: #eef2f8;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 10px 15px;
    border-radius: 10px;
}

.dark-theme .block-words-select__dropdown {
    background-color: #242738;
}

.block-words-select.open .block-words-select__dropdown {
    display: block;
}

.block-words-select__dropdown-title {
    color: #13141c;
    font-size: 15px;
    margin: 2px 0 20px;
}

.dark-theme .block-words-select__dropdown-title {
    color: #dcdeee;
}

.block-words-select__dropdown-els {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -15px;
    list-style: none;
    padding: 0;
}

.block-words-select__dropdown-els li {
    font-size: 15px;
    border-bottom: 1px solid #cdd7e6!important;
    width: calc(33.33% - 10px);
    margin: 0 5px 15px;
    text-align: left;
    padding-left: 8px;
    line-height: 1;
    padding-bottom: 5px;
    color: #424556;
    text-transform: capitalize;
}

.dark-theme .block-words-select__dropdown-els li {
    border-bottom: 1px solid #454961!important;
    color: #dcdeee;
}

.block-words-select__dropdown-els li.pangram {
    font-weight: 700;
    color: #facb1c;
}

/* ===== NOTIFICATIONS ===== */
.container-2 {
    display: flex;
    justify-content: center;
    height: 40px;
    align-items: center;
}

.notifications {
    background-color: #000;
    color: #fff;
    display: none;
    padding: 5px 10px;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
}

.notifications.show {
    display: flex;
}

#too-short,
#already-found,
#invalid-word,
#miss-center {
    background-color: #ef4444;
}

#good {
    background-color: #9fca46;
}

#great {
    background-color: #10b981;
}

#amazing {
    background-color: #3b82f6;
}

#pangram {
    background-color: #facb1c;
    color: #000;
}

/* ===== INPUT WORD ===== */
.cursor {
    height: 60px;
    position: relative;
    margin: 0 auto;
    text-align: center;
}

.cursor p {
    display: flex;
    justify-content: center;
}

#inputword {
    display: flex;
    justify-content: center;
    align-items: center;
}

#testword,
#cursor {
    font-size: 30px;
    font-family: Montserrat, "Open Sans", sans-serif;
    font-weight: 700;
    height: 60px;
    padding-top: 0;
}

#cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== HEXAGONS - EXACT FROM REFERENCE ===== */
#hexGrid {
    display: grid;
    grid-gap: 6px;
    width: 250px;
    margin: 0 auto;
    font-size: .9em;
    min-height: 281px;
    grid-template-columns: repeat(6, 2fr);
    padding-bottom: 60px;
    list-style-type: none;
    overflow: hidden;
}

.hex {
    grid-column-end: span 2;
    position: relative;
    visibility: hidden;
    outline: transparent solid 1px;
}

.hex::after {
    content: "";
    display: block;
    padding-bottom: 86.602%;
}

.hex:active {
    transform: scale(.86);
    transition: .2s;
}

.hexIn {
    position: absolute;
    width: 100%;
    padding-bottom: 115.47%;
    overflow: hidden;
    visibility: hidden;
    outline: transparent solid 1px;
    transform: rotate3d(0,0,1,-60deg) skewY(30deg);
}

.hexIn * {
    position: absolute;
    visibility: visible;
    outline: transparent solid 1px;
}

.hexLink {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #e9e6d7;
    transform: skewY(-30deg) rotate3d(0,0,1,60deg);
    cursor: pointer;
}

#center-letter {
    background-color: #facb1c;
}

.hex p {
    width: 100%;
    padding: 40%;
    box-sizing: border-box;
    background-color: transparent;
    font-size: 1.6em;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    font-family: Montserrat, "Open Sans", sans-serif;
    margin: 0;
}

.hex:nth-child(5n+1) {
    grid-column-start: 2;
}

.hex:nth-child(5n+3) {
    grid-column-start: 1;
}

/* ===== BUTTONS - EXACT ===== */
.button_container {
    display: inline-flex;
    margin-bottom: 5vh;
    width: 300px;
    height: 10%;
}

.button {
    background-color: #fff;
    border: 2px solid #e7e7e7;
    margin: 0 auto;
    color: #000;
    padding: 0 15px;
    display: inline-block;
    font-size: 15px;
    border-radius: 30px;
    cursor: pointer;
    font-family: Montserrat, "Open Sans", sans-serif;
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.button:hover {
    background-color: #e7e7e7;
    color: #000;
    border: 2px solid #e7e7e7;
}

.button svg {
    width: 20px;
    height: 20px;
}

.button_submit {
    background: #000;
    border: 2px solid #000;
    color: #fff;
}

.button_submit:hover {
    background: #333;
    border: 2px solid #333;
}

/* ===== SHARE BUTTON - EXACT ===== */
.js-share {
    display: block;
    margin: 0 auto;
    padding: 14px 20px;
    background: #facb1c;
    color: #13141c;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    font-family: Montserrat, "Open Sans", sans-serif;
    font-weight: 600;
}

.js-share:hover {
    background: #ecbd0f;
}

.dark-theme .js-share {
    background: #c5a34a;
    color: #edeae1;
}

.dark-theme .js-share:hover {
    background: #dfb649;
}

/* ===== DARK THEME ===== */
.dark-theme {
    background-color: #13141c;
    color: #fff;
}

.dark-theme .top-menu {
    background-color: #2f3247;
}

/* ===== MODALS - BASE ===== */
.modal-def {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    overflow-y: auto;
}

.modal-def.show {
    display: block;
}

.modal-def__wrap {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-def__content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 460px;
}

.modal-content-large {
    max-width: 600px;
}

.modal-content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.dark-theme .modal-content {
    background: #2f3247;
}

.modal-content__top {
    padding: 15px 20px;
    background: #f1f4f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark-theme .modal-content__top {
    background: #272a40;
}

.modal-content__title {
    font-size: 18px;
    font-weight: 700;
    color: #13141c;
}

.dark-theme .modal-content__title {
    color: #fff;
}

.modal-content__close {
    cursor: pointer;
    font-size: 28px;
    color: #666;
    line-height: 1;
    transition: .2s;
}

.modal-content__close:hover {
    color: #000;
    transform: rotate(90deg);
}

.dark-theme .modal-content__close {
    color: #999;
}

.dark-theme .modal-content__close:hover {
    color: #fff;
}

.modal-content__body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.dark-theme .modal-content__body {
    background: #3a3d52;
    color: #fff;
}

.modal-def__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.modal-info {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dark-theme .modal-info {
    color: #ccc;
}

/* ===== MODE SELECTOR ===== */
.mode-selector {
    display: flex;
    gap: 15px;
}

.mode-btn {
    flex: 1;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}

.mode-btn:hover {
    border-color: #facb1c;
    transform: translateY(-2px);
}

.mode-btn.active {
    border-color: #facb1c;
    background: #fffbf0;
}

.mode-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.mode-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.mode-desc {
    font-size: 13px;
    color: #666;
}

/* ===== STATISTICS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.stat-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.dark-theme .stat-box {
    background: #4e516a;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #000;
}

.dark-theme .stat-value {
    color: #fff;
}

.stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
}

.dark-theme .stat-label {
    color: #ccc;
}

.rankings-dist h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.rank-bar {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.rank-bar-label {
    width: 80px;
    font-weight: 600;
}

.rank-bar-track {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin: 0 10px;
    overflow: hidden;
}

.dark-theme .rank-bar-track {
    background: #555;
}

.rank-bar-fill {
    height: 100%;
    background: #facb1c;
    border-radius: 3px;
    transition: width .5s;
}

.rank-bar-value {
    width: 50px;
    text-align: right;
    font-size: 12px;
    color: #666;
}

.dark-theme .rank-bar-value {
    color: #ccc;
}

.btn-yellow {
    width: 100%;
    padding: 12px;
    background: #facb1c;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    margin-top: 15px;
}

.btn-yellow:hover {
    background: #ecbd0f;
}

.dark-theme .btn-yellow {
    background: #c5a34a;
}

.dark-theme .btn-yellow:hover {
    background: #dfb649;
}

/* ===== RANKINGS LIST ===== */
.rank-list {
    list-style: none;
    padding: 0;
}

.rank-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
}

.dark-theme .rank-list li {
    border-bottom-color: #555;
}

.rank-list li:last-child {
    border-bottom: none;
}

.rank-list strong {
    font-weight: 700;
}

/* ===== YESTERDAY'S ANSWERS ===== */
.yesterday-letters {
    text-align: center;
    font-size: 28px;
    letter-spacing: 8px;
    margin-bottom: 15px;
    font-weight: 700;
}

.yesterday-letters .center-letter {
    color: #facb1c;
}

.yesterday-info {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.dark-theme .yesterday-info {
    color: #ccc;
}

.yesterday-words {
    column-count: 3;
    column-gap: 15px;
    margin-bottom: 20px;
}

.yesterday-words div {
    break-inside: avoid;
    padding: 5px 0;
    cursor: pointer;
    transition: .2s;
}

.yesterday-words div:hover {
    color: #facb1c;
}

.yesterday-words .pangram {
    font-weight: 700;
}

.yesterday-words .found {
    background: #fffbf0;
    padding: 5px 8px;
    border-radius: 4px;
}

.dark-theme .yesterday-words .found {
    background: #5a5e45;
}

.yesterday-legend {
    font-size: 13px;
    color: #666;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.dark-theme .yesterday-legend {
    color: #ccc;
    border-top-color: #555;
}

.yesterday-legend p {
    margin: 5px 0;
}

.highlight-yellow {
    background: #fffbf0;
    padding: 2px 6px;
    border-radius: 3px;
}

.dark-theme .highlight-yellow {
    background: #5a5e45;
}

/* ===== GAME HISTORY ===== */
.btn-new-game {
    width: 100%;
    margin-bottom: 20px;
}

.game-history-list {
    max-height: 400px;
    overflow-y: auto;
}

.game-item {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-item:hover {
    border-color: #facb1c;
}

.game-item.active {
    border-color: #facb1c;
    background: #fffbf0;
}

.dark-theme .game-item {
    border-color: #555;
    background: #4e516a;
}

.dark-theme .game-item.active {
    border-color: #c5a34a;
    background: #5a5e45;
}

.game-item-letters {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
}

.game-item-letters .center-letter {
    color: #facb1c;
}

.game-item-info {
    text-align: right;
}

.game-item-score {
    font-size: 16px;
    font-weight: 600;
}

.game-item-rank {
    font-size: 13px;
    color: #666;
}

.dark-theme .game-item-rank {
    color: #ccc;
}

.game-item-delete {
    margin-left: 15px;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    transition: .2s;
}

.game-item-delete:hover {
    color: #ef4444;
}

/* ===== HINTS ===== */
.hint-letters {
    text-align: center;
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 600;
}

.hint-letters .center-letter {
    color: #facb1c;
}

.hint-info {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.dark-theme .hint-info {
    color: #ccc;
}

.hint-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.hint-table th,
.hint-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.dark-theme .hint-table th,
.dark-theme .hint-table td {
    border-color: #555;
}

.hint-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.dark-theme .hint-table th {
    background: #4e516a;
}

.hint-two-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}

.hint-two-letters span {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 5px;
}

.dark-theme .hint-two-letters span {
    background: #4e516a;
}

/* ===== DEFINITION ===== */
.definition-content {
    font-size: 15px;
    line-height: 1.6;
}

.def-phonetic {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.dark-theme .def-phonetic {
    color: #ccc;
}

.def-meaning {
    margin-bottom: 20px;
}

.def-meaning h4 {
    color: #facb1c;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.def-meaning ol {
    padding-left: 20px;
}

.def-meaning li {
    margin-bottom: 8px;
}

.loading {
    text-align: center;
    color: #666;
    padding: 20px;
}

/* ===== SETTINGS ===== */
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.dark-theme .setting-item {
    border-bottom-color: #555;
}

.setting-label {
    font-size: 16px;
    font-weight: 600;
}

.toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 26px;
    transition: .3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}

.toggle input:checked + .toggle-slider {
    background: #facb1c;
}

.toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.btn-danger {
    width: 100%;
    padding: 12px;
    background: #ef4444;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: .2s;
}

.btn-danger:hover {
    background: #dc2626;
}

/* ===== LEADERBOARD ===== */
.leaderboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.lb-tab {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: .2s;
}

.lb-tab.active {
    border-color: #facb1c;
    background: #fffbf0;
}

.dark-theme .lb-tab {
    border-color: #555;
    background: #4e516a;
}

.dark-theme .lb-tab.active {
    border-color: #c5a34a;
    background: #5a5e45;
}

.username-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.username-input input {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
}

.username-input button {
    padding: 10px 20px;
    background: #facb1c;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.leaderboard-list {
    max-height: 300px;
    overflow-y: auto;
}

.lb-entry {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.dark-theme .lb-entry {
    border-bottom-color: #555;
}

.lb-entry.me {
    background: #fffbf0;
    font-weight: 600;
}

.dark-theme .lb-entry.me {
    background: #5a5e45;
}

.lb-rank {
    width: 30px;
    font-weight: 700;
    color: #facb1c;
}

.lb-name {
    flex: 1;
}

.lb-score {
    font-weight: 600;
}

/* ===== HELP ===== */
.help-content h3 {
    font-size: 16px;
    margin: 15px 0 10px;
    color: #facb1c;
}

.help-content h3:first-child {
    margin-top: 0;
}

.help-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.help-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.help-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ===== CONFETTI CANVAS ===== */
#confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ===== ANIMATIONS ===== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.shake {
    animation: shake 0.5s;
}

.bounce {
    animation: bounce 0.5s;
}

.pulse {
    animation: pulse 0.5s;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    .block-progress__progress {
        max-width: 100%;
    }
    
    .yesterday-words {
        column-count: 2;
    }
    
    .modal-content__body {
        max-height: 60vh;
    }
}

@media screen and (max-width: 500px) {
    .block-progress {
        width: 100%;
    }
    
    .block-progress__progress-el:not(:first-child)::after {
        width: 30px;
    }
    
    .block-words-select {
        max-width: 450px;
        padding: 0 15px;
    }
    
    #hexGrid {
        width: 220px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .yesterday-words {
        column-count: 1;
    }
    
    .mode-selector {
        flex-direction: column;
    }
    
    .modal-def__wrap {
        padding: 10px;
    }
}
