/* =========================================
   Daily Scratch-Off Plugin - Refactored CSS
   Version: 2.6.5 - Visual Win Display Enhancements
   ========================================= */

/* Version 2.6.5 Updates:
 * - Added .dst-bones-animation flex column layout for improved bones display
 * - Added .dst-bones-first-line for horizontal bones amount layout  
 * - Added .dst-bones-tagline for clean tagline separation
 * - Enhanced visual hierarchy for win result display
 * - Maintained all existing responsive design and animations
 */

 /* ===== FONTS & IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Rubik:wght@600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root { --primary: #EB232D; --primary-dark: #d11f28; --secondary: #FFFFFF; --success: #10B981; --danger: #EF4444; --warning: #F59E0B; --gray-50: #F9FAFB; --gray-100: #F3F4F6; --gray-200: #E5E7EB; --gray-300: #D1D5DB; --gray-400: #9CA3AF; --gray-500: #6B7280; --gray-600: #4B5563; --gray-700: #374151; --gray-800: #1F2937; --gray-900: #111827; --spacing-xs: 4px; --spacing-sm: 8px; --spacing-md: 12px; --spacing-lg: 16px; --spacing-xl: 20px; --spacing-2xl: 24px; --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --font-display: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1); --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 20px; --radius-full: 9999px; --text-xs: clamp(10px, 2.5vw, 12px); --text-sm: clamp(12px, 3vw, 14px); --text-base: clamp(14px, 3.5vw, 16px); --text-lg: clamp(16px, 4vw, 18px); --text-xl: clamp(18px, 4.5vw, 20px); --text-2xl: clamp(20px, 5vw, 24px); --text-3xl: clamp(24px, 6vw, 30px); }

/* ===== GLOBAL RESET ===== */
* { box-sizing: border-box; }
.dst-main-container { width: 100%; font-family: var(--font-main); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; }
body.dst-no-scroll { overflow: hidden; height: 100vh; }

/* ===== COMPACT BUTTON SYSTEM ===== */
.dst-compact-button-wrapper { position: relative; width: 100%; max-width: 600px; margin: 0 auto; }
.dst-compact-button { display: flex; flex-direction: column; width: 100%; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: var(--spacing-lg); border: 0; border-radius: var(--spacing-md); cursor: pointer; transition: all 0.2s ease; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.dst-compact-button:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.dst-compact-button::before { content: ''; position: absolute; top: 0; left: -100%; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.6s ease; z-index: 1; }
.dst-compact-button:hover::before { left: 100%; }
.dst-compact-button.has-unclaimed { background: linear-gradient(135deg, #ff6b6b, #ee5a24); box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4); }
.dst-compact-button.pulsing { animation: pulse 2s infinite; }

/* ===== BUTTON CONTENT ===== */
.dst-button-content { display: flex; align-items: center; justify-content: flex-start; gap: 6px; z-index: 2; position: relative; }
.dst-button-icon { width: 50px; height: 50px; flex-shrink: 0; transform: rotate(-15deg); margin-right: 2px; }
.dst-button-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dst-button-text { flex: 1; text-align: center; min-width: 0; }
.dst-button-text h3 { margin: 0 0 var(--spacing-xs); font-size: var(--text-xl); font-family: var(--font-display); font-weight: 800; line-height: 1.2; color: #fff; white-space: nowrap; }
.dst-button-text p { margin: 0; font-size: var(--text-sm); color: rgba(255,255,255,0.9); font-weight: 600; line-height: 1.3; white-space: nowrap; }
.dst-countdown-compact { font-weight: 800; font-family: var(--font-display); white-space: nowrap; }
.dst-button-arrow { display: none; }

/* ===== DIVIDERS & BALANCE ===== */
.dst-button-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(9, 173, 238, 0.3), transparent); margin: var(--spacing-md) 0; position: relative; z-index: 2; }
.dst-balance-display { margin-top: var(--spacing-md); padding-top: var(--spacing-md); border-top: 1px solid rgba(255,255,255,0.2); text-align: center; font-weight: 700; font-size: var(--text-sm); z-index: 2; position: relative; margin-bottom: var(--spacing-md); }

/* ===== WINNERS BUTTON ===== */
.dst-winners-button { display: flex; align-items: center; justify-content: center; gap: var(--spacing-xs); padding: var(--spacing-xs) var(--spacing-md); background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); border-radius: var(--radius-full); cursor: pointer; font-size: var(--text-xs); font-weight: 600; transition: all 0.2s ease; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.2); z-index: 2; position: relative; align-self: center; width: fit-content; white-space: nowrap; }
.dst-winners-button:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); color: white; transform: translateY(-1px); }

/* ===== UNCLAIMED WINNINGS ===== */
.dst-unclaimed-notice { background: linear-gradient(135deg, #ff6b6b, #ee5a24); border: 2px solid #ff9999; border-radius: 10px; padding: 15px; margin-bottom: 20px; text-align: center; font-weight: bold; font-size: 16px; color: white; box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3); animation: glow 2s infinite alternate; }
.dst-unclaimed-success { background: linear-gradient(135deg, #2ecc71, #27ae60); border-radius: 15px; padding: 30px; text-align: center; color: white; box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3); animation: slideInUp 0.5s ease-out; }

/* ===== MODAL SYSTEM ===== */
.dst-game-modal, .dst-winners-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: var(--spacing-lg); }
.dst-modal-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.75); z-index: 1; }
.dst-modal-content { position: relative; z-index: 2; background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 500px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-xl); }
.dst-game-modal .dst-modal-content { max-width: 550px; }
.dst-modal-header { padding: var(--spacing-lg); border-bottom: 1px solid #e9ecef; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; background: #f8f9fa; }
.dst-modal-header h2 { margin: 0; font-size: var(--text-2xl); color: #333; font-family: var(--font-display); font-weight: 700; }
.dst-close-button { background: #333; color: #fff; width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.2s ease; flex-shrink: 0; }
.dst-close-button:hover { background: #000; transform: scale(1.1); }
.dst-game-content, .dst-winners-content { flex: 1; overflow-y: auto; overflow-x: hidden; }
.dst-game-content::-webkit-scrollbar, .dst-winners-content::-webkit-scrollbar { width: 6px; }
.dst-game-content::-webkit-scrollbar-track, .dst-winners-content::-webkit-scrollbar-track { background: #f1f1f1; }
.dst-game-content::-webkit-scrollbar-thumb, .dst-winners-content::-webkit-scrollbar-thumb { background: #888; border-radius: 3px; }

/* ===== TICKET GAME AREA ===== */
.dst-ticket-card { padding: var(--spacing-lg); }
.dst-ticket { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: var(--radius-md); padding: var(--spacing-lg); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.dst-ticket::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); animation: dstShimmer 3s infinite; }
.dst-ticket-header { text-align: center; color: #fff; position: relative; z-index: 2; }
.dst-logo { font-size: var(--text-2xl); font-family: var(--font-display); font-weight: 800; margin-bottom: var(--spacing-xs); }
.dst-subtitle { font-size: var(--text-sm); opacity: 0.9; }
.dst-ticket-footer { text-align: center; font-weight: 700; font-size: var(--text-xs); margin-top: var(--spacing-md); color: var(--gray-800); font-family: var(--font-display); }
.dst-win-condition { margin-bottom: var(--spacing-xs); }
.dst-serial { opacity: 0.7; font-size: var(--text-xs); }

/* ===== SCRATCH INSTRUCTION ===== */
.dst-scratch-instruction { text-align: center; font-weight: 700; color: var(--gray-800); font-size: var(--text-sm); background: rgba(255,255,255,0.95); padding: var(--spacing-md); border-radius: var(--radius-sm); border: 2px solid var(--primary); box-shadow: var(--shadow-md); margin-bottom: var(--spacing-md); font-family: var(--font-display); white-space: nowrap; }
.dst-scratch-instruction.ready { border-color: var(--success); background: rgba(16, 185, 129, 0.08); animation: dstPulseGlow 1.5s infinite; }

/* ===== SCRATCH AREA SYSTEM ===== */
.dst-scratch-area { background: rgba(255,255,255,0.95); border-radius: var(--radius-md); margin: var(--spacing-lg) 0; position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; padding: 10px; }
.dst-full-scratch-container { position: relative; width: 100%; }
.dst-scratch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-sm); width: 100%; max-width: 320px; margin: var(--spacing-lg) auto; position: relative; z-index: 2; }
.dst-scratch-cell { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--gray-100); transition: transform 0.2s ease; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.dst-prize-reveal { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; pointer-events: none; background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); }
.dst-symbol { font-size: clamp(24px, 8vw, 48px); line-height: 1; }

/* ===== SCRATCH SURFACE OVERLAY ===== */
.dst-full-scratch-cover { position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; z-index: 10 !important; background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 50%, #C0C0C0 100%) !important; background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.3) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(255,255,255,0.2) 0%, transparent 50%) !important; cursor: crosshair !important; }
.dst-scratch-surface-content { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; padding: var(--spacing-lg); }
.dst-scratch-logo { max-width: 80px; max-height: 60px; object-fit: contain; opacity: 0.7; }
.dst-scratch-text { color: #666; font-weight: bold; font-size: var(--text-xs); margin-top: var(--spacing-sm); text-align: center; text-shadow: 1px 1px 2px rgba(255,255,255,0.5); }
.dst-scratch-canvas { position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; z-index: 2 !important; touch-action: none !important; cursor: crosshair !important; }
.dst-scratch-hint { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(32px, 8.4vw, 96px); font-weight: bold; color: rgba(0, 0, 0, 0.7); text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; pointer-events: none; z-index: 15; text-align: center; white-space: nowrap; animation: scratchPulse 2s infinite; }

/* ===== BUTTON SYSTEM ===== */
.dst-scratch-button { width: 100%; background: linear-gradient(135deg, var(--success) 0%, #059669 100%); color: #fff; border: 0; padding: var(--spacing-md) var(--spacing-lg); border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); cursor: pointer; transition: all 0.2s ease; box-shadow: var(--shadow-md); margin: var(--spacing-lg) 0; white-space: nowrap; }
.dst-scratch-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.dst-scratch-button:disabled { opacity: 0.6; cursor: not-allowed; }
.dst-scratch-button.has-unclaimed { background: linear-gradient(135deg, #ff6b6b, #ee5a24); box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4); }

/* ===== COOLDOWN STATE ===== */
.dst-cooldown-card { background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%); border-radius: var(--radius-lg); padding: var(--spacing-2xl) var(--spacing-lg); text-align: center; position: relative; }
.dst-cooldown-header { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gray-700); color: #fff; padding: var(--spacing-xs) var(--spacing-md); border-radius: var(--radius-full); font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); white-space: nowrap; }
.dst-countdown { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); color: var(--primary); margin: var(--spacing-md) 0; }

/* ===== PRIZE RESULT SYSTEM ===== */
.dst-prize-result { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 95%; max-width: 400px; margin: 0 auto; background: #F8FBF6; border-radius: var(--radius-lg); padding: var(--spacing-xl); box-shadow: var(--shadow-xl); text-align: center; border: 3px solid var(--success); }
.dst-prize-result.try-again { border-color: var(--danger); }
.dst-prize-result h3 { margin: 0 0 var(--spacing-md); font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); color: var(--gray-900); line-height: 1.2; }
.dst-prize-text { font-size: var(--text-base); color: var(--gray-700); margin: 0 0 var(--spacing-lg); line-height: 1.4; word-wrap: break-word; hyphens: auto; }

/* ===== CLAIM BUTTON SYSTEM ===== */
.dst-claim-button { width: 100%; max-width: 300px; margin: 0 auto var(--spacing-md); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; border: 0; padding: var(--spacing-md) var(--spacing-lg); border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); text-align: center; cursor: pointer; transition: all 0.2s ease; box-shadow: var(--shadow-md); line-height: 1.3; }
.dst-claim-button:hover:not(:disabled) { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.dst-claim-button:disabled { opacity: 0.6; cursor: not-allowed; }
.dst-claim-button.dst-claimed { background: linear-gradient(135deg, var(--success) 0%, #059669 100%); animation: dstClaimSuccess 0.6s ease; }
.dst-claim-main { font-size: var(--text-sm); font-weight: bold; margin-bottom: var(--spacing-xs); line-height: 1.2; }
.dst-claim-sub { font-size: var(--text-xs); font-weight: normal; opacity: 0.9; line-height: 1.2; }
.dst-countdown-number { display: inline-block; min-width: 24px; padding: 2px 6px; background: rgba(255, 255, 255, 0.3); border-radius: 4px; font-weight: bold; font-size: var(--text-base); color: #FFD700; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); }
.dst-countdown-number.dst-urgent { color: #ff0000; animation: urgentPulse 0.5s infinite; }
.dst-pulse-urgent { animation: buttonPulse 0.5s infinite; background: linear-gradient(45deg, #FFD700, #FF6B6B) !important; }
.dst-claiming { font-size: var(--text-sm); font-weight: normal; line-height: 1.3; }

/* ===== DOGBONES ANIMATION ===== */
.dst-bones-reward { margin: var(--spacing-lg) 0; }
.dst-bones-animation { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--spacing-xs); }
.dst-bones-animate .dst-bones-icon { animation: dstBoneSpin 1s ease infinite; }
.dst-bones-plus { color: var(--success); font-weight: 700; }
.dst-bones-earned { color: var(--primary); font-weight: 800; font-family: var(--font-display); white-space: nowrap; }
.dst-bones-tagline { font-size: var(--text-sm); font-weight: 600; color: var(--gray-700); margin-left: var(--spacing-xs);     white-space: nowrap; }
.dst-bones-first-line { display: flex; align-items: center; justify-content: center; gap: var(--spacing-sm); font-size: clamp(24px, 6vw, 32px); }
.dst-bones-tagline { font-size: var(--text-sm); font-weight: 600; color: var(--gray-700); text-align: center; }

/* ===== WINNERS LIST ===== */
.dst-winners-card { padding: var(--spacing-lg); }
.dst-winners-card h4 { margin: 0 0 var(--spacing-lg); color: #333; font-size: var(--text-lg); text-align: center; font-family: var(--font-display); font-weight: 700; }
.dst-winners-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--spacing-sm); }
.dst-winner-item { display: block; padding: var(--spacing-md); background: #7DDA58; border-radius: var(--radius-sm); border-left: 4px solid #000; transition: all 0.2s ease; font-size: var(--text-sm); line-height: 1.4; word-wrap: break-word; }
.dst-winner-item:hover { background: #e9ecef; transform: translateX(2px); }
.dst-winner-item small { color: #6c757d; font-size: var(--text-xs); display: block; margin-top: var(--spacing-xs); }
.dst-no-winners { text-align: center; padding: var(--spacing-2xl); color: #6c757d; font-style: italic; font-size: var(--text-sm); }

/* ===== UTILITY STATES ===== */
.dst-test-mode-notice { background: linear-gradient(135deg, var(--warning) 0%, #DC2626 100%); color: #fff; padding: var(--spacing-sm) var(--spacing-md); border-radius: var(--radius-full); font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); text-align: center; margin: var(--spacing-md) 0; white-space: nowrap; }
.dst-login-prompt { background: #fff; border-radius: var(--radius-lg); padding: var(--spacing-2xl); text-align: center; box-shadow: var(--shadow-lg); margin: var(--spacing-lg); max-width: 400px; margin-left: auto; margin-right: auto; }
.dst-login-prompt h3 { margin: 0 0 var(--spacing-md); font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); color: var(--gray-900); }
.dst-login-prompt a { color: var(--primary); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.dst-login-prompt a:hover { border-bottom-color: var(--primary); }

/* ===== ADMIN STYLES ===== */
.mycard { position: relative; margin-top: 20px; padding: 0.7em 2em 1em; border: 1px solid #c3c4c7; box-shadow: 0 1px 1px rgba(0,0,0,0.04); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.prize-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.test-mode-card { border-left: 4px solid var(--warning); }
.test-mode-active { background: #fff8e1; border: 1px solid #ffe08a; padding: 8px 12px; border-radius: 6px; }
.table-wrapper { overflow: auto; }
.expected-value { display: inline-block; padding: 3px 8px; background: #f0f0f1; border-radius: 3px; }

/* ===== ANIMATIONS AND POP EFFECTS ===== */
.dst-pop { animation: dstPop 0.4s ease-out; }
.dst-pop.win { color: var(--success); }
.dst-pop.lose { color: var(--danger); }

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes dstShimmer { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(180deg); } }
@keyframes dstPulseGlow { 0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(16, 185, 129, 0.4); } 50% { opacity: 0.85; box-shadow: 0 0 12px rgba(16, 185, 129, 0.6); } }
@keyframes dstPop { 0% { transform: scale(0.8); opacity: 0.6; } 60% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes dstClaimSuccess { 0% { transform: scale(1); } 50% { transform: scale(1.05) rotate(2deg); } 100% { transform: scale(1) rotate(0deg); } }
@keyframes dstBoneSpin { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.2); } }
@keyframes dstFloatUp { 0% { opacity: 1; transform: translateY(0) rotate(0deg); } 100% { opacity: 0; transform: translateY(-80px) rotate(360deg); } }
@keyframes dstModalZoom { 0% { transform: scale(0.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes urgentPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes buttonPulse { 0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4); } 50% { transform: scale(1.02); box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6); } }
@keyframes glow { from { box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3); } to { box-shadow: 0 5px 25px rgba(255, 107, 107, 0.6); } }
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4); } 50% { transform: scale(1.05); box-shadow: 0 8px 25px rgba(255, 107, 107, 0.8); } 100% { transform: scale(1); box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scratchPulse { 0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.05); } }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 320px) {
  .dst-scratch-grid { gap: 2px; }
  .dst-symbol { font-size: clamp(20px, 6vw, 32px); }
  .dst-prize-text { font-size: var(--text-sm); }
  .dst-claim-main { font-size: var(--text-xs); }
  .dst-countdown-number { font-size: var(--text-sm); min-width: 20px; }
}

@media (max-width: 600px) {
  .dst-scratch-hint { font-size: clamp(14px, 12vw, 32px); width: 85%; }
}

@media (max-width: 767px) {
  .dst-game-modal, .dst-winners-modal { padding: var(--spacing-sm); }
  .dst-modal-content { width: 100%; max-height: 95vh; border-radius: var(--radius-md); }
  .dst-modal-header { padding: var(--spacing-md); }
  .dst-modal-header h2 { font-size: var(--text-xl); }
  .dst-close-button { width: 28px; height: 28px; font-size: 14px; }
  .dst-ticket-card { padding: var(--spacing-md); }
  .dst-prize-result { width: 98%; padding: var(--spacing-lg); }
  .dst-claim-button { font-size: var(--text-sm); padding: var(--spacing-sm) var(--spacing-md); }
  .dst-scratch-instruction { font-size: var(--text-xs); padding: var(--spacing-sm); white-space: normal; }
  .dst-winners-card { padding: var(--spacing-md); }
  .dst-winner-item { padding: var(--spacing-sm); font-size: var(--text-xs); }
  .dst-button-text h3 { font-size: var(--text-lg); }
  .dst-countdown-compact { font-size: var(--text-sm); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .dst-compact-button-wrapper { max-width: 600px; }
  .dst-scratch-grid { max-width: 320px; }
  .dst-symbol { font-size: clamp(40px, 6vw, 56px); }
  .dst-modal-content { animation: dstModalZoom 0.25s ease; }
}

@media (min-width: 1024px) {
  .dst-compact-button-wrapper { max-width: 650px; }
  .dst-scratch-grid { max-width: 360px; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (prefers-contrast: high) {
  .dst-compact-button { border: 2px solid currentColor; }
  .dst-prize-result { border-width: 3px; }
}

@media print {
  .dst-main-container { display: none; }
}