@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap";a{font-weight:500;color:var(--color-warm-blue);text-decoration:underline;text-decoration-color:transparent;transition:all .3s ease}a:hover{color:var(--color-deep-teal);text-decoration-color:var(--color-deep-teal)}a:focus{outline:2px solid var(--color-warm-blue);outline-offset:2px;border-radius:2px}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh;background-color:var(--color-cream);color:var(--color-charcoal)}h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);color:var(--color-charcoal);font-weight:600;line-height:1.2}h1{font-size:3.2rem;line-height:1.1;color:var(--color-deep-teal);margin-bottom:1rem}h2{font-size:2.4rem;color:var(--color-sage-green)}h3{font-size:1.8rem;color:var(--color-warm-blue)}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:var(--font-primary);background-color:var(--color-light-gray);color:var(--color-charcoal);cursor:pointer;transition:all .3s ease;min-height:44px}button:hover{background-color:var(--color-deep-teal);color:#fff;transform:translateY(-1px)}button:focus,button:focus-visible{outline:2px solid var(--color-warm-blue);outline-offset:2px}button:disabled{background-color:var(--color-soft-gray);color:var(--color-light-gray);cursor:not-allowed;transform:none}html{scroll-behavior:smooth}@media (max-width: 768px){:root{font-size:14px}h1{font-size:2.4rem}h2{font-size:2rem}}@media (prefers-contrast: high){:root{--color-charcoal: #000000;--color-cream: #ffffff;--color-deep-teal: #1a5a5b}}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:root{--color-deep-teal: #2C7A7B;--color-sage-green: #68A063;--color-warm-blue: #4A90E2;--color-soft-gold: #F4B942;--color-coral: #FF6B6B;--color-lavender: #A78BFA;--color-cream: #FAF8F3;--color-light-gray: #F0F4F8;--color-charcoal: #374151;--color-soft-gray: #6B7280;--color-success-green: #10B981;--color-warning-amber: #F59E0B;--color-error-red: #EF4444;--color-button-primary-hover: #245a5b;--color-button-secondary-hover: #ff5252;--color-link-hover: #3a7bc8;--color-sage-green-dark: #4b7548;--color-warm-blue-dark: #1e67bd}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center;background-color:var(--color-cream);color:var(--color-charcoal);position:relative;overflow-x:hidden}.header{position:absolute;top:2rem;right:2rem;z-index:10}.auth-buttons{display:flex;justify-content:flex-end;align-items:flex-start;position:fixed;gap:1rem;top:1rem;right:1rem;z-index:20}.btn-back-to-top{position:fixed;bottom:2rem;right:2rem;width:50px;height:50px;border-radius:50%;background-color:var(--color-deep-teal);color:#fff;border:none;cursor:pointer;box-shadow:0 4px 15px #2c7a7b4d;transition:all .3s ease;z-index:15;display:flex;align-items:center;justify-content:center;font-family:inherit;padding:8px}.btn-back-to-top:hover{background-color:var(--color-sage-green);transform:translateY(-3px);box-shadow:0 6px 20px #2c7a7b66}.btn-back-to-top:focus{outline:2px solid var(--color-warm-blue);outline-offset:2px}.btn-back-to-top:active{transform:translateY(-1px)}.arrow-icon{width:24px;height:24px;filter:brightness(0) invert(1);//transform: rotate(0deg);//transition: transform .3s ease}.particles-container{position:fixed;top:0;left:0;width:100vw;height:100vh;overflow:hidden;z-index:1;pointer-events:none;background:transparent}.particle{position:absolute;width:4px;height:4px;background:var(--color-deep-teal);border-radius:50%;animation:particle-float 15s linear infinite;opacity:.6}.particle:nth-child(2n){background:var(--color-sage-green);animation-duration:20s;animation-delay:-5s}.particle:nth-child(3n){background:var(--color-warm-blue);animation-duration:28s;animation-delay:-10s}.particle:nth-child(4n){width:2px;height:2px;animation-duration:25s}@keyframes particle-float{0%{transform:translateY(100vh) translate(0) rotate(0);opacity:.3}10%{opacity:.6}90%{opacity:.6}to{transform:translateY(-100px) translate(100px) rotate(360deg);opacity:0}}.hero-section{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;z-index:10}.logo{height:10em;padding:0;will-change:filter;transition:filter .3s;margin-bottom:-55px}@keyframes brain-float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}@media (prefers-reduced-motion: no-preference){.logo{animation:brain-float 3s ease-in-out infinite}}.card{padding:2em}.subtitle{font-size:1.3rem;line-height:1.6;color:var(--color-soft-gray);max-width:650px;margin:0 auto 2rem;text-align:center;font-weight:400}.subtitle em{color:var(--color-deep-teal);font-style:italic;font-weight:600}.learn-more-section{margin-bottom:2rem}.btn-learn-more{padding:.75rem 1.5rem;font-size:1rem;border:2px solid var(--color-deep-teal);background-color:#2c7a7bcc;color:#fff;border-radius:8px;cursor:pointer;font-weight:600;transition:all .3s ease;font-family:inherit}.btn-learn-more:hover{background-color:var(--color-deep-teal);color:#fff;transform:translateY(-2px)}.btn-learn-more:focus{outline:2px solid var(--color-warm-blue);outline-offset:2px}.btn-login,.btn-signup{padding:.5rem 1rem;font-size:.9rem;border:none;border-radius:6px;cursor:pointer;font-weight:600;transition:background-color .3s ease,transform .2s ease;font-family:inherit}.btn-login{background-color:var(--color-sage-green);color:#fff}.btn-login:hover{background-color:var(--color-sage-green-dark);transform:translateY(-2px)}.btn-signup{background-color:var(--color-warm-blue);color:#fff}.btn-signup:hover{background-color:var(--color-warm-blue-dark);transform:translateY(-2px)}.btn-login:focus,.btn-signup:focus{outline:2px solid var(--color-warm-blue);outline-offset:2px}.button-group{display:flex;justify-content:center;gap:1rem;margin-bottom:2rem}.read-the-docs{color:var(--color-soft-gray);font-weight:400}.tiles-section{padding:5rem 2rem;min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;z-index:10}.tiles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;max-width:1200px;width:100%}.tile{height:240px;cursor:pointer;perspective:1000px;transition:all .4s ease}.tile:hover{transform:scale(1.02)}.tile-inner{position:relative;width:100%;height:100%;text-align:center;transition:transform .8s cubic-bezier(.4,0,.2,1);transform-style:preserve-3d}.tile.flipped .tile-inner{transform:rotateY(180deg)}.tile-front,.tile-back{position:absolute;width:100%;height:100%;backface-visibility:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem;border-radius:12px;box-shadow:0 4px 20px #00000026;transition:all .4s ease;font-family:inherit;border:2px solid var(--color-deep-teal);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tile-front{background:#2c7a7bd9}.tile-back{background:#68a063d9;transform:rotateY(180deg)}.tile:focus-within .tile-front,.tile:focus-within .tile-back{outline:2px solid var(--color-warm-blue);outline-offset:2px}.tile-front h3{font-size:1.3rem;font-weight:600;margin:0;line-height:1.2;color:#fff;text-align:center}.tile-back p{font-size:.9rem;line-height:1.35;margin:0;text-align:center;color:#fff;font-weight:400;overflow:hidden;display:-webkit-box;-webkit-line-clamp:10;-webkit-box-orient:vertical}@media (max-width: 768px){.tiles-grid{grid-template-columns:1fr;gap:1.5rem;padding:0 1rem}.tile{height:220px}.tile:hover{transform:scale(1.02)}.tile-front h3{font-size:1.1rem;line-height:1.2}.tile-back p{font-size:.8rem;line-height:1.25;-webkit-line-clamp:11}.tiles-section{padding:4rem 1rem}.tile-front,.tile-back{padding:1rem}}import "../styles/App.css" :root{--color-deep-teal: #2C7A7B;--color-sage-green: #68A063;--color-warm-blue: #4A90E2;--color-soft-gold: #F4B942;--color-coral: #FF6B6B;--color-lavender: #A78BFA;--color-cream: #FAF8F3;--color-light-gray: #F0F4F8;--color-charcoal: #374151;--color-soft-gray: #6B7280;--color-success-green: #10B981;--color-warning-amber: #F59E0B;--color-error-red: #EF4444;--color-button-primary-hover: #245a5b;--color-button-secondary-hover: #ff5252;--color-link-hover: #3a7bc8}html,body{margin:0;padding:0;box-sizing:border-box;width:100%;overflow-x:hidden}*,*:before,*:after{box-sizing:inherit}.survey-container{max-width:550px;min-width:550px;width:550px;margin:0 auto;padding:2rem;background-color:var(--color-cream);color:var(--color-charcoal);min-height:100vh;box-sizing:border-box}.survey-header{text-align:center;margin-bottom:3rem;border-bottom:2px solid var(--color-light-gray);padding-bottom:2rem;width:100%}.survey-title{font-size:2.5rem;color:var(--color-deep-teal);margin-bottom:1rem;font-weight:700;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.survey-subtitle{font-size:1.2rem;color:var(--color-soft-gray);max-width:600px;margin:0 auto;line-height:1.5;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.progress-container{width:100%;margin-bottom:2rem}.progress-bars{display:flex;gap:8px;width:100%;margin-bottom:.5rem}.progress-bar{flex:1;height:8px;background-color:var(--color-light-gray);border-radius:4px;overflow:hidden;position:relative}.progress-fill{height:100%;background:var(--color-sage-green);border-radius:4px;transition:width .3s ease;width:0%}.progress-bar.active .progress-fill,.progress-bar.completed .progress-fill{width:100%}.progress-text{text-align:center;font-size:.9rem;color:var(--color-soft-gray);margin-top:.5rem}.survey-form{background-color:#fff;padding:3rem;border-radius:12px;box-shadow:0 4px 6px #0000000d;margin-bottom:2rem;width:100%;max-width:100%;box-sizing:border-box;overflow-wrap:break-word}.question-group{margin-bottom:2.5rem;border-bottom:1px solid var(--color-light-gray);padding-bottom:2rem;width:100%;max-width:100%}.question-group:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}.question-title{font-size:1.3rem;color:var(--color-charcoal);margin-bottom:1.5rem;font-weight:600;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;line-height:1.4}.question-description{font-size:1rem;color:var(--color-soft-gray);margin-bottom:1.5rem;line-height:1.5;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.form-group{margin-bottom:1.5rem;width:100%;max-width:100%}.form-label{display:block;font-weight:500;color:var(--color-charcoal);margin-bottom:.5rem;font-size:1rem;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;line-height:1.4}.form-label.required:after{content:" *";color:var(--color-error-red)}.form-input,.form-select,.form-textarea{width:100%;max-width:100%;min-width:0;padding:.75rem;border:2px solid var(--color-light-gray);border-radius:6px;font-size:1rem;font-family:inherit;background-color:#fff;transition:border-color .3s ease;box-sizing:border-box;word-wrap:break-word}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:var(--color-deep-teal)}.form-select{cursor:pointer}.radio-group,.checkbox-group{display:flex;flex-direction:column;gap:.75rem;width:100%;max-width:100%}.radio-group.inline,.checkbox-group.inline{flex-direction:row;flex-wrap:wrap;gap:1.5rem}.radio-option,.checkbox-option{display:flex;align-items:flex-start;gap:.5rem;cursor:pointer;padding:.5rem;border-radius:6px;transition:background-color .2s ease;width:100%;max-width:100%;word-wrap:break-word;overflow-wrap:break-word}.radio-option:hover,.checkbox-option:hover{background-color:var(--color-light-gray)}.radio-option input[type=radio],.checkbox-option input[type=checkbox]{margin:0;width:18px;height:18px;min-width:18px;cursor:pointer;accent-color:var(--color-deep-teal);flex-shrink:0}.radio-option label,.checkbox-option label{margin:0;cursor:pointer;font-weight:400;line-height:1.4;word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;flex:1;min-width:0}.form-textarea{resize:vertical;min-height:100px}.custom-input-group{margin-top:.75rem;width:100%;max-width:100%}.survey-navigation{display:flex;justify-content:space-between;align-items:center;margin-top:3rem;padding-top:2rem;border-top:1px solid var(--color-light-gray);width:100%}.nav-button{padding:.75rem 1.5rem;font-size:1rem;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .3s ease;font-family:inherit;white-space:nowrap}.nav-button:disabled{opacity:.5;cursor:not-allowed}.nav-button.primary{background-color:var(--color-deep-teal);color:#fff}.nav-button.primary:hover:not(:disabled){background-color:var(--color-button-primary-hover);transform:translateY(-2px)}.nav-button.secondary{background-color:transparent;color:var(--color-soft-gray);border:2px solid var(--color-light-gray)}.nav-button.secondary:hover:not(:disabled){background-color:var(--color-light-gray);color:var(--color-charcoal)}.nav-button:focus{outline:2px solid var(--color-warm-blue);outline-offset:2px}.form-group.error .form-input,.form-group.error .form-select,.form-group.error .form-textarea{border-color:var(--color-error-red)}.error-message{color:var(--color-error-red);font-size:.875rem;margin-top:.25rem;word-wrap:break-word}.success-message{background-color:var(--color-success-green);color:#fff;padding:1rem;border-radius:8px;margin-bottom:2rem;text-align:center;word-wrap:break-word}@media (max-width: 900px){.survey-container{max-width:100%;min-width:0;width:100%;padding:1rem}.survey-form{padding:1.5rem}.survey-title{font-size:2rem}.radio-group.inline,.checkbox-group.inline{flex-direction:column;gap:.75rem}.survey-navigation{flex-direction:column;gap:1rem}.nav-button{width:100%}.checkbox-option{padding:.75rem .5rem}}.games-hub{min-height:100vh;background:linear-gradient(135deg,#f8fafc,#e2e8f0)}.container{max-width:1200px;margin:0 auto;padding:2rem 1rem}.header{text-align:center;margin-bottom:4rem;padding-bottom:2rem}.title{font-family:var(--font-heading);font-size:3.5rem;font-weight:700;color:var(--color-charcoal);margin-bottom:1.5rem;line-height:1.1}.subtitle{font-size:1.25rem;color:var(--color-soft-gray);max-width:600px;margin:0 auto 2rem;line-height:1.5}.games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:3rem}@media (min-width: 768px){.games-grid{grid-template-columns:repeat(2,1fr)}}.game-card{background:#fff;border-radius:1rem;padding:2rem;box-shadow:0 4px 6px #0000000d;transition:all .3s ease;position:relative;overflow:hidden}.game-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--color-deep-teal),var(--color-sage-green));opacity:0;transition:opacity .3s ease}.game-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px #0000001a}.game-card:hover:before{opacity:1}.game-icon{font-size:4rem;margin-bottom:1rem;display:block}.game-card h3{font-family:var(--font-heading);font-size:1.5rem;font-weight:600;color:var(--color-charcoal);margin-bottom:.75rem}.game-card p{color:var(--color-soft-gray);font-size:1rem;line-height:1.5;margin-bottom:1.5rem}.stats{background-color:var(--color-light-gray);border-radius:.5rem;padding:1rem;margin-bottom:1.5rem}.stat{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:var(--color-soft-gray);margin-bottom:.5rem}.stat:last-child{margin-bottom:0}.stat span:last-child{font-weight:500;color:var(--color-charcoal)}.play-btn{display:block;width:100%;padding:.75rem 1.5rem;background:linear-gradient(135deg,var(--color-warm-blue),var(--color-deep-teal));color:#fff;text-decoration:none;text-align:center;border-radius:.5rem;font-weight:600;font-size:1rem;transition:all .3s ease;box-shadow:0 2px 4px #0000001a}.play-btn:hover{background:linear-gradient(135deg,var(--color-deep-teal),var(--color-sage-green));transform:translateY(-2px);box-shadow:0 6px 20px #00000026;color:#fff;text-decoration:none}.play-btn:focus{outline:2px solid var(--color-warm-blue);outline-offset:2px}.footer{text-align:center;padding-top:2rem;border-top:1px solid var(--color-light-gray)}.footer p{color:var(--color-soft-gray);font-size:1rem;margin:0}.popup-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.popup-content{background:#fff;border-radius:1rem;padding:2rem;max-width:400px;width:100%;text-align:center;box-shadow:0 20px 40px #0003;animation:popupSlideIn .3s ease}@keyframes popupSlideIn{0%{opacity:0;transform:translateY(-50px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}.popup-icon{font-size:4rem;margin-bottom:1rem}.popup-title{font-family:var(--font-heading);font-size:2rem;font-weight:700;color:var(--color-charcoal);margin-bottom:1rem}.popup-message{color:var(--color-soft-gray);font-size:1rem;line-height:1.5;margin-bottom:2rem}.popup-close-btn{background:linear-gradient(135deg,var(--color-warm-blue),var(--color-deep-teal));color:#fff;border:none;padding:.75rem 2rem;border-radius:.5rem;font-weight:600;font-size:1rem;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #0000001a}.popup-close-btn:hover{background:linear-gradient(135deg,var(--color-deep-teal),var(--color-sage-green));transform:translateY(-2px);box-shadow:0 6px 20px #00000026}.hidden{display:none}@media (max-width: 768px){.container{padding:1rem}.title{font-size:2.5rem}.subtitle{font-size:1.125rem}.games-grid{grid-template-columns:1fr;gap:1.5rem}.game-card{padding:1.5rem}.popup-content{margin:1rem;padding:1.5rem}.popup-title{font-size:1.75rem}}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.popup-content{animation:none}}@media (prefers-contrast: high){:root{--color-charcoal: #000000;--color-cream: #ffffff;--color-deep-teal: #1a5a5b}.game-card{border:2px solid var(--color-charcoal)}}:root{--font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-heading: "Merriweather", Georgia, serif;--font-system: system-ui, -apple-system, sans-serif;--color-deep-teal: #2C7A7B;--color-sage-green: #68A063;--color-warm-blue: #4A90E2;--color-soft-gold: #F4B942;--color-coral: #FF6B6B;--color-lavender: #A78BFA;--color-cream: #FAF8F3;--color-light-gray: #F0F4F8;--color-charcoal: #374151;--color-soft-gray: #6B7280;--color-success-green: #10B981;--color-warning-amber: #F59E0B;--color-error-red: #EF4444;font-family:var(--font-primary);line-height:1.6;font-weight:400;font-size:16px;color-scheme:light;color:var(--color-charcoal);background-color:var(--color-cream);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh;background:var(--color-cream);color:var(--color-charcoal);font-family:var(--font-primary)}*{box-sizing:border-box}.memory-container{min-height:100vh;max-width:1200px;margin:0 auto;padding:2rem 1rem}.memory-header{text-align:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid var(--color-light-gray)}.memory-title{font-family:var(--font-heading);font-size:3rem;font-weight:700;color:var(--color-deep-teal);margin-bottom:.5rem;line-height:1.1}.memory-subtitle{font-size:1.2rem;color:var(--color-soft-gray);margin:0;line-height:1.5}.memory-game-container{background:#fff;border-radius:1rem;padding:2rem;box-shadow:0 4px 6px #0000000d;margin-bottom:2rem}.memory-game-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.memory-back-btn{background-color:var(--color-light-gray);color:var(--color-warm-blue);border:none;padding:.75rem 1.5rem;border-radius:.5rem;font-weight:500;cursor:pointer;transition:all .3s ease;text-decoration:none;display:inline-flex;align-items:center;gap:.5rem}.memory-back-btn:hover{background-color:var(--color-warm-blue);color:#fff;transform:translateY(-2px)}.memory-game-header h2{font-family:var(--font-heading);color:var(--color-charcoal);margin:0;font-size:1.5rem}.memory-game-stats{display:flex;gap:1.5rem;flex-wrap:wrap}.memory-stat-item{background-color:var(--color-light-gray);padding:.5rem 1rem;border-radius:.5rem;font-size:.9rem;color:var(--color-soft-gray);font-weight:500}.memory-stat-item span{color:var(--color-charcoal);font-weight:600}.memory-difficulty{display:flex;align-items:center;gap:1rem;margin-bottom:2rem;padding:1rem;background-color:var(--color-light-gray);border-radius:.5rem}.memory-difficulty label{font-weight:500;color:var(--color-charcoal)}.memory-difficulty select{padding:.5rem;border:2px solid var(--color-light-gray);border-radius:.375rem;background-color:#fff;color:var(--color-charcoal);font-family:var(--font-primary);cursor:pointer;transition:border-color .3s ease}.memory-difficulty select:focus{outline:none;border-color:var(--color-warm-blue)}.memory-diff-btn{background:linear-gradient(135deg,var(--color-warm-blue),var(--color-deep-teal));color:#fff;border:none;padding:.5rem 1rem;border-radius:.375rem;font-weight:500;cursor:pointer;transition:all .3s ease}.memory-diff-btn:hover{background:linear-gradient(135deg,var(--color-deep-teal),var(--color-sage-green));transform:translateY(-1px)}.memory-grid{display:grid;gap:1rem;margin:2rem 0;justify-content:center}.easy-grid,.hard-grid{grid-template-columns:repeat(4,80px);grid-template-rows:repeat(4,80px)}.memory-card{width:80px;height:80px;background:linear-gradient(135deg,var(--color-cream),white);border:2px solid var(--color-light-gray);border-radius:.5rem;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;cursor:pointer;transition:all .3s ease;-webkit-user-select:none;user-select:none;box-shadow:0 2px 4px #0000001a}.memory-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026;border-color:var(--color-warm-blue)}.memory-card.flipped{background:linear-gradient(135deg,var(--color-warm-blue),var(--color-deep-teal));color:#fff;border-color:var(--color-deep-teal);transform:rotateY(180deg)}.memory-card.matched{background:linear-gradient(135deg,var(--color-success-green),var(--color-sage-green));color:#fff;border-color:var(--color-success-green);cursor:default;animation:matchPulse .6s ease}@keyframes matchPulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.memory-message{text-align:center;padding:2rem;margin-top:2rem;border-radius:1rem;animation:slideInUp .5s ease}.memory-message.success{background:linear-gradient(135deg,var(--color-success-green),var(--color-sage-green));color:#fff}.memory-message h3{font-family:var(--font-heading);font-size:2rem;margin-bottom:1rem;color:#fff}.memory-message p{font-size:1.1rem;margin:.5rem 0;line-height:1.5}@keyframes slideInUp{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.memory-container{padding:1rem}.memory-title{font-size:2.5rem}.memory-subtitle{font-size:1.1rem}.memory-game-container{padding:1.5rem}.memory-game-header{flex-direction:column;align-items:stretch;text-align:center}.memory-game-stats{justify-content:center;flex-wrap:wrap}.memory-difficulty{flex-direction:column;align-items:stretch;text-align:center;gap:.75rem}.easy-grid,.hard-grid{grid-template-columns:repeat(4,70px);grid-template-rows:repeat(4,70px)}.memory-card{width:70px;height:70px;font-size:1.5rem}.memory-message h3{font-size:1.75rem}.memory-message p{font-size:1rem}}@media (max-width: 480px){.easy-grid,.hard-grid{grid-template-columns:repeat(4,60px);grid-template-rows:repeat(4,60px);gap:.5rem}.memory-card{width:60px;height:60px;font-size:1.2rem}.memory-stat-item{padding:.375rem .75rem;font-size:.8rem}}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.memory-card.flipped{transform:none}.memory-message{animation:none}}@media (prefers-contrast: high){:root{--color-charcoal: #000000;--color-cream: #ffffff;--color-deep-teal: #1a5a5b}.memory-card{border-width:3px}}*:focus{outline:2px solid var(--color-warm-blue);outline-offset:2px}::selection{background-color:var(--color-lavender);color:var(--color-charcoal)}
