@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-weight: 100 900;
    src: url('assets/font.ttf') format('truetype');
}

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

:root {
    --color-blue: #19324b;
    --color-grey: #e1e1e1;
    --color-red: #e14b4b;
    --color-white: #ffffff;
    --container-width: 72rem;
    --duration: 200ms;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --min-touch-target: 44px;
    --radius: clamp(0.75rem, 1vw, 1rem);
    --radius-full: 9999px;
    --space-1: clamp(0.375rem, 0.5vw, 0.5rem);
    --space-10: clamp(3rem, 5vw, 5rem);
    --space-12: clamp(4rem, 6vw, 6rem);
    --space-16: clamp(5rem, 8vw, 8rem);
    --space-2: clamp(0.75rem, 1vw, 1rem);
    --space-20: clamp(6rem, 10vw, 10rem);
    --space-3: clamp(1rem, 1.5vw, 1.5rem);
    --space-4: clamp(1.25rem, 2vw, 2rem);
    --space-5: clamp(1.5rem, 2.5vw, 2.5rem);
    --space-6: clamp(2rem, 3vw, 3rem);
    --space-8: clamp(2.5rem, 4vw, 4rem);
    --text-2xl: clamp(1.25rem, 1.5vw, 1.5rem);
    --text-3xl: clamp(1.5rem, 1.875vw, 1.875rem);
    --text-4xl: clamp(1.875rem, 2.25vw, 2.25rem);
    --text-5xl: clamp(2.25rem, 3vw, 3rem);
    --text-6xl: clamp(2.75rem, 3.75vw, 3.75rem);
    --text-7xl: clamp(3.25rem, 4.5vw, 4.5rem);
    --text-base: clamp(0.938rem, 1vw, 1rem);
    --text-lg: clamp(1.063rem, 1.1vw, 1.125rem);
    --text-sm: clamp(0.813rem, 0.85vw, 0.875rem);
    --text-xl: clamp(1.125rem, 1.2vw, 1.25rem);
    --text-xs: clamp(0.688rem, 0.7vw, 0.75rem);
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    background: var(--color-white);
    color: var(--color-blue);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

section {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: clamp(3rem, 8vh, 6rem) 0;
}

.achievement {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: clamp(0.75rem, 1.5vw, 1rem);
    padding: clamp(0.75rem, 1.5vw, 1rem);
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.achievement-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.7rem, 1.2vw, 0.75rem);
    font-weight: 400;
    margin: 0;
}

.achievement-icon {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    height: clamp(2rem, 4vw, 2.5rem);
    justify-content: center;
    width: clamp(2rem, 4vw, 2.5rem);
}

.achievement-info {
    flex: 1;
    min-width: 0;
}

.achievement-name {
    color: #ffffff;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.25rem 0;
}

.achievement-notification {
    align-items: center;
    animation: slideInDown 0.5s cubic-bezier(0.16, 1, 0.3, 1), slideOutUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 3s forwards;
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(255, 200, 100, 0.95), rgba(255, 150, 50, 0.95));
    border-radius: 12px;
    border: 2px solid rgba(255, 200, 100, 0.5);
    box-shadow: 0 8px 32px rgba(255, 200, 100, 0.4);
    display: flex;
    gap: 1rem;
    min-width: 20rem;
    padding: 1rem 1.5rem;
}

.achievement-notification-content {
    flex: 1;
}

.achievement-notification-icon {
    flex-shrink: 0;
    font-size: 2rem;
}

.achievement-notification-name {
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.achievement-notification-title {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
}

.achievement-notifications {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    left: 50%;
    pointer-events: none;
    position: fixed;
    top: 2rem;
    transform: translateX(-50%);
    z-index: 1000;
}

.achievement.locked {
    filter: grayscale(1);
    opacity: 0.4;
}

.achievement.unlocked {
    background: rgba(100, 200, 100, 0.1);
    border-color: rgba(100, 200, 100, 0.3);
    filter: grayscale(0);
    opacity: 1;
}

.achievement:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.achievements-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 28rem;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1rem;
}

.achievements-content::-webkit-scrollbar {
    width: 6px;
}

.achievements-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.achievements-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.achievements-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.achievements-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
}

.achievements-panel {
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    backdrop-filter: blur(30px) saturate(200%);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.achievements-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.btn {
    align-items: center;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: clamp(0.938rem, 1.5vw, 1rem);
    font-weight: 600;
    justify-content: center;
    line-height: 1;
    min-height: var(--min-touch-target);
    outline-offset: 2px;
    padding: clamp(0.875rem, 2vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
    text-decoration: none;
    transition: background-color var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-blue);
    color: var(--color-white);
}

.btn-primary:active {
    box-shadow: 0 2px 4px rgba(25, 50, 75, 0.1);
    transform: translateY(0);
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(25, 50, 75, 0.15);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.btn-secondary:active {
    box-shadow: 0 2px 4px rgba(25, 50, 75, 0.1);
    transform: translateY(0);
}

.btn-secondary:hover {
    background-color: var(--color-blue);
    box-shadow: 0 4px 12px rgba(25, 50, 75, 0.15);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline-offset: 4px;
    outline: 2px solid var(--color-blue);
}

.click-feedback {
    animation: floatUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    color: #ffffff;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 700;
    pointer-events: none;
    position: absolute;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 255, 255, 0.3);
    z-index: 100;
}

.click-feedback-container {
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.clicker-area {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.clicker-dot {
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    -webkit-tap-highlight-color: transparent;
    animation: floatAnimation 4s ease-in-out infinite;
    backdrop-filter: blur(40px) saturate(180%);
    background: linear-gradient(135deg, rgba(25, 50, 75, 0.25) 0%, rgba(25, 50, 75, 0.15) 50%, rgba(25, 50, 75, 0.25) 100%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(25, 50, 75, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
    height: clamp(10rem, 25vw, 14rem);
    outline: none;
    position: relative;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
    width: clamp(10rem, 25vw, 14rem);
}

.clicker-dot.clicking .dot-ripple::before {
    animation: rippleEffect 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    content: '';
    height: 100%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.clicker-dot:active {
    box-shadow: 0 12px 40px rgba(25, 50, 75, 0.4), 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
}

.clicker-dot:active .dot-icon {
    transform: scale(0.9);
}

.clicker-dot:focus-visible {
    outline-offset: 8px;
    outline: 3px solid rgba(255, 255, 255, 0.5);
}

.clicker-dot:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 24px 80px rgba(25, 50, 75, 0.7), 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    transform: scale(1.05) translateY(-4px);
}

.clicker-dot:hover .dot-glow {
    opacity: 1;
}

.clicker-dot:hover .dot-icon {
    transform: scale(1.1);
}

.contact {
    background-color: var(--color-grey);
    text-align: center;
}

.contact-email {
    color: var(--color-blue);
    display: inline-block;
    font-size: clamp(1.25rem, 3vw + 0.25rem, 2.25rem);
    font-weight: 600;
    overflow-wrap: break-word;
    text-decoration: none;
    transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
    word-break: break-word;
    word-wrap: break-word;
}

.contact-email:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container-width);
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
    width: 100%;
}

.dashboard-stat {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    padding: clamp(0.75rem, 1.5vw, 1rem);
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.75rem, 1.25vw, 0.8125rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dashboard-stat-value {
    color: #ffffff;
    font-size: clamp(1rem, 1.75vw, 1.25rem);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.dashboard-stat:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.dot-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    height: 100%;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 200ms ease-out;
    width: 100%;
    z-index: 1;
}

.dot-icon {
    color: #ffffff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    height: clamp(3rem, 8vw, 4.5rem);
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
    width: clamp(3rem, 8vw, 4.5rem);
}

.dot-inner {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    position: relative;
    width: 100%;
    z-index: 3;
}

.dot-ripple {
    border-radius: 50%;
    height: 100%;
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.external-icon {
    height: clamp(1.25rem, 2.5vw, 1.5rem);
    opacity: 0.8;
    position: absolute;
    right: clamp(1rem, 3vw, 1.5rem);
    top: clamp(1rem, 3vw, 1.5rem);
    transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
    width: clamp(1.25rem, 2.5vw, 1.5rem);
    z-index: 2;
}

.floating-icon {
    bottom: clamp(1rem, 3vw, 2rem);
    cursor: pointer;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    height: clamp(2.5rem, 5vw, 3rem);
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    transform: scale(0.5) translateY(20px);
    transition: filter var(--duration) var(--ease-out), opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
    width: clamp(2.5rem, 5vw, 3rem);
    z-index: 100;
}

.floating-icon.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5) translateY(20px);
}

.floating-icon.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

.floating-icon.visible:hover {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
    transform: scale(1.05) translateY(-2px);
}

.footer {
    align-items: center;
    background-color: var(--color-blue);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    min-height: 25vh;
    padding: clamp(2rem, 5vh, 4rem) 0;
}

.footer-bottom {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 2vw, 1rem);
    justify-content: space-between;
    width: 100%;
}

.footer-content {
    align-items: center;
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
    grid-template-columns: 1fr auto 1fr;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    width: 100%;
}

.footer-copyright {
    font-size: clamp(0.688rem, 1.5vw, 0.875rem);
    opacity: 0.5;
}

.footer-divider {
    font-size: clamp(0.813rem, 1.5vw, 0.875rem);
    opacity: 0.3;
}

.footer-legal {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    justify-self: center;
}

.footer-legal a,
.footer-social a {
    align-items: center;
    color: var(--color-white);
    display: inline-flex;
    font-size: clamp(0.813rem, 1.5vw, 0.875rem);
    font-weight: 500;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.footer-legal a:hover,
.footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-social {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    justify-self: start;
}

.footer-tagline {
    font-size: clamp(0.688rem, 1.5vw, 0.875rem);
    opacity: 0.5;
}

.game-container {
    height: 100vh;
    position: relative;
    width: 100%;
    z-index: 1;
}

.game-section {
    background: linear-gradient(135deg, #1e3c5c 0%, #2a5080 50%, #1e3c5c 100%);
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.hero {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: clamp(2rem, 5vh, 4rem) 0;
}

.hero-cta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    justify-content: center;
}

.hero-logo {
    display: block;
    height: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: clamp(2rem, 6vw, 4rem);
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

.hero-subtitle {
    color: var(--color-blue);
    font-size: clamp(1rem, 2vw + 0.25rem, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: clamp(2rem, 5vw, 4rem);
    margin-left: auto;
    margin-right: auto;
    max-width: 48rem;
    opacity: 0.7;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-title {
    color: var(--color-blue);
    font-size: clamp(2rem, 6vw + 0.5rem, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero .container {
    text-align: center;
}

.lang-divider {
    opacity: 0.3;
}

.lang-option {
    cursor: pointer;
    opacity: 0.4;
    transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.lang-option.active {
    opacity: 1;
}

.lang-option:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.lang-switch {
    align-items: center;
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: clamp(0.813rem, 1.5vw, 0.875rem);
    font-weight: 500;
    gap: clamp(0.25rem, 0.5vw, 0.5rem);
    justify-self: end;
    padding: 0;
}

.left-side-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    left: 2rem;
    max-height: calc(100vh - 4rem);
    position: absolute;
    top: 2rem;
    width: 20rem;
    z-index: 10;
}

.particle {
    animation: particleBurst 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    height: 6px;
    pointer-events: none;
    position: absolute;
    width: 6px;
}

.particle-system {
    height: 100%;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
}

.portfolio-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    width: 100%;
}

.portfolio-item {
    align-items: center;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    min-height: clamp(14rem, 30vw, 24rem);
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3rem);
    position: relative;
    text-decoration: none;
    transition: box-shadow var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.portfolio-item h3 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    overflow-wrap: break-word;
    position: relative;
    text-align: center;
    word-wrap: break-word;
    z-index: 1;
}

.portfolio-item.clicker {
    background-color: var(--color-blue);
}

.portfolio-item.parlak {
    background-color: var(--color-red);
}

.portfolio-item:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.portfolio-item:hover .external-icon {
    opacity: 1;
    transform: translate(2px, -2px);
}

.prestige-button {
    background: linear-gradient(135deg, rgba(255, 200, 100, 0.2), rgba(255, 150, 50, 0.2));
    border-radius: 16px;
    border: 2px solid rgba(255, 200, 100, 0.3);
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: clamp(1rem, 1.75vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: clamp(0.875rem, 2vw, 1.25rem);
    text-transform: uppercase;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.prestige-button:active:not(:disabled) {
    transform: scale(0.98);
}

.prestige-button:disabled {
    cursor: not-allowed;
    filter: grayscale(0.7);
    opacity: 0.4;
}

.prestige-button:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255, 200, 100, 0.3), rgba(255, 150, 50, 0.3));
    border-color: rgba(255, 200, 100, 0.5);
    box-shadow: 0 8px 24px rgba(255, 200, 100, 0.3);
    transform: scale(1.02);
}

.prestige-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 28rem;
    padding: 1rem;
}

.prestige-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
}

.prestige-info {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 1vw, 0.75rem);
}

.prestige-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.75rem, 1.25vw, 0.8125rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.prestige-panel {
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    backdrop-filter: blur(30px) saturate(200%);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.prestige-req-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.75rem, 1.25vw, 0.8125rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.prestige-req-value {
    color: rgba(255, 200, 100, 0.9);
    font-size: clamp(1rem, 1.75vw, 1.25rem);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.prestige-requirement {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    margin-top: clamp(0.5rem, 1vw, 0.75rem);
    padding-top: clamp(0.5rem, 1vw, 0.75rem);
}

.prestige-stat {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.prestige-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.prestige-value {
    color: #ffffff;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.prestige-warning {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.7rem, 1.2vw, 0.75rem);
    font-style: italic;
    margin: 0;
    text-align: center;
}

.right-side-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: calc(100vh - 4rem);
    position: absolute;
    right: 2rem;
    top: 2rem;
    width: 20rem;
    z-index: 10;
}

.section-title {
    color: var(--color-blue);
    font-size: clamp(1.875rem, 4vw + 0.5rem, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: clamp(3rem, 6vw, 6rem);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: clamp(1.5rem, 4vw, 3rem);
    transition: box-shadow var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.service-card h3 {
    color: var(--color-blue);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.service-card p {
    color: var(--color-blue);
    font-size: clamp(0.938rem, 1.5vw, 1rem);
    line-height: 1.6;
    opacity: 0.7;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.services {
    background-color: var(--color-grey);
}

.services-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    width: 100%;
}

.shop-buy-btn {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: clamp(0.75rem, 1.25vw, 0.8125rem);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-buy-btn:active {
    transform: scale(0.95);
}

.shop-buy-btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.shop-buy-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1);
}

.shop-buy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.shop-container {
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    backdrop-filter: blur(30px) saturate(200%);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.shop-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
}

.shop-item {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: clamp(1rem, 2vw, 1.25rem);
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-item-cost {
    color: #ffffff;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.shop-item-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.75rem, 1.25vw, 0.8125rem);
    font-weight: 500;
    margin: 0;
}

.shop-item-info {
    flex: 1;
    min-width: 0;
}

.shop-item-name {
    color: #ffffff;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.25rem 0;
}

.shop-item-purchase {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shop-item.affordable {
    border-color: rgba(100, 200, 100, 0.3);
}

.shop-item.unaffordable {
    opacity: 0.5;
}

.shop-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(-4px);
}

.shop-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 28rem;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1rem;
}

.shop-items::-webkit-scrollbar {
    width: 6px;
}

.shop-items::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.shop-items::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.shop-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.shop-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.stat-item {
    align-items: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.7;
    text-transform: uppercase;
}

.stat-value {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background: linear-gradient(135deg, #ffffff 0%, #e1e1e1 100%);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.stats-bar {
    display: none;
}

.stats-dashboard {
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    backdrop-filter: blur(30px) saturate(200%);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stats-dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 28rem;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1rem;
}

.stats-dashboard-content::-webkit-scrollbar {
    width: 6px;
}

.stats-dashboard-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.stats-dashboard-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.stats-dashboard-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.stats-dashboard-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
}

.stats-dashboard-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

#backgroundCanvas {
    height: 100%;
    image-rendering: auto;
    left: 0;
    min-height: 100%;
    opacity: 0.95;
    position: absolute;
    top: 0;
    transition: opacity 300ms ease-out;
    width: 100%;
    z-index: 0;
}

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

@keyframes fadeInDownCentered {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes floatUp {
    from {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -100px) scale(1.2);
    }
}

@keyframes particleBurst {
    from {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.3);
    }
}

@keyframes rippleEffect {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.4);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@media (max-width: 1199px) {
    .container {
        padding-left: clamp(1.5rem, 3vw, 2rem);
        padding-right: clamp(1.5rem, 3vw, 2rem);
    }

    .left-side-container,
    .right-side-container {
        width: 18rem;
    }

    .achievements-content,
    .prestige-content,
    .shop-items,
    .stats-dashboard-content {
        height: 26rem;
    }
}

@media (max-width: 1023px) {
    .footer-content {
        gap: clamp(1.5rem, 3vw, 2rem);
        grid-template-columns: 1fr;
    }

    .footer-legal,
    .footer-social {
        justify-self: center;
    }

    .lang-switch {
        justify-self: center;
    }

    .left-side-container {
        left: 1.5rem;
        max-height: calc(100vh - 3rem);
        top: 1.5rem;
        width: 16rem;
    }

    .portfolio-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    }

    .right-side-container {
        max-height: calc(100vh - 3rem);
        right: 1.5rem;
        top: 1.5rem;
        width: 16rem;
    }

    .achievements-content,
    .prestige-content,
    .shop-items,
    .stats-dashboard-content {
        height: 24rem;
    }

    .clicker-dot {
        height: clamp(9rem, 22vw, 12rem);
        width: clamp(9rem, 22vw, 12rem);
    }

    section {
        padding: clamp(3rem, 8vh, 5rem) 0;
    }
}

@media (max-width: 767px) {
    .btn {
        max-width: 100%;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: clamp(0.75rem, 2vw, 1rem);
        text-align: center;
    }

    .game-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        height: auto;
        min-height: 100vh;
        padding: 2rem 0;
        position: relative;
        z-index: 1;
    }

    .game-section {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .hero-cta {
        flex-direction: column;
        margin: 0 auto;
        max-width: 24rem;
        width: 100%;
    }

    .left-side-container,
    .right-side-container {
        left: auto;
        margin: 0 auto;
        max-height: none;
        max-width: 28rem;
        padding: 0 1rem;
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
    }

    .portfolio-grid,
    .services-grid {
        gap: clamp(1.25rem, 3vw, 2rem);
        grid-template-columns: 1fr;
    }

    .section-title {
        margin-bottom: clamp(2rem, 5vw, 4rem);
    }

    .stat-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .stats-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.25rem;
    }

    .achievements-content,
    .prestige-content,
    .shop-items,
    .stats-dashboard-content {
        height: 20rem;
    }

    .clicker-area {
        align-items: center;
        display: flex;
        justify-content: center;
        left: auto;
        order: 2;
        padding: 2rem 0;
        position: relative;
        top: auto;
        transform: none;
    }

    .clicker-dot {
        height: clamp(10rem, 35vw, 13rem);
        width: clamp(10rem, 35vw, 13rem);
    }

    .left-side-container {
        order: 1;
    }

    .right-side-container {
        order: 3;
    }

    .achievement-notification {
        max-width: 24rem;
        min-width: auto;
        width: calc(100vw - 2rem);
    }

}

@media (max-width: 639px) {
    .game-container {
        gap: 1.25rem;
        padding: 1.5rem 0;
    }

    .hero {
        padding: clamp(2rem, 4vh, 3rem) 0;
    }

    .left-side-container,
    .right-side-container {
        padding: 0 0.875rem;
    }

    .portfolio-item {
        min-height: clamp(12rem, 25vw, 16rem);
        padding: clamp(1.25rem, 3vw, 2rem);
    }

    .achievements-content,
    .prestige-content,
    .shop-items,
    .stats-dashboard-content {
        height: 18rem;
    }

    .clicker-area {
        padding: 1.5rem 0;
    }

    .clicker-dot {
        height: clamp(9rem, 32vw, 11rem);
        width: clamp(9rem, 32vw, 11rem);
    }

    section {
        padding: clamp(2.5rem, 6vh, 4rem) 0;
    }

    .service-card {
        padding: clamp(1.25rem, 3vw, 2rem);
    }
}

@media (max-width: 479px) {
    .container {
        padding-left: clamp(0.875rem, 3vw, 1.5rem);
        padding-right: clamp(0.875rem, 3vw, 1.5rem);
    }

    .footer-divider {
        display: none;
    }

    .footer-legal,
    .footer-social {
        flex-direction: column;
        gap: clamp(0.5rem, 1.5vw, 1rem);
        text-align: center;
    }

    .game-container {
        gap: 1rem;
        padding: 1.25rem 0;
    }

    .hero {
        padding: clamp(1.5rem, 3vh, 2.5rem) 0;
    }

    .hero-subtitle {
        font-size: clamp(0.938rem, 2.5vw, 1.125rem);
    }

    .hero-title {
        font-size: clamp(1.75rem, 5.5vw, 2.5rem);
    }

    .left-side-container,
    .right-side-container {
        gap: 0.875rem;
        padding: 0 0.75rem;
    }

    .portfolio-item {
        min-height: clamp(10rem, 20vw, 14rem);
        padding: clamp(1rem, 2.5vw, 1.5rem);
    }

    .achievements-content,
    .prestige-content,
    .shop-items,
    .stats-dashboard-content {
        height: 16rem;
        padding: 0.875rem;
    }

    .achievements-header,
    .prestige-header,
    .shop-header,
    .stats-dashboard-header {
        padding: 0.875rem 1rem;
    }

    .achievements-title,
    .prestige-title,
    .shop-title,
    .stats-dashboard-title {
        font-size: 1rem;
    }

    .achievement,
    .dashboard-stat,
    .shop-item {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .achievement-notification {
        padding: 0.875rem 1.25rem;
        width: calc(100vw - 1.5rem);
    }

    .achievement-notification-icon {
        font-size: 1.75rem;
    }

    .achievement-notification-name {
        font-size: 0.875rem;
    }

    .achievement-notification-title {
        font-size: 0.688rem;
    }

    .clicker-area {
        padding: 1.25rem 0;
    }

    .clicker-dot {
        height: clamp(8rem, 40vw, 10rem);
        width: clamp(8rem, 40vw, 10rem);
    }

    .prestige-content {
        padding: 0.875rem;
    }

    section {
        padding: clamp(2rem, 5vh, 3rem) 0;
    }

    .service-card {
        padding: clamp(1rem, 2.5vw, 1.5rem);
    }
}

@media (max-width: 359px) {
    .contact-email {
        font-size: clamp(1.125rem, 3vw, 1.5rem);
    }

    .game-container {
        gap: 0.875rem;
        padding: 1rem 0;
    }

    .hero-subtitle {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        line-height: 1.5;
    }

    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        line-height: 1.15;
    }

    .left-side-container,
    .right-side-container {
        padding: 0 0.625rem;
    }

    .portfolio-item h3 {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }

    .achievements-content,
    .prestige-content,
    .shop-items,
    .stats-dashboard-content {
        gap: 0.625rem;
        height: 14rem;
    }

    .achievement,
    .dashboard-stat,
    .shop-item {
        padding: 0.625rem;
    }

    .achievement-notification {
        padding: 0.75rem 1rem;
    }

    .clicker-dot {
        height: clamp(7rem, 45vw, 9rem);
        width: clamp(7rem, 45vw, 9rem);
    }

    .dot-icon {
        height: clamp(2.5rem, 7vw, 3.5rem);
        width: clamp(2.5rem, 7vw, 3.5rem);
    }

    .section-title {
        font-size: clamp(1.5rem, 4vw, 1.875rem);
    }

    .service-card h3 {
        font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    }

    .service-card p {
        font-size: clamp(0.875rem, 1.5vw, 0.938rem);
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .game-container {
        height: auto;
        min-height: 100vh;
        padding: 1.5rem 0;
    }

    .game-section {
        height: auto;
        min-height: 100vh;
    }

    .hero,
    section {
        min-height: auto;
        padding: clamp(2rem, 4vh, 3rem) 0;
    }

    .hero-logo {
        margin-bottom: clamp(1rem, 3vw, 2rem);
    }

    .hero-subtitle {
        margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    }

    .hero-title {
        margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
    }

    .achievements-content,
    .prestige-content,
    .shop-items,
    .stats-dashboard-content {
        height: 16rem;
    }

    .clicker-area {
        padding: 1rem 0;
    }

    .clicker-dot {
        height: clamp(7rem, 20vh, 9rem);
        width: clamp(7rem, 20vh, 9rem);
    }

    .section-title {
        margin-bottom: clamp(2rem, 4vw, 3rem);
    }
}

@media (max-width: 767px) and (max-height: 700px) {
    .achievements-content,
    .prestige-content,
    .shop-items,
    .stats-dashboard-content {
        height: 14rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn,
    .clicker-dot,
    .contact-email,
    .floating-icon,
    .footer-legal a,
    .footer-social a,
    .lang-option,
    .portfolio-item,
    .service-card {
        -webkit-tap-highlight-color: transparent;
    }

    .btn,
    .lang-switch,
    .portfolio-item {
        -webkit-user-select: none;
        user-select: none;
    }

    .achievement,
    .dashboard-stat,
    .prestige-button,
    .shop-buy-btn,
    .shop-item {
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        user-select: none;
    }

    .achievements-content,
    .prestige-content,
    .shop-items,
    .stats-dashboard-content {
        -webkit-overflow-scrolling: touch;
    }

    .btn {
        min-height: 48px;
        min-width: 48px;
    }

    .btn-secondary:active {
        background-color: rgba(25, 50, 75, 0.1);
    }

    .btn:active {
        opacity: 0.8;
        transform: translateY(0);
    }

    .contact-email:active {
        opacity: 0.6;
    }

    .floating-icon.visible:active {
        transform: scale(0.95) translateY(-2px);
    }

    .footer-legal a,
    .footer-social a {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        min-height: 48px;
        min-width: 48px;
    }

    .footer-legal a:active,
    .footer-social a:active {
        opacity: 0.8;
    }

    .lang-option {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        min-height: 48px;
        min-width: 48px;
    }

    .portfolio-item:active,
    .service-card:active {
        opacity: 0.95;
        transform: translateY(-2px);
    }

    .achievement:active,
    .dashboard-stat:active {
        opacity: 0.95;
    }

    .achievement:hover,
    .dashboard-stat:hover,
    .shop-item:hover {
        transform: none;
    }

    .clicker-dot:active {
        opacity: 0.95;
        transform: scale(0.92);
    }

    .clicker-dot:hover {
        box-shadow: 0 20px 60px rgba(25, 50, 75, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
        transform: none;
    }

    .prestige-button,
    .shop-buy-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .prestige-button:active:not(:disabled) {
        opacity: 0.95;
        transform: scale(0.96);
    }

    .shop-buy-btn:active:not(:disabled) {
        opacity: 0.9;
        transform: scale(0.92);
    }

    .shop-item:active {
        opacity: 0.9;
        transform: scale(0.98);
    }

    body {
        -webkit-overflow-scrolling: touch;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::after,
    *::before {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .achievement-notification,
    .click-feedback,
    .clicker-dot,
    .particle {
        animation: none;
    }
}

@media (prefers-contrast: high) {
    .btn {
        border-width: 3px;
    }

    .clicker-dot,
    .achievements-panel,
    .prestige-panel,
    .shop-container,
    .stats-dashboard {
        border-width: 3px;
    }

    .achievement,
    .dashboard-stat,
    .shop-item {
        border-width: 2px;
    }

    .achievement-desc,
    .dashboard-stat-label,
    .footer-copyright,
    .footer-tagline,
    .hero-subtitle,
    .prestige-label,
    .prestige-warning,
    .service-card p,
    .shop-item-description {
        opacity: 0.95;
    }

    .prestige-button,
    .shop-buy-btn {
        border-width: 3px;
    }

    .stats-bar {
        border-width: 2px;
    }

    body {
        font-weight: 500;
    }
}

@media print {
    .achievement-notifications,
    .game-section #backgroundCanvas,
    .particle-system {
        display: none;
    }

    .clicker-area {
        left: auto;
        page-break-inside: avoid;
        position: relative;
        top: auto;
        transform: none;
    }

    .floating-icon,
    .footer-social,
    .hero-cta,
    .lang-switch {
        display: none;
    }

    .game-container {
        display: block;
        height: auto;
        page-break-inside: avoid;
    }

    .game-section {
        height: auto;
        min-height: auto;
    }

    .left-side-container,
    .right-side-container {
        left: auto;
        max-width: 100%;
        page-break-inside: avoid;
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
    }

    section {
        min-height: auto;
        padding: 2rem 0;
        page-break-inside: avoid;
    }

    body {
        background: white;
        color: black;
    }
}
