* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.category-card,
.category-card *,
.mode-card,
.mode-card * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
textarea {
    -webkit-user-select: text;
    user-select: text;
}

.fav-heart {
    font-size: 14px;
    vertical-align: middle;
    filter: drop-shadow(0 0 6px rgba(255, 82, 120, 0.7));
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .profile-section {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .screen {
        padding: 25px;
    }

    .logo-text {
        font-size: 36px !important;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr !important;
    }

    .gender-group {
        flex-direction: column;
    }
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.4), 0 0 50px rgba(0, 210, 255, 0.2), 0 15px 40px rgba(0, 210, 255, 0.3);
    background: linear-gradient(135deg, #3a7bd5, #8a2be2, #C71585);
    background-size: 200% 200%;
    animation: gradientShift 2s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.back-btn:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(138, 43, 226, 0.12));
    color: #ffffff;
    border-color: #8a2be2;
    transform: translateX(-5px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3), 0 0 40px rgba(0, 210, 255, 0.1);
}

.category-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: #8a2be2;
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.5), 0 0 50px rgba(0, 210, 255, 0.25), 0 15px 35px rgba(0, 0, 0, 0.3);
    background: rgba(0, 210, 255, 0.12);
    filter: brightness(1.15);
}

.category-card:hover .category-icon {
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.6));
    transform: scale(1.1);
}

.category-card:hover .category-title {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.difficulty-card:hover {
    transform: scale(1.08);
    border-color: #8a2be2;
    box-shadow: 0 0 35px rgba(138, 43, 226, 0.5), 0 0 70px rgba(0, 210, 255, 0.2), inset 0 0 30px rgba(138, 43, 226, 0.1);
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(138, 43, 226, 0.15));
}

.difficulty-card:hover .difficulty-icon {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    transform: scale(1.15);
}

.difficulty-card:hover .difficulty-title {
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.option-btn:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.12), rgba(138, 43, 226, 0.1));
    border-color: #8a2be2;
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3), 0 0 40px rgba(0, 210, 255, 0.1);
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.3);
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(138, 43, 226, 0.12));
    border-color: #8a2be2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3), 0 0 40px rgba(0, 210, 255, 0.15);
    transform: translateY(-2px);
    color: #ffffff;
}

.gender-option:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(138, 43, 226, 0.1));
    border-color: #8a2be2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    transform: translateY(-2px);
}

.avatar-btn:hover {
    background: rgba(0, 210, 255, 0.2);
    border-color: #8a2be2;
    transform: scale(1.05);
}

.exit-test-btn:hover {
    background: rgba(255, 107, 107, 0.4);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.feedback-btn:hover {
    background: linear-gradient(135deg, #3a7bd5, #8a2be2);
    transform: translateY(-2px);
}

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.result-item:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(138, 43, 226, 0.08));
    border-color: #8a2be2;
    transform: translateX(8px);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.25);
}

.avatar-option:hover {
    transform: scale(1.1);
    border-color: #8a2be2;
    background: rgba(0, 210, 255, 0.15);
}

.profile-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-hero {
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.95), rgba(26, 31, 60, 0.85));
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 24px;
    padding: 22px 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.hero-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.14);
    color: #8de8ff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-hero h1 {
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 8px;
}

.profile-hero p {
    color: #bcdcff;
    font-size: 15px;
    line-height: 1.6;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.feature-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(138, 43, 226, 0.16);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: #f2e4ff;
    font-size: 13px;
    font-weight: 600;
}

.main-container {
    transition: transform 0.4s ease;
    width: 1300px;
    max-width: 98%;
    z-index: 10;
}

/* sol üst arma kapsülü */
.rank-system-left {
    position: fixed;
    top: 25px;
    left: 30px;
    z-index: 100;
}

.rank-capsule {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 210, 255, 0.4);
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    user-select: none;
}

.rank-capsule:hover {
    border-color: #8a2be2;
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.3);
    transform: translateY(-2px);
}

.rank-capsule-icon {
    font-size: 24px;
}

.rank-capsule-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rank-capsule-name {
    font-weight: 800;
    font-size: 15px;
    color: #cd7f32;
}

.rank-capsule-pts {
    font-size: 14px;
    font-weight: 700;
    color: #00d2ff;
}

.rank-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 210, 255, 0.35);
    border-radius: 24px;
    padding: 20px;
    min-width: 320px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
    animation: slideDown 0.3s ease;
}

.rank-dropdown.show {
    display: block;
}

.rank-dropdown-title {
    color: #00d2ff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.rank-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-dropdown-item:last-child {
    border-bottom: none;
}

.rank-dropdown-icon {
    font-size: 28px;
    width: 36px;
    text-align: center;
}

.rank-dropdown-info {
    flex: 1;
}

.rank-dropdown-name {
    font-weight: 700;
    font-size: 14px;
}

.rank-dropdown-req {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 2px;
}

.rank-dropdown-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.rank-dropdown-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.rank-dropdown-item.locked .rank-dropdown-icon {
    opacity: 0.4;
    filter: grayscale(0.5);
}

.rank-dropdown-item.locked .rank-dropdown-name {
    color: #777;
}

.rank-dropdown-item.active .rank-dropdown-icon {
    filter: drop-shadow(0 0 8px currentColor);
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    border-radius: 40px;
    transition: all 0.3s;
    cursor: default;
}

.rank-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid;
}

.rank-info {
    display: flex;
    flex-direction: column;
}

.rank-name {
    font-weight: 700;
    font-size: 14px;
}

.rank-desc {
    font-size: 10px;
    opacity: 0.8;
}

.rank-bronz .rank-icon {
    border-color: #cd7f32;
    color: #cd7f32;
}

.rank-bronz .rank-name {
    color: #cd7f32;
}

.rank-gumus .rank-icon {
    border-color: #c0c0c0;
    color: #c0c0c0;
}

.rank-gumus .rank-name {
    color: #c0c0c0;
}

.rank-altin .rank-icon {
    border-color: #ffd700;
    color: #ffd700;
}

.rank-altin .rank-name {
    color: #ffd700;
}

.rank-elmas .rank-icon {
    border-color: #00d2ff;
    color: #00d2ff;
}

.rank-elmas .rank-name {
    color: #00d2ff;
}

.rank-locked {
    opacity: 0.4;
    filter: grayscale(0.5);
}

.rank-locked .rank-icon {
    border-color: #555;
    color: #555;
}

.rank-locked .rank-name {
    color: #777;
}

.rank-active {
    box-shadow: 0 0 15px currentColor;
}

.total-points-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    margin-top: 5px;
    border-top: 1px solid rgba(0, 210, 255, 0.3);
    justify-content: center;
}

.total-points-value {
    color: #00d2ff;
    font-size: 24px;
    font-weight: 800;
}

.total-points-label {
    color: #7eb8ff;
    font-size: 11px;
}

/* sağ üst butonlar */
.top-right-panel {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.updates-btn {
    background: rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid #8a2be2;
    border-radius: 50px;
    padding: 12px 25px;
    color: #c9a9ff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.updates-btn:hover {
    background: rgba(138, 43, 226, 0.3);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}

.new-badge {
    background: #ff4444;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.developer-credit {
    background: rgba(0, 210, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 210, 255, 0.5);
    border-radius: 50px;
    padding: 12px 25px;
    color: #00d2ff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.developer-credit:hover {
    background: rgba(0, 210, 255, 0.25);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}

.dexter-profile-card {
    position: fixed;
    top: 90px;
    right: 30px;
    z-index: 102;
    background: rgba(20, 25, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid #5865F2;
    border-radius: 25px;
    padding: 25px;
    width: 350px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: none;
    animation: slideDown 0.3s ease;
}

.dexter-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.dexter-avatar-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #5865F2, #8a2be2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    font-weight: 700;
    color: white;
}

.dexter-info h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 5px;
}

.dexter-info .dexter-username {
    color: #888;
    font-size: 14px;
}

.dexter-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    padding: 10px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 15px;
    color: white;
}

.dexter-badges {
    display: flex;
    gap: 8px;
    margin: 15px 0;
}

.dexter-badge {
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid #00d2ff;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    color: white;
}

.dexter-planes {
    display: flex;
    gap: 5px;
    margin: 15px 0;
    color: #ffd700;
    font-size: 18px;
}

.dexter-join {
    color: #ccc;
    font-size: 13px;
    margin: 15px 0;
}

.dexter-note {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 15px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

/* güncellemeler paneli */
.updates-panel {
    position: fixed;
    top: 145px;
    right: 30px;
    z-index: 101;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid #8a2be2;
    border-radius: 30px;
    padding: 25px;
    min-width: 380px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
    animation: slideDown 0.3s ease;
    scrollbar-width: none;
}

.updates-panel h3 {
    color: white !important;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.update-item {
    padding: 15px;
    margin-bottom: 12px;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.update-item:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: #8a2be2;
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.update-version {
    color: white !important;
    font-weight: 700;
    font-size: 18px;
}

.update-date {
    color: #ccc !important;
    font-size: 12px;
}

.update-desc {
    color: white !important;
    font-size: 14px;
}

.update-details {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    font-size: 13px;
    line-height: 1.6;
}

.update-details.show {
    display: block;
}

.update-details li {
    color: white !important;
}

.close-updates {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #8a2be2;
    border-radius: 30px;
    padding: 10px;
    color: white !important;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
}

/* yapımcılar paneli */
.credits-panel {
    position: fixed;
    top: 145px;
    right: 30px;
    z-index: 101;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid #00d2ff;
    border-radius: 30px;
    padding: 25px;
    min-width: 320px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.credits-panel h3 {
    color: white !important;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.close-credits {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #00d2ff;
    border-radius: 30px;
    padding: 10px;
    color: white !important;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
}

.credits-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: white !important;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.credits-item i {
    width: 25px;
    color: #00d2ff;
}

.credits-item .label {
    flex: 1;
    color: #ccc !important;
}

.credits-item .value {
    color: white !important;
    font-weight: 600;
}

.credits-item.clickable {
    cursor: pointer;
    transition: all 0.3s;
}

.credits-item.clickable:hover {
    background: rgba(88, 101, 242, 0.15);
    border-radius: 15px;
    padding-left: 10px;
}

.sponsor-badge {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: black !important;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.partner-badge {
    background: linear-gradient(135deg, #8a2be2, #00d2ff);
    color: white !important;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.feedback-box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 210, 255, 0.4);
    border-radius: 25px;
    padding: 12px 15px;
    width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white !important;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feedback-header i {
    color: #00d2ff;
}

.feedback-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00d2ff;
    border-radius: 15px;
    padding: 8px 12px;
    color: white;
    font-size: 12px;
    resize: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 8px;
}

.feedback-input::placeholder {
    color: #aaa;
    font-size: 11px;
}

.feedback-btn {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.feedback-success {
    color: #4caf50 !important;
    font-size: 11px;
    text-align: center;
    margin-top: 5px;
    display: none;
}

.social-media-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 12px;
    background: rgba(10, 15, 30, 0.5);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 210, 255, 0.3);
    border-radius: 50px;
    padding: 8px 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(0, 210, 255, 0.5);
    text-decoration: none;
}

.social-btn.discord {
    background: linear-gradient(135deg, #5865F2, #404EED);
    color: white;
}

.social-btn.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #833AB4, #E1306C, #FCAF45);
    color: white;
}

.social-btn.movyra {
    background: linear-gradient(135deg, #e50914, #b20710);
    color: white;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    transition: background 0.5s ease;
}

.theme-space {
    background: linear-gradient(135deg, #0a0a2e 0%, #1a1a4e 30%, #0d0d3d 60%, #000000 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.shooting-star {
    position: absolute;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, white, transparent);
    animation: shoot 6s linear infinite;
}

@keyframes shoot {
    0% {
        transform: translateX(-150px) translateY(-150px) rotate(45deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    20% {
        transform: translateX(calc(100vw + 150px)) translateY(calc(100vh + 150px)) rotate(45deg);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.theme-araba {
    background: linear-gradient(135deg, #1a1000 0%, #2d1a00 50%, #0d0a00 100%);
}

.car-animation {
    position: absolute;
    font-size: 50px;
    animation: drive 8s linear infinite;
    opacity: 0.4;
}

@keyframes drive {
    0% {
        left: -100px;
    }

    100% {
        left: calc(100% + 100px);
    }
}

.theme-marvel {
    background: linear-gradient(135deg, #1a0000 0%, #3d0000 50%, #1a0000 100%);
}

.marvel-hero {
    position: absolute;
    font-size: 45px;
    animation: heroFloat 4s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-40px) rotate(5deg);
    }
}

.theme-dc {
    background: linear-gradient(135deg, #000a1a 0%, #001a3d 50%, #000a1a 100%);
}

.dc-hero {
    position: absolute;
    font-size: 45px;
    animation: dcFloat 5s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes dcFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.theme-oyun {
    background: linear-gradient(135deg, #001a0d 0%, #003d1b 50%, #001a0d 100%);
}

.game-char {
    position: absolute;
    font-size: 40px;
    animation: gameFloat 3.5s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes gameFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-35px);
    }
}

.theme-motor {
    background: linear-gradient(135deg, #1a0a00 0%, #3d1a00 50%, #1a0a00 100%);
}

.theme-yemek {
    background: linear-gradient(135deg, #1a0a00 0%, #3d1a00 50%, #1a0a00 100%);
}

.food-item {
    position: absolute;
    font-size: 40px;
    animation: foodFloat 4s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes foodFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }
}

.theme-hayvan {
    background: linear-gradient(135deg, #001a0a 0%, #003d1a 50%, #001a0a 100%);
}

.animal-item {
    position: absolute;
    font-size: 45px;
    animation: animalWalk 10s linear infinite;
    opacity: 0.35;
}

@keyframes animalWalk {
    0% {
        left: -100px;
    }

    100% {
        left: calc(100% + 100px);
    }
}

.theme-spor {
    background: linear-gradient(135deg, #001a2a 0%, #003d5c 50%, #001a2a 100%);
}

.sport-item {
    position: absolute;
    font-size: 45px;
    animation: sportBounce 2s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes sportBounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-50px);
    }
}

.theme-teknoloji {
    background: linear-gradient(135deg, #1a002a 0%, #3d005c 50%, #1a002a 100%);
}

.tech-item {
    position: absolute;
    font-size: 40px;
    animation: techPulse 3s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes techPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.45;
    }
}

.theme-genelkultur {
    background: linear-gradient(135deg, #1a1a00 0%, #3d3d00 50%, #1a1a00 100%);
}

.culture-item {
    position: absolute;
    font-size: 40px;
    animation: cultureRotate 8s linear infinite;
    opacity: 0.3;
}

@keyframes cultureRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.theme-muzik {
    background: linear-gradient(135deg, #2a002a 0%, #5c005c 50%, #2a002a 100%);
}

.music-note {
    position: absolute;
    font-size: 35px;
    animation: musicFloat 4s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes musicFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(-10deg);
    }

    50% {
        transform: translateY(-50px) rotate(10deg);
    }
}

.theme-sinema {
    background: linear-gradient(135deg, #1a001a 0%, #3d003d 50%, #1a001a 100%);
}

.film-strip {
    position: absolute;
    font-size: 30px;
    animation: filmMove 6s linear infinite;
    opacity: 0.35;
}

@keyframes filmMove {
    0% {
        left: -100px;
    }

    100% {
        left: calc(100% + 100px);
    }
}

.theme-bilim {
    background: linear-gradient(135deg, #001a2a 0%, #003d5c 50%, #001a2a 100%);
}

.atom {
    position: absolute;
    font-size: 40px;
    animation: atomRotate 6s linear infinite;
    opacity: 0.35;
}

@keyframes atomRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.theme-tarih {
    background: linear-gradient(135deg, #2a1a00 0%, #5c3d00 50%, #2a1a00 100%);
}

.scroll {
    position: absolute;
    font-size: 35px;
    animation: scrollFloat 5s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes scrollFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(-5deg);
    }

    50% {
        transform: translateY(-40px) rotate(5deg);
    }
}

.theme-sanat {
    background: linear-gradient(135deg, #1a2a00 0%, #3d5c00 50%, #1a2a00 100%);
}

.paint-item {
    position: absolute;
    font-size: 35px;
    animation: paintBounce 3s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes paintBounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }
}

/* kategori arka planları */
.theme-astronomi {
    background: linear-gradient(135deg, #020617 0%, #0f172a 35%, #1e1b4b 70%, #020617 100%);
}

.astro-item {
    position: absolute;
    font-size: 38px;
    animation: astroFloat 5s ease-in-out infinite;
    opacity: 0.4;
    filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.6));
}

@keyframes astroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.35;
    }

    50% {
        transform: translateY(-40px) rotate(12deg) scale(1.15);
        opacity: 0.55;
    }
}

.theme-edebiyat {
    background: linear-gradient(135deg, #2e1065 0%, #4c1d95 40%, #1e1b4b 100%);
}

.book-item {
    position: absolute;
    font-size: 36px;
    animation: bookFloat 4.5s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes bookFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-6deg);
    }

    50% {
        transform: translateY(-35px) rotate(6deg);
    }
}

.theme-cografya {
    background: linear-gradient(135deg, #022c22 0%, #065f46 45%, #064e3b 100%);
}

.geo-item {
    position: absolute;
    font-size: 40px;
    animation: geoDrift 9s linear infinite;
    opacity: 0.38;
}

@keyframes geoDrift {
    0% {
        left: -80px;
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(8deg);
    }

    100% {
        left: calc(100% + 80px);
        transform: translateY(0) rotate(0deg);
    }
}

.theme-siyaset {
    background: linear-gradient(135deg, #1c1917 0%, #44403c 40%, #292524 100%);
}

.politic-item {
    position: absolute;
    font-size: 38px;
    animation: politicPulse 3.5s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes politicPulse {

    0%,
    100% {
        transform: scale(1) translateY(0);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.18) translateY(-25px);
        opacity: 0.5;
    }
}

.theme-saglik {
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 40%, #1a0000 100%);
}

.health-item {
    position: absolute;
    font-size: 38px;
    animation: healthBounce 2.8s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes healthBounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-45px) scale(1.12);
    }
}

.theme-mitoloji {
    background: linear-gradient(135deg, #1a1030 0%, #3b0764 45%, #0f172a 100%);
}

.myth-item {
    position: absolute;
    font-size: 38px;
    animation: mythFloat 4s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes mythFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-35px) rotate(8deg);
    }
}

.theme-anime {
    background: linear-gradient(135deg, #4a044e 0%, #831843 45%, #1e1b4b 100%);
}

.anime-item {
    position: absolute;
    font-size: 38px;
    animation: animeFloat 4s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes animeFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-40px) scale(1.1);
    }
}

.theme-futbol {
    background: linear-gradient(135deg, #052e16 0%, #14532d 45%, #022c22 100%);
}

.futbol-item {
    position: absolute;
    font-size: 38px;
    animation: futbolBounce 4s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes futbolBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-50px);
    }
}

.theme-markalar {
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 45%, #082f49 100%);
}

.brand-item {
    position: absolute;
    font-size: 38px;
    animation: brandPulse 4s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes brandPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.35;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.5;
    }
}

.theme-bayraklar {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 45%, #172554 100%);
}

.flag-item {
    position: absolute;
    font-size: 38px;
    animation: flagWave 4s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes flagWave {

    0%,
    100% {
        transform: rotate(-5deg) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateY(-25px);
    }
}

.theme-matematik {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #0f172a 100%);
}

.math-item {
    position: absolute;
    font-size: 38px;
    animation: mathSpin 4s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes mathSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.theme-dizi {
    background: linear-gradient(135deg, #3b0764 0%, #581c87 45%, #1a0a2e 100%);
}

.series-item {
    position: absolute;
    font-size: 38px;
    animation: seriesFloat 4s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes seriesFloat {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(10px) translateY(-30px);
    }
}

.theme-moda {
    background: linear-gradient(135deg, #500724 0%, #9d174d 45%, #2e1065 100%);
}

.fashion-item {
    position: absolute;
    font-size: 38px;
    animation: fashionFloat 4s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes fashionFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-35px) rotate(4deg);
    }
}

.theme-felsefe {
    background: linear-gradient(135deg, #292524 0%, #44403c 45%, #1c1917 100%);
}

.philo-item {
    position: absolute;
    font-size: 38px;
    animation: philoFloat 4s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes philoFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }

    50% {
        transform: translateY(-30px);
        opacity: 0.5;
    }
}

.theme-doga {
    background: linear-gradient(135deg, #052e16 0%, #166534 45%, #022c22 100%);
}

.nature-item {
    position: absolute;
    font-size: 38px;
    animation: natureFloat 4s ease-in-out infinite;
    opacity: 0.38;
}

@keyframes natureFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-40px) scale(1.08);
    }
}

/* mod seçimi */
.mode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 30px 0 20px;
}

@media (max-width: 700px) {
    .mode-grid {
        grid-template-columns: 1fr;
    }
}

.mode-card {
    background: linear-gradient(135deg, rgba(5, 10, 30, 0.96), rgba(30, 35, 70, 0.95));
    border: 3px solid rgba(0, 210, 255, 0.35);
    border-radius: 28px;
    padding: 34px 22px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.mode-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #8a2be2;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4), 0 0 60px rgba(0, 210, 255, 0.2), 0 20px 45px rgba(0, 0, 0, 0.3);
}

.mode-card:hover .mode-card-icon {
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.5));
    transform: scale(1.1);
}

.mode-card.selected {
    border-color: #8a2be2;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.35);
}

.mode-card-icon {
    font-size: 64px;
    transition: all 0.3s ease;
}

.mode-card-title {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

.mode-card-desc {
    color: #bcdcff;
    font-size: 15px;
    line-height: 1.5;
    max-width: 280px;
}

.mode-card--photo {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(30, 20, 60, 0.95));
    border-color: #ec4899;
}

.mode-card--text {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.18), rgba(20, 30, 70, 0.95));
    border-color: #00d2ff;
}

.mode-card--ombm {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(50, 40, 5, 0.95));
    border-color: #facc15;
}

.category-card--photo-marvel {
    background: linear-gradient(135deg, rgba(255, 25, 102, 0.28), rgba(0, 210, 255, 0.15));
    border-color: #ff4d8d;
}

.category-card--photo-dc {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.24), rgba(17, 24, 39, 0.9));
    border-color: #3b82f6;
}

.category-card--photo-anime {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(88, 28, 135, 0.9));
    border-color: #ec4899;
}

.category-card--photo-futbol {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(6, 40, 20, 0.95));
    border-color: #22c55e;
}

.category-card--photo-markalar {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.24), rgba(12, 40, 70, 0.95));
    border-color: #0ea5e9;
}

.category-card--photo-sinema {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(120, 53, 15, 0.9));
    border-color: #facc15;
}

.category-card--photo-hayvan {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.24), rgba(16, 47, 20, 0.9));
    border-color: #4caf50;
}

.category-card--photo-bayraklar {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(15, 30, 70, 0.95));
    border-color: #3b82f6;
}

/* fotoğraflı quiz */
.photo-question-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 10px;
}

.photo-frame {
    width: min(420px, 92%);
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    border: 3px solid rgba(0, 210, 255, 0.45);
    background: rgba(0, 0, 0, 0.6);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: rgba(0, 0, 0, 0.6);
}

.photo-placeholder {
    font-size: 92px;
    filter: drop-shadow(0 0 18px rgba(0, 210, 255, 0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.photo-prompt {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.photo-answer-input {
    width: min(480px, 100%);
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid #00d2ff;
    border-radius: 20px;
    padding: 16px 20px;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
}

.photo-answer-input:focus {
    border-color: #8a2be2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.photo-answer-input::placeholder {
    color: #7a9bcb;
}

.photo-feedback {
    min-height: 28px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.photo-feedback.ok {
    color: #4caf50;
}

.photo-feedback.bad {
    color: #ff6b6b;
}

.photo-hint {
    color: #a0d0ff;
    font-size: 14px;
    text-align: center;
    opacity: 0.9;
}

.photo-count-box {
    margin: 18px auto 0;
    max-width: 420px;
    background: rgba(0, 0, 0, 0.28);
    border: 2px solid rgba(0, 210, 255, 0.35);
    border-radius: 22px;
    padding: 16px 18px;
    text-align: center;
}

.photo-count-box label {
    display: block;
    color: #a0d0ff;
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.photo-count-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.photo-count-input {
    width: 110px;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid #00d2ff;
    border-radius: 16px;
    padding: 12px 14px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
}

.photo-count-input:focus {
    border-color: #8a2be2;
    box-shadow: 0 0 18px rgba(138, 43, 226, 0.3);
}

.photo-count-max {
    color: #00d2ff;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.photo-count-error {
    color: #ff6b6b;
    font-size: 13px;
    min-height: 20px;
    margin-top: 8px;
    font-weight: 600;
}

.screen {
    position: relative;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(0, 210, 255, 0.4);
    border-radius: 60px;
    padding: 45px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* logo */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 5px;
}

.logo-svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 20px #C71585);
}

.logo-text {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, #8A2BE2 0%, #A020F0 20%, #C71585 40%, #DA70D6 60%, #FF69B4 80%, #FF1493 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: 0 0 30px #8A2BE2, 0 0 60px #C71585, 0 0 90px #FF69B4;
    animation: neonPulse 2.5s ease-in-out infinite;
}

@keyframes neonPulse {

    0%,
    100% {
        text-shadow: 0 0 30px #8A2BE2, 0 0 60px #C71585, 0 0 90px #FF69B4, 0 0 120px #FF1493;
    }

    50% {
        text-shadow: 0 0 50px #A020F0, 0 0 80px #DA70D6, 0 0 110px #FF69B4, 0 0 150px #FF1493;
    }
}

@media (max-width: 600px) {
    .logo-text {
        font-size: 36px !important;
    }

    .logo-svg {
        width: 50px;
        height: 50px;
    }
}

.slogan {
    color: #a0d0ff;
    font-size: 18px;
    text-align: center;
    margin-bottom: 35px;
    font-style: italic;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.subtitle {
    color: #a0d0ff;
    font-size: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.profile-section {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    justify-content: center;
}

.avatar-section {
    text-align: center;
}

.avatar-preview {
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.08);
    border: 3px solid #00d2ff;
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    cursor: pointer;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.avatar-btn {
    background: rgba(0, 210, 255, 0.1);
    border: 2px solid #00d2ff;
    border-radius: 15px;
    padding: 8px 15px;
    color: #00d2ff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.form-section {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.input-wrapper {
    position: relative;
}

.input-field {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00d2ff;
    border-radius: 20px;
    padding: 18px 20px;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
}

.input-field::placeholder {
    color: #7a9bcb;
    text-align: center;
}

.input-field:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
    min-height: 20px;
    font-weight: 500;
}

.input-field.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

.gender-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.gender-option {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00d2ff;
    border-radius: 50px;
    padding: 12px 20px;
    color: #a0d0ff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: all 0.3s;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    z-index: 5;
    pointer-events: auto;
    touch-action: manipulation;
}

button.gender-option {
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.gender-option.selected {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
    border-color: #8a2be2;
}

.gender-group {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.category-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(5, 10, 30, 0.96), rgba(30, 35, 70, 0.95));
    border: 3px solid rgba(0, 210, 255, 0.35);
    border-radius: 25px;
    padding: 24px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    min-height: 158px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.16) 50%, transparent 85%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
}

.category-card:hover::before,
.category-card.selected::before {
    transform: translateX(120%);
}

.category-card.selected {
    transform: translateY(-5px) scale(1.03);
    border-color: #8a2be2;
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.5), 0 0 50px rgba(0, 210, 255, 0.2), 0 18px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.12), rgba(0, 210, 255, 0.08));
}

.category-card.selected .category-icon {
    filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.5));
}

.category-card--marvel {
    background: linear-gradient(135deg, rgba(255, 25, 102, 0.28), rgba(0, 210, 255, 0.15));
    border-color: #ff4d8d;
}

.category-card--dc {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.24), rgba(17, 24, 39, 0.9));
    border-color: #3b82f6;
}

.category-card--oyun {
    background: linear-gradient(135deg, rgba(0, 216, 255, 0.22), rgba(103, 58, 183, 0.2));
    border-color: #00d2ff;
}

.category-card--araba {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.25), rgba(12, 18, 36, 0.95));
    border-color: #ff6b35;
}

.category-card--motor {
    background: linear-gradient(135deg, rgba(255, 60, 60, 0.24), rgba(70, 20, 20, 0.9));
    border-color: #ff4d4d;
}

.category-card--yemek {
    background: linear-gradient(135deg, rgba(255, 179, 71, 0.24), rgba(79, 41, 10, 0.9));
    border-color: #ffb347;
}

.category-card--hayvan {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.24), rgba(16, 47, 20, 0.9));
    border-color: #4caf50;
}

.category-card--spor {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.25), rgba(15, 23, 42, 0.95));
    border-color: #42a5f5;
}

.category-card--teknoloji {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.23), rgba(8, 47, 73, 0.95));
    border-color: #22d3ee;
}

.category-card--genelkultur {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.24), rgba(31, 41, 55, 0.95));
    border-color: #a78bfa;
}

.category-card--muzik {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(67, 56, 202, 0.22));
    border-color: #ec4899;
}

.category-card--sinema {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(120, 53, 15, 0.9));
    border-color: #facc15;
}

.category-card--bilim {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.24), rgba(13, 46, 35, 0.95));
    border-color: #4ade80;
}

.category-card--tarih {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(69, 26, 3, 0.92));
    border-color: #f59e0b;
}

.category-card--sanat {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.25), rgba(109, 40, 217, 0.18));
    border-color: #f472b6;
}

.category-card--astronomi {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.25), rgba(17, 24, 39, 0.95));
    border-color: #818cf8;
}

.category-card--edebiyat {
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.25), rgba(88, 28, 135, 0.9));
    border-color: #c084fc;
}

.category-card--cografya {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.24), rgba(4, 78, 56, 0.9));
    border-color: #34d399;
}

.category-card--siyaset {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(120, 53, 15, 0.9));
    border-color: #fbbf24;
}

.category-card--saglik {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.24), rgba(127, 29, 29, 0.9));
    border-color: #f87171;
}

.category-card--mitoloji {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(30, 10, 60, 0.95));
    border-color: #a855f7;
}

.category-card--anime {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(88, 28, 135, 0.9));
    border-color: #ec4899;
}

.category-card--futbol {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(6, 40, 20, 0.95));
    border-color: #22c55e;
}

.category-card--markalar {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.24), rgba(12, 40, 70, 0.95));
    border-color: #0ea5e9;
}

.category-card--bayraklar {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(15, 30, 70, 0.95));
    border-color: #3b82f6;
}

.category-card--matematik {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(30, 27, 75, 0.95));
    border-color: #6366f1;
}

.category-card--dizi {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(50, 20, 80, 0.95));
    border-color: #c084fc;
}

.category-card--moda {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.25), rgba(80, 20, 60, 0.95));
    border-color: #f472b6;
}

.category-card--felsefe {
    background: linear-gradient(135deg, rgba(168, 162, 158, 0.22), rgba(40, 35, 30, 0.95));
    border-color: #a8a29e;
}

.category-card--doga {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.24), rgba(10, 40, 20, 0.95));
    border-color: #4ade80;
}

.category-card--kizanime {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(88, 28, 135, 0.9));
    border-color: #ec4899;
}

.category-card--erkekanime {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(127, 29, 29, 0.95));
    border-color: #ef4444;
}

.category-card--aburcubur {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.25), rgba(154, 52, 18, 0.95));
    border-color: #fb923c;
}

.category-card--oyunkarakterleri {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(88, 28, 135, 0.95));
    border-color: #a855f7;
}

.category-card--oyunlar {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.25), rgba(50, 10, 70, 0.95));
    border-color: #d946ef;
}

.category-card--dckarakterleri {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(12, 20, 40, 0.95));
    border-color: #60a5fa;
}

.category-card--unluler {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(161, 98, 7, 0.95));
    border-color: #facc15;
}

.category-card--unlukadinlar {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.25), rgba(190, 24, 93, 0.95));
    border-color: #f472b6;
}

.category-card--film {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.24), rgba(120, 53, 15, 0.9));
    border-color: #facc15;
}

.category-card--kizoyuncu {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.25), rgba(190, 24, 93, 0.95));
    border-color: #f472b6;
}

.category-card--erkejoyuncu {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(161, 98, 7, 0.95));
    border-color: #facc15;
}

.category-card--futbolcu {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(6, 40, 20, 0.95));
    border-color: #22c55e;
}

.category-card--bayrak {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(15, 30, 70, 0.95));
    border-color: #3b82f6;
}

.category-icon {
    font-size: 46px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
}

.category-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.14);
    transition: all 0.3s ease;
}

.category-subtitle {
    margin-top: 6px;
    color: #e8f6ff;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
}

.difficulty-centered {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
}

.difficulty-card {
    background: rgba(0, 0, 0, 0.3);
    border: 3px solid #00d2ff;
    border-radius: 40px;
    padding: 40px 50px;
    text-align: center;
    cursor: pointer;
    min-width: 200px;
    transition: all 0.3s;
}

.difficulty-card.selected {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(138, 43, 226, 0.25));
    border-color: #8a2be2;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4), 0 0 60px rgba(0, 210, 255, 0.15), inset 0 0 20px rgba(138, 43, 226, 0.08);
}

.difficulty-card.selected .difficulty-icon {
    filter: drop-shadow(0 0 12px rgba(138, 43, 226, 0.5));
}

.difficulty-icon {
    font-size: 60px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.difficulty-title {
    color: #00d2ff;
    font-size: 32px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.difficulty-time {
    color: #a0d0ff;
    font-size: 18px;
}

.button-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.primary-btn {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 22px;
    font-weight: 800;
    border-radius: 60px;
    cursor: pointer;
    flex: 1;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3);
    transition: all 0.3s;
}

.primary-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.back-btn {
    background: rgba(0, 0, 0, 0.3);
    color: #a0d0ff;
    border: 2px solid #00d2ff;
    padding: 20px 30px;
    font-size: 20px;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s;
}

.exit-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.exit-confirm-box {
    background: rgba(20, 25, 40, 0.95);
    border: 3px solid #ff6b6b;
    border-radius: 40px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 107, 107, 0.3);
}

.exit-confirm-box h3 {
    color: #ff6b6b;
    font-size: 28px;
    margin-bottom: 20px;
}

.exit-confirm-box p {
    color: #a0d0ff;
    font-size: 18px;
    margin-bottom: 30px;
}

.exit-confirm-buttons {
    display: flex;
    gap: 15px;
}

.exit-confirm-btn {
    flex: 1;
    padding: 15px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.exit-confirm-btn.yes {
    background: #ff6b6b;
    color: white;
}

.exit-confirm-btn.yes:hover {
    background: #ff4444;
}

.exit-confirm-btn.no {
    background: rgba(255, 255, 255, 0.1);
    color: #a0d0ff;
    border: 2px solid #00d2ff;
}

.exit-confirm-btn.no:hover {
    background: rgba(0, 210, 255, 0.2);
}

.exit-test-btn {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
}

.test-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #00d2ff;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar {
    width: 65px;
    height: 65px;
    background: rgba(0, 0, 0, 0.3);
    border: 3px solid #00d2ff;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timer-section {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00d2ff;
    border-radius: 60px;
}

.timer-bar {
    flex: 1;
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.timer-progress {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #00d2ff, #8a2be2);
    border-radius: 10px;
}

.timer-text {
    color: #00d2ff;
    font-size: 32px;
    font-weight: 800;
}

.question-text {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.option-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 3px solid #00d2ff;
    border-radius: 20px;
    padding: 20px 30px;
    color: #a0d0ff;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.option-btn.selected {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #fff;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.3);
    color: #a0d0ff;
    border: 2px solid #00d2ff;
    padding: 18px 24px;
    font-size: 17px;
    border-radius: 60px;
    cursor: pointer;
    flex: 1;
    min-width: 170px;
    text-align: center;
    transition: all 0.3s;
}

.nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.result-item {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00d2ff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 12px;
    cursor: pointer;
    color: #a0d0ff;
    transition: all 0.3s;
}

.explanation-box {
    background: rgba(0, 210, 255, 0.1);
    border: 2px solid #00d2ff;
    border-radius: 30px;
    padding: 30px;
    margin-top: 25px;
}

.explanation-box h3,
.explanation-box p {
    color: #ffffff !important;
}

.avatar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.avatar-modal-content {
    background: rgba(20, 25, 40, 0.95);
    backdrop-filter: blur(30px);
    border: 3px solid #00d2ff;
    border-radius: 50px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: none;
}

.avatar-modal-content::-webkit-scrollbar {
    display: none;
}

.avatar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-modal-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #00d2ff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #00d2ff;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff4444;
    color: #ff4444;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 20px 0;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
    scrollbar-width: none;
}

.avatar-grid::-webkit-scrollbar {
    display: none;
}

.avatar-option {
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00d2ff;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.3s;
}

.avatar-option.selected {
    border: 4px solid #8a2be2;
}

#galleryInput {
    display: none;
}

label {
    color: #a0d0ff;
    text-align: center;
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.age-selector {
    position: relative;
}

.age-scroll {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid #00d2ff;
    border-radius: 20px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    scrollbar-width: thin;
}

.age-scroll.show {
    display: block;
}

.age-option {
    padding: 12px;
    text-align: center;
    color: #a0d0ff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 18px;
}

.age-option:hover {
    background: rgba(0, 210, 255, 0.2);
    color: #fff;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.multiplayer-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.multiplayer-modal-content {
    width: min(520px, 100%);
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.98), rgba(25, 35, 70, 0.95));
    border: 2px solid rgba(0, 210, 255, 0.35);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.multiplayer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.multiplayer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.multiplayer-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0, 210, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 15px;
    outline: none;
}

.multiplayer-input::placeholder {
    color: #9fc8ff;
}

.multiplayer-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.multiplayer-actions button {
    flex: 1;
    padding: 12px 14px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.multiplayer-submit {
    background: linear-gradient(135deg, #00d2ff, #8a2be2);
    color: white;
}

.multiplayer-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 210, 255, 0.2);
    border-top-color: #00d2ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    color: #00d2ff;
    font-size: 20px;
    font-weight: 600;
}

.loading-detail {
    color: #7eb8ff;
    font-size: 13px;
    max-width: 420px;
    text-align: center;
}

.loading-actions {
    display: flex;
    gap: 12px;
}

.loading-actions button {
    flex: none;
    padding: 12px 26px;
    font-size: 17px;
}

.loading-overlay.hata .loading-spinner,
.loading-overlay:not(.hata) #loadingRetryBtn {
    display: none;
}

.loading-overlay.hata .loading-text {
    color: #ff6b6b;
    max-width: 460px;
    padding: 0 20px;
    text-align: center;
}

/* dil seçme ekranı */
.language-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.language-title {
    font-size: 32px;
    font-weight: 800;
    color: #00d2ff;
    text-align: center;
    margin-bottom: 10px;
}

.language-subtitle {
    font-size: 18px;
    color: #a0d0ff;
    text-align: center;
    margin-bottom: 15px;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: 100%;
    max-width: 700px;
}

@media (max-width: 700px) {
    .language-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .language-grid {
        grid-template-columns: 1fr;
    }
}

.language-card {
    background: linear-gradient(135deg, rgba(5, 10, 30, 0.96), rgba(30, 35, 70, 0.95));
    border: 3px solid rgba(0, 210, 255, 0.35);
    border-radius: 24px;
    padding: 22px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.language-card:hover {
    transform: translateY(-5px);
    border-color: #8a2be2;
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.3);
}

.language-card.selected {
    border-color: #8a2be2;
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.35);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(30, 35, 70, 0.95));
}

.language-flag {
    font-size: 48px;
    line-height: 1;
}

.language-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.language-native {
    color: #a0d0ff;
    font-size: 13px;
}

.lang-dropdown-wrapper {
    position: relative;
}

.lang-dropdown-trigger {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00d2ff;
    border-radius: 20px;
    padding: 14px 20px;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lang-dropdown-trigger:hover {
    border-color: #8a2be2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.lang-dropdown-panel {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: rgba(10, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid #00d2ff;
    border-radius: 20px;
    padding: 10px;
    z-index: 50;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: none;
}

.lang-dropdown-panel::-webkit-scrollbar {
    display: none;
}

.lang-dropdown-panel.show {
    display: block;
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    color: #a0d0ff;
    font-size: 16px;
    font-weight: 600;
}

.lang-dropdown-item:hover {
    background: rgba(0, 210, 255, 0.15);
    color: #fff;
}

.lang-dropdown-item.selected {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #fff;
}

.lang-dropdown-item .lang-flag {
    font-size: 24px;
}

.lang-save-btn {
    width: 100%;
    background: linear-gradient(135deg, #00d2ff, #8a2be2);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.lang-save-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.3);
}

.lang-save-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ses butonu */
.sound-toggle-btn {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 210, 255, 0.4);
    border-radius: 50px;
    padding: 8px 18px;
    color: #00d2ff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.sound-toggle-btn:hover {
    border-color: #8a2be2;
    transform: translateX(-50%) translateY(-2px);
}

.sound-toggle-btn.muted {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.4);
}

.sound-toggle-label {
    font-size: 13px;
    font-weight: 600;
}

.answer-mode-box {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00d2ff;
    border-radius: 20px;
    padding: 16px 20px;
    margin: 15px auto;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.answer-mode-label {
    color: #a0d0ff;
    font-size: 15px;
    font-weight: 600;
}

.answer-mode-option {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00d2ff;
    border-radius: 50px;
    padding: 8px 18px;
    color: #a0d0ff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.answer-mode-option:hover {
    border-color: #8a2be2;
    background: rgba(0, 210, 255, 0.1);
}

.answer-mode-option.selected {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #fff;
    border-color: #8a2be2;
}

.soru-sayisi-secenekler {
    display: grid;
    grid-template-columns: repeat(6, auto);
    gap: 8px;
}

.soru-sayisi-secenek {
    min-width: 42px;
    padding: 8px 10px;
    text-align: center;
}

@media (max-width: 480px) {
    .soru-sayisi-secenekler {
        grid-template-columns: repeat(3, auto);
    }
}

.inline-feedback {
    margin-top: 12px;
    padding: 14px 20px;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.inline-feedback.correct {
    background: rgba(76, 175, 80, 0.15);
    border: 2px solid #4caf50;
    color: #4caf50;
}

.inline-feedback.wrong {
    background: rgba(255, 107, 107, 0.15);
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
}

.difficulty-card--suretsiz {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(138, 43, 226, 0.15));
    border-color: #8a2be2;
}

.difficulty-card--suretextures:hover {
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.5), 0 0 100px rgba(0, 210, 255, 0.2);
}

/* cinsiyet temaları */
.theme-male {
    background: linear-gradient(135deg, #020617 0%, #081c3f 40%, #0d2f6b 70%, #010818 100%);
}

.theme-female {
    background: linear-gradient(135deg, #2b052b 0%, #4a0e5c 35%, #831843 70%, #1e0332 100%);
}

.gender-item {
    position: absolute;
    font-size: 36px;
    animation: genderFloat 5s ease-in-out infinite;
    opacity: 0.32;
}

@keyframes genderFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(-4deg);
    }

    50% {
        transform: translateY(-35px) rotate(4deg);
    }
}

body.gender-male .screen {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 40px 100px rgba(2, 12, 45, 0.85), 0 0 40px rgba(59, 130, 246, 0.12);
}

body.gender-female .screen {
    border-color: rgba(236, 72, 153, 0.55);
    box-shadow: 0 40px 100px rgba(45, 3, 40, 0.85), 0 0 40px rgba(236, 72, 153, 0.12);
}

body.gender-male .primary-btn {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
}

body.gender-female .primary-btn {
    background: linear-gradient(135deg, #ec4899, #a855f7);
}

.category-card--meyve {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.24), rgba(12, 50, 20, 0.9));
    border-color: #ef4444;
}

.category-card--sebze {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(6, 40, 20, 0.9));
    border-color: #22c55e;
}

.category-card--tatli {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.25), rgba(88, 28, 60, 0.9));
    border-color: #f472b6;
}

.category-card--emoji {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.26), rgba(60, 40, 5, 0.95));
    border-color: #facc15;
}

.category-card--icecek {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.26), rgba(8, 47, 73, 0.95));
    border-color: #38bdf8;
}

.category-card--youtuber {
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.3), rgba(40, 0, 8, 0.95));
    border-color: #ff4757;
}

.category-card--yayinci {
    background: linear-gradient(135deg, rgba(145, 71, 255, 0.3), rgba(24, 0, 43, 0.95));
    border-color: #a970ff;
}

.theme-emoji {
    background: linear-gradient(135deg, #1a1700 0%, #3d2e00 45%, #14101f 100%);
}

.emoji-item {
    position: absolute;
    font-size: 40px;
    animation: emojiFloat 4s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes emojiFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-6deg) scale(1);
    }

    50% {
        transform: translateY(-32px) rotate(6deg) scale(1.1);
    }
}

.theme-icecek {
    background: linear-gradient(135deg, #001a2a 0%, #023d5c 45%, #001523 100%);
}

.drink-item {
    position: absolute;
    font-size: 42px;
    animation: drinkFloat 4s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes drinkFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.theme-youtuber {
    background: linear-gradient(135deg, #1a0005 0%, #4d0013 50%, #14001a 100%);
}

.youtube-item {
    position: absolute;
    font-size: 40px;
    animation: emojiFloat 4s ease-in-out infinite;
    opacity: 0.35;
}

.theme-yayinci {
    background: linear-gradient(135deg, #14002b 0%, #3b0a63 50%, #0f0018 100%);
}

.stream-item {
    position: absolute;
    font-size: 40px;
    animation: emojiFloat 4s ease-in-out infinite;
    opacity: 0.35;
}

/* o mu bu mu */
.ombm-tur-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ombm-tur-label {
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    color: #facc15;
    text-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.ombm-tur-sub {
    color: #a0d0ff;
    font-size: 15px;
    text-align: center;
    font-weight: 600;
}

.ombm-progress-bar {
    width: 100%;
    max-width: 700px;
}

.ombm-progress-label {
    color: #a0d0ff;
    font-size: 14px;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 600;
}

.ombm-progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.ombm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #facc15, #ff8c00);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.ombm-battle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
    max-width: 800px;
}

.ombm-card {
    flex: 1;
    max-width: 320px;
    background: linear-gradient(135deg, rgba(5, 10, 30, 0.96), rgba(30, 35, 70, 0.95));
    border: 3px solid rgba(250, 204, 21, 0.35);
    border-radius: 28px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 280px;
    justify-content: center;
}

.ombm-card:hover {
    transform: scale(1.05);
    border-color: #8a2be2;
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.5), 0 0 80px rgba(250, 204, 21, 0.2);
}

.ombm-card:active {
    transform: scale(0.97);
}

.ombm-card.ombm-winner {
    border-color: #4caf50 !important;
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.6) !important;
    animation: winPop 0.5s ease;
}

.ombm-card.ombm-loser {
    opacity: 0.15;
    transform: scale(0.82);
    pointer-events: none;
}

@keyframes winPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.ombm-card-img {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    padding: 8px;
    box-sizing: border-box;
}

.ombm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.ombm-card-name {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.ombm-card-sub {
    color: #a0d0ff;
    font-size: 13px;
}

.ombm-vs-badge {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff4444, #ff6b6b, #ffaa00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: vsPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes vsPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.15) rotate(3deg);
    }
}

.ombm-champion {
    text-align: center;
    margin-bottom: 30px;
}

.ombm-champ-emoji {
    font-size: 90px;
    display: block;
    margin-bottom: 10px;
}

.ombm-champ-name {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ombm-champ-label {
    color: #ffd700;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 5px;
}

.ombm-result-list {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: none;
}

.ombm-result-list::-webkit-scrollbar {
    display: none;
}

.ombm-result-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 20px;
    animation: slideUp 0.4s ease;
    animation-fill-mode: both;
}

.ombm-result-row.ombm-rank-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 165, 0, 0.08));
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.ombm-result-row.ombm-rank-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.14), rgba(180, 180, 180, 0.06));
    border: 2px solid rgba(192, 192, 192, 0.4);
}

.ombm-result-row.ombm-rank-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.14), rgba(180, 100, 30, 0.06));
    border: 2px solid rgba(205, 127, 50, 0.4);
}

.ombm-result-row.ombm-rank-other {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ombm-result-medal {
    font-size: 30px;
    width: 44px;
    text-align: center;
    flex-shrink: 0;
}

.ombm-result-emoji {
    font-size: 32px;
    width: 44px;
    text-align: center;
    flex-shrink: 0;
}

.ombm-result-info {
    flex: 1;
}

.ombm-result-name {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.ombm-result-rank-text {
    color: #a0d0ff;
    font-size: 12px;
    font-weight: 600;
}

.ombm-result-number {
    color: #00d2ff;
    font-size: 20px;
    font-weight: 800;
    width: 36px;
    text-align: center;
    flex-shrink: 0;
}

@keyframes shakeScreen {

    0%,
    100% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(-8px) rotate(-0.5deg);
    }

    20% {
        transform: translateX(8px) rotate(0.5deg);
    }

    30% {
        transform: translateX(-6px) rotate(-0.3deg);
    }

    40% {
        transform: translateX(6px) rotate(0.3deg);
    }

    50% {
        transform: translateX(-4px);
    }

    60% {
        transform: translateX(4px);
    }

    70% {
        transform: translateX(-2px);
    }

    80% {
        transform: translateX(2px);
    }

    90% {
        transform: translateX(-1px);
    }
}

.shake {
    animation: shakeScreen 0.5s ease-in-out;
}

.category-card--lol {
    background: linear-gradient(135deg, rgba(193, 46, 44, 0.28), rgba(20, 10, 40, 0.95));
    border-color: #c12e2c;
}

.category-card--mobilelegends {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(10, 20, 50, 0.95));
    border-color: #3b82f6;
}

.category-card--cips {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.26), rgba(80, 30, 5, 0.95));
    border-color: #fb923c;
}

.category-card--biskuvi {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.26), rgba(60, 30, 5, 0.95));
    border-color: #d97706;
}

.category-card--sarkici {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.28), rgba(60, 10, 50, 0.95));
    border-color: #ec4899;
}

.category-card--oyunkarakteri {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(40, 10, 60, 0.95));
    border-color: #a855f7;
}

/* sıralama */
.mode-card--siralama {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(20, 60, 30, 0.95));
    border-color: #4ade80;
}

.siralama-game-area {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.siralama-ranks {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.siralama-rank-slot {
    border: 2px dashed rgba(74, 222, 128, 0.55);
    border-radius: 24px;
    padding: 18px;
    background: rgba(74, 222, 128, 0.06);
    min-height: 130px;
    transition: all 0.2s;
}

.siralama-rank-slot.drag-over {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
    box-shadow: 0 0 25px rgba(74, 222, 128, 0.25);
}

.siralama-rank-slot h3 {
    color: #4ade80;
    font-weight: 900;
    margin-bottom: 10px;
    font-size: 18px;
    text-align: center;
}

.siralama-rank-name-input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 14px;
    border: 2px solid rgba(74, 222, 128, 0.55);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    text-align: center;
    margin-bottom: 12px;
    transition: 0.2s;
}

.siralama-rank-name-input:focus {
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.siralama-rank-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 70px;
    align-items: center;
    justify-content: center;
}

.siralama-item-card {
    cursor: grab;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(0, 210, 255, 0.45);
    border-radius: 16px;
    padding: 8px;
    width: 86px;
    text-align: center;
    transition: 0.2s;
    font-size: 12px;
    color: #fff;
    position: relative;
    user-select: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.siralama-item-card:hover {
    border-color: #8a2be2;
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.3);
}

.siralama-item-card img {
    width: 100%;
    height: 68px;
    max-width: 68px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 3px;
}

.siralama-item-card .siralama-item-emoji {
    font-size: 40px;
    line-height: 68px;
    height: 68px;
    display: block;
}

.siralama-item-card .siralama-item-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    word-break: break-word;
    line-height: 1.2;
    width: 100%;
}

.siralama-photos {
    flex: 1.2;
    min-width: 320px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    border: 2px dashed rgba(0, 210, 255, 0.3);
    min-height: 300px;
    align-content: flex-start;
}

.siralama-photo-card {
    cursor: grab;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(0, 210, 255, 0.4);
    border-radius: 22px;
    padding: 12px;
    width: 130px;
    text-align: center;
    transition: 0.2s;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.siralama-photo-card:hover {
    border-color: #8a2be2;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(138, 43, 226, 0.25);
}

.siralama-photo-card img {
    width: 100%;
    height: 104px;
    max-width: 104px;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 4px;
}

.siralama-photo-card .siralama-photo-emoji {
    font-size: 70px;
    line-height: 100px;
    height: 100px;
    display: block;
}

.siralama-photo-card .label {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
}

.siralama-note {
    text-align: center;
    color: #8de8ff;
    font-size: 14px;
    margin-top: 14px;
    opacity: 0.85;
}

.siralama-count-input {
    width: 110px;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid #4ade80;
    border-radius: 16px;
    padding: 12px 14px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    font-family: inherit;
    outline: none;
}

.siralama-photo-card,
.siralama-item-card {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.siralama-photo-card img,
.siralama-item-card img,
.siralama-photo-emoji,
.siralama-item-emoji {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.siralama-ranks,
.siralama-photos,
.siralama-rank-slot,
.siralama-rank-items {
    user-select: none;
    -webkit-user-select: none;
}

.siralama-photo-card.siralama-dragging,
.siralama-item-card.siralama-dragging {
    opacity: 0.35;
    transform: scale(0.95);
}

#siralamaGhost {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    width: 120px;
    background: rgba(20, 25, 45, 0.95);
    border: 2px solid #8a2be2;
    border-radius: 18px;
    padding: 8px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.5);
    transform: translate(-50%, -50%) scale(1.05);
}

#siralamaGhost img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: block;
    margin: 0 auto 5px;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    box-sizing: border-box;
    padding: 3px;
}

.siralama-item-card:active,
.siralama-photo-card:active {
    cursor: grabbing;
}

.siralama-rank-name-input {
    -webkit-user-select: text;
    user-select: text;
}

#siralamaGhost .siralama-ghost-emoji {
    font-size: 60px;
    line-height: 90px;
    height: 90px;
    display: block;
}

#siralamaGhost .label {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}

.siralama-count-input:focus {
    border-color: #8a2be2;
    box-shadow: 0 0 18px rgba(138, 43, 226, 0.3);
}

/* blur oyunu */
.mode-card--blur {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(30, 20, 60, 0.95));
    border-color: #ec4899;
}

.mode-card--blur:hover {
    box-shadow: 0 0 35px rgba(236, 72, 153, 0.45), 0 0 70px rgba(138, 43, 226, 0.2);
}

.blur-game-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.blur-game-badge {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.blur-score-badge {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(245, 158, 11, 0.15));
    border: 1px solid rgba(250, 204, 21, 0.4);
    color: #facc15;
}

.blur-levels {
    display: flex;
    gap: 6px;
    align-items: center
}

.blur-dot {
    width: 32px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.4s
}

.blur-dot.active {
    background: linear-gradient(90deg, #8a2be2, #ec4899);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5)
}

.blur-dot.used {
    background: #4ade80
}

.blur-game-area {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start
}

@media(max-width:800px) {
    .blur-game-area {
        grid-template-columns: 1fr
    }
}

.blur-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px
}

.blur-photo-frame {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1/1;
    border-radius: 28px;
    overflow: hidden;
    border: 3px solid rgba(236, 72, 153, 0.5);
    background: radial-gradient(ellipse at center, #1e1b4b, #0f0a1a);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.blur-photo-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: filter 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    will-change: filter, opacity;
}

.blur-photo-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    transition: filter 0.7s ease, opacity 0.3s ease;
}

.blur-photo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #0f0a1a;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.blur-photo-frame.loading::after {
    opacity: 1
}

.blur-photo-frame.loading img,
.blur-photo-frame.loading .blur-photo-placeholder {
    opacity: 0 !important
}

.blur-quality-bar {
    width: 100%;
    max-width: 480px
}

.blur-quality-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8a8ab0;
    font-weight: 600;
    margin-bottom: 6px
}

.blur-quality-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden
}

.blur-quality-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.7s ease, background 0.5s ease
}

.blur-controls {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 20px;
}

.blur-question-info {
    font-size: 13px;
    color: #8a8ab0;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.blur-current-points {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(138, 43, 226, 0.12));
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 16px;
    padding: 12px 16px;
}

.blur-points-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    font-weight: 800
}

.blur-points-text {
    flex: 1
}

.blur-points-value {
    font-size: 22px;
    font-weight: 800;
    color: #facc15
}

.blur-points-label {
    font-size: 11px;
    color: #a0a0c0;
    font-weight: 600
}

.blur-input-wrap {
    position: relative;
    margin-bottom: 12px
}

.blur-game-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 16px;
    padding: 16px 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
    text-align: center;
}

.blur-game-input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.25)
}

.blur-game-input::placeholder {
    color: #5a5a7a
}

.blur-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(20, 15, 40, 0.98);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 16px;
    max-height: 180px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.blur-suggestions.show {
    display: block
}

.blur-sugg-item {
    padding: 12px 16px;
    cursor: pointer;
    color: #c0c0e0;
    font-weight: 600;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05)
}

.blur-sugg-item:hover {
    background: rgba(138, 43, 226, 0.2);
    color: #fff
}

.blur-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 14px
}

.blur-btn {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    border: none;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.blur-btn-primary {
    background: linear-gradient(135deg, #8a2be2, #ec4899);
    color: #fff;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3)
}

.blur-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.4)
}

.blur-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #a0a0c0
}

.blur-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff
}

.blur-btn-skip {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171
}

.blur-feedback {
    margin-top: 14px;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    display: none;
    animation: pop 0.3s ease;
}

.blur-feedback.show {
    display: block
}

.blur-feedback.wrong {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171
}

.blur-feedback.correct {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80
}

.blur-feedback.info {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa
}

.blur-result-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 3, 16, 0.88);
    backdrop-filter: blur(16px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.blur-result-overlay.show {
    display: flex
}

.blur-result-card {
    background: linear-gradient(135deg, rgba(20, 15, 40, 0.98), rgba(30, 20, 60, 0.98));
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 28px;
    padding: 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.4s ease;
}

.blur-result-card.correct {
    border-color: #22c55e;
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.25)
}

.blur-result-card.wrong {
    border-color: #ef4444;
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.25)
}

.blur-final-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0
}

.blur-stat-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px;
    text-align: center
}

.blur-progress-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 16px 0
}

.blur-p-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15)
}

.blur-p-dot.done {
    background: #4ade80
}

.blur-p-dot.current {
    background: #facc15;
    box-shadow: 0 0 10px #facc15
}

.blur-p-dot.fail {
    background: #ef4444
}

/* mağaza */
.shop-fab {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 26px;
    border-radius: 40px;
    border: 2px solid #facc15;
    background: linear-gradient(135deg, #8a2be2, #C71585);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.5), 0 0 18px rgba(250, 204, 21, 0.35);
    transition: all 0.3s;
}

.shop-fab:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.7), 0 0 50px rgba(138, 43, 226, 0.5);
}

.shop-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.shop-modal.open {
    display: flex;
}

.shop-panel {
    width: 920px;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(160deg, rgba(20, 22, 45, 0.98), rgba(30, 16, 52, 0.98));
    border: 2px solid #facc15;
    border-radius: 32px;
    padding: 26px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 40px rgba(250, 204, 21, 0.2);
    scrollbar-width: none;
}

.shop-panel::-webkit-scrollbar {
    display: none;
}

.shop-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.shop-header h2 {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #facc15, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shop-points {
    margin-left: auto;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #facc15;
    border-radius: 40px;
    padding: 10px 18px;
    font-weight: 800;
    color: #ffd700;
    font-size: 16px;
}

.shop-close {
    background: rgba(255, 107, 107, 0.15);
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    font-weight: 800;
}

.shop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.shop-tab {
    padding: 12px 16px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.14);
    color: #c9d4ff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s;
}

.shop-tab:hover {
    border-color: #facc15;
}

.shop-tab.active {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(138, 43, 226, 0.25));
    border-color: #facc15;
    color: #ffd700;
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.4);
}

.shop-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.shop-item {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.25s;
    position: relative;
}

.shop-item:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.5);
}

.shop-item.owned {
    border-color: #facc15;
}

.shop-item.active {
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.35);
}

.shop-item-tier {
    font-size: 12px;
    color: #facc15;
    letter-spacing: 2px;
    margin-bottom: 8px;
    min-height: 16px;
}

.shop-prev-avatar {
    font-size: 56px;
    line-height: 1.2;
}

.shop-prev-name {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.3;
    margin: 12px 0;
}

.shop-prev-music {
    font-size: 52px;
    line-height: 1.2;
}

.shop-prev-theme {
    height: 64px;
    border-radius: 14px;
    margin: 6px 0;
}

.shop-prev-frame {
    width: 64px;
    height: 64px;
    margin: 6px auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.shop-item-name {
    font-weight: 800;
    color: #fff;
    font-size: 16px;
    margin-top: 6px;
}

.shop-item-price {
    color: #ffd700;
    font-weight: 800;
    font-size: 14px;
    margin: 6px 0 10px;
}

.shop-btn {
    width: 100%;
    padding: 10px 12px;
    border-radius: 30px;
    border: none;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s;
}

.shop-btn.buy {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #1a1a2e;
}

.shop-btn.buy:hover {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.6);
}

.shop-btn.buy.disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #6b7280;
    cursor: not-allowed;
}

.shop-btn.own {
    background: rgba(0, 210, 255, 0.15);
    border: 2px solid #00d2ff;
    color: #00d2ff;
}

.shop-btn.active {
    background: rgba(74, 222, 128, 0.15);
    border: 2px solid #4ade80;
    color: #4ade80;
}

/* çerçeveler */
.shop-frame-fr_silver {
    border-color: #c0c0c0 !important;
    box-shadow: 0 0 14px rgba(192, 192, 192, 0.6);
}

.shop-frame-fr_blue {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
}

.shop-frame-fr_gold {
    border-color: #ffd700 !important;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.7);
}

.shop-frame-fr_neon {
    border-color: #00ffcc !important;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.8), 0 0 40px rgba(255, 0, 204, 0.4);
}

.shop-frame-fr_diamond {
    border-color: #7dd3fc !important;
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.9), 0 0 40px rgba(255, 255, 255, 0.5);
}

.shop-frame-fr_rainbow {
    border-color: #ffffff !important;
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.6), 0 0 20px rgba(0, 255, 0, 0.5), 0 0 26px rgba(0, 0, 255, 0.6);
}

.name-rainbow {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #00aaff, #8b00ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 100%;
    animation: rainbowShift 3s linear infinite;
}

@keyframes rainbowShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

body.shop-theme-th_sunset #animatedBg {
    background: linear-gradient(135deg, #2d1b4e, #7b2d26, #f59e0b) !important;
}

body.shop-theme-th_ocean #animatedBg {
    background: linear-gradient(135deg, #021b33, #0b4f6c, #38bdf8) !important;
}

body.shop-theme-th_forest #animatedBg {
    background: linear-gradient(135deg, #052e16, #166534, #84cc16) !important;
}

body.shop-theme-th_neon #animatedBg {
    background: linear-gradient(135deg, #0f0c29, #302b63, #ff00cc) !important;
}

body.shop-theme-th_galaxy #animatedBg {
    background: linear-gradient(135deg, #0b0014, #3b0764, #7c3aed) !important;
}

body.shop-theme-th_rainbow #animatedBg {
    background: linear-gradient(135deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff) !important;
}

body.shop-theme-th_sunset .screen {
    border-color: rgba(245, 158, 11, 0.6) !important;
}

body.shop-theme-th_ocean .screen {
    border-color: rgba(56, 189, 248, 0.6) !important;
}

body.shop-theme-th_forest .screen {
    border-color: rgba(132, 204, 22, 0.6) !important;
}

body.shop-theme-th_neon .screen {
    border-color: rgba(255, 0, 204, 0.6) !important;
}

body.shop-theme-th_galaxy .screen {
    border-color: rgba(124, 58, 237, 0.6) !important;
}

body.shop-theme-th_rainbow .screen {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* farkı bul */
.mode-card--fark {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.14), rgba(30, 25, 60, 0.95));
    border-color: #facc15;
}

.mode-card--fark:hover {
    box-shadow: 0 0 35px rgba(250, 204, 21, 0.4), 0 0 70px rgba(245, 158, 11, 0.2);
}

#farkBgA,
#farkBgB {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    transition: opacity 1.4s ease;
}

#farkBgB {
    opacity: 0;
}

.fark-fx {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

.fark-pt {
    position: absolute;
    bottom: -30px;
    border-radius: 50%;
    opacity: 0;
    animation: farkRise linear infinite;
}

@keyframes farkRise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    8% {
        opacity: .55;
    }

    85% {
        opacity: .35;
    }

    100% {
        transform: translateY(-108vh) translateX(var(--sway, 30px)) scale(.6);
        opacity: 0;
    }
}

.fark-panel {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 14px 22px;
    position: relative;
}

.fark-panel.shake {
    animation: farkShake .4s;
}

@keyframes farkShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-9px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(4px);
    }
}

.fark-stat-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.fark-pill {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #facc15;
    white-space: nowrap;
}

.fark-pill.cyan {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.35);
    color: #00d2ff;
}

.fark-pill.green {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.35);
    color: #4ade80;
}

.fark-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: #eaf6ff;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.fark-icon-btn:hover:not(:disabled) {
    border-color: var(--fark-acc, #00d2ff);
}

.fark-icon-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.fark-twrap {
    max-width: 480px;
    margin: 0 auto 4px;
}

.fark-tnum {
    text-align: center;
    font-family: 'Consolas', 'SF Mono', monospace;
    font-size: 15px;
    font-weight: 800;
    color: var(--fark-acc, #00d2ff);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.fark-tnum.low {
    color: #ff6b6b;
    animation: farkBeat .5s infinite;
}

@keyframes farkBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}

.fark-tbar {
    height: 9px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.fark-tfill {
    height: 100%;
    width: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #4ade80, #facc15);
    transition: width .12s linear;
}

.fark-tfill.low {
    background: linear-gradient(90deg, #facc15, #ff6b6b);
}

.fark-tbar.low {
    animation: farkGlowRed 0.6s infinite;
}

@keyframes farkGlowRed {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }

    50% {
        box-shadow: 0 0 14px 2px rgba(255, 107, 107, 0.45);
    }
}

#farkGrid {
    display: grid;
    gap: 7px;
    max-width: 520px;
    margin: 16px auto 0;
    width: 100%;
}

.fark-cell {
    aspect-ratio: 1;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: transform .09s, background .15s, border-color .15s;
    animation: farkTileIn .45s backwards;
}

.fark-cell svg {
    width: 72%;
    height: 72%;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .35));
}

@keyframes farkTileIn {
    0% {
        transform: scale(.3) rotate(-10deg);
        opacity: 0;
    }

    70% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fark-cell:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.09);
}

.fark-cell:active {
    transform: scale(.9);
}

.fark-cell.ok {
    background: rgba(74, 222, 128, 0.3) !important;
    border-color: #4ade80 !important;
    animation: farkPopOk .4s;
}

@keyframes farkPopOk {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.fark-cell.err {
    background: rgba(255, 107, 107, 0.25) !important;
    border-color: #ff6b6b !important;
}

.fark-cell.hintglow {
    animation: farkHintP 0.55s 3;
    border-color: #facc15 !important;
}

@keyframes farkHintP {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }

    50% {
        box-shadow: 0 0 22px 6px rgba(250, 204, 21, 0.75);
    }
}

.fark-splash {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 240;
    pointer-events: none;
    opacity: 0;
}

.fark-splash.show {
    display: flex;
    animation: farkSpl 1s ease;
}

@keyframes farkSpl {
    0% {
        opacity: 0;
        transform: scale(.7);
    }

    25% {
        opacity: 1;
        transform: scale(1);
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.15);
    }
}

.fark-splash .s1 {
    font-size: 46px;
    font-weight: 800;
    text-shadow: 0 0 34px var(--fark-acc, #00d2ff);
}

.fark-splash .s2 {
    font-size: 15px;
    color: #a0d0ff;
    font-weight: 700;
    margin-top: 8px;
    text-align: center;
    padding: 0 16px;
}

.fark-banner {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 245;
    pointer-events: none;
    opacity: 0;
}

.fark-banner.show {
    display: flex;
    animation: farkSpl 1.7s ease;
}

.fark-banner .bcard {
    text-align: center;
    background: linear-gradient(135deg, rgba(2, 8, 20, 0.92), rgba(20, 2, 40, 0.92));
    border: 1px solid var(--fark-acc, #00d2ff);
    border-radius: 22px;
    padding: 26px 34px;
    box-shadow: 0 0 60px -10px var(--fark-acc, #00d2ff);
}

.fark-banner .b1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--fark-acc, #00d2ff);
    text-shadow: 0 0 20px var(--fark-acc, #00d2ff);
}

.fark-banner .b2 {
    font-size: 14.5px;
    font-weight: 700;
    margin-top: 8px;
    color: #facc15;
}

.fark-banner .b3 {
    font-size: 12px;
    color: #8a8ab0;
    margin-top: 5px;
}

.fark-ftxt {
    position: fixed;
    z-index: 260;
    font-weight: 800;
    font-size: 19px;
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
    animation: farkFup 1s ease forwards;
}

@keyframes farkFup {
    0% {
        opacity: 0;
        transform: translateY(0) scale(.6);
    }

    20% {
        opacity: 1;
        transform: translateY(-14px) scale(1.15);
    }

    100% {
        opacity: 0;
        transform: translateY(-64px) scale(1);
    }
}

.fark-spark {
    position: fixed;
    z-index: 259;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    animation: farkSpw .65s ease-out forwards;
}

@keyframes farkSpw {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy)) scale(.3);
    }
}

.fark-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 20, 0.88);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 270;
    padding: 20px;
}

.fark-overlay.show {
    display: flex;
}

.fark-ov-card {
    width: 100%;
    max-width: 390px;
    border-radius: 24px;
    background: linear-gradient(135deg, #001a2a, #023d5c);
    border: 1px solid rgba(0, 210, 255, 0.35);
    padding: 32px 26px;
    text-align: center;
    box-shadow: 0 30px 80px -20px rgba(0, 210, 255, 0.35);
}

.fark-ov-emoji {
    font-size: 54px;
}

.fark-ov-title {
    font-size: 21px;
    font-weight: 800;
    margin: 10px 0 4px;
}

.fark-ov-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin: 14px 0 18px;
}

.fark-ov-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    padding: 11px 6px;
}

.fark-ov-stat .v {
    font-size: 21px;
    font-weight: 800;
    color: var(--fark-acc, #00d2ff);
}

.fark-ov-stat .k {
    font-size: 10.5px;
    color: #8a8ab0;
    letter-spacing: 1px;
    margin-top: 2px;
}

.fark-ov-score {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d2ff, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 4px 0 18px;
}

.fark-newrec {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #facc15;
    animation: farkBeat 0.8s infinite;
    margin-bottom: 10px;
}

.fark-ov-btns {
    display: flex;
    gap: 10px;
}

.fark-ov-btns button {
    flex: 1;
    padding: 13px;
    border-radius: 13px;
    font-weight: 800;
    font-size: 13.5px;
    cursor: pointer;
    border: none;
}

.fark-ov-again {
    background: linear-gradient(135deg, #00d2ff, #8a2be2);
    color: #fff;
}

.fark-ov-menu {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #c7d8f0;
}

/* hafıza */
.mode-card--hafiza {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.14), rgba(20, 40, 70, 0.95));
    border-color: #2ed573;
}

.mode-card--hafiza:hover {
    box-shadow: 0 0 35px rgba(46, 213, 115, 0.4), 0 0 70px rgba(0, 210, 255, 0.2);
}

#hzBgA,
#hzBgB {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    transition: opacity 1.4s ease;
}

#hzBgB {
    opacity: 0;
}

.hz-fx {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

.hz-pt {
    position: absolute;
    bottom: -30px;
    border-radius: 50%;
    opacity: 0;
    animation: hzRise linear infinite;
}

@keyframes hzRise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    8% {
        opacity: .55;
    }

    85% {
        opacity: .35;
    }

    100% {
        transform: translateY(-108vh) translateX(var(--sway, 30px)) scale(.6);
        opacity: 0;
    }
}

.hz-panel {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 14px 26px;
    position: relative;
    transition: border-color .8s;
}

.hz-panel.shake {
    animation: hzShake .4s;
}

@keyframes hzShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-9px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(4px);
    }
}

.hz-stat-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hz-pill {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #facc15;
    white-space: nowrap;
}

.hz-pill.cyan {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.35);
    color: #00d2ff;
}

.hz-pill.green {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.35);
    color: #4ade80;
}

.hz-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: #eaf6ff;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.hz-icon-btn:hover {
    border-color: var(--hz-acc, #00d2ff);
}

.hz-twrap {
    max-width: 420px;
    margin: 0 auto 4px;
}

.hz-tnum {
    text-align: center;
    font-family: 'Consolas', 'SF Mono', monospace;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--hz-acc, #00d2ff);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    min-height: 18px;
}

.hz-tnum.low {
    color: #ff6b6b;
    animation: hzBeat .5s infinite;
}

@keyframes hzBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.hz-tbar {
    height: 9px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hz-tfill {
    height: 100%;
    width: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #4ade80, #facc15);
    transition: width .12s linear;
}

.hz-tfill.low {
    background: linear-gradient(90deg, #facc15, #ff6b6b);
}

.hz-tbar.low {
    animation: hzGlowRed 0.6s infinite;
}

@keyframes hzGlowRed {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }

    50% {
        box-shadow: 0 0 14px 2px rgba(255, 107, 107, 0.45);
    }
}

.hz-wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.hz-body {
    position: relative;
    width: min(78vw, 330px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, #10131c, #05070d);
    padding: 13px;
    box-shadow: 0 22px 60px -18px rgba(0, 0, 0, .9), 0 0 40px -18px var(--hz-acc, #00d2ff), inset 0 0 0 2px rgba(255, 255, 255, .06);
}

.hz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.hz-pad {
    border: none;
    cursor: pointer;
    padding: 0;
    filter: brightness(var(--hz-dim, .5)) saturate(.85);
    transition: filter .14s, transform .08s;
}

.hz-pad.p0 {
    background: #2ed573;
    border-radius: 100% 12% 12% 12%;
}

.hz-pad.p1 {
    background: #ff4757;
    border-radius: 12% 100% 12% 12%;
}

.hz-pad.p2 {
    background: #facc15;
    border-radius: 12% 12% 12% 100%;
}

.hz-pad.p3 {
    background: #3d8bff;
    border-radius: 12% 12% 100% 12%;
}

.hz-pad.lit {
    filter: brightness(1.45) saturate(1.15);
    z-index: 2;
    box-shadow: 0 0 42px 8px var(--pc);
}

.hz-pad:active {
    transform: scale(.97);
}

.hz-pad.ok {
    animation: hzPadOk .5s;
}

@keyframes hzPadOk {
    0% {
        filter: brightness(1.45);
    }

    50% {
        filter: brightness(2.2) saturate(1.4);
    }

    100% {
        filter: brightness(var(--hz-dim, .5)) saturate(.85);
    }
}

.hz-pad.err {
    animation: hzPadErr .6s;
}

@keyframes hzPadErr {

    0%,
    100% {
        filter: brightness(var(--hz-dim, .5));
    }

    20%,
    60% {
        filter: brightness(1.8) saturate(.4) hue-rotate(-30deg);
    }
}

.hz-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 37%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #141a2a, #070a12);
    border: 2px solid var(--hz-acc, #00d2ff);
    box-shadow: 0 0 26px -6px var(--hz-acc, #00d2ff), inset 0 4px 18px rgba(0, 0, 0, .8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    z-index: 3;
    pointer-events: none;
}

.hz-hub .h-lvl {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 16px var(--hz-acc, #00d2ff);
}

.hz-hub .h-st {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--hz-acc, #00d2ff);
}

.hz-hub.watch {
    animation: hzHubWatch 1.1s ease-in-out infinite;
}

@keyframes hzHubWatch {

    0%,
    100% {
        box-shadow: 0 0 26px -6px var(--hz-acc, #00d2ff), inset 0 4px 18px rgba(0, 0, 0, .8);
    }

    50% {
        box-shadow: 0 0 44px 0 var(--hz-acc, #00d2ff), inset 0 4px 18px rgba(0, 0, 0, .8);
    }
}

.hz-splash {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 240;
    pointer-events: none;
    opacity: 0;
}

.hz-splash.show {
    display: flex;
    animation: hzSpl 1s ease;
}

@keyframes hzSpl {
    0% {
        opacity: 0;
        transform: scale(.7);
    }

    25% {
        opacity: 1;
        transform: scale(1);
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.15);
    }
}

.hz-splash .s1 {
    font-size: 46px;
    font-weight: 800;
    text-shadow: 0 0 34px var(--hz-acc, #00d2ff);
}

.hz-splash .s2 {
    font-size: 15px;
    color: #a0d0ff;
    font-weight: 700;
    margin-top: 8px;
    text-align: center;
    padding: 0 16px;
}

.hz-banner {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 245;
    pointer-events: none;
    opacity: 0;
}

.hz-banner.show {
    display: flex;
    animation: hzSpl 1.7s ease;
}

.hz-banner .bcard {
    text-align: center;
    background: linear-gradient(135deg, rgba(2, 8, 20, 0.92), rgba(20, 2, 40, 0.92));
    border: 1px solid var(--hz-acc, #00d2ff);
    border-radius: 22px;
    padding: 26px 34px;
    box-shadow: 0 0 60px -10px var(--hz-acc, #00d2ff);
}

.hz-banner .b1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--hz-acc, #00d2ff);
    text-shadow: 0 0 20px var(--hz-acc, #00d2ff);
}

.hz-banner .b2 {
    font-size: 14.5px;
    font-weight: 700;
    margin-top: 8px;
    color: #facc15;
}

.hz-banner .b3 {
    font-size: 12px;
    color: #8a8ab0;
    margin-top: 5px;
}

.hz-ftxt {
    position: fixed;
    z-index: 260;
    font-weight: 800;
    font-size: 19px;
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
    animation: hzFup 1s ease forwards;
}

@keyframes hzFup {
    0% {
        opacity: 0;
        transform: translateY(0) scale(.6);
    }

    20% {
        opacity: 1;
        transform: translateY(-14px) scale(1.15);
    }

    100% {
        opacity: 0;
        transform: translateY(-64px) scale(1);
    }
}

.hz-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 20, 0.88);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 270;
    padding: 20px;
}

.hz-overlay.show {
    display: flex;
}

.hz-ov-card {
    width: 100%;
    max-width: 390px;
    border-radius: 24px;
    background: linear-gradient(135deg, #001a2a, #023d5c);
    border: 1px solid rgba(0, 210, 255, 0.35);
    padding: 32px 26px;
    text-align: center;
    box-shadow: 0 30px 80px -20px rgba(0, 210, 255, 0.35);
}

.hz-ov-emoji {
    font-size: 54px;
}

.hz-ov-title {
    font-size: 21px;
    font-weight: 800;
    margin: 10px 0 4px;
}

.hz-ov-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin: 14px 0 18px;
}

.hz-ov-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    padding: 11px 6px;
}

.hz-ov-stat .v {
    font-size: 21px;
    font-weight: 800;
    color: var(--hz-acc, #00d2ff);
}

.hz-ov-stat .k {
    font-size: 10.5px;
    color: #8a8ab0;
    letter-spacing: 1px;
    margin-top: 2px;
}

.hz-ov-score {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d2ff, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 4px 0 18px;
}

.hz-newrec {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #facc15;
    animation: hzBeat 0.8s infinite;
    margin-bottom: 10px;
}

.hz-ov-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hz-ov-btns button {
    flex: 1;
    min-width: 100px;
    padding: 13px 8px;
    border-radius: 13px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    border: none;
}

.hz-ov-again {
    background: linear-gradient(135deg, #00d2ff, #8a2be2);
    color: #fff;
}

.hz-ov-menu {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #c7d8f0;
}

/* karma kelime */
.mode-card--kelime {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.16), rgba(30, 25, 60, 0.95));
    border-color: #a78bfa;
}

.mode-card--kelime:hover {
    box-shadow: 0 0 35px rgba(167, 139, 250, 0.4), 0 0 70px rgba(139, 92, 246, 0.2);
}

#klBgA,
#klBgB {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    transition: opacity 1.4s ease;
}

#klBgB {
    opacity: 0;
}

.kl-fx {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

.kl-pt {
    position: absolute;
    bottom: -30px;
    border-radius: 50%;
    opacity: 0;
    animation: klRise linear infinite;
}

@keyframes klRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    8% {
        opacity: .55;
    }

    85% {
        opacity: .35;
    }

    100% {
        transform: translateY(-108vh) translateX(var(--sway, 30px)) scale(.6);
        opacity: 0;
    }
}

.kl-panel {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 14px 22px;
    position: relative;
}

.kl-panel.shake {
    animation: klShake .4s;
}

@keyframes klShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-9px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(4px);
    }
}

.kl-stat-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.kl-pill {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #facc15;
    white-space: nowrap;
}

.kl-pill.cyan {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.35);
    color: #00d2ff;
}

.kl-pill.green {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.35);
    color: #4ade80;
}

.kl-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: #eaf6ff;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.kl-icon-btn:hover:not(:disabled) {
    border-color: var(--kl-acc, #a78bfa);
}

.kl-icon-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.kl-twrap {
    max-width: 460px;
    margin: 0 auto 6px;
}

.kl-tnum {
    text-align: center;
    font-family: 'Consolas', 'SF Mono', monospace;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--kl-acc, #a78bfa);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    min-height: 18px;
}

.kl-tnum.low {
    color: #ff6b6b;
    animation: klBeat .5s infinite;
}

@keyframes klBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.kl-tbar {
    height: 9px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.kl-tfill {
    height: 100%;
    width: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #4ade80, #facc15);
    transition: width .12s linear;
}

.kl-tfill.low {
    background: linear-gradient(90deg, #facc15, #ff6b6b);
}

.kl-tbar.low {
    animation: klGlowRed 0.6s infinite;
}

@keyframes klGlowRed {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }

    50% {
        box-shadow: 0 0 14px 2px rgba(255, 107, 107, 0.45);
    }
}

.kl-hint-card {
    margin: 14px auto 0;
    max-width: 470px;
    background: rgba(250, 204, 21, 0.07);
    border: 1px dashed rgba(250, 204, 21, 0.35);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.kl-hint-card .he {
    font-size: 30px;
    line-height: 1;
}

.kl-hint-card .ht {
    font-size: 13.5px;
    font-weight: 700;
    color: #fde68a;
    line-height: 1.45;
}

.kl-hint-card .ht small {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #facc15;
    margin-bottom: 2px;
}

.kl-slots {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 18px auto 0;
    max-width: 560px;
    min-height: 54px;
}

.kl-slot {
    position: relative;
    width: 44px;
    height: 52px;
    border-radius: 10px;
    border: 2px dashed rgba(167, 139, 250, 0.35);
    background: rgba(167, 139, 250, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .1s;
}

@media (max-width: 480px) {
    .kl-slot {
        width: 36px;
        height: 46px;
        font-size: 20px;
    }
}

.kl-slot .sl {
    color: #eaf6ff;
}

.kl-slot.filled {
    border-style: solid;
    border-color: rgba(167, 139, 250, 0.6);
    background: rgba(167, 139, 250, 0.12);
}

.kl-slot.filled::after {
    content: '×';
    position: absolute;
    top: 1px;
    right: 5px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
}

.kl-slot.filled:hover {
    border-color: #ff6b6b;
}

.kl-slot.filled:hover::after {
    color: #ff6b6b;
}

.kl-slot.filled:active {
    transform: scale(.92);
}

.kl-slot.locked {
    border-color: #facc15;
    background: rgba(250, 204, 21, 0.12);
    cursor: default;
}

.kl-slot.locked::after {
    content: '';
}

.kl-slot.locked .sl {
    color: #facc15;
}

.kl-slot.win {
    border-color: #4ade80 !important;
    background: rgba(74, 222, 128, 0.2) !important;
}

.kl-slot.win::after {
    content: '' !important;
}

.kl-slot.win .sl {
    color: #4ade80;
}

.kl-slot.fail {
    border-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.15) !important;
}

.kl-slot.fail .sl {
    color: #ff6b6b;
}

.kl-pool {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    margin: 16px auto 0;
    max-width: 560px;
    min-height: 50px;
}

.kl-karo {
    width: 44px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(160deg, #f4f8ff, #d9e6f8);
    color: #0b1220;
    font-size: 23px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .6);
    transition: transform .1s, opacity .2s;
    animation: klKaroin .35s backwards;
    padding: 0;
}

@media (max-width: 480px) {
    .kl-karo {
        width: 37px;
        height: 44px;
        font-size: 19px;
    }
}

@keyframes klKaroin {
    0% {
        transform: scale(.4) rotate(-12deg);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: none;
        opacity: 1;
    }
}

.kl-karo:hover {
    transform: translateY(-4px);
}

.kl-karo:active {
    transform: scale(.9);
}

.kl-karo.used {
    opacity: .12;
    pointer-events: none;
    transform: scale(.9);
}

.kl-tools {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.kl-tool-btn {
    padding: 11px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #c7d8f0;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.kl-tool-btn:hover:not(:disabled) {
    border-color: var(--kl-acc, #a78bfa);
    color: #fff;
}

.kl-tool-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.kl-result-line {
    text-align: center;
    min-height: 34px;
    margin-top: 16px;
    font-size: 16px;
    font-weight: 800;
}

.kl-result-line.ok {
    color: #4ade80;
    animation: klRespop .45s;
}

.kl-result-line.bad {
    color: #ff6b6b;
}

@keyframes klRespop {
    0% {
        transform: scale(.6);
        opacity: 0;
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.kl-splash {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 240;
    pointer-events: none;
    opacity: 0;
}

.kl-splash.show {
    display: flex;
    animation: klSpl 1s ease;
}

@keyframes klSpl {
    0% {
        opacity: 0;
        transform: scale(.7);
    }

    25% {
        opacity: 1;
        transform: scale(1);
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.15);
    }
}

.kl-splash .s1 {
    font-size: 46px;
    font-weight: 800;
    text-shadow: 0 0 34px var(--kl-acc, #a78bfa);
}

.kl-splash .s2 {
    font-size: 15px;
    color: #a0d0ff;
    font-weight: 700;
    margin-top: 8px;
}

.kl-banner {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 245;
    pointer-events: none;
    opacity: 0;
}

.kl-banner.show {
    display: flex;
    animation: klSpl 1.7s ease;
}

.kl-banner .bcard {
    text-align: center;
    background: linear-gradient(135deg, rgba(2, 8, 20, 0.92), rgba(20, 2, 40, 0.92));
    border: 1px solid var(--kl-acc, #a78bfa);
    border-radius: 22px;
    padding: 26px 34px;
    box-shadow: 0 0 60px -10px var(--kl-acc, #a78bfa);
}

.kl-banner .b1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--kl-acc, #a78bfa);
    text-shadow: 0 0 20px var(--kl-acc, #a78bfa);
}

.kl-banner .b2 {
    font-size: 14.5px;
    font-weight: 700;
    margin-top: 8px;
    color: #facc15;
}

.kl-banner .b3 {
    font-size: 12px;
    color: #8a8ab0;
    margin-top: 5px;
}

.kl-ftxt {
    position: fixed;
    z-index: 260;
    font-weight: 800;
    font-size: 19px;
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
    animation: klFup 1s ease forwards;
}

@keyframes klFup {
    0% {
        opacity: 0;
        transform: translateY(0) scale(.6);
    }

    20% {
        opacity: 1;
        transform: translateY(-14px) scale(1.15);
    }

    100% {
        opacity: 0;
        transform: translateY(-64px) scale(1);
    }
}

.kl-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 20, 0.88);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 270;
    padding: 20px;
}

.kl-overlay.show {
    display: flex;
}

.kl-ov-card {
    width: 100%;
    max-width: 390px;
    border-radius: 24px;
    background: linear-gradient(135deg, #001a2a, #023d5c);
    border: 1px solid rgba(0, 210, 255, 0.35);
    padding: 32px 26px;
    text-align: center;
    box-shadow: 0 30px 80px -20px rgba(0, 210, 255, 0.35);
}

.kl-ov-emoji {
    font-size: 54px;
}

.kl-ov-title {
    font-size: 21px;
    font-weight: 800;
    margin: 10px 0 4px;
}

.kl-ov-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin: 14px 0 18px;
}

.kl-ov-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    padding: 11px 6px;
}

.kl-ov-stat .v {
    font-size: 21px;
    font-weight: 800;
    color: var(--kl-acc, #a78bfa);
}

.kl-ov-stat .k {
    font-size: 10.5px;
    color: #8a8ab0;
    letter-spacing: 1px;
    margin-top: 2px;
}

.kl-ov-score {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d2ff, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 4px 0 18px;
}

.kl-newrec {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #facc15;
    animation: klBeat 0.8s infinite;
    margin-bottom: 10px;
}

.kl-ov-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.kl-ov-btns button {
    flex: 1;
    min-width: 100px;
    padding: 13px 8px;
    border-radius: 13px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    border: none;
}

.kl-ov-again {
    background: linear-gradient(135deg, #00d2ff, #8a2be2);
    color: #fff;
}

.kl-ov-menu {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #c7d8f0;
}

/* hızlı görsel */
.mode-card--hizli {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(15, 30, 60, 0.95));
    border-color: #38bdf8;
}

.mode-card--hizli:hover {
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.4), 0 0 70px rgba(14, 165, 233, 0.2);
}

#hgBgA,
#hgBgB {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    transition: opacity 1.4s ease;
}

#hgBgB {
    opacity: 0;
}

.hg-fx {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

.hg-pt {
    position: absolute;
    bottom: -30px;
    border-radius: 50%;
    opacity: 0;
    animation: hgRise linear infinite;
}

@keyframes hgRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    8% {
        opacity: .55;
    }

    85% {
        opacity: .35;
    }

    100% {
        transform: translateY(-108vh) translateX(var(--sway, 30px)) scale(.6);
        opacity: 0;
    }
}

.hg-panel {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 14px 22px;
    position: relative;
}

.hg-panel.shake {
    animation: hgShake .4s;
}

@keyframes hgShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-9px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(4px);
    }
}

.hg-stat-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hg-pill {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #facc15;
    white-space: nowrap;
}

.hg-pill.cyan {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.35);
    color: #00d2ff;
}

.hg-pill.green {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.35);
    color: #4ade80;
}

.hg-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: #eaf6ff;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.hg-icon-btn:hover {
    border-color: var(--hg-acc, #38bdf8);
}

.hg-twrap {
    max-width: 460px;
    margin: 0 auto 6px;
}

.hg-tnum {
    text-align: center;
    font-family: 'Consolas', 'SF Mono', monospace;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--hg-acc, #38bdf8);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    min-height: 18px;
}

.hg-tnum.low {
    color: #ff6b6b;
    animation: hgBeat .5s infinite;
}

@keyframes hgBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.hg-tbar {
    height: 9px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hg-tfill {
    height: 100%;
    width: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #4ade80, #facc15);
    transition: width .12s linear;
}

.hg-tfill.low {
    background: linear-gradient(90deg, #facc15, #ff6b6b);
}

.hg-tbar.low {
    animation: hgGlowRed 0.6s infinite;
}

@keyframes hgGlowRed {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }

    50% {
        box-shadow: 0 0 14px 2px rgba(255, 107, 107, 0.45);
    }
}

.hg-flash-stage {
    height: 250px;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: radial-gradient(circle at 50% 40%, #07203f, #020a18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.hg-flash-stage.warn {
    animation: hgWarn .5s ease-in-out infinite;
}

@keyframes hgWarn {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }

    50% {
        box-shadow: inset 0 0 34px 4px rgba(250, 204, 21, 0.35);
    }
}

.hg-flash-stage.flashnow {
    animation: hgFlashAnim .12s ease-out;
}

@keyframes hgFlashAnim {
    0% {
        box-shadow: 0 0 60px 14px rgba(56, 189, 248, 0.5);
    }

    100% {
        box-shadow: none;
    }
}

.hg-img-wrap {
    width: 170px;
    height: 170px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .8);
}

.hg-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(2, 10, 24, .65);
    display: block;
}

.hg-name-flash {
    font-size: clamp(26px, 7vw, 44px);
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 14px;
    background: linear-gradient(135deg, #fff, #a0d0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hg-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #facc15;
    background: rgba(2, 10, 24, .7);
    border: 1px solid rgba(250, 204, 21, .3);
    padding: 5px 10px;
    border-radius: 999px;
}

.hg-warn {
    font-size: 26px;
    font-weight: 800;
    color: #facc15;
    text-shadow: 0 0 22px rgba(250, 204, 21, .6);
    animation: hgBeat .6s infinite;
    text-align: center;
    padding: 0 14px;
}

.hg-warn small {
    display: block;
    font-size: 13px;
    color: #a0d0ff;
    margin-top: 6px;
    text-shadow: none;
    font-weight: 700;
}

.hg-qmark {
    font-size: 84px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.14);
}

.hg-fb {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    padding: 0 14px;
}

.hg-fb.ok {
    color: #4ade80;
    animation: hgRespop .45s;
}

.hg-fb.bad {
    color: #ff6b6b;
}

@keyframes hgRespop {
    0% {
        transform: scale(.6);
        opacity: 0;
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.hg-opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.hg-opt {
    padding: 16px 12px;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: #eaf6ff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .12s;
    min-height: 56px;
}

.hg-opt:hover:not(:disabled) {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-2px);
}

.hg-opt.correct {
    border-color: #4ade80 !important;
    background: rgba(74, 222, 128, 0.16) !important;
    color: #4ade80;
}

.hg-opt.wrong {
    border-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.14) !important;
    color: #ff6b6b;
}

.hg-opt:disabled {
    cursor: default;
}

.hg-opts.hidden .hg-opt {
    visibility: hidden;
}

.hg-opts.hidden::before {
    content: 'Cevaplar hazırlanıyor...';
    grid-column: 1 / -1;
    text-align: center;
    color: #585a80;
    font-size: 13px;
    font-weight: 700;
    padding: 16px 0;
}

.hg-splash {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 240;
    pointer-events: none;
    opacity: 0;
}

.hg-splash.show {
    display: flex;
    animation: hgSpl 1s ease;
}

@keyframes hgSpl {
    0% {
        opacity: 0;
        transform: scale(.7);
    }

    25% {
        opacity: 1;
        transform: scale(1);
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.15);
    }
}

.hg-splash .s1 {
    font-size: 46px;
    font-weight: 800;
    text-shadow: 0 0 34px var(--hg-acc, #38bdf8);
}

.hg-splash .s2 {
    font-size: 15px;
    color: #a0d0ff;
    font-weight: 700;
    margin-top: 8px;
}

.hg-banner {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 245;
    pointer-events: none;
    opacity: 0;
}

.hg-banner.show {
    display: flex;
    animation: hgSpl 1.7s ease;
}

.hg-banner .bcard {
    text-align: center;
    background: linear-gradient(135deg, rgba(2, 8, 20, 0.92), rgba(20, 2, 40, 0.92));
    border: 1px solid var(--hg-acc, #38bdf8);
    border-radius: 22px;
    padding: 26px 34px;
    box-shadow: 0 0 60px -10px var(--hg-acc, #38bdf8);
}

.hg-banner .b1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--hg-acc, #38bdf8);
    text-shadow: 0 0 20px var(--hg-acc, #38bdf8);
}

.hg-banner .b2 {
    font-size: 14.5px;
    font-weight: 700;
    margin-top: 8px;
    color: #facc15;
}

.hg-banner .b3 {
    font-size: 12px;
    color: #8a8ab0;
    margin-top: 5px;
}

.hg-ftxt {
    position: fixed;
    z-index: 260;
    font-weight: 800;
    font-size: 19px;
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
    animation: hgFup 1s ease forwards;
}

@keyframes hgFup {
    0% {
        opacity: 0;
        transform: translateY(0) scale(.6);
    }

    20% {
        opacity: 1;
        transform: translateY(-14px) scale(1.15);
    }

    100% {
        opacity: 0;
        transform: translateY(-64px) scale(1);
    }
}

.hg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 20, 0.88);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 270;
    padding: 20px;
}

.hg-overlay.show {
    display: flex;
}

.hg-ov-card {
    width: 100%;
    max-width: 420px;
    max-height: 92vh;
    overflow-y: auto;
    scrollbar-width: none;
    border-radius: 24px;
    background: linear-gradient(135deg, #001a2a, #023d5c);
    border: 1px solid rgba(0, 210, 255, 0.35);
    padding: 32px 26px;
    text-align: center;
    box-shadow: 0 30px 80px -20px rgba(0, 210, 255, 0.35);
}

.hg-ov-emoji {
    font-size: 54px;
}

.hg-ov-title {
    font-size: 21px;
    font-weight: 800;
    margin: 10px 0 4px;
}

.hg-ov-sub {
    font-size: 13px;
    color: #8a8ab0;
    margin-bottom: 6px;
}

.hg-ov-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin: 14px 0 18px;
}

.hg-ov-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    padding: 11px 6px;
}

.hg-ov-stat .v {
    font-size: 20px;
    font-weight: 800;
    color: var(--hg-acc, #38bdf8);
}

.hg-ov-stat .k {
    font-size: 10.5px;
    color: #8a8ab0;
    letter-spacing: 1px;
    margin-top: 2px;
}

.hg-ov-score {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d2ff, #facc15);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 4px 0 18px;
}

.hg-newrec {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #facc15;
    animation: hgBeat 0.8s infinite;
    margin-bottom: 10px;
}

.hg-ov-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hg-ov-btns button {
    flex: 1;
    min-width: 100px;
    padding: 13px 8px;
    border-radius: 13px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    border: none;
}

.hg-ov-again {
    background: linear-gradient(135deg, #00d2ff, #8a2be2);
    color: #fff;
}

.hg-ov-menu {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #c7d8f0;
}

.hg-vis-btn {
    flex: 1;
    max-width: 220px;
    padding: 14px 10px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: #c7d8f0;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all .15s;
}

.hg-vis-btn.selected {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.14);
    color: #fff;
    box-shadow: 0 0 22px -6px #38bdf8;
}

.hg-vis-desc {
    font-size: 11.5px;
    color: #8a8ab0;
    margin-top: 10px;
    line-height: 1.5;
    font-weight: 600;
}

/* zoom tahmin */
.mode-card--zoom {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(10, 32, 46, 0.95));
    border-color: #22d3ee;
}

.mode-card--zoom:hover {
    box-shadow: 0 0 35px rgba(34, 211, 238, 0.4), 0 0 70px rgba(6, 182, 212, 0.2);
}

.mode-card--eslestirme {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(30, 10, 60, 0.95));
    border-color: #a855f7;
}

.mode-card--eslestirme:hover {
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.4), 0 0 70px rgba(139, 92, 246, 0.2);
}

/* eşleştirme */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 3, 16, 0.92);
    backdrop-filter: blur(16px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    padding: 20px;
}

.overlay.show {
    display: flex;
}

.overlay-card {
    background: linear-gradient(135deg, rgba(20, 15, 40, 0.98), rgba(30, 20, 60, 0.98));
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 30px;
    padding: 35px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.4s ease;
}

.overlay-emoji {
    font-size: 72px;
    display: block;
    margin-bottom: 12px;
}

.overlay-title {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.overlay-sub {
    color: #a0d0ff;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.stat-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 16px;
    padding: 14px 8px;
}

.stat-box .stat-val {
    font-size: 24px;
    font-weight: 900;
    color: #00d2ff;
}

.stat-box .stat-lbl {
    font-size: 11px;
    color: #7eb8ff;
    font-weight: 600;
    margin-top: 4px;
}

.new-record {
    display: none;
    background: linear-gradient(135deg, #facc15, #ff8c00);
    color: #000;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    margin: 12px auto;
    animation: pulse 1.5s infinite;
}

.esl-game-board {
    display: grid;
    gap: 14px;
    justify-items: center;
    align-items: center;
    margin: 25px auto;
    perspective: 1000px;
    width: 100%;
    max-width: 556px;
}

#eslestirmeGameScreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
}

.game-screen-inner {
    margin: auto;
}

#eslestirmeGameScreen>* {
    width: 100%;
    max-width: 600px;
}

.esl-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.esl-card.esl-flipped {
    transform: rotateY(180deg);
}

.esl-card.esl-matched {
    animation: eslMatchPop 0.6s ease forwards;
    pointer-events: none;
}

@keyframes eslMatchPop {
    0% {
        transform: rotateY(180deg) scale(1);
    }

    50% {
        transform: rotateY(180deg) scale(1.15);
    }

    100% {
        transform: rotateY(180deg) scale(0);
        opacity: 0;
        pointer-events: none;
    }
}

.esl-card-face {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.esl-card-back {
    background: linear-gradient(135deg, rgba(5, 10, 30, 0.96), rgba(30, 35, 70, 0.95));
    border: 3px solid rgba(0, 210, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    font-size: clamp(22px, 7.5vw, 40px);
    transition: all 0.3s;
}

.esl-card-back:hover {
    border-color: #8a2be2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    transform: scale(1.05);
}

.esl-card.esl-flipped .esl-card-back,
.esl-card.esl-matched .esl-card-back {
    display: none;
}

.esl-card-front {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 210, 255, 0.15));
    border: 3px solid #8a2be2;
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.3);
    transform: rotateY(180deg);
    font-size: clamp(26px, 9.5vw, 52px);
    display: none;
}

.esl-card.esl-flipped .esl-card-front,
.esl-card.esl-matched .esl-card-front {
    display: flex;
}

.esl-card.esl-wrong {
    animation: eslWrongShake 0.5s ease;
}

@keyframes eslWrongShake {

    0%,
    100% {
        transform: rotateY(180deg) translateX(0);
    }

    20% {
        transform: rotateY(180deg) translateX(-8px);
    }

    40% {
        transform: rotateY(180deg) translateX(8px);
    }

    60% {
        transform: rotateY(180deg) translateX(-5px);
    }

    80% {
        transform: rotateY(180deg) translateX(5px);
    }
}

.esl-combo-display {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 900;
    color: #facc15;
    text-shadow: 0 0 30px rgba(250, 204, 21, 0.7);
    pointer-events: none;
    z-index: 50;
    opacity: 0;
    transition: all 0.3s ease;
}

.esl-combo-display.show {
    opacity: 1;
    animation: eslComboPop 0.8s ease forwards;
}

@keyframes eslComboPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    30% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -60%) scale(1);
    }
}

.esl-float-points {
    position: fixed;
    font-size: 28px;
    font-weight: 900;
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.6);
    pointer-events: none;
    z-index: 50;
    animation: eslFloatUp 1s ease forwards;
}

@keyframes eslFloatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-80px) scale(0.8);
    }
}

@media (max-width: 500px) {
    .esl-game-board {
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .esl-game-board {
        gap: 8px;
    }
}

/* yılan */
.mode-card--yilan {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(6, 40, 20, 0.95));
    border-color: #22c55e;
}

.mode-card--yilan:hover {
    box-shadow: 0 0 35px rgba(34, 197, 94, 0.4), 0 0 70px rgba(22, 163, 74, 0.2);
}

#yilanGameScreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
}

#yilanGameScreen>* {
    width: 100%;
    max-width: 600px;
}

.yl-canvas-wrap {
    position: relative;
    width: fit-content;
    margin: 10px auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.18), inset 0 0 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(34, 197, 94, 0.35);
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#ylCanvas {
    display: block;
    max-width: 100%;
    height: auto;
    background: radial-gradient(circle at 50% 40%, #0c1f14 0%, #060d09 100%);
}

.yl-timer-bar {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 999px;
    overflow: hidden;
}

.yl-timer-fill {
    height: 100%;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    transform-origin: left center;
    transform: scaleX(1);
    transition: transform 0.12s linear, background 0.3s;
    will-change: transform;
}

.yl-timer-fill.low {
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.yl-info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.yl-food-badge {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #4ade80;
}

.yl-countdown {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    font-weight: 900;
    color: #4ade80;
    text-shadow: 0 0 40px rgba(74, 222, 128, 0.8);
    background: rgba(3, 10, 6, 0.55);
    z-index: 5;
    pointer-events: none;
}

.yl-death-flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.35), rgba(239, 68, 68, 0.05));
    z-index: 4;
    pointer-events: none;
    animation: ylDeathFade 0.6s ease forwards;
}

@keyframes ylDeathFade {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
    }
}

.yl-float-points {
    position: fixed;
    font-size: 28px;
    font-weight: 900;
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.6);
    pointer-events: none;
    z-index: 60;
    animation: eslFloatUp 1s ease forwards;
}

.yl-combo-display {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 44px;
    font-weight: 900;
    color: #facc15;
    text-shadow: 0 0 30px rgba(250, 204, 21, 0.7);
    pointer-events: none;
    z-index: 50;
    opacity: 0;
    transition: all 0.3s ease;
}

.yl-combo-display.show {
    opacity: 1;
    animation: eslComboPop 0.8s ease forwards;
}

.yl-dpad {
    display: none;
    grid-template-columns: repeat(3, 64px);
    grid-template-rows: repeat(2, 54px);
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.yl-dpad-btn {
    border-radius: 14px;
    border: 1px solid rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: all 0.1s;
}

.yl-dpad-btn:active {
    background: rgba(34, 197, 94, 0.35);
    transform: scale(0.92);
}

.yl-dpad-up {
    grid-column: 2;
    grid-row: 1;
}

.yl-dpad-left {
    grid-column: 1;
    grid-row: 2;
}

.yl-dpad-down {
    grid-column: 2;
    grid-row: 2;
}

.yl-dpad-right {
    grid-column: 3;
    grid-row: 2;
}

@media (hover: none) and (pointer: coarse) {
    .yl-dpad {
        display: grid;
    }
}

@media (max-height: 780px) {
    #yilanGameScreen {
        justify-content: flex-start;
        padding-top: 10px !important;
    }
}

/* köstebek vur */
.mode-card--kostebek {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(50, 30, 6, 0.95));
    border-color: #f59e0b;
}

.mode-card--kostebek:hover {
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.4), 0 0 70px rgba(217, 119, 6, 0.2);
}

#kostebekGameScreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
}

#kostebekGameScreen>* {
    width: 100%;
    max-width: 600px;
}

.kb-info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.kb-hit-badge {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fbbf24;
}

.kb-timer-bar {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 999px;
    overflow: hidden;
}

.kb-timer-fill {
    height: 100%;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transform-origin: left center;
    transform: scaleX(1);
    transition: transform 0.12s linear, background 0.3s;
    will-change: transform;
}

.kb-timer-fill.low {
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.kb-board-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 14px auto;
}

.kb-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
    width: min(100%, 396px);
    border-radius: 22px;
    background: radial-gradient(circle at 50% 30%, rgba(60, 130, 70, 0.22), rgba(8, 20, 10, 0.55));
    border: 2px solid rgba(245, 158, 11, 0.28);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.12), inset 0 0 50px rgba(0, 0, 0, 0.35);
}

.kb-hole {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    background: radial-gradient(circle at 50% 32%, #2d6136 0%, #173a1f 75%);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.55);
}

.kb-hole:active {
    transform: scale(0.96);
}

.kb-mole {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translate(-50%, 135%);
    font-size: clamp(40px, 15vw, 58px);
    line-height: 1;
    transition: transform 0.11s ease-out;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
}

.kb-hole.kb-up .kb-mole {
    transform: translate(-50%, 0);
}

.kb-hole.kb-hit .kb-mole {
    transform: translate(-50%, 30%) scale(0.6) rotate(-14deg);
    transition: transform 0.12s ease-in;
}

.kb-pit {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 2px;
    height: clamp(26px, 10vw, 38px);
    background: radial-gradient(ellipse at 50% 0%, #43301a 0%, #1d1308 78%);
    border-radius: 50%;
    box-shadow: inset 0 8px 12px rgba(0, 0, 0, 0.85), 0 2px 0 rgba(255, 255, 255, 0.05);
    z-index: 3;
    pointer-events: none;
}

.kb-hole.kb-bombflash {
    animation: kbBombFlash 0.35s ease;
}

@keyframes kbBombFlash {

    0%,
    100% {
        box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.55);
    }

    40% {
        box-shadow: inset 0 0 30px rgba(239, 68, 68, 0.95), 0 0 26px rgba(239, 68, 68, 0.7);
    }
}

.kb-countdown {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 86px;
    font-weight: 900;
    color: #fbbf24;
    text-shadow: 0 0 40px rgba(251, 191, 36, 0.8);
    background: rgba(10, 6, 2, 0.55);
    border-radius: 22px;
    z-index: 5;
    pointer-events: none;
}

.kb-float-points {
    position: fixed;
    font-size: 26px;
    font-weight: 900;
    color: #fbbf24;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
    pointer-events: none;
    z-index: 60;
    animation: eslFloatUp 1s ease forwards;
}

.kb-float-points.bad {
    color: #f87171;
    text-shadow: 0 0 15px rgba(248, 113, 113, 0.6);
}

.kb-combo-display {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 44px;
    font-weight: 900;
    color: #facc15;
    text-shadow: 0 0 30px rgba(250, 204, 21, 0.7);
    pointer-events: none;
    z-index: 50;
    opacity: 0;
    transition: all 0.3s ease;
}

.kb-combo-display.show {
    opacity: 1;
    animation: eslComboPop 0.8s ease forwards;
}

@media (max-width: 460px) {
    .kb-mole {
        bottom: 11px;
    }

    .kb-board {
        gap: 10px;
        padding: 12px;
    }
}

@media (max-height: 780px) {
    #kostebekGameScreen {
        justify-content: flex-start;
        padding-top: 10px !important;
    }
}

#zgBgA,
#zgBgB {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    transition: opacity 1.4s ease;
}

#zgBgB {
    opacity: 0;
}

.zg-fx {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    overflow: hidden;
    pointer-events: none;
}

.zg-pt {
    position: absolute;
    bottom: -40px;
    border-radius: 50%;
    opacity: .5;
    animation: zgFloat linear infinite;
}

@keyframes zgFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    15% {
        opacity: .55;
    }

    100% {
        transform: translateY(-115vh) translateX(var(--sway, 0px));
        opacity: 0;
    }
}

.zg-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .15s;
}

.zg-icon-btn:active {
    transform: scale(.93);
}

.zg-panel {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 14px 22px;
    position: relative;
}

.zg-panel.shake {
    animation: zgShake .4s;
}

@keyframes zgShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-9px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(4px);
    }
}

.zg-stat-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.zg-pill {
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    color: #c7d8f0;
    white-space: nowrap;
}

.zg-pill.cyan {
    background: rgba(34, 211, 238, 0.14);
    border-color: rgba(34, 211, 238, 0.4);
    color: #a5f3fc;
}

.zg-pill.gold {
    background: rgba(250, 204, 21, 0.14);
    border-color: rgba(250, 204, 21, 0.4);
    color: #fde68a;
}

.zg-levelbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.zg-level-dots {
    display: flex;
    gap: 5px;
}

.zg-ldot {
    width: 26px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    transition: all .25s;
}

.zg-ldot.active {
    background: #22d3ee;
    box-shadow: 0 0 12px -1px #22d3ee;
}

.zg-ldot.used {
    background: rgba(34, 211, 238, 0.32);
}

.zg-level-label {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .8px;
    color: #8a8ab0;
}

.zg-level-pts {
    font-size: 12.5px;
    font-weight: 800;
    color: #facc15;
}

.zg-twrap {
    margin-bottom: 12px;
}

.zg-tbar {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    overflow: hidden;
}

.zg-tfill {
    height: 100%;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #4ade80);
    transition: width .12s linear, background .3s;
}

.zg-tfill.warn {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.zg-frame {
    position: relative;
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    background: #05070d;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 60px -22px rgba(0, 0, 0, .9);
}

.zg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
    -webkit-user-drag: none;
}

.zg-img.anim {
    transition: transform .6s cubic-bezier(.2, .8, .25, 1);
}

.zg-ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: radial-gradient(circle at 50% 40%, rgba(34, 211, 238, .12), transparent 65%), #0a0e18;
    color: #c7d8f0;
}

.zg-ph .big {
    font-size: 74px;
    line-height: 1;
}

.zg-ph .lbl {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #8a8ab0;
}

.zg-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, transparent 45%, rgba(0, 0, 0, .55) 100%);
}

.zg-reticle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    pointer-events: none;
    animation: zgPulse 2.1s ease-in-out infinite;
}

.zg-reticle::before,
.zg-reticle::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, .35);
}

.zg-reticle::before {
    left: 50%;
    top: -12px;
    bottom: -12px;
    width: 1px;
    margin-left: -.5px;
}

.zg-reticle::after {
    top: 50%;
    left: -12px;
    right: -12px;
    height: 1px;
    margin-top: -.5px;
}

@keyframes zgPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .75;
    }

    50% {
        transform: scale(1.14);
        opacity: .3;
    }
}

.zg-zoombadge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(34, 211, 238, .45);
    color: #a5f3fc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    pointer-events: none;
}

.zg-flashfx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: #fff;
}

.zg-flashfx.go {
    animation: zgFlash .38s ease-out;
}

@keyframes zgFlash {
    0% {
        opacity: .75;
    }

    100% {
        opacity: 0;
    }
}

.zg-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(4, 8, 16, .86);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    padding: 16px;
    text-align: center;
}

.zg-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.zg-overlay .em {
    font-size: 56px;
    line-height: 1;
}

.zg-overlay .ttl {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
}

.zg-overlay .sub {
    font-size: 13px;
    font-weight: 700;
    color: #a0d0ff;
}

.zg-hintline {
    margin: 12px auto 4px;
    max-width: 660px;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #fde68a;
    background: rgba(250, 204, 21, 0.08);
    border: 1px dashed rgba(250, 204, 21, 0.3);
    border-radius: 12px;
    padding: 6px 12px;
    visibility: hidden;
}

.zg-hintline.show {
    visibility: visible;
}

.zg-opts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 660px;
    margin: 12px auto 0;
}

.zg-opts.hidden {
    display: none;
}

.zg-opt {
    padding: 15px 10px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #e6edf7;
    font-weight: 800;
    font-size: 14.5px;
    cursor: pointer;
    transition: all .15s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zg-opt:hover:not(:disabled) {
    border-color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
}

.zg-opt:disabled {
    cursor: default;
    opacity: .85;
}

.zg-opt.ok {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
    color: #dcfce7;
}

.zg-opt.bad {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.16);
    color: #ffe4e4;
}

.zg-opt.dim {
    opacity: .35;
}

.zg-typewrap {
    display: flex;
    gap: 8px;
    max-width: 660px;
    margin: 10px auto 0;
}

.zg-typeinput {
    flex: 1;
    min-width: 0;
    padding: 13px 14px;
    border-radius: 13px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.zg-typeinput:focus {
    border-color: #22d3ee;
    background: rgba(34, 211, 238, 0.08);
}

.zg-typebtn {
    padding: 0 18px;
    border-radius: 13px;
    border: 2px solid rgba(34, 211, 238, .5);
    background: rgba(34, 211, 238, .16);
    color: #a5f3fc;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.zg-btnrow {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 14px;
}

.zg-btn {
    padding: 12px 20px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #c7d8f0;
    font-weight: 800;
    font-size: 13.5px;
    cursor: pointer;
    transition: all .15s;
}

.zg-btn:active {
    transform: scale(.96);
}

.zg-btn:disabled {
    opacity: .45;
    cursor: default;
}

.zg-btn.hint {
    border-color: rgba(250, 204, 21, .45);
    background: rgba(250, 204, 21, .12);
    color: #fde68a;
}

.zg-btn.skip {
    border-color: rgba(255, 107, 107, .4);
    background: rgba(255, 107, 107, .1);
    color: #ffc9c9;
}

.zg-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .72);
    padding: 20px;
}

.zg-modal.show {
    display: flex;
}

.zg-modal-box {
    max-width: 380px;
    width: 100%;
    border-radius: 20px;
    padding: 26px 22px;
    text-align: center;
    background: linear-gradient(160deg, #101a2e, #0a1020);
    border: 1px solid rgba(255, 255, 255, .14);
}

.zg-modal-box h3 {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.zg-modal-box p {
    font-size: 13.5px;
    color: #8a8ab0;
    font-weight: 600;
    margin-bottom: 18px;
}

.zg-fillbar {
    margin-top: 8px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    overflow: hidden;
}

.zg-fillbar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #4ade80);
}

.zg-filltext {
    margin-top: 5px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .4px;
    color: #8a8ab0;
}

.zg-note {
    max-width: 620px;
    margin: 0 auto 16px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px dashed rgba(34, 211, 238, 0.3);
    border-radius: 16px;
    padding: 12px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #8a8ab0;
    line-height: 1.6;
}

@media (max-width: 560px) {
    .zg-opts {
        grid-template-columns: 1fr;
    }

    .zg-frame {
        aspect-ratio: 1 / 1;
    }

    .zg-reticle {
        width: 48px;
        height: 48px;
        margin: -24px 0 0 -24px;
    }
}

.zg-frame.full .zg-vignette,
.zg-frame.full .zg-reticle {
    opacity: 0;
    transition: opacity .45s ease;
}

.zg-vignette,
.zg-reticle {
    transition: opacity .45s ease;
}

.zg-typedesc {
    max-width: 660px;
    margin: 9px auto 0;
    font-size: 11.5px;
    font-weight: 600;
    color: #8a8ab0;
    text-align: center;
    line-height: 1.5;
}

.zg-typewrap {
    max-width: 660px;
}

.zg-typeinput {
    font-size: 16px;
    padding: 16px 16px;
}

.zg-typebtn {
    font-size: 15px;
    padding: 0 22px;
}

/* renk oyunu */
.mode-card--renk {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(40, 8, 30, 0.95));
    border-color: #ec4899;
}

.mode-card--renk:hover {
    box-shadow: 0 0 35px rgba(236, 72, 153, 0.45), 0 0 70px rgba(192, 132, 252, 0.22);
}

#renkGameScreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    padding: 18px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    z-index: 50;
}

#renkGameScreen>* {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.rk-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.rk-topbar .rk-logo {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(90deg, #ec4899, #c084fc, #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rk-icon-btn {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(0, 210, 255, .3);
    border-radius: 12px;
    width: 42px;
    height: 42px;
    font-size: 17px;
    cursor: pointer;
    color: #eaf2ff;
    transition: .2s;
}

.rk-icon-btn:hover {
    background: rgba(0, 210, 255, .15);
}

.rk-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

@media (max-width: 860px) {
    .rk-stage {
        grid-template-columns: 1fr;
    }
}

.rk-panel {
    background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
    border: 1px solid rgba(138, 43, 226, .3);
    border-radius: 22px;
    padding: 16px;
}

.rk-panel-title {
    font-size: 13px;
    font-weight: 800;
    color: #c9b4ff;
    letter-spacing: .4px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rk-square-holder {
    display: flex;
    justify-content: center;
    position: relative;
}

.rk-square {
    width: 100%;
    max-width: 330px;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    border: 2px solid rgba(255, 255, 255, .22);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(0, 210, 255, .1);
    transition: background .18s ease, box-shadow .25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.rk-square .rk-count-ring {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .18);
}

.rk-square.rk-memorize .rk-count-ring {
    display: flex;
}

.rk-count-num {
    font-size: 76px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .65);
    animation: rkPop .9s ease infinite;
}

@keyframes rkPop {

    0%,
    100% {
        transform: scale(1);
        opacity: .95;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

.rk-phase-note {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #9fdcff;
    min-height: 22px;
}

.rk-phase-note.rk-warn {
    color: #ffd166;
}

.rk-phase-note.rk-ok {
    color: #7ef0b0;
}

.rk-hint-small {
    text-align: center;
    font-size: 12px;
    color: #7ba7d0;
    margin-top: 6px;
    min-height: 18px;
}

.rk-readout {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 9px 11px;
}

.rk-chip {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, .3);
    box-shadow: 0 0 14px rgba(0, 0, 0, .4);
    flex: none;
}

.rk-readout-txt {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.rk-readout-txt small {
    display: block;
    font-weight: 600;
    color: #8fb4d8;
    font-size: 11.5px;
}

.rk-slider-row {
    margin-bottom: 14px;
}

.rk-warn-line {
    font-size: 11.5px;
    font-weight: 700;
    color: #ffd166;
    min-height: 16px;
    margin: -6px 0 10px;
    line-height: 1.35;
}

.rk-slider-head {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 700;
    color: #a9c8e6;
    margin-bottom: 6px;
}

.rk-slider-head b {
    color: #eaf2ff;
    font-weight: 800;
}

.rk-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 24px;
    border-radius: 12px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, .22);
    cursor: pointer;
}

.rk-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #0b1a2e;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .6);
    cursor: pointer;
}

.rk-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #0b1a2e;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .6);
    cursor: pointer;
}

.rk-slider:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.rk-mini-btn {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(0, 210, 255, .3);
    color: #cfe6ff;
    border-radius: 11px;
    padding: 9px 13px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
    width: 100%;
}

.rk-mini-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(0, 210, 255, .15), rgba(138, 43, 226, .12));
}

.rk-mini-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.rk-dots {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 16px 0 4px;
}

.rk-dot {
    width: 19px;
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .14);
    transition: .25s;
}

.rk-dot.done {
    background: linear-gradient(90deg, #22c55e, #06b6d4);
}

.rk-dot.cur {
    background: linear-gradient(90deg, #ec4899, #c084fc);
    box-shadow: 0 0 12px rgba(236, 72, 153, .7);
    transform: scaleY(1.45);
}

.rk-ov-card {
    max-width: 620px !important;
}

.rk-compare {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: flex-end;
    margin: 6px 0 16px;
}

.rk-cmp-col {
    flex: 1;
    max-width: 230px;
}

.rk-cmp-sq {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, .25);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
}

.rk-cmp-lbl {
    font-size: 12px;
    font-weight: 800;
    color: #a9c8e6;
    margin-top: 8px;
}

.rk-cmp-hex {
    font-size: 11px;
    color: #7ba7d0;
    font-weight: 700;
}

.rk-pct-value {
    font-size: 44px;
    font-weight: 800;
    background: linear-gradient(90deg, #00d2ff, #c084fc, #ff69b4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rk-pct-bar {
    height: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .09);
    overflow: hidden;
    margin-top: 8px;
}

.rk-pct-fill {
    height: 100%;
    width: 0;
    border-radius: 8px;
    transition: width .7s cubic-bezier(.2, .9, .3, 1);
}

.rk-big-points {
    font-size: 30px;
    font-weight: 800;
    margin: 4px 0 2px;
}

.rk-big-points.zero {
    color: #9aa8bb;
}

.rk-de-note {
    font-size: 11.5px;
    color: #7a90aa;
    font-weight: 600;
}

.rk-table {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.rk-table span {
    font-size: 10.5px;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #a9c8e6;
}

.rk-table span.hit {
    background: rgba(34, 197, 94, .18);
    border-color: rgba(34, 197, 94, .5);
    color: #9df3bd;
}

.rk-btn-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.rk-btn-row .primary-btn,
.rk-btn-row .back-btn {
    flex: 1;
    min-width: 150px;
}

/* hızlı tepki */
.mode-card--tepki {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(6, 30, 18, 0.95));
    border-color: #22c55e;
}

.mode-card--tepki:hover {
    box-shadow: 0 0 35px rgba(34, 197, 94, 0.45), 0 0 70px rgba(16, 185, 129, 0.22);
}

#tepkiGameScreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    padding: 16px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    z-index: 50;
    background: #05070f;
    transition: none !important;
}

#tepkiGameScreen.tp-ready,
#tepkiGameScreen.tp-count {
    background: radial-gradient(900px 500px at 50% -10%, rgba(0, 210, 255, .12), transparent 60%),
        linear-gradient(135deg, #000a1a 0%, #001a3d 55%, #000a1a 100%);
}

#tepkiGameScreen.tp-dark {
    background: radial-gradient(900px 500px at 50% 110%, rgba(120, 20, 20, .28), transparent 65%),
        linear-gradient(135deg, #050101 0%, #170404 55%, #050101 100%);
}

#tepkiGameScreen.tp-go {
    background: #16a34a !important;
}

#tepkiGameScreen.tp-error {
    background: #7f1d1d !important;
}

#tepkiGameScreen>* {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tp-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 10px;
}

.tp-topbar .tp-logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(90deg, #22c55e, #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#tepkiGameScreen.tp-go .tp-topbar,
#tepkiGameScreen.tp-go .tp-hint,
#tepkiGameScreen.tp-error .tp-topbar {
    opacity: .25;
}

.tp-icon-btn {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(0, 210, 255, .3);
    border-radius: 12px;
    width: 42px;
    height: 42px;
    font-size: 17px;
    cursor: pointer;
    color: #eaf2ff;
    transition: .2s;
}

.tp-icon-btn:hover {
    background: rgba(0, 210, 255, .15);
}

.tp-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    min-height: 60vh;
}

.tp-big {
    font-size: clamp(72px, 16vw, 150px);
    font-weight: 900;
    line-height: 1;
    color: #fff;
    text-shadow: 0 10px 50px rgba(0, 0, 0, .6);
    letter-spacing: -2px;
}

.tp-big.tp-pulse {
    animation: tpPulse 1s ease infinite;
}

@keyframes tpPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .96;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.tp-msg {
    font-size: clamp(18px, 3.4vw, 26px);
    font-weight: 800;
    color: #dff3ff;
}

.tp-sub {
    font-size: 14px;
    font-weight: 700;
    color: #8fb4d8;
    max-width: 460px;
    line-height: 1.5;
}

#tepkiGameScreen.tp-dark .tp-sub {
    color: #d99;
}

.tp-go-text {
    color: #fff;
    text-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.tp-hint {
    font-size: 12px;
    font-weight: 700;
    color: #7ba7d0;
    padding-top: 8px;
    min-height: 18px;
    text-align: center;
}

.tp-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
    height: 14px;
}

.tp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    animation: tpBeacon 1.25s ease-in-out infinite;
}

.tp-dot:nth-child(2) {
    animation-delay: .18s;
}

.tp-dot:nth-child(3) {
    animation-delay: .36s;
}

@keyframes tpBeacon {

    0%,
    100% {
        opacity: .25;
        transform: scale(.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.tp-start-btn {
    margin-top: 14px;
    padding: 20px 54px;
    border: none;
    border-radius: 18px;
    font-size: 22px;
    font-weight: 900;
    color: #06210f;
    cursor: pointer;
    background: linear-gradient(135deg, #86efac, #22c55e, #16a34a);
    box-shadow: 0 14px 40px rgba(34, 197, 94, .35);
    transition: .2s;
}

.tp-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(34, 197, 94, .55);
}

.tp-ov-card {
    max-width: 560px !important;
}

.tp-ms-big {
    font-size: clamp(46px, 11vw, 68px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(90deg, #22c55e, #00d2ff, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tp-ms-sub {
    font-size: 14px;
    font-weight: 800;
    color: #9fdcff;
    margin-top: 2px;
}

.tp-scale {
    position: relative;
    height: 44px;
    margin: 14px 0 4px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
}

.tp-scale-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(34, 197, 94, .55), rgba(0, 210, 255, .35));
}

.tp-scale-avg {
    position: absolute;
    top: -8px;
    bottom: -8px;
    width: 2px;
    background: #ffb020;
    box-shadow: 0 0 10px rgba(255, 176, 32, .8);
}

.tp-scale-avg-lbl {
    position: absolute;
    top: -20px;
    font-size: 10.5px;
    font-weight: 800;
    color: #ffb020;
    transform: translateX(-50%);
    white-space: nowrap;
}

.tp-scale-mark {
    position: absolute;
    top: -10px;
    bottom: -10px;
    width: 4px;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 0 14px rgba(255, 255, 255, .9);
    transform: translateX(-2px);
    transition: left .5s cubic-bezier(.2, .9, .3, 1);
}

.tp-cmp {
    font-size: 13.5px;
    font-weight: 700;
    color: #a9c8e6;
    margin: 10px 0 2px;
}

.tp-cmp b {
    color: #fff;
}

.tp-big-points {
    font-size: 30px;
    font-weight: 900;
    margin: 10px 0 2px;
    color: #7ef0b0;
}

.tp-big-points.zero {
    color: #9aa8bb;
}

.tp-stat-note {
    font-size: 11.5px;
    color: #7a90aa;
    font-weight: 600;
}

.mode-card--melodi {
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.22), rgba(30, 8, 50, 0.95));
    border-color: #c084fc;
}

.mode-card--melodi:hover {
    box-shadow: 0 0 35px rgba(192, 132, 252, 0.45), 0 0 70px rgba(236, 72, 153, 0.22);
}

/* melodi */
#mdGameScreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    padding: 14px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    z-index: 50;
    background: radial-gradient(1000px 520px at 50% -10%, rgba(192, 132, 252, .15), transparent 60%),
        linear-gradient(135deg, #05010f 0%, #150a30 55%, #05010f 100%);
}

#mdGameScreen>* {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.md-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 6px;
}

.md-topbar .md-logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(90deg, #c084fc, #ec4899, #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.md-icon-btn {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(0, 210, 255, .3);
    border-radius: 12px;
    width: 42px;
    height: 42px;
    font-size: 17px;
    cursor: pointer;
    color: #eaf2ff;
    transition: .2s;
}

.md-icon-btn:hover {
    background: rgba(0, 210, 255, .15);
}

.md-status {
    text-align: center;
    margin: 2px 0 8px;
}

.md-eq {
    display: none;
    gap: 5px;
    justify-content: center;
    align-items: flex-end;
    height: 44px;
    margin-bottom: 6px;
}

.md-eq.on {
    display: flex;
}

.md-eq i {
    width: 9px;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #c084fc, #00d2ff);
    height: 14px;
    animation: mdEq .75s ease-in-out infinite;
}

.md-eq i:nth-child(2) {
    animation-delay: .1s;
    background: linear-gradient(180deg, #e879f9, #818cf8);
}

.md-eq i:nth-child(3) {
    animation-delay: .22s;
}

.md-eq i:nth-child(4) {
    animation-delay: .33s;
    background: linear-gradient(180deg, #38bdf8, #22c55e);
}

.md-eq i:nth-child(5) {
    animation-delay: .45s;
}

@keyframes mdEq {

    0%,
    100% {
        height: 12px;
    }

    50% {
        height: 42px;
    }
}

.md-status-title {
    font-size: clamp(19px, 3.4vw, 26px);
    font-weight: 900;
    color: #fff;
    letter-spacing: .3px;
    min-height: 32px;
}

.md-status-title.md-listen {
    color: #9fdcff;
}

.md-status-title.md-build {
    color: #7ef0b0;
}

.md-status-title.md-bad {
    color: #ff8fa3;
}

.md-status-sub {
    font-size: 13px;
    font-weight: 700;
    color: #a9c8e6;
    margin-top: 4px;
    line-height: 1.45;
    min-height: 38px;
    padding: 0 6px;
}

.md-pads {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 470px;
    margin: 2px auto 0;
    touch-action: manipulation;
}

.md-pad {
    aspect-ratio: 1.25 / 1;
    border-radius: 20px;
    border: 3px solid var(--c);
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(0, 0, 0, .38));
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .07s ease, box-shadow .1s ease, background .1s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
    position: relative;
}

.md-pad .md-doticon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--c);
    opacity: .8;
    box-shadow: 0 0 18px var(--c);
    transition: .1s;
}

.md-pad .md-keynum {
    position: absolute;
    right: 7px;
    bottom: 5px;
    font-size: 10.5px;
    font-weight: 800;
    color: rgba(255, 255, 255, .45);
}

.md-pad:disabled {
    cursor: default;
}

.md-pad.md-on {
    background: var(--c);
    transform: scale(1.05);
    box-shadow: 0 0 34px var(--c), 0 0 66px var(--c);
}

.md-pad.md-on .md-doticon {
    background: #fff;
    box-shadow: 0 0 22px #fff;
}

.md-pad.md-good {
    background: linear-gradient(160deg, #22c55e, #15803d);
    border-color: #86efac;
    box-shadow: 0 0 34px rgba(34, 197, 94, .8);
}

.md-pad.md-bad {
    background: linear-gradient(160deg, #ef4444, #7f1d1d);
    border-color: #fca5a5;
    animation: mdShake .4s ease;
}

@keyframes mdShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-6px);
    }

    75% {
        transform: translateX(6px);
    }
}

.md-mine-wrap {
    margin-top: 14px;
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    padding: 12px;
}

.md-mine-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    color: #c9b4ff;
    letter-spacing: .4px;
    margin-bottom: 8px;
}

.md-mine-head span {
    color: #9fdcff;
    font-weight: 800;
}

.md-mine {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    min-height: 42px;
    align-items: center;
}

.md-mine .md-empty {
    font-size: 12.5px;
    color: #7ba7d0;
    font-weight: 700;
}

.md-chip {
    min-width: 42px;
    height: 38px;
    padding: 0 9px;
    border-radius: 11px;
    background: var(--c);
    border: 2px solid rgba(255, 255, 255, .35);
    color: #0b0b12;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
    animation: mdChipIn .22s ease;
}

.md-chip.ghost {
    background: transparent;
    color: var(--c);
    border-style: dashed;
    border-color: var(--c);
    opacity: .85;
}

.md-chip.small {
    min-width: 34px;
    height: 30px;
    font-size: 10.5px;
}

@keyframes mdChipIn {
    from {
        transform: scale(.6);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.md-mine-btns {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.md-mini-btn {
    flex: 1;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(0, 210, 255, .3);
    color: #cfe6ff;
    border-radius: 12px;
    padding: 11px 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.md-mini-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(0, 210, 255, .15), rgba(138, 43, 226, .12));
}

.md-mini-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.md-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-bottom: 8px;
}

.md-actions .primary-btn,
.md-actions .back-btn {
    flex: 1;
    min-width: 150px;
}

.md-hint-line {
    font-size: 11.5px;
    font-weight: 700;
    color: #7ba7d0;
    text-align: center;
    padding-bottom: 10px;
    min-height: 16px;
}

.md-ov-card {
    max-width: 620px !important;
}

.md-pct-value {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(90deg, #00d2ff, #c084fc, #ff69b4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.05;
}

.md-pct-bar {
    height: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .09);
    overflow: hidden;
    margin: 8px 0 14px;
}

.md-pct-fill {
    height: 100%;
    width: 0;
    border-radius: 8px;
    transition: width .7s cubic-bezier(.2, .9, .3, 1);
}

.md-cmp-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.md-cmp-row {
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 10px 12px;
    text-align: left;
}

.md-cmp-label {
    font-size: 11.5px;
    font-weight: 800;
    color: #a9c8e6;
    letter-spacing: .4px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.md-cmp-row .md-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 9px;
}

.md-cmp-row .md-mini-btn {
    flex: none;
    padding: 8px 14px;
    font-size: 12px;
}

.md-big-points {
    font-size: 30px;
    font-weight: 900;
    margin: 2px 0 4px;
    color: #7ef0b0;
}

.md-big-points.zero {
    color: #9aa8bb;
}

.md-table {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0 2px;
}

.md-table span {
    font-size: 10.5px;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #a9c8e6;
}

.md-table span.hit {
    background: rgba(34, 197, 94, .18);
    border-color: rgba(34, 197, 94, .5);
    color: #9df3bd;
}

.md-dots {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 12px 0 0;
}

.md-dot {
    width: 18px;
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .13);
    transition: .25s;
}

.md-dot.done {
    background: linear-gradient(90deg, #22c55e, #06b6d4);
}

.md-dot.cur {
    background: linear-gradient(90deg, #c084fc, #ec4899);
    box-shadow: 0 0 12px rgba(192, 132, 252, .8);
    transform: scaleY(1.5);
}

/* mayın tarlası */
#mayinGameScreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
}

#mayinGameScreen>* {
    width: 100%;
    max-width: 720px;
}

.my-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.my-board-wrap {
    position: relative;
    width: min(94vw, 500px);
    margin: 4px auto 0;
}

.my-board {
    display: grid;
    gap: 3px;
    width: 100%;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.my-cell {
    aspect-ratio: 1 / 1;
    width: 100%;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #3b2f6b, #2a2150);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(11px, 2.4vw, 17px);
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.08s ease, background 0.12s ease;
}

.my-cell:hover {
    background: linear-gradient(135deg, #4a3b85, #322861);
}

.my-cell:active {
    transform: scale(0.93);
}

.my-cell.open {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    cursor: default;
}

.my-cell.flag {
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
}

.my-cell.mine {
    background: linear-gradient(135deg, #b91c1c, #7f1d1d);
}

.my-cell.boom {
    background: linear-gradient(135deg, #fbbf24, #ef4444);
    animation: myBoom 0.55s ease;
}

.my-cell.wrong {
    background: linear-gradient(135deg, #334155, #1e293b);
    opacity: 0.75;
}

.my-cell.justopened {
    animation: myPop 0.18s ease;
}

.my-n1 { color: #60a5fa; }
.my-n2 { color: #4ade80; }
.my-n3 { color: #f87171; }
.my-n4 { color: #c084fc; }
.my-n5 { color: #fbbf24; }
.my-n6 { color: #22d3ee; }
.my-n7 { color: #f472b6; }
.my-n8 { color: #e2e8f0; }

@keyframes myBoom {
    0% { transform: scale(0.6); }
    40% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

@keyframes myPop {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.my-countdown {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    font-weight: 900;
    color: #fff;
    background: rgba(5, 3, 16, 0.55);
    border-radius: 16px;
    text-shadow: 0 0 30px rgba(138, 43, 226, 0.9);
    z-index: 5;
}

.my-explode {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 130px;
    z-index: 6;
    pointer-events: none;
    animation: myBoom 0.6s ease;
}

.my-explode.show {
    display: flex;
}

.my-tools {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.my-tool-btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #cfe4ff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 14px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.my-tool-btn:hover {
    background: rgba(0, 210, 255, 0.16);
}

.my-tool-btn.active {
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    border-color: #c084fc;
    color: #fff;
}

.my-hint {
    color: #7eb8ff;
    font-size: 12.5px;
    text-align: center;
    line-height: 1.5;
}

.mode-card--mayin {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.2), rgba(40, 8, 12, 0.95));
    border-color: #f87171;
}

.mode-card--mayin:hover {
    box-shadow: 0 0 35px rgba(248, 113, 113, 0.45), 0 0 70px rgba(251, 191, 36, 0.2);
}

/* tetris */
#tetrisGameScreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    padding: 14px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
}

#tetrisGameScreen>* {
    width: 100%;
    max-width: 720px;
}

.tt-info-row {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: center;
}

.tt-stage {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.tt-board-wrap {
    position: relative;
    border: 2px solid rgba(0, 210, 255, 0.35);
    border-radius: 12px;
    background: rgba(4, 2, 14, 0.85);
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.25), inset 0 0 30px rgba(0, 0, 0, 0.6);
    padding: 4px;
    line-height: 0;
}

#ttCanvas {
    height: min(58vh, 520px);
    aspect-ratio: 1 / 2;
    width: auto;
    display: block;
    border-radius: 8px;
}

.tt-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 118px;
}

.tt-side-title {
    color: #7eb8ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

#ttNext {
    width: 108px;
    height: 216px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 210, 255, 0.22);
    border-radius: 10px;
}

.tt-best-val {
    color: #facc15;
    font-size: 22px;
    font-weight: 900;
}

.tt-countdown {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 84px;
    font-weight: 900;
    color: #fff;
    background: rgba(5, 3, 16, 0.6);
    border-radius: 10px;
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.9);
    z-index: 5;
}

.tt-pause-veil {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 60px;
    background: rgba(5, 3, 16, 0.82);
    border-radius: 10px;
    z-index: 6;
}

.tt-pad {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

.tt-btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    width: 54px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    background: rgba(255, 255, 255, 0.07);
    color: #dff0ff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    transition: transform 0.06s ease, background 0.12s ease;
}

.tt-btn:active {
    transform: scale(0.92);
    background: rgba(0, 210, 255, 0.28);
}

.tt-btn-rot {
    border-color: rgba(192, 132, 252, 0.5);
    color: #e9d5ff;
}

.tt-btn-drop {
    border-color: rgba(250, 204, 21, 0.5);
    color: #fde68a;
}

.tt-hint {
    color: #7eb8ff;
    font-size: 12px;
    text-align: center;
}

.tt-toast {
    position: fixed;
    left: 50%;
    top: 22%;
    transform: translate(-50%, 0) scale(0.9);
    background: linear-gradient(135deg, #facc15, #ff8c00);
    color: #1a1200;
    font-weight: 900;
    font-size: 26px;
    padding: 10px 26px;
    border-radius: 30px;
    opacity: 0;
    pointer-events: none;
    z-index: 6000;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tt-toast.show {
    opacity: 1;
    transform: translate(-50%, -14px) scale(1);
}

.mode-card--tetris {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 26, 40, 0.95));
    border-color: #22d3ee;
}

.mode-card--tetris:hover {
    box-shadow: 0 0 35px rgba(34, 211, 238, 0.45), 0 0 70px rgba(168, 85, 247, 0.22);
}
