/* Letter Boxed Game - Game Component Styles */
body {
  font-family: 'Poppins', sans-serif;
  font-display: swap; /* ensures fallback text shows until font loads */
}

/* Full Page Preloader */
.page-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loading-text {
  color: #333;
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

.game-container{display:flex;flex-direction:column;align-items:center;width:100%;max-width:500px;min-height: 400px;margin:0 auto;padding:0 0 20px}.game-message{margin:15px 0;text-align:center;font-weight:500;color:#555;font-size:14px;min-height:20px}.game-board{position:relative;width:280px;height:280px;margin-bottom:15px}.current-word{font-size:24px;font-weight:700;margin:10px 0;text-align:center;min-height:30px;color:var(--text-color)}.words-section{margin-bottom:15px;text-align:center;color:#444;min-height: 50px;}.words-label{margin-bottom:4px;font-weight:500;font-size:14px}.words-list{margin-bottom:4px;font-size:14px}.letters-count{font-size:13px;color:#555}.game-controls{display:flex;justify-content:center;gap:10px;margin-bottom:15px}.control-btn{padding:8px 20px;background-color:var(--pink-button);border:none;border-radius:20px;font-weight:600;font-size:14px;cursor:pointer;color:#fff;box-shadow:0 2px 4px #0000001a;transition:background-color .2s}.control-btn:hover{background-color:var(--pink-button-hover)}.loading-container{display:flex;justify-content:center;align-items:center;min-height:400px;flex-direction:column;gap:20px;padding:30px}.loading-spinner{border:4px solid rgba(255,255,255,.3);border-radius:50%;border-top:4px solid var(--pink-button);width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-height: 700px){.game-board{width:240px;height:240px;margin-bottom:10px}.current-word{margin:8px 0;min-height:24px}.control-btn{padding:6px 15px}}@media (max-height: 600px){.game-board{width:220px;height:220px;margin-bottom:8px}.game-message{margin:10px 0}}.stats-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.stats-dialog{background-color:#fff;border-radius:10px;padding:30px;width:90%;max-width:500px;max-height:80vh;overflow-y:auto;position:relative;box-shadow:0 5px 15px #0000004d}.close-stats{position:absolute;top:15px;right:15px;background:none;border:none;font-size:24px;cursor:pointer;color:#666}.close-stats:hover{color:#333}.stats-dialog h2{color:var(--text-color);margin-bottom:20px;font-size:24px;text-align:center}.stats-dialog h3{color:var(--text-color);margin:25px 0 15px;font-size:18px;text-align:center}.stats-summary{display:flex;justify-content:space-between;gap:10px;margin:25px 0}.stats-item{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center}.stats-value{font-size:28px;font-weight:700;color:var(--text-color);margin-bottom:5px}.stats-label{font-size:12px;color:#666}.game-history{width:100%;margin-top:15px}.history-table{width:100%;border-collapse:collapse}.history-table th{padding:8px;text-align:left;border-bottom:1px solid #ddd;font-weight:600;color:#444}.history-table td{padding:8px;border-bottom:1px solid #eee}.no-games{padding:20px;text-align:center;color:#666;font-style:italic}.stats-btn{display:flex;align-items:center;gap:5px}.stats-icon{font-size:16px}@media (max-width: 480px){.stats-dialog{width:95%;padding:20px 15px}.stats-summary{flex-wrap:wrap}.stats-item{flex-basis:50%;margin-bottom:15px}.stats-value{font-size:24px}.history-table th,.history-table td{padding:6px;font-size:14px}}

/* ==================== GAME RESPONSIVE STYLES ==================== */

/* Large Desktop - 1400px to 1600px */
@media (max-width: 1600px) and (min-width: 1401px) {
  .game-container {
    max-width: 550px;
    padding: 20px;
  }
  
  .game-board {
    width: 320px;
    height: 320px;
  }
}

/* Desktop - 1200px to 1400px */
@media (max-width: 1400px) and (min-width: 1201px) {
  .game-container {
    max-width: 520px;
    padding: 15px;
  }
  
  .game-board {
    width: 300px;
    height: 300px;
  }
}

/* Medium Desktop - 992px to 1200px */
@media (max-width: 1200px) and (min-width: 993px) {
  .game-container {
    max-width: 500px;
    padding: 15px;
  }
  
  .game-board {
    width: 280px;
    height: 280px;
  }
  
  .current-word {
    font-size: 22px;
  }
}

/* Tablet Landscape - 768px to 992px */
@media (max-width: 992px) and (min-width: 769px) {
  .game-container {
    max-width: 480px;
    padding: 15px;
  }
  
  .game-board {
    width: 270px;
    height: 270px;
  }
  
  .current-word {
    font-size: 22px;
  }
  
  .game-message {
    font-size: 13px;
  }
  
  .control-btn {
    padding: 7px 18px;
    font-size: 13px;
  }
}

/* Tablet Portrait - 600px to 768px */
@media (max-width: 768px) and (min-width: 601px) {
  .game-container {
    max-width: 100%;
    padding: 20px 15px;
  }
  
  .game-board {
    width: 260px;
    height: 260px;
  }
  
  .current-word {
    font-size: 20px;
  }
  
  .game-message {
    font-size: 13px;
    margin: 12px 0;
  }
  
  .control-btn {
    padding: 7px 16px;
    font-size: 13px;
  }
  
  .words-label,
  .words-list {
    font-size: 13px;
  }
  
  .stats-dialog {
    width: 95%;
    padding: 25px;
  }
}

/* Mobile Large - 480px to 600px */
@media (max-width: 600px) and (min-width: 481px) {
  .game-container {
    max-width: 100%;
    padding: 15px 10px;
  }
  
  .game-board {
    width: 250px;
    height: 250px;
    margin-bottom: 12px;
  }
  
  .current-word {
    font-size: 20px;
    margin: 8px 0;
  }
  
  .game-message {
    font-size: 12px;
    margin: 10px 0;
  }
  
  .control-btn {
    padding: 7px 15px;
    font-size: 12px;
  }
  
  .game-controls {
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .words-section {
    margin-bottom: 12px;
  }
  
  .words-label,
  .words-list {
    font-size: 12px;
  }
  
  .letters-count {
    font-size: 12px;
  }
  
  .stats-dialog {
    width: 95%;
    padding: 20px;
  }
}

/* Mobile Medium - 400px to 480px */
@media (max-width: 480px) and (min-width: 401px) {
  .game-container {
    max-width: 100%;
    padding: 15px 10px;
  }
  
  .game-board {
    width: 240px;
    height: 240px;
    margin-bottom: 12px;
  }
  
  .current-word {
    font-size: 19px;
    margin: 8px 0;
    min-height: 26px;
  }
  
  .game-message {
    font-size: 12px;
    margin: 10px 0;
    min-height: 18px;
  }
  
  .control-btn {
    padding: 6px 14px;
    font-size: 12px;
  }
  
  .game-controls {
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .words-section {
    margin-bottom: 12px;
  }
  
  .words-label {
    font-size: 12px;
    margin-bottom: 3px;
  }
  
  .words-list {
    font-size: 12px;
    margin-bottom: 3px;
  }
  
  .letters-count {
    font-size: 11px;
  }
  
  .stats-dialog {
    width: 95%;
    padding: 20px;
    max-height: 85vh;
  }
  
  .loading-container {
    padding: 25px;
    gap: 15px;
  }
  
  .loading-spinner {
    width: 35px;
    height: 35px;
  }
}

/* Mobile Small - 320px to 400px */
@media (max-width: 400px) and (min-width: 321px) {
  .game-container {
    max-width: 100%;
    padding: 12px 8px;
  }
  
  .game-board {
    width: 220px;
    height: 220px;
    margin-bottom: 10px;
  }
  
  .current-word {
    font-size: 18px;
    margin: 7px 0;
    min-height: 24px;
  }
  
  .game-message {
    font-size: 11px;
    margin: 8px 0;
    min-height: 16px;
  }
  
  .control-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .game-controls {
    gap: 7px;
    margin-bottom: 10px;
  }
  
  .words-section {
    margin-bottom: 10px;
  }
  
  .words-label {
    font-size: 11px;
    margin-bottom: 3px;
  }
  
  .words-list {
    font-size: 11px;
    margin-bottom: 3px;
  }
  
  .letters-count {
    font-size: 10px;
  }
  
  .stats-dialog {
    width: 95%;
    padding: 18px;
    max-height: 85vh;
  }
  
  .loading-container {
    padding: 20px;
    gap: 12px;
  }
  
  .loading-spinner {
    width: 32px;
    height: 32px;
    border-width: 3px;
  }
}

/* Mobile Extra Small - 200px to 320px */
@media (max-width: 320px) {
  .game-container {
    max-width: 100%;
    padding: 10px 5px;
  }
  
  .game-board {
    width: 200px;
    height: 200px;
    margin-bottom: 8px;
  }
  
  .current-word {
    font-size: 16px;
    margin: 6px 0;
    min-height: 22px;
  }
  
  .game-message {
    font-size: 10px;
    margin: 6px 0;
    min-height: 14px;
  }
  
  .control-btn {
    padding: 5px 10px;
    font-size: 10px;
    border-radius: 15px;
  }
  
  .game-controls {
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }
  
  .words-section {
    margin-bottom: 8px;
  }
  
  .words-label {
    font-size: 10px;
    margin-bottom: 2px;
  }
  
  .words-list {
    font-size: 10px;
    margin-bottom: 2px;
  }
  
  .letters-count {
    font-size: 9px;
  }
  
  .stats-dialog {
    width: 98%;
    padding: 15px;
    max-height: 90vh;
    border-radius: 8px;
  }
  
  .loading-container {
    padding: 15px;
    gap: 10px;
  }
  
  .loading-spinner {
    width: 28px;
    height: 28px;
    border-width: 3px;
  }
}

/* Height-based responsive adjustments */
@media (max-height: 700px) {
  .game-container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .game-board {
    margin-bottom: 10px;
  }
  
  .current-word {
    margin: 6px 0;
  }
  
  .words-section {
    margin-bottom: 10px;
  }
  
  .game-controls {
    margin-bottom: 10px;
  }
}

@media (max-height: 600px) {
  .game-container {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  
  .game-board {
    margin-bottom: 8px;
  }
  
  .current-word {
    margin: 5px 0;
    font-size: 18px;
  }
  
  .game-message {
    margin: 6px 0;
    font-size: 11px;
  }
  
  .words-section {
    margin-bottom: 8px;
  }
  
  .game-controls {
    margin-bottom: 8px;
  }
  
  .control-btn {
    padding: 5px 12px;
    font-size: 11px;
  }
}

@media (max-height: 500px) {
  .game-board {
    width: 200px;
    height: 200px;
  }
  
  .current-word {
    font-size: 16px;
    margin: 4px 0;
  }
  
  .game-message {
    margin: 4px 0;
    font-size: 10px;
  }
  
  .control-btn {
    padding: 4px 10px;
    font-size: 10px;
  }
}

/* Combined small screen and height adjustments */
@media (max-width: 400px) and (max-height: 600px) {
  .game-board {
    width: 200px;
    height: 200px;
  }
  
  .current-word {
    font-size: 16px;
  }
  
  .game-message,
  .words-label,
  .words-list {
    font-size: 10px;
  }
}

@media (max-width: 320px) and (max-height: 500px) {
  .game-board {
    width: 180px;
    height: 180px;
  }
  
  .current-word {
    font-size: 14px;
    margin: 4px 0;
  }
  
  .game-message {
    font-size: 9px;
    margin: 4px 0;
  }
  
  .control-btn {
    padding: 4px 8px;
    font-size: 9px;
  }
  
  .words-label,
  .words-list {
    font-size: 9px;
  }
  
  .letters-count {
    font-size: 8px;
  }
}

/* ==================== SVG RESPONSIVE STYLES ==================== */

/* Base SVG styles for game board */
.game-board svg {
  width: 100%;
  height: 100%;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.game-board svg * {
  vector-effect: non-scaling-stroke;
}

.game-board text {
  font-family: 'Poppins', sans-serif;
  user-select: none;
}

}

.game-board .letter-button {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Large Desktop - 1400px to 1600px */
@media (max-width: 1600px) and (min-width: 1401px) {
  .game-board svg text {
    font-size: 24px;
    font-weight: 700;
  }
}

/* Desktop - 1200px to 1400px */
@media (max-width: 1400px) and (min-width: 1201px) {
  .game-board svg text {
    font-size: 22px;
    font-weight: 700;
  }
}

/* Medium Desktop - 992px to 1200px */
@media (max-width: 1200px) and (min-width: 993px) {
  .game-board svg text {
    font-size: 21px;
    font-weight: 700;
  }
}

/* Tablet Landscape - 768px to 992px */
@media (max-width: 992px) and (min-width: 769px) {
  .game-board svg text {
    font-size: 20px;
    font-weight: 700;
  }
}

/* Tablet Portrait - 600px to 768px */
@media (max-width: 768px) and (min-width: 601px) {
  .game-board svg text {
    font-size: 20px;
    font-weight: 700;
  }
  
  .game-board svg line {
    stroke-width: 2;
  }
}

/* Mobile Large - 480px to 600px */
@media (max-width: 600px) and (min-width: 481px) {
  .game-board svg text {
    font-size: 19px;
    font-weight: 700;
  }
  
  .game-board svg line {
    stroke-width: 2;
  }
  
  .game-board svg circle {
    r: 8;
  }
}

/* Mobile Medium - 400px to 480px */
@media (max-width: 480px) and (min-width: 401px) {
  .game-board svg text {
    font-size: 18px;
    font-weight: 700;
  }
  
  .game-board svg line {
    stroke-width: 2;
  }
  
  .game-board svg circle {
    r: 7;
  }
}

/* Mobile Small - 320px to 400px */
@media (max-width: 400px) and (min-width: 321px) {
  .game-board svg text {
    font-size: 17px;
    font-weight: 600;
  }
  
  .game-board svg line {
    stroke-width: 1.8;
  }
  
  .game-board svg circle {
    r: 6;
  }
}

/* Mobile Extra Small - 200px to 320px */
@media (max-width: 320px) {
  .game-board svg text {
    font-size: 15px;
    font-weight: 600;
  }
  
  .game-board svg line {
    stroke-width: 1.5;
  }
  
  .game-board svg circle {
    r: 4;
  }
}

/* Height-based SVG adjustments */
@media (max-height: 600px) {
  .game-board svg text {
    font-size: 17px;
  }
}

@media (max-height: 500px) {
  .game-board svg text {
    font-size: 15px;
  }
  
  .game-board svg line {
    stroke-width: 1.5;
  }
  
  .game-board svg circle {
    r: 4;
  }
}

/* Combined small screen and height adjustments */
@media (max-width: 400px) and (max-height: 600px) {
  .game-board svg text {
    font-size: 16px;
  }
  
  .game-board svg circle {
    r: 5;
  }
}

@media (max-width: 320px) and (max-height: 500px) {
  .game-board svg text {
    font-size: 14px;
    font-weight: 600;
  }
  
  .game-board svg line {
    stroke-width: 1.3;
  }
  
  .game-board svg circle {
    r: 3;
  }
}

/* Touch-friendly adjustments for mobile */
@media (max-width: 768px) {
  .game-board .letter-button {
    cursor: pointer;
  }
  
  .game-board svg circle {
    transition: r 0.2s ease;
  }
}

/* Ensure SVG doesn't overflow on very small screens */
@media (max-width: 250px) {
  .game-board {
    width: 180px;
    height: 180px;
  }
  
  .game-board svg text {
    font-size: 13px;
    font-weight: 600;
  }
  
  .game-board svg line {
    stroke-width: 1.2;
  }
  
  .game-board svg circle {
    r: 2;
  }
}

/* ==================== ENHANCED DOT/CIRCLE RESPONSIVE STYLES ==================== */

/* Base styles for letter dots/circles */
.game-board circle,
.game-board .letter-dot,
.game-board [class*="letter"] circle {
  transition: all 0.2s ease;
}

/* Large Desktop - 1400px to 1600px */
@media (max-width: 1600px) and (min-width: 1401px) {
  .game-board circle {
    r: 10;
  }
}

/* Desktop - 1200px to 1400px */
@media (max-width: 1400px) and (min-width: 1201px) {
  .game-board circle {
    r: 10;
  }
}

/* Medium Desktop - 992px to 1200px */
@media (max-width: 1200px) and (min-width: 993px) {
  .game-board circle {
    r: 10;
  }
}

/* Tablet Landscape - 768px to 992px */
@media (max-width: 992px) and (min-width: 769px) {
  .game-board circle {
    r: 8;
  }
}

/* Tablet Portrait - 600px to 768px */
@media (max-width: 768px) and (min-width: 601px) {
  .game-board circle {
    r: 8;
  }
}

/* Mobile Large - 480px to 600px */
@media (max-width: 600px) and (min-width: 481px) {
  .game-board circle {
    r: 5;
  }
}

/* Mobile Medium - 400px to 480px */
@media (max-width: 480px) and (min-width: 401px) {
  .game-board circle {
    r: 5;
  }
}

/* Mobile Small - 320px to 400px */
@media (max-width: 400px) and (min-width: 321px) {
  .game-board circle {
    r: 5;
  }
}

/* Mobile Extra Small - 280px to 320px */
@media (max-width: 320px) and (min-width: 281px) {
  .game-board circle {
    r: 5;
  }
}

/* Mobile Ultra Small - 240px to 280px */
@media (max-width: 280px) and (min-width: 241px) {
  .game-board circle {
    r: 5;
  }
}

/* Mobile Tiny - 200px to 240px */
@media (max-width: 240px) {
  .game-board circle {
    r: 5;
  }
}

/* Height-based circle adjustments for short screens */
@media (max-height: 700px) {
  .game-board circle {
    r: 8;
  }
}

@media (max-height: 600px) {
  .game-board circle {
    r: 8;
  }
}

@media (max-height: 500px) {
  .game-board circle {
    r: 5;
  }
}

@media (max-height: 400px) {
  .game-board circle {
    r: 5;
  }
}

/* Combined width + height adjustments for optimal sizing */
@media (max-width: 480px) and (max-height: 700px) {
  .game-board circle {
    r: 5;
  }
}

@media (max-width: 400px) and (max-height: 600px) {
  .game-board circle {
    r: 5;
  }
}

@media (max-width: 320px) and (max-height: 500px) {
  .game-board circle {
    r: 5;
  }
}

@media (max-width: 250px) and (max-height: 450px) {
  .game-board circle {
    r: 5;
  }
}

/* Touch target enhancement for mobile devices */
@media (max-width: 768px) and (hover: none) {
  .game-board circle {
    cursor: pointer;
  }
  
  .game-board .letter-button circle {
    r: calc(var(--circle-radius, 16) * 1.1);
  }
}

/* Ensure circles scale with their stroke width */
@media (max-width: 400px) {
  .game-board circle {
    stroke-width: 2;
  }
}

@media (max-width: 320px) {
  .game-board circle {
    stroke-width: 1.8;
  }
}

@media (max-width: 240px) {
  .game-board circle {
    stroke-width: 1.5;
  }
}

/* Fix pointer events - only disable for lines and rects, NOT circles */
.game-board line,
.game-board rect {
  pointer-events: none;
}

/* Ensure circles are clickable */
.game-board circle {
  pointer-events: all;
  cursor: pointer;
}

/* ==================== COMPLETION BANNER STYLES ==================== */

/* Completion overlay backdrop */
.completed-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.95) 0%, rgba(255, 182, 193, 0.95) 100%) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 2000 !important;
  animation: fadeIn 0.4s ease-out;
  backdrop-filter: blur(10px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Completion banner container */
.completed-banner {
  background: white;
  border-radius: 24px;
  padding: 40px 30px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative !important;
  overflow: visible !important;
  margin: auto !important;
}

@keyframes slideUp {
  from {
    transform: translateY(100px) scale(0.8);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Confetti background effect */
.completed-banner::before {
  content: '🎉✨🎊⭐🌟';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  font-size: 40px;
  letter-spacing: 20px;
  opacity: 0.15;
  animation: confetti 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes confetti {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Close button */
.completed-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  line-height: 1;
}

.completed-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
  transform: rotate(90deg);
}

/* Trophy icon */
.completed-icon {
  font-size: 80px;
  margin-bottom: 20px;
  animation: bounce 1s ease-in-out infinite;
}

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

/* Title */
.completed-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--pink-button);
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Subtitle */
.completed-subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 25px;
  font-weight: 500;
}

/* Stats section */
.completed-stats {
  background: linear-gradient(135deg, #fff5f8 0%, #ffe8f0 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 25px;
  border: 2px solid rgba(255, 105, 180, 0.2);
}

.completed-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 16px;
}

.completed-stat:last-child {
  margin-bottom: 0;
}

.stat-label {
  color: #666;
  font-weight: 500;
}

.stat-value {
  color: var(--pink-button);
  font-weight: 700;
  font-size: 18px;
}

/* Share section */
.completed-share {
  margin-top: 25px;
}

.share-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.share-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  flex: 1;
  min-width: 100px;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.share-btn:active {
  transform: translateY(0);
}

/* Facebook button */
.share-btn.facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
  color: white;
}

.share-btn.facebook:hover {
  background: linear-gradient(135deg, #0d5dbf 0%, #1877f2 100%);
}

/* Twitter button */
.share-btn.twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
  color: white;
}

.share-btn.twitter:hover {
  background: linear-gradient(135deg, #0c85d0 0%, #1da1f2 100%);
}

/* Copy button */
.share-btn.copy {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.share-btn.copy:hover {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

/* Play again button */
.play-again-btn {
  margin-top: 20px;
  padding: 14px 32px;
  background: var(--pink-button);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
  width: 100%;
}

.play-again-btn:hover {
  background: var(--pink-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 105, 180, 0.5);
}

.play-again-btn:active {
  transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 600px) {
  .completed-banner {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .completed-icon {
    font-size: 60px;
  }

  .completed-title {
    font-size: 26px;
  }

  .completed-subtitle {
    font-size: 16px;
  }

  .share-btn {
    min-width: 80px;
    padding: 10px 15px;
    font-size: 13px;
  }

  .completed-stats {
    padding: 15px;
  }

  .completed-stat {
    font-size: 14px;
  }

  .stat-value {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .completed-banner {
    padding: 25px 15px;
    border-radius: 16px;
  }

  .completed-icon {
    font-size: 50px;
    margin-bottom: 15px;
  }

  .completed-title {
    font-size: 22px;
  }

  .completed-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .share-buttons {
    gap: 8px;
  }

  .share-btn {
    min-width: 70px;
    padding: 9px 12px;
    font-size: 12px;
    gap: 5px;
  }

  .play-again-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}
