/* Import centralized color system */ @import url('color-variables.css'); /* Reset and base styles */ * { margin: 0; padding: 0; box-sizing: border-box; } /* ===== LEGACY VARIABLE ALIASES ===== */ /* Map old variable names to new color system for backward compatibility */ :root { /* Color mappings - use new theme-aware variables */ --color-accent: var(--color-secondary); --color-success: var(--status-success); --color-warning: var(--status-warning); --color-danger: var(--status-error); /* Text color aliases (already defined in color-variables.css) */ --text-tertiary: var(--text-muted); --text-inverse: #333333; /* Background aliases */ --bg-card: var(--bg-overlay-medium); --bg-modal: var(--bg-overlay-heavy); --bg-tertiary: #2a2a2a; /* Border and shadow aliases */ --border-color: var(--border-subtle); --border-accent: var(--bg-secondary-overlay-30); --shadow-primary: var(--shadow-lg); --glow-primary: var(--shadow-glow-primary); /* === FONT SIZES === */ --font-xs: 0.75rem; /* 12px - Very small text */ --font-sm: 0.875rem; /* 14px - Small text */ --font-base: 1rem; /* 16px - Base body text */ --font-lg: 1.125rem; /* 18px - Large text */ --font-xl: 1.25rem; /* 20px - Subheadings */ --font-xxl: 1.5rem; /* 24px - Large headings */ --font-xxxl: 2rem; /* 32px - Major headings */ --font-xxxxl: 3rem; /* 48px - Title headings */ /* === SPACING SYSTEM (4px base grid) === */ --space-xs: var(--spacing-xs); --space-sm: var(--spacing-sm); --space-base: var(--spacing-md); --space-lg: var(--spacing-lg); --space-xl: var(--spacing-xl); --space-xxl: 3rem; /* 48px */ /* === INTERLUDE SYSTEM (for webcam mirror, focus sessions) === */ --interlude-bg: var(--bg-overlay-heavy); --interlude-text-primary: var(--text-secondary); --interlude-text-secondary: var(--text-muted); --interlude-accent: var(--color-primary); --interlude-button-bg: var(--gradient-accent); --interlude-border: var(--color-primary); --interlude-accent-hover: var(--color-primary-dark); --interlude-button-gradient: var(--gradient-accent); --interlude-shadow: var(--shadow-glow-primary); --interlude-overlay: var(--bg-overlay-heavy); /* === BORDER RADIUS === */ --radius-sm: var(--border-radius-sm); --radius-md: var(--border-radius-md); --radius-lg: var(--border-radius-lg); /* === SHADOWS === */ --shadow-sm: var(--shadow-sm); --shadow-md: var(--shadow-md); --shadow-lg: var(--shadow-lg); } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%); color: var(--text-primary); min-height: 100vh; display: flex; align-items: center; justify-content: center; } .game-container { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 15px; box-shadow: var(--shadow-primary); width: calc(100vw - 350px); /* Full width minus space for sidebar images */ max-width: calc(100vw - 350px); min-width: 600px; height: fit-content; overflow: hidden; margin: 10px auto; } /* Header */ .game-header { background: linear-gradient(180deg, var(--bg-secondary) 0%, transparent 100%); color: var(--text-primary); padding: var(--space-xl); text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; } .game-header h1 { font-family: 'Audiowide', cursive; font-size: clamp(3rem, 8vw, 8rem); margin: 0 0 var(--space-base) 0; color: var(--color-primary); text-shadow: 0 0 30px rgba(138, 43, 226, 0.7); -webkit-text-stroke: .5px rgb(199, 199, 199); text-stroke: .5px rgb(151, 149, 149); animation: titleGlow 2s ease-in-out infinite alternate; } @keyframes titleGlow { from { filter: drop-shadow(0 0 5px rgba(138, 43, 226, 0.5)); } to { filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.9)); } } @keyframes neonFlicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { text-shadow: 0 0 20px var(--color-primary), 0 0 40px var(--color-primary), 0 0 80px var(--color-primary), 0 4px 8px rgba(0, 0, 0, 0.8); } 20%, 24%, 55% { text-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary), 0 0 40px var(--color-primary), 0 4px 8px rgba(0, 0, 0, 0.8); } } @keyframes textGlow { from { text-shadow: 0 0 20px var(--color-primary), 0 0 40px var(--color-primary), 0 2px 4px rgba(0, 0, 0, 0.8); } to { text-shadow: 0 0 30px var(--color-primary), 0 0 60px var(--color-primary), 0 0 90px var(--color-primary), 0 2px 4px rgba(0, 0, 0, 0.8); } } /* Enhanced Hero Section */ .hero-header { background: var(--color-background-gradient); padding: var(--space-xxl) var(--space-xl); position: relative; overflow: hidden; min-height: 400px; } /* Utility Navigation in Hero Header */ .hero-utility-nav { position: absolute; top: 20px; right: 30px; display: flex; gap: 10px; z-index: 100; align-items: flex-start; } .user-profile-display { display: flex; align-items: center; gap: 10px; padding: 8px 12px; cursor: pointer; transition: all 0.3s ease; } .user-profile-display:hover { opacity: 0.8; } .profile-avatar-small { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(218, 112, 214, 0.3)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .profile-avatar-small img { width: 100%; height: 100%; object-fit: cover; } .avatar-placeholder { font-size: 1.5rem; } .profile-info { display: flex; flex-direction: column; } .profile-username { color: var(--text-primary); font-weight: 600; font-size: 0.95em; line-height: 1.2; } .utility-btn { display: flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 6px; color: var(--text-primary); font-size: 0.9em; font-weight: 500; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(10px); flex-shrink: 0; } .utility-btn:hover { background: rgba(255, 0, 110, 0.15); border-color: var(--color-primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3); } .utility-btn:active { transform: translateY(0); } .utility-icon { font-size: 1.1em; display: flex; align-items: center; } .utility-label { font-size: 0.95em; letter-spacing: 0.3px; } /* PERFORMANCE: Disabled moving background for performance */ .hero-background { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(20, 20, 40, 0.95) 0%, rgba(40, 20, 60, 0.9) 50%, rgba(20, 20, 40, 0.95) 100%); /* REMOVED: synthwaveMove animation - was causing performance issues */ } /* PERFORMANCE: Disabled scanning line animation */ .hero-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--color-secondary), transparent); /* REMOVED: scanline animation - causing performance issues */ z-index: 10; } .neon-grid { position: absolute; top: 50%; left: 50%; width: 120%; height: 120%; transform: translate(-50%, -50%) perspective(1000px) rotateX(60deg); background-image: linear-gradient(var(--bg-primary-overlay-20) 1px, transparent 1px), linear-gradient(90deg, var(--bg-primary-overlay-20) 1px, transparent 1px); background-size: 50px 50px; /* REMOVED: gridFloat animation for performance */ z-index: 1; will-change: transform; } @keyframes gridFloat { 0%, 100% { transform: translate(-50%, -50%) perspective(1000px) rotateX(60deg) translateZ(0); } 50% { transform: translate(-50%, -50%) perspective(1000px) rotateX(60deg) translateZ(10px); } } @keyframes synthwaveMove { 0% { transform: translateY(0); } 100% { transform: translateY(100px); } } @keyframes heroBackgroundShift { from { opacity: 0.7; transform: translateX(-2%); } to { opacity: 1; transform: translateX(2%); } } .hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-xxl); align-items: start; max-width: 1400px; margin: 0 auto; } .hero-title-section { text-align: left; } .hero-title { font-family: 'Audiowide', cursive; margin: 0 0 var(--space-lg) 0; display: flex; flex-direction: column; gap: var(--space-sm); } /* PERFORMANCE OPTIMIZED VHS Glitch Effect - Reduced frequency */ @keyframes vhsGlitch { 0%, 98% { transform: translateX(0); } 1% { transform: translateX(-1px); } 2% { transform: translateX(1px); } } /* PERFORMANCE OPTIMIZED Scanning Line - Reduced to small area */ @keyframes scanline { 0% { transform: translateY(-20px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(120px); opacity: 0; } } .hero-title-main { font-family: 'Michroma', monospace; font-size: clamp(3rem, 8vw, 6rem); font-weight: 400; color: var(--color-primary); text-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary); text-transform: uppercase; letter-spacing: 8px; animation: neonFlicker 6s ease-in-out infinite, vhsGlitch 20s ease-in-out infinite; line-height: 0.9; } .hero-title-accent { font-size: clamp(1.2rem, 3vw, 2rem); color: var(--color-secondary); font-weight: 300; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); margin-left: var(--space-sm); } .hero-tagline { margin: 0 0 var(--space-xl) 0; display: flex; flex-direction: column; gap: var(--space-xs); } .tagline-emphasis { font-family: 'Audiowide', cursive; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; color: #ffffff; text-shadow: 0 0 20px var(--color-primary), 0 0 40px var(--color-primary), 0 2px 4px rgba(0, 0, 0, 0.8); text-transform: uppercase; letter-spacing: 6px; margin-bottom: 15px; display: block; animation: textGlow 2s ease-in-out infinite alternate; } .tagline-subtitle { font-family: 'Electrolize', sans-serif; font-size: 1.2rem; color: var(--color-secondary); font-weight: 400; text-transform: uppercase; letter-spacing: 2px; opacity: 0.9; text-shadow: 0 0 10px var(--color-secondary); } .hero-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-xl); margin: var(--space-xl) 0; } .hero-feature { background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(218, 112, 214, 0.15)); border: 2px solid var(--color-primary); border-radius: 12px; padding: 10px 12px; text-align: center; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; } .hero-feature::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-primary)); border-radius: 12px; z-index: -1; opacity: 0; transition: opacity 0.4s ease; } .hero-feature:hover { transform: translateY(-8px); box-shadow: 0 0 30px rgba(138, 43, 226, 0.8), 0 0 60px rgba(138, 43, 226, 0.4), inset 0 0 20px rgba(138, 43, 226, 0.2); border-color: var(--color-secondary); } .hero-feature:hover::before { opacity: 0.3; } .feature-icon { font-size: 1.5rem; display: flex; align-items: center; justify-content: center; min-width: 32px; margin-bottom: 4px; } .cassie-icon { display: inline-block; width: 1.8rem; height: 1.8rem; background-image: url('../../assets/cassie.png'); background-size: contain; background-repeat: no-repeat; background-position: center; } .feature-text { font-size: var(--font-base); color: var(--text-primary); font-weight: 500; } .hero-status-panel { display: flex; flex-direction: column; gap: var(--space-lg); align-items: stretch; } .status-card { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border-color); border-radius: var(--border-radius-lg); padding: var(--space-base); text-align: center; backdrop-filter: blur(15px); transition: all 0.3s ease; } .status-card:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--color-primary); box-shadow: 0 4px 20px rgba(138, 43, 226, 0.3); } .status-label { font-size: var(--font-sm); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--space-sm); font-weight: 600; } .status-value { font-size: var(--font-xxl); color: var(--text-primary); font-weight: 700; display: flex; align-items: baseline; justify-content: center; gap: var(--space-xs); margin-bottom: var(--space-sm); } .xp-number { color: var(--color-primary); text-shadow: 0 0 10px rgba(138, 43, 226, 0.5); } .xp-suffix { font-size: var(--font-base); color: var(--text-secondary); font-weight: 400; } .timer-display { font-family: 'Courier New', monospace; color: var(--color-secondary); text-shadow: 0 0 10px rgba(218, 112, 214, 0.5); } .status-bar { height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; overflow: hidden; margin-top: var(--space-sm); } .status-progress { height: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); border-radius: 2px; transition: width 0.5s ease; box-shadow: 0 0 10px rgba(138, 43, 226, 0.5); } .timer-status-text { font-size: var(--font-xs); color: var(--text-tertiary); margin-top: var(--space-sm); } /* Level Display Styles */ .level-display { min-width: 140px; max-width: 180px; padding: 8px 12px !important; } .level-display .status-label { font-size: var(--font-xs); margin-bottom: 2px; letter-spacing: 0.5px; } .level-display .status-value { margin-bottom: 2px; } .level-info { flex-direction: row; gap: var(--space-sm); align-items: center; justify-content: space-between; margin-bottom: 4px; } .level-title { font-size: var(--font-base); color: var(--color-primary); font-weight: 700; text-shadow: 0 0 10px rgba(138, 43, 226, 0.6); text-transform: uppercase; letter-spacing: 0.5px; } .level-number { font-size: var(--font-sm); color: var(--text-secondary); font-weight: 500; white-space: nowrap; } .level-xp-info { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 4px; } .xp-display { display: flex; align-items: baseline; gap: 2px; font-size: var(--font-xs); } .level-progress-container { display: flex; flex-direction: column; gap: 1px; flex: 1; max-width: 60px; } .level-progress-text { font-size: var(--font-xs); color: var(--text-tertiary); text-align: center; } .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-base); } .stat-item { display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); } .stat-number { font-size: var(--font-xl); color: var(--color-primary); font-weight: 700; text-shadow: 0 0 8px rgba(138, 43, 226, 0.4); } .stat-label { font-size: var(--font-xs); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; } .hero-music-controls { position: absolute; top: var(--space-lg); right: var(--space-lg); z-index: 3; } /* Responsive Hero Design */ @media (max-width: 1024px) { .hero-content { grid-template-columns: 1fr; gap: var(--space-xl); text-align: center; } .hero-title-section { text-align: center; } .hero-features { grid-template-columns: repeat(2, 1fr); } .hero-status-panel { flex-direction: row; justify-content: center; flex-wrap: wrap; } .status-card { flex: 1; min-width: 120px; max-width: 160px; } } @media (max-width: 768px) { .hero-header { padding: var(--space-xl) var(--space-lg); min-height: 350px; } .hero-utility-nav { top: 15px; right: 15px; gap: 6px; } .utility-btn { padding: 6px 10px; font-size: 0.85em; } .utility-label { display: none; } .utility-icon { font-size: 1.3em; } .hero-features { grid-template-columns: 1fr; gap: var(--space-base); } .hero-status-panel { flex-direction: column; } .hero-music-controls { position: relative; top: auto; right: auto; margin-top: var(--space-lg); align-self: center; } } /* Main content area */ .game-content { background: var(--bg-primary); color: var(--text-primary); padding: var(--space-xl); display: none; /* Hide game content on home page */ } /* Loading Overlay */ .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-primary); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 1; transition: opacity 0.5s ease; } .loading-overlay.hidden { opacity: 0; pointer-events: none; } .loading-content { text-align: center; color: var(--text-primary); } .loading-content h2 { font-family: 'Audiowide', cursive; font-size: var(--font-xxxl); background: linear-gradient(45deg, var(--color-primary), var(--color-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: var(--space-lg); animation: titleGlow 2s ease-in-out infinite alternate; } .loading-spinner { width: 60px; height: 60px; border: 4px solid var(--border-color); border-top: 4px solid var(--color-primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto var(--space-lg); } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .loading-status { color: var(--text-secondary); font-size: var(--font-lg); margin-bottom: var(--space-lg); } .loading-progress { width: 300px; height: 8px; background: var(--bg-tertiary); border-radius: 4px; margin: 0 auto var(--space-base); overflow: hidden; } .loading-progress-fill { height: 100%; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); width: 0%; transition: width 0.3s ease; border-radius: 4px; } .loading-percentage { color: var(--text-primary); font-size: var(--font-lg); font-weight: 600; } .tagline { font-family: 'Audiowide', cursive; font-size: var(--font-xxl); color: var(--color-accent); font-style: italic; margin: 0; opacity: 0.9; } /* Compact Timer (top-right corner) */ .timer-compact { position: absolute; top: 10px; right: 80px; display: flex; align-items: center; gap: var(--space-xs); font-size: 0.9em; background: rgba(0, 0, 0, 0.1); padding: var(--space-xs) var(--space-sm); border-radius: 15px; backdrop-filter: blur(5px); } .timer { font-weight: bold; font-family: 'Courier New', monospace; } .timer-status { font-size: 0.8em; opacity: 0.8; } /* Overall XP Display (top-right corner of header) */ .overall-xp-display { position: absolute; top: 10px; right: 200px; display: flex; align-items: center; gap: var(--space-xs); font-size: 1em; background: rgba(138, 43, 226, 0.2); padding: var(--space-xs) var(--space-sm); border-radius: 15px; backdrop-filter: blur(5px); border: 1px solid var(--color-primary); } .overall-xp-label { font-weight: bold; color: var(--text-secondary); font-size: 0.9em; } .overall-xp-value { font-weight: bold; font-family: 'Courier New', monospace; color: var(--color-primary); text-shadow: 0 0 10px rgba(138, 43, 226, 0.5); } /* Compact Music Controls (expandable on hover) */ .music-controls-compact { position: absolute; top: 10px; right: 20px; } .music-icon-btn { background: rgba(0, 0, 0, 0.1); border: none; color: white; font-size: 1.5em; padding: var(--space-xs); border-radius: 50%; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(5px); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; } .music-icon-btn:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.1); } /* Expandable Music Panel */ .music-panel-expanded { position: absolute; top: 55px; right: 0; background: var(--bg-modal); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 10px; padding: var(--space-md); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; min-width: 200px; z-index: 1000; } .music-controls-compact:hover .music-panel-expanded { opacity: 1; visibility: visible; transform: translateY(0); } .music-row { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); margin-bottom: var(--space-sm); } .music-row:last-child { margin-bottom: 0; } .music-btn-small { background: #007bff; border: none; color: white; font-size: 1em; padding: var(--space-xs) var(--space-sm); border-radius: 5px; cursor: pointer; transition: all 0.2s ease; min-width: 35px; } .music-btn-small:hover { background: #0056b3; transform: scale(1.05); } .track-dropdown-compact { background: var(--bg-secondary); border: 1px solid var(--border-color); color: var(--text-primary); border-radius: 5px; padding: var(--space-xs) var(--space-sm); font-size: 0.9em; width: 100%; cursor: pointer; } .volume-control-compact { display: flex; align-items: center; gap: var(--space-xs); width: 100%; } .volume-icon { font-size: 1em; } .volume-slider-compact { flex: 1; height: 4px; background: #ddd; border-radius: 2px; outline: none; cursor: pointer; } .volume-slider-compact::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; background: #007bff; border-radius: 50%; cursor: pointer; } .volume-percent { font-size: 0.8em; min-width: 30px; text-align: center; } .music-status-compact { text-align: center; font-size: var(--font-xs); color: var(--text-secondary); font-style: italic; } /* Data Management Controls */ .data-controls { display: flex; gap: var(--space-sm); margin: var(--space-sm) 0; flex-wrap: wrap; justify-content: center; } .data-btn, .btn-secondary { background: var(--bg-tertiary); border: 2px solid var(--border-color); color: var(--text-primary); padding: var(--space-lg) var(--space-xxl); border-radius: 8px; cursor: pointer; font-size: var(--font-lg); transition: all 0.3s ease; min-width: 180px; min-height: 50px; } .data-btn:hover, .btn-secondary:hover { background: var(--bg-tertiary); border-color: var(--border-accent); transform: translateY(-2px); box-shadow: var(--glow-primary); } /* Statistics Modal */ .modal { position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); } .modal-content { background: var(--card-bg); margin: 5% auto; padding: 0; border-radius: 16px; width: 90%; max-width: 800px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); animation: modalSlideIn 0.3s ease; } @keyframes modalSlideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-xl) var(--space-xxl); border-bottom: 2px solid var(--primary-color); background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); color: white; border-radius: 16px 16px 0 0; } .modal-header h2 { margin: 0; font-size: var(--font-xxl); } .close { font-size: var(--font-xxxl); font-weight: bold; cursor: pointer; opacity: 0.8; transition: opacity 0.3s ease; } .close:hover { opacity: 1; transform: scale(1.1); } .modal-body { padding: var(--space-xxl); } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-xl); margin-bottom: var(--space-xxl); } .stat-card { background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: var(--space-xl); text-align: center; transition: all 0.3s ease; } .stat-card:hover { border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); } .stat-card h3 { margin: 0 0 var(--space-sm) 0; font-size: var(--font-md); color: var(--text-color); opacity: 0.8; } .stat-value { font-size: var(--font-xxxxl); font-weight: bold; color: var(--primary-color); line-height: 1; } .stats-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; } .btn-warning { background: #ff6b35; border-color: #ff6b35; } .btn-warning:hover { background: #e55a2e; } /* Notification System */ .notification { position: fixed; top: 20px; right: 20px; background: var(--card-bg); border: 2px solid var(--primary-color); color: var(--text-color); padding: var(--space-md) var(--space-lg); border-radius: 8px; font-weight: 500; transform: translateX(400px); opacity: 0; transition: all 0.3s ease; z-index: 1001; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); } .notification.show { transform: translateX(0); opacity: 1; } .notification.success { border-color: #28a745; background: rgba(40, 167, 69, 0.1); } .notification.error { border-color: #dc3545; background: rgba(220, 53, 69, 0.1); } .notification.info { border-color: var(--primary-color); background: rgba(var(--primary-color-rgb), 0.1); } /* Streak Bonus Notification */ .streak-bonus-notification { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); opacity: 0; background: linear-gradient(135deg, #ff6b35, #f7931e); color: white; padding: var(--space-lg); border-radius: 15px; text-align: center; box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4); z-index: 1002; transition: all 0.3s ease; backdrop-filter: blur(10px); border: 2px solid rgba(255, 255, 255, 0.2); } .streak-bonus-notification.show { transform: translate(-50%, -50%) scale(1); opacity: 1; } .streak-bonus-content { display: flex; align-items: center; gap: var(--space-md); } .streak-icon { font-size: 2.5em; animation: fireFlicker 1s ease-in-out infinite alternate; } .streak-text { text-align: left; } .streak-title { font-size: 1.2em; font-weight: bold; margin-bottom: var(--space-xs); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .streak-bonus { font-size: 1em; opacity: 0.9; font-weight: 500; } @keyframes fireFlicker { 0% { transform: rotate(-2deg) scale(1); } 100% { transform: rotate(2deg) scale(1.05); } } /* Streak Milestone Styling */ .streak-stat.streak-milestone { background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1)); border-radius: 8px; padding: var(--space-xs) var(--space-sm); border: 1px solid rgba(255, 107, 53, 0.3); animation: streakGlow 2s ease-in-out infinite alternate; } @keyframes streakGlow { 0% { box-shadow: 0 0 5px rgba(255, 107, 53, 0.3); } 100% { box-shadow: 0 0 15px rgba(255, 107, 53, 0.5); } } .audio-bar:nth-child(4) { animation-delay: 0.6s; } .audio-bar:nth-child(5) { animation-delay: 0.8s; } @keyframes audioWave { 0%, 100% { height: 4px; } 50% { height: 16px; } } /* Desktop Application Styles */ .desktop-mode .upload-controls { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-md); } .desktop-mode .upload-controls .btn { flex: 1; min-width: 180px; } .desktop-only { display: none; } .desktop-mode .desktop-only { display: inline-block; } .desktop-feature { display: none; } .desktop-mode .desktop-feature { display: inline; } .web-feature { display: inline; } .desktop-mode .web-feature { display: none; } /* Enhanced button styling for desktop */ .desktop-mode .btn { padding: var(--space-md) var(--space-xl); font-size: var(--font-sm); font-weight: 500; border-radius: 6px; transition: all 0.2s ease; } .desktop-mode .btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } .desktop-mode .btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); border: none; color: var(--text-primary); } .desktop-mode .btn-warning { background: linear-gradient(135deg, #ffc107, #e0a800); border: none; color: #212529; } /* Desktop-specific upload section */ .desktop-mode .upload-section h3 { color: var(--primary-color); margin-bottom: var(--space-md); font-size: var(--font-lg); display: flex; align-items: center; gap: var(--space-xs); } .desktop-mode .upload-info { font-size: var(--font-xs); color: var(--text-secondary); font-style: italic; margin-top: var(--space-xs); } /* Responsive design for music controls */ @media (max-width: 768px) { .game-header { flex-direction: column; gap: var(--space-md); } .game-header h1 { font-size: 4rem; } .timer-container { position: static; transform: none; } .music-controls { justify-content: center; gap: var(--space-sm); } .track-dropdown { min-width: 120px; font-size: 0.8em; } .volume-control { padding: var(--space-xs) var(--space-sm); } .volume-slider { width: 60px; } .music-status { display: none; /* Hide on mobile to save space */ } } @media (max-width: 480px) { .utility-btn { padding: 6px 8px; } .music-controls { flex-wrap: wrap; justify-content: center; } .track-dropdown { order: 3; flex-basis: 100%; margin-top: 5px; } } .timer { font-family: 'Courier New', monospace; font-size: 1.5em; font-weight: bold; } .timer-status { font-size: 0.9em; opacity: 0.8; } /* Screen management */ .screen { display: none; padding: var(--space-lg); text-align: center; min-height: 500px; } .screen.active { display: block; } /* Start screen */ #start-screen h2 { color: var(--text-primary); margin-bottom: var(--space-md); } #start-screen p { color: var(--text-secondary); margin-bottom: var(--space-lg); font-size: var(--font-lg); } /* Theme Selector */ .theme-selector { margin-bottom: 25px; } .theme-label { display: block; margin-bottom: var(--space-sm); font-size: var(--font-lg); font-weight: 600; color: var(--text-primary); } .theme-dropdown { padding: var(--space-sm) var(--space-md); font-size: var(--font-base); border: 2px solid #ddd; border-radius: var(--radius-md); background: var(--bg-primary); cursor: pointer; min-width: 200px; transition: border-color 0.3s ease; } .theme-dropdown:hover { border-color: var(--color-primary); } .theme-dropdown:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); } /* Task Management Screen */ #task-management-screen h2 { color: var(--text-primary); margin-bottom: var(--space-xl); } .task-editor-section { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: var(--space-lg); margin-bottom: var(--space-xl); box-shadow: var(--shadow-primary); } .task-editor-section h3 { color: var(--text-primary); margin-bottom: var(--space-md); font-size: var(--font-lg); } .task-input-group { margin-bottom: var(--space-md); } .task-input-group label { display: block; margin-bottom: var(--space-xs); font-weight: 600; color: var(--text-secondary); } .task-input-group textarea, .task-input-group select { width: 100%; padding: var(--space-sm); border: 2px solid #ddd; border-radius: 6px; font-size: var(--font-md); transition: border-color 0.3s ease; } .task-input-group textarea:focus, .task-input-group select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); } .task-list-section { margin-bottom: 25px; } .task-list-section h3 { color: var(--text-primary); margin-bottom: var(--space-md); font-size: var(--font-lg); } .task-tabs { display: flex; margin-bottom: 15px; border-bottom: 2px solid #ddd; } .tab-btn { padding: var(--space-sm) var(--space-lg); border: none; background: none; cursor: pointer; font-size: var(--font-base); font-weight: 600; color: var(--text-secondary); border-bottom: 3px solid transparent; transition: all 0.3s ease; } .tab-btn.active { color: var(--text-accent); border-bottom-color: var(--text-accent); } .tab-btn:hover { color: #007bff; } .task-list { display: none; max-height: 300px; overflow-y: auto; border: 1px solid var(--border-color); border-radius: 6px; background: var(--bg-card); } .task-list.active { display: block; } .task-item { padding: 15px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: flex-start; } .task-item:last-child { border-bottom: none; } .task-text-display { flex: 1; margin-right: 15px; line-height: 1.4; } .task-difficulty-display { font-size: 0.85em; color: #666; margin: 5px 15px 5px 0; font-weight: bold; } .task-actions { display: flex; gap: 8px; } .btn-small { padding: var(--space-sm) var(--space-md); font-size: var(--font-sm); min-width: 120px; min-height: 36px; font-weight: 600; } .management-buttons { display: flex; gap: var(--space-lg); justify-content: center; margin-top: var(--space-xl); } /* Enhanced button styling for management screens */ .upload-controls .btn, .gallery-controls .btn, .directory-controls .btn { padding: var(--space-sm) var(--space-lg); font-size: var(--font-sm); min-height: 40px; min-width: 140px; font-weight: 600; border-radius: 8px; transition: all 0.3s ease; margin: var(--space-xs); } .upload-controls .btn:hover, .gallery-controls .btn:hover, .directory-controls .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3); } /* Button color improvements */ .btn-outline { background: transparent; border: 2px solid var(--border-color); color: var(--text-primary); } .btn-outline:hover { background: var(--bg-tertiary); border-color: var(--color-primary); color: var(--color-primary); } .btn-info { background: linear-gradient(135deg, #17a2b8, #138496); color: white; border: none; } .btn-info:hover { background: linear-gradient(135deg, #138496, #117a8b); } /* Directory controls specific styling */ .directory-controls { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; margin-top: var(--space-md); padding: var(--space-md); background: var(--bg-tertiary); border-radius: 8px; border: 1px solid var(--border-color); } .directory-controls .btn { margin: 0; /* Remove default margin for tighter control */ } .photo-stats { display: flex; align-items: center; gap: var(--space-md); font-size: var(--font-sm); color: var(--text-secondary); background: var(--bg-secondary); padding: var(--space-sm) var(--space-md); border-radius: 6px; border: 1px solid var(--border-color); } .scan-info { font-size: var(--font-xs); color: var(--text-tertiary); font-style: italic; padding: var(--space-xs) var(--space-sm); background: rgba(138, 43, 226, 0.1); border-radius: 4px; border: 1px solid rgba(138, 43, 226, 0.2); } /* Filter controls styling */ .filter-controls { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; } .filter-controls label { font-size: var(--font-sm); color: var(--text-secondary); display: flex; align-items: center; gap: var(--space-xs); } .filter-select { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 6px; padding: var(--space-xs) var(--space-sm); color: var(--text-primary); font-size: var(--font-sm); min-width: 120px; } .filter-select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2); } /* Photo count and storage displays */ #photo-count-display, #storage-size-display { color: var(--text-primary); font-weight: 600; } #image-count { color: var(--color-secondary); font-weight: 600; } /* Enhanced button styling for specific management buttons */ .btn-warning { background: linear-gradient(135deg, #ffc107, #e6ac00); color: #000; border: none; font-weight: 600; } .btn-warning:hover { background: linear-gradient(135deg, #e6ac00, #cc9900); transform: translateY(-2px); } .btn-danger { background: linear-gradient(135deg, #dc3545, #c82333); color: white; border: none; font-weight: 600; } .btn-danger:hover { background: linear-gradient(135deg, #c82333, #bd2130); transform: translateY(-2px); } .btn-secondary { background: linear-gradient(135deg, #6c757d, #5a6268); color: white; border: none; font-weight: 600; } .btn-secondary:hover { background: linear-gradient(135deg, #5a6268, #495057); transform: translateY(-2px); } /* Modal actions styling */ .modal-actions { display: flex; gap: var(--space-lg); justify-content: center; margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--border-color); } .modal-actions .btn { min-width: 140px; padding: var(--space-md) var(--space-xl); } /* Info displays and labels */ .info-item { display: flex; justify-content: space-between; align-items: center; padding: var(--space-sm) 0; border-bottom: 1px solid var(--border-color); } .info-item:last-child { border-bottom: none; } .info-label { font-weight: 600; color: var(--text-secondary); } .info-item span:last-child { font-weight: 600; color: var(--color-primary); background: rgba(138, 43, 226, 0.1); padding: var(--space-xs) var(--space-sm); border-radius: 4px; font-size: var(--font-sm); } .empty-list { padding: 40px; text-align: center; color: #666; font-style: italic; } /* Task container */ .task-container { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 15px; padding: 25px; margin-bottom: 20px; box-shadow: var(--shadow-primary); } .task-type { margin-bottom: 15px; } #task-type-indicator { background: #28a745; color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.9em; font-weight: bold; } #task-type-indicator.consequence { background: #dc3545; } .task-image-container { margin-bottom: 20px; display: flex; justify-content: center; align-items: center; min-height: max(200px, 25vh); /* Dynamic minimum height based on viewport */ max-height: 85vh; /* Allow container to take up most of screen */ width: 100%; /* Full width for centering */ } .task-image { /* Hybrid responsive sizing - scales with viewport but has reasonable limits */ max-width: min(90vw, 1200px); /* 90% of viewport width, capped at 1200px */ max-height: min(70vh, 800px); /* 70% of viewport height, capped at 800px */ min-height: max(200px, 20vh); /* Minimum 200px or 20% of viewport height */ min-width: 250px; /* Prevent images from being too narrow */ /* Maintain aspect ratio and image quality */ width: auto; height: auto; object-fit: contain; /* Preserve aspect ratio, fit within bounds */ /* Visual enhancements */ border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; /* Smooth transitions when resizing */ object-fit: cover; } .task-text-container { margin-bottom: 25px; } .task-text { color: var(--text-primary); font-size: var(--font-xl); line-height: 1.4; } /* Task difficulty and points display */ .task-difficulty { background: rgba(255, 255, 255, 0.8); padding: var(--space-sm) var(--space-md); border-radius: 20px; font-size: var(--font-sm); font-weight: bold; margin-bottom: var(--space-md); text-align: center; box-shadow: var(--shadow-sm); } .task-points { background: #ffd700; color: var(--text-primary); padding: var(--space-xs) var(--space-md); border-radius: 15px; font-size: var(--font-xs); font-weight: bold; margin-left: var(--space-sm); box-shadow: var(--shadow-sm); } /* Buttons */ .action-buttons { display: flex; gap: 15px; justify-content: center; margin-bottom: 20px; } .btn { padding: var(--space-xl) var(--space-xxl); border: none; border-radius: var(--radius-md); font-size: var(--font-xl); font-weight: 600; cursor: pointer; transition: all 0.3s ease; min-width: 180px; min-height: 50px; color: var(--text-primary); } .btn:hover { transform: translateY(-2px); box-shadow: var(--glow-primary); } .btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--text-primary); } .btn-primary:hover { background: linear-gradient(135deg, var(--color-secondary), var(--color-accent)); transform: translateY(-2px); } .btn-success { background: var(--color-success); color: var(--text-inverse); } .btn-success:hover { background: var(--color-success); opacity: 0.9; } .btn-warning { background: var(--color-warning); color: var(--text-primary); } .btn-warning:hover { background: var(--color-warning); opacity: 0.9; } .btn-info { background: var(--color-info); color: var(--text-inverse); } .btn-info:hover { background: var(--color-info); opacity: 0.9; } .btn-danger { background: var(--color-danger); color: var(--text-inverse); position: relative; } .btn-danger:hover { background: var(--color-danger); opacity: 0.9; } .btn-danger:disabled { background: #6c757d; color: #ffffff; opacity: 0.65; cursor: not-allowed; } .btn-danger:disabled:hover { background: #6c757d; transform: none; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } /* Options Menu Styles */ .options-section { margin-top: 20px; position: relative; } .btn-tertiary { background: #6c757d; color: white; margin-bottom: 10px; } .btn-tertiary:hover { background: #545b62; } .options-menu { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--bg-card); border: 2px solid var(--color-primary); border-radius: 16px; padding: var(--space-xxl); max-width: 600px; width: 90%; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 0, 110, 0.3); z-index: 99999; animation: popupFadeIn 0.3s ease-out; display: none; } .options-menu[style*="display: block"] { display: block !important; } .options-menu.popup-visible { display: block !important; } .option-item { margin-bottom: var(--space-lg); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--border-color); } .option-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } .option-label { display: block; font-weight: 600; margin-bottom: 8px; color: #495057; } .theme-dropdown { width: 100%; padding: var(--space-sm) var(--space-md); border: 1px solid #ced4da; border-radius: 4px; font-size: var(--font-sm); } .data-controls, .other-controls { display: flex; gap: var(--space-sm); flex-wrap: wrap; } .btn-option { background: #e9ecef; color: #495057; padding: var(--space-sm) var(--space-lg); font-size: 0.9em; min-width: auto; } .btn-option:hover { background: #dee2e6; transform: translateY(-1px); } .main-actions { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; } .main-actions .btn { width: 100%; max-width: 300px; margin: 0 auto; } /* Game Mode Selection */ .game-mode-selection { background: var(--bg-card); border-radius: 10px; padding: var(--space-xl); margin: var(--space-xl) 0; border: 2px solid var(--border-color); } .game-mode-selection h3 { color: var(--text-primary); margin-bottom: 15px; text-align: center; font-size: 1.2em; } .game-mode-options { display: flex; flex-direction: column; gap: 15px; } .game-mode-option { position: relative; } .game-mode-option input[type="radio"] { position: absolute; opacity: 0; cursor: pointer; } .game-mode-option label { display: block; background: var(--bg-card); border: 2px solid var(--border-color); border-radius: 8px; padding: var(--space-md); cursor: pointer; transition: all 0.3s ease; position: relative; } .game-mode-option label:hover { border-color: #4facfe; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(79, 172, 254, 0.2); } .game-mode-option input[type="radio"]:checked + label { border-color: #4facfe; background: linear-gradient(135deg, #4facfe22, #00f2fe11); box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3); } .game-mode-option label strong { color: var(--text-primary); font-size: var(--font-md); display: block; margin-bottom: var(--space-xs); } .game-mode-option label p { color: var(--text-secondary); font-size: var(--font-sm); margin: 0; line-height: 1.4; } .mode-config { margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; } .mode-config label { font-size: 0.9em; color: #555; font-weight: 500; } .mode-config select { margin-left: var(--space-sm); padding: var(--space-xs) var(--space-sm); border: 1px solid var(--border-color); border-radius: 4px; background: var(--bg-tertiary); color: var(--text-primary); font-size: var(--font-sm); } .custom-time-input, .custom-score-input { margin-left: var(--space-sm); padding: var(--space-xs) var(--space-sm); border: 1px solid var(--border-color); border-radius: 4px; background: var(--bg-tertiary); color: var(--text-primary); font-size: var(--font-sm); width: 80px; display: none; } /* New Game Mode Grid Styles */ .game-mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; margin: 20px 0; } .game-mode-card { background: var(--bg-tertiary); border: 2px solid var(--border-color); border-radius: 12px; padding: 20px; cursor: pointer; transition: all var(--transition-speed) ease; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; } .game-mode-card:hover { border-color: var(--accent-primary); box-shadow: var(--shadow-secondary); transform: translateY(-2px); } .game-mode-card.selected { border-color: var(--accent-primary); background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--accent-primary-alpha) 100%); box-shadow: var(--shadow-secondary); } .mode-icon { font-size: 2.5rem; margin-bottom: 10px; display: block; } .mode-info h4 { margin: 0 0 8px 0; color: var(--text-primary); font-size: 1.1rem; font-weight: 600; } .mode-info p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.4; } .game-mode-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; } /* Quick Play Configuration Styles */ .option-group { margin: 15px 0; padding: 12px; background: var(--bg-secondary); border-radius: 8px; border: 1px solid var(--border-color); } .option-group label { display: block; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; } .option-group h5 { margin: 0 0 10px 0; color: var(--accent-primary); font-size: 1rem; font-weight: 600; } .sub-option { margin: 8px 0 8px 20px; padding: 8px; background: var(--bg-tertiary); border-radius: 6px; border-left: 3px solid var(--accent-primary); } .sub-option label { font-weight: normal; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 4px; } .checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; } .checkbox-label input[type="checkbox"] { margin: 0; } .option-group select, .option-group input[type="number"] { margin-left: 8px; padding: 6px 10px; border: 1px solid var(--border-color); border-radius: 4px; background: var(--bg-primary); color: var(--text-primary); font-size: 0.9rem; } /* Update existing mode config styles to work with new structure */ .mode-config { margin-top: 20px; padding: 15px; background: var(--bg-secondary); border-radius: 8px; border: 1px solid var(--border-color); } .game-mode-card:hover { border-color: var(--border-accent); transform: translateY(-3px); box-shadow: var(--glow-primary); } .game-mode-card.selected { border-color: #4facfe; background: linear-gradient(135deg, #4facfe15, #00f2fe08); box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3); } .game-mode-card input[type="radio"] { position: absolute; opacity: 0; top: 15px; right: 15px; cursor: pointer; } .mode-icon { font-size: 2.5em; flex-shrink: 0; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--bg-secondary); border-radius: 50%; transition: all 0.3s ease; color: var(--text-secondary); } .game-mode-card:hover .mode-icon { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: white; transform: scale(1.1); } .game-mode-card.selected .mode-icon { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: white; } .mode-info { flex: 1; } .mode-info h4 { color: var(--text-primary); margin: 0 0 8px 0; font-size: 1.2em; font-weight: 600; } .mode-info p { color: var(--text-secondary); margin: 0; font-size: 0.95em; line-height: 1.4; } /* Mode Options Styles */ .mode-options { margin-top: 20px; } .config-section { background: var(--bg-tertiary); border-radius: 8px; padding: 15px; margin-bottom: 15px; border: 1px solid var(--border-color); } .config-section h4 { color: var(--text-primary); margin: 0 0 12px 0; font-size: 1em; display: flex; align-items: center; gap: 8px; } .checkbox-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; cursor: pointer; font-size: 0.9em; color: #495057; } .checkbox-label input[type="checkbox"] { margin: 0; cursor: pointer; } .frequency-control { margin-left: 20px; padding: 10px; background: var(--bg-secondary); border-radius: 6px; border: 1px solid var(--border-color); color: var(--text-primary); } .frequency-control label { display: block; font-size: 0.85em; color: #6c757d; margin-bottom: 5px; } .frequency-control input[type="range"] { width: 100%; margin: 5px 0; } .frequency-control small { font-size: 0.75em; color: #6c757d; font-style: italic; } #frequency-display { font-weight: bold; color: #4facfe; } .custom-time-input:focus, .custom-score-input:focus { border-color: #007bff; outline: none; box-shadow: 0 0 3px rgba(0, 123, 255, 0.3); } .mercy-cost { display: block; font-size: 0.8em; opacity: 0.9; font-weight: bold; } .btn-secondary { background: #6c757d; color: white; } .btn-secondary:hover { background: #545b62; } /* Loading indicator styles */ .btn:disabled { opacity: 0.7; cursor: not-allowed; } .btn:disabled:hover { transform: none; box-shadow: none; } .btn-loading { animation: pulse 1.5s ease-in-out infinite; } @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } } /* Game stats */ .game-stats { display: flex; justify-content: space-around; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-primary); padding: 15px; border-radius: 8px; box-shadow: var(--shadow-primary); } .stat { text-align: center; } #score { color: #ffd700; font-weight: bold; font-size: 1.3em; text-shadow: 0 1px 3px rgba(0,0,0,0.3); background: rgba(255, 215, 0, 0.1); padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255, 215, 0, 0.3); } .stat-label { display: block; font-size: 0.9em; color: var(--text-secondary); margin-bottom: 5px; } .stat-value { display: block; font-size: 1.5em; font-weight: bold; color: var(--text-primary); } /* Paused screen */ #paused-screen h2 { color: var(--text-primary); margin-bottom: 15px; } #paused-screen p { color: var(--text-secondary); margin-bottom: 25px; } #paused-screen .btn { margin: 0 10px; } /* Game over screen */ #game-over-screen h2 { color: var(--text-primary); margin-bottom: 20px; } .final-stats { background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-primary); padding: 20px; border-radius: 8px; margin-bottom: 25px; box-shadow: var(--shadow-primary); } .final-stats p { margin-bottom: 10px; font-size: 1.1em; color: var(--text-primary); } .final-stats span { font-weight: bold; color: var(--color-primary); } /* Responsive design */ @media (max-width: 480px) { .game-container { width: 98%; } .task-image-container { min-height: 250px; } .task-image { max-width: 95%; max-height: 250px; min-height: 200px; } .action-buttons { flex-direction: column; align-items: center; } .btn { width: 200px; } .game-stats { flex-direction: column; gap: 10px; } .timer-container { flex-direction: column; gap: 5px; } .screen { padding: 15px; } } /* THEME SYSTEM */ /* Ocean Theme (Default) - Already defined above */ /* Sunset Theme */ body.theme-sunset { background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%); } .theme-sunset .game-header { background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); } .theme-sunset .btn-primary { background: #ff6b35; } .theme-sunset .btn-primary:hover { background: #e55a2b; } .theme-sunset .btn-success { background: #ff8c00; } .theme-sunset .btn-success:hover { background: #e67e00; } /* Forest Theme */ body.theme-forest { background: linear-gradient(135deg, #134e5e 0%, #71b280 100%); } .theme-forest .game-header { background: linear-gradient(135deg, #2d5016 0%, #a8e6cf 100%); } .theme-forest .btn-primary { background: #2d5016; } .theme-forest .btn-primary:hover { background: #1e3510; } .theme-forest .btn-success { background: #4caf50; } .theme-forest .btn-success:hover { background: #45a049; } /* Midnight Theme */ body.theme-midnight { background: linear-gradient(135deg, #0c0c0c 0%, #434343 100%); } .theme-midnight .game-container { background: #1a1a1a; color: white; } .theme-midnight .game-header { background: linear-gradient(135deg, #000000 0%, #434343 100%); } .theme-midnight .task-container { background: #2a2a2a; color: white; } .theme-midnight .task-text { color: white; } .theme-midnight .game-stats { background: #2a2a2a; } .theme-midnight .btn-primary { background: #6c757d; } .theme-midnight .btn-primary:hover { background: #545b62; } /* Pastel Theme */ body.theme-pastel { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); } .theme-pastel .game-header { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); } .theme-pastel .btn-primary { background: #ff9a9e; } .theme-pastel .btn-primary:hover { background: #ff8a8e; } .theme-pastel .btn-success { background: #a8e6cf; } .theme-pastel .btn-success:hover { background: #98d6bf; } .theme-pastel .btn-warning { background: #ffd3a5; color: #333; } .theme-pastel .btn-warning:hover { background: #ffc385; } /* Neon Theme */ body.theme-neon { background: linear-gradient(135deg, #0f0f0f 0%, #2a0845 100%); } .theme-neon .game-container { background: #1a1a1a; color: #00ff00; border: 2px solid #00ff00; box-shadow: 0 0 30px rgba(0, 255, 0, 0.3); } .theme-neon .game-header { background: linear-gradient(135deg, #000000 0%, #ff006e 100%); border-bottom: 2px solid #00ff00; } .theme-neon .task-container { background: #0a0a0a; color: #00ff00; border: 1px solid #00ff00; } .theme-neon .task-text { color: #00ff00; } .theme-neon .btn-primary { background: #ff006e; border: 2px solid #00ff00; box-shadow: 0 0 10px rgba(255, 0, 110, 0.5); } .theme-neon .btn-success { background: #00ff00; color: black; box-shadow: 0 0 10px rgba(0, 255, 0, 0.5); } /* Autumn Theme */ body.theme-autumn { background: linear-gradient(135deg, #d2691e 0%, #8b4513 100%); } .theme-autumn .game-header { background: linear-gradient(135deg, #cd853f 0%, #a0522d 100%); } .theme-autumn .btn-primary { background: #8b4513; } .theme-autumn .btn-primary:hover { background: #7a3f12; } .theme-autumn .btn-success { background: #daa520; } .theme-autumn .btn-success:hover { background: #b8941b; } .theme-autumn .btn-warning { background: #ff8c00; } .theme-autumn .btn-warning:hover { background: #e67e00; } /* Monochrome Theme */ body.theme-monochrome { background: linear-gradient(135deg, #000000 0%, #434343 100%); } .theme-monochrome .game-container { background: white; border: 3px solid black; } .theme-monochrome .game-header { background: black; border-bottom: 3px solid white; } .theme-monochrome .task-container { background: #f8f8f8; border: 2px solid black; } .theme-monochrome .btn-primary { background: black; color: white; border: 2px solid black; } .theme-monochrome .btn-primary:hover { background: white; color: black; } .theme-monochrome .btn-success { background: white; color: black; border: 2px solid black; } .theme-monochrome .btn-success:hover { background: black; color: white; } /* Help Menu Styles */ .help-section { margin-bottom: 25px; } .help-section h3 { color: #333; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #e9ecef; font-size: 1.1em; } .shortcut-list { display: flex; flex-direction: column; gap: 10px; } .shortcut-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #f8f9fa; border-radius: 6px; border-left: 4px solid #007bff; } .shortcut-key { background: #343a40; color: white; padding: 4px 12px; border-radius: 4px; font-family: monospace; font-weight: bold; font-size: 0.9em; min-width: 60px; text-align: center; } .shortcut-action { flex: 1; margin-left: 15px; color: #555; font-weight: 500; } .help-tips { background: #e3f2fd; padding: 15px; border-radius: 8px; border-left: 4px solid #2196f3; margin: 0; } .help-tips li { margin-bottom: 8px; color: #1565c0; line-height: 1.4; } .help-tips li:last-child { margin-bottom: 0; } /* Image Management Styles */ .upload-section { background: var(--bg-card); padding: var(--space-xl); border-radius: 12px; margin-bottom: var(--space-xxl); border: 2px dashed var(--border-accent); box-shadow: var(--shadow-primary); } .upload-controls { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; } .upload-info { font-size: var(--font-sm); color: var(--text-secondary); font-style: italic; } .gallery-section { margin-bottom: var(--space-xxl); } .gallery-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-xl); flex-wrap: wrap; gap: var(--space-md); } .gallery-controls { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; margin-bottom: var(--space-md); } .image-count { font-size: var(--font-sm); color: var(--text-secondary); font-weight: 500; } .image-gallery { display: none; /* Hide galleries by default */ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-lg); max-height: 400px; overflow-y: auto; padding: var(--space-md); border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-secondary); } .image-gallery.active { display: grid; /* Show active gallery as grid */ } /* Video Gallery Styles */ #lib-video-gallery { display: grid !important; min-height: 200vh !important; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; /* Reduced from 180px for more columns */ gap: 4px !important; /* Small gap for better visual balance */ grid-auto-rows: auto !important; /* Override the generic .video-gallery minmax setting */ max-height: 200vh !important; overflow-y: auto !important; padding:10px !important; /* Reduced padding */ border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-secondary); } #lib-video-gallery.active { display: grid !important; /* Show active gallery as grid */ } /* Video item styling - ensure visibility and compact layout */ #lib-video-gallery .video-item { display: block !important; position: relative !important; background: var(--bg-card) !important; border-radius: var(--radius-md) !important; overflow: hidden !important; border: 1px solid var(--border-color) !important; transition: all 0.3s ease !important; cursor: pointer !important; padding: 0 !important; margin: 0 !important; } #lib-video-gallery .video-item:hover { transform: translateY(-2px) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important; border-color: var(--color-primary) !important; } /* Compact video thumbnail container */ #lib-video-gallery .video-thumbnail-container { width: 100% !important; height: 80px !important; /* Compact but visible */ border-radius: 0 !important; overflow: hidden !important; background: var(--bg-secondary) !important; border: none !important; margin: 0 !important; padding: 0 !important; position: relative !important; display: block !important; } /* Compact video thumbnail */ #lib-video-gallery .video-thumbnail { width: 100% !important; height: 80px !important; /* Match container height */ object-fit: cover !important; display: block !important; border-radius: 0 !important; } /* Compact video info section */ #lib-video-gallery .video-info { padding: 8px 6px !important; /* Increased padding for more space */ background: rgba(0, 0, 0, 0.9) !important; /* Darker background for better contrast */ height: auto !important; /* Auto height to fit content */ min-height: 75px !important; /* Minimum height for consistency */ overflow: hidden !important; display: flex !important; flex-direction: column !important; justify-content: center !important; border-top: 1px solid rgba(255, 255, 255, 0.2) !important; } #lib-video-gallery .video-details { display: flex !important; flex-direction: column !important; gap: 4px !important; width: 100% !important; } #lib-video-gallery .video-name, #lib-video-gallery .video-title { font-size: 12px !important; /* Slightly larger font for better visibility */ color: #ffffff !important; /* Bright white for visibility */ margin: 0 0 3px 0 !important; /* Increased bottom margin */ font-weight: 600 !important; /* Bolder font weight */ line-height: 1.2 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; } #lib-video-gallery .video-directory, #lib-video-gallery .video-meta { font-size: 10px !important; /* Slightly larger for better readability */ color: #e0e0e0 !important; /* Brighter light gray for better visibility */ opacity: 1 !important; /* Remove opacity to ensure visibility */ overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; line-height: 1.1 !important; margin: 0 0 4px 0 !important; } #lib-video-gallery .btn-small { font-size: 10px !important; padding: 4px 8px !important; margin-top: 0 !important; } } /* Override conflicting gallery item styles for video items - COMPACT LAYOUT */ #lib-video-gallery .gallery-item.video-item { position: relative !important; background: var(--bg-card) !important; border-radius: var(--radius-md) !important; overflow: hidden !important; border: 1px solid var(--border-color) !important; transition: all 0.3s ease !important; cursor: pointer !important; display: block !important; width: auto !important; height: 240px !important; /* Thumbnail (80px) + video info (40px) + padding (20px) */ min-height: 240px !important; max-height: 240px !important; /* Accommodate thumbnail + info section */ padding: 0 !important; margin: 0 !important; /* Ensure no margins */ } /* Video item hover effect - MATCH IMAGE GALLERY */ #lib-video-gallery .gallery-item.video-item:hover { transform: translateY(-2px) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important; border-color: var(--color-primary) !important; } /* Ensure video thumbnail container is visible */ #lib-video-gallery .video-item .video-thumbnail-container { display: block !important; width: 100% !important; height: 80px !important; background: var(--bg-secondary) !important; border: 1px solid var(--border-color) !important; border-radius: 8px !important; overflow: hidden !important; margin-bottom: 4px !important; flex-shrink: 0 !important; opacity: 1 !important; visibility: visible !important; } /* Ensure video thumbnail is visible */ #lib-video-gallery .video-item .video-thumbnail { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 8px !important; opacity: 1 !important; visibility: visible !important; } .image-item { position: relative; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-primary); transition: all 0.3s ease; cursor: pointer; } .image-item:hover { transform: translateY(-2px); box-shadow: var(--glow-primary); border-color: var(--border-accent); } .image-item.selected { border: 3px solid var(--color-primary); transform: scale(0.95); box-shadow: var(--glow-primary); } .image-preview { width: 100%; height: 80px; object-fit: cover; cursor: pointer; } .image-info { padding: var(--space-sm); background: var(--bg-tertiary); } .image-name { font-size: var(--font-xs); color: var(--text-primary); margin-bottom: var(--space-xs); word-break: break-word; } .image-controls { display: flex; justify-content: space-between; align-items: center; } .image-checkbox { margin: 0; } .image-status { font-size: 0.7em; padding: 2px 6px; border-radius: 4px; font-weight: bold; } .image-enabled { background: #d4edda; color: #155724; } .image-disabled { background: #f8d7da; color: #721c24; } .loading, .no-images { text-align: center; padding: var(--space-xxl); color: var(--text-secondary); font-style: italic; } .no-images { background: var(--bg-tertiary); border-radius: 12px; border: 2px dashed var(--border-color); } /* Video Management Styles */ .video-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); grid-auto-rows: minmax(320px, auto); gap: 0px; padding: var(--space-lg); background: var(--bg-secondary); border-radius: 12px; border: 1px solid var(--border-color); align-content: start; max-height: 80vh; overflow-y: auto; } /* Custom scrollbar styling for video gallery */ .video-gallery::-webkit-scrollbar { width: 12px; } .video-gallery::-webkit-scrollbar-track { background: #333; border-radius: 6px; } .video-gallery::-webkit-scrollbar-thumb { background: #666; border-radius: 6px; } .video-gallery::-webkit-scrollbar-thumb:hover { background: #888; } .video-gallery.active { display: grid; } .video-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: var(--shadow-primary); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; min-height: 320px; } .video-item:hover { transform: translateY(-2px); box-shadow: var(--glow-primary); border-color: var(--border-accent); } .video-item.selected { border: 3px solid var(--color-primary); transform: scale(0.98); box-shadow: var(--glow-primary); } .video-thumbnail { position: relative; width: 100%; height: 140px; overflow: hidden; background: var(--bg-tertiary); border-radius: 8px; } .video-thumbnail video { width: 100%; height: 100%; object-fit: cover; display: block; } .video-info { padding: var(--space-sm); } .video-name, .video-title { font-weight: 600; font-size: var(--font-sm); color: var(--text-primary); margin-bottom: var(--space-xs); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .video-meta { color: var(--text-tertiary); font-size: var(--font-xs); margin-bottom: var(--space-sm); } .video-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--space-xs); } .video-actions .btn-small { font-size: var(--font-xs); padding: var(--space-xs) var(--space-sm); } .video-select { margin: 0; } /* Video Tabs */ .video-tabs { display: flex; margin-bottom: var(--space-md); border-bottom: 2px solid #dee2e6; } .video-tabs .tab-btn { flex: 1; padding: var(--space-sm) var(--space-md); border: none; background: #f8f9fa; color: var(--text-secondary); cursor: pointer; font-size: var(--font-sm); font-weight: 500; transition: all 0.2s ease; } .video-tabs .tab-btn:hover { background: #e9ecef; color: var(--text-primary); } .video-tabs .tab-btn.active { background: var(--bg-card); color: var(--color-primary); border-bottom: 2px solid var(--color-primary); transform: translateY(2px); } /* Photo Management Styles */ .photo-gallery { display: none; } .photo-gallery.active { display: block; } .photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-lg); padding: var(--space-lg); background: var(--bg-secondary); border-radius: 12px; border: 1px solid var(--border-color); } .photo-item { position: relative; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: var(--shadow-primary); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; } .photo-item:hover { transform: translateY(-2px); box-shadow: var(--glow-primary); border-color: var(--border-accent); } .photo-item.selected { border: 3px solid var(--color-primary); transform: scale(0.98); box-shadow: var(--glow-primary); } .photo-item img { width: 100%; height: 120px; object-fit: cover; display: block; cursor: pointer; } .photo-item-info { padding: var(--space-sm); background: var(--bg-secondary); color: var(--text-primary); } .photo-item-date { font-weight: 600; font-size: var(--font-sm); color: var(--text-primary); margin-bottom: var(--space-xs); } .photo-item-session { color: var(--text-tertiary); font-size: var(--font-xs); } .selection-checkbox { position: absolute; top: var(--space-xs); left: var(--space-xs); z-index: 2; margin: 0; } /* Photo Tabs */ .photo-tabs { display: flex; margin-bottom: var(--space-md); border-bottom: 2px solid #dee2e6; } .photo-tabs .tab-btn { flex: 1; padding: var(--space-sm) var(--space-md); border: none; background: #f8f9fa; color: var(--text-secondary); cursor: pointer; font-size: var(--font-sm); font-weight: 500; transition: all 0.2s ease; } .photo-tabs .tab-btn:hover { background: #e9ecef; color: var(--text-primary); } .photo-tabs .tab-btn.active { background: var(--bg-card); color: var(--color-primary); border-bottom: 2px solid var(--color-primary); transform: translateY(2px); } /* Audio Management Styles */ .audio-tabs { display: flex; margin-bottom: var(--space-lg); border-bottom: 2px solid var(--border-color); border-radius: 8px 8px 0 0; overflow: hidden; } .audio-tabs .tab-btn { flex: 1; padding: var(--space-md) var(--space-lg); border: none; background: var(--bg-tertiary); color: var(--text-secondary); cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.3s ease; font-weight: 600; } .audio-tabs .tab-btn:hover { background: var(--bg-card); color: var(--text-primary); } .audio-tabs .tab-btn.active { background: var(--bg-card); color: var(--color-primary); border-bottom-color: var(--color-primary); } .audio-count { font-size: var(--font-sm); color: var(--text-secondary); font-weight: 500; } .audio-gallery { display: none; /* Hide galleries by default */ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-lg); max-height: 400px; overflow-y: auto; padding: var(--space-lg); border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-secondary); } .audio-gallery.active { display: grid; /* Show active gallery as grid */ } .audio-item { position: relative; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-primary); transition: all 0.3s ease; padding: var(--space-lg); } .audio-item:hover { transform: translateY(-2px); box-shadow: var(--glow-primary); border-color: var(--border-accent); } .audio-item.selected { border: 3px solid var(--color-primary); transform: scale(0.98); background: var(--bg-tertiary); box-shadow: var(--glow-primary); } .audio-icon { font-size: 2.5em; text-align: center; margin-bottom: var(--space-sm); color: var(--color-primary); } .audio-title { font-size: var(--font-sm); color: var(--text-primary); margin-bottom: var(--space-sm); font-weight: 600; word-break: break-word; text-align: center; } .audio-filename { font-size: var(--font-xs); color: var(--text-secondary); margin-bottom: var(--space-sm); text-align: center; word-break: break-word; } .audio-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; } .audio-preview-btn { background: #28a745; color: white; border: none; padding: 4px 8px; border-radius: 4px; cursor: pointer; font-size: 0.8em; transition: background 0.3s ease; } .audio-preview-btn:hover { background: #218838; } .audio-checkbox { margin: 0; } .audio-status { font-size: 0.7em; padding: 2px 6px; border-radius: 4px; font-weight: bold; } .audio-enabled { background: #d4edda; color: #155724; } .audio-disabled { background: #f8d7da; color: #721c24; } .audio-preview-section { background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; padding: 20px; margin: 20px 0; } .audio-preview-section h4 { margin-bottom: 15px; color: #333; } .preview-controls { display: flex; flex-direction: column; gap: 10px; } .preview-info { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; } .preview-info span { font-size: 0.9em; color: #6c757d; font-weight: 500; } .no-audio { text-align: center; padding: 40px; color: var(--text-secondary); font-style: italic; background: var(--bg-card); border-radius: 8px; border: 2px dashed var(--border-color); } /* Audio category icons */ .audio-item[data-category="background"] .audio-icon::before { content: "🎵"; } .audio-item[data-category="ambient"] .audio-icon::before { content: "🌿"; } .audio-item[data-category="effects"] .audio-icon::before { content: "🔊"; } /* =========================== RESPONSIVE DESIGN ENHANCEMENTS =========================== */ /* Large screens - take advantage of extra space */ @media (min-width: 1200px) { .game-container { width: 90%; max-width: 1400px; } .game-header h1 { font-size: 6rem; } /* Make better use of horizontal space */ .main-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 20px; } .main-actions .btn { width: auto; min-width: 200px; max-width: 250px; margin: 0; } /* Multi-column layouts for management screens */ .image-gallery, .audio-gallery { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-md); } /* Game mode selection in columns */ .game-mode-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; } } /* Medium screens - balanced layout */ @media (min-width: 900px) and (max-width: 1199px) { .game-container { width: 95%; } .main-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 15px; } .main-actions .btn { width: auto; min-width: 180px; max-width: 220px; margin: 0; } } /* Small screens - compact layout */ @media (max-width: 899px) { .game-container { width: calc(100vw - 350px); max-width: calc(100vw - 350px); margin: 5px auto; border-radius: 10px; min-width: 600px; } .game-header { padding: 15px; } .game-header h1 { font-size: 3.5rem; } .main-actions { flex-direction: column; gap: 12px; } .main-actions .btn { width: 100%; max-width: 280px; } /* Compact game mode selection */ .game-mode-selection { padding: 15px; } .game-mode-option label { padding: 12px; } /* Adjust image and audio galleries */ .image-gallery, .audio-gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-sm); } } /* Handle very wide screens */ @media (min-width: 1600px) { .game-container { width: calc(100vw - 350px); max-width: calc(100vw - 350px); } .game-content { padding: 30px; } /* Use more columns for galleries on wide screens */ .image-gallery, .audio-gallery { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; } } /* Ensure game screen task display scales well */ @media (min-width: 1400px) { .task-display { max-width: 900px; margin: 0 auto; } .task-image { max-height: min(75vh, 900px); /* Much larger images on very large screens */ max-width: min(85vw, 1400px); /* Can be much wider on large screens */ } .task-image-container { min-height: max(300px, 35vh); /* Taller container for larger images */ } } @media (min-width: 1000px) and (max-width: 1399px) { .task-display { max-width: 700px; margin: 0 auto; } .task-image { max-height: min(65vh, 700px); /* Bigger images for medium-large screens */ max-width: min(88vw, 1000px); /* More width utilization */ } } /* Compact sizing for smaller windows */ @media (max-width: 999px) { .task-image { max-height: min(55vh, 500px); /* Still quite large on compact screens */ max-width: min(92vw, 600px); /* Take up most of the width */ min-height: max(180px, 18vh); /* Smaller minimum height */ } .task-image-container { min-height: max(180px, 20vh); /* Compact container */ margin-bottom: 15px; } } /* Very small windows - still allow decent image size */ @media (max-width: 800px) { .task-image { max-height: min(50vh, 400px); /* Half the viewport height on small windows */ max-width: min(95vw, 500px); /* Nearly full width */ min-height: max(150px, 15vh); /* Smaller minimum */ min-width: 200px; /* Smaller minimum width */ } .task-image-container { min-height: max(150px, 18vh); margin-bottom: 10px; } } /* High DPI / Retina display adjustments */ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) { .game-container { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); } .btn { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } } /* =========================== DYNAMIC WINDOW SIZE CLASSES =========================== */ /* Extra fine-tuning based on JavaScript window size detection */ .game-container.window-xl .task-image { max-width: min(85vw, 1500px); /* Huge images on ultra-wide screens */ max-height: min(80vh, 1000px); /* Take up most of the vertical space */ min-height: max(400px, 30vh); /* Large minimum size */ } .game-container.window-large .task-image { max-width: min(88vw, 1200px); /* Very large images */ max-height: min(75vh, 800px); /* Most of the screen height */ min-height: max(300px, 25vh); /* Good minimum size */ } .game-container.window-medium .task-image { max-width: min(90vw, 800px); /* Large images on medium screens */ max-height: min(65vh, 600px); /* Good portion of screen height */ min-height: max(250px, 22vh); /* Reasonable minimum */ } .game-container.window-small .task-image { max-width: min(95vw, 500px); /* Nearly full width on small screens */ max-height: min(55vh, 400px); /* More than half the screen height */ min-height: max(200px, 20vh); /* Decent minimum size */ min-width: 180px; } /* Smooth transitions between window size changes */ .task-image { transition: max-width 0.3s ease, max-height 0.3s ease, min-height 0.3s ease; } .task-image-container { transition: min-height 0.3s ease; } /* =========================== FLASH MESSAGE SYSTEM =========================== */ /* Flash message overlay */ .flash-message-overlay { position: fixed; display: none; pointer-events: none; /* Don't block clicks */ font-family: 'Arial', sans-serif; user-select: none; /* Prevent text selection */ opacity: 0; transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; } /* Flash message animations */ @keyframes flashBounceIn { 0% { opacity: 0; transform: scale(0.3) translate(-50%, -50%); } 50% { opacity: 1; transform: scale(1.05) translate(-50%, -50%); } 70% { transform: scale(0.9) translate(-50%, -50%); } 100% { opacity: 1; transform: scale(1) translate(-50%, -50%); } } @keyframes flashPulseIn { 0% { opacity: 0; transform: scale(1) translate(-50%, -50%); } 20% { opacity: 0.8; transform: scale(1.1) translate(-50%, -50%); } 40% { opacity: 1; transform: scale(0.95) translate(-50%, -50%); } 60% { opacity: 1; transform: scale(1.05) translate(-50%, -50%); } 80% { opacity: 1; transform: scale(0.98) translate(-50%, -50%); } 100% { opacity: 1; transform: scale(1) translate(-50%, -50%); } } @keyframes flashFadeOut { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.95); } } /* Flash message responsive styles */ @media (max-width: 768px) { .flash-message-overlay { max-width: 90% !important; padding: 15px 20px !important; font-size: 18px !important; } } @media (max-width: 480px) { .flash-message-overlay { max-width: 95% !important; padding: 12px 16px !important; font-size: 16px !important; border-radius: 10px !important; } } /* =========================== ANNOYANCE MANAGEMENT SCREEN =========================== */ /* Tab Navigation */ .annoyance-tabs { display: flex; gap: 2px; margin-bottom: 20px; background: #e9ecef; border-radius: 8px; padding: 4px; } .annoyance-tab { flex: 1; background: transparent; border: none; padding: 12px 16px; border-radius: 6px; cursor: pointer; font-weight: 500; transition: all 0.2s ease; color: #666; } .annoyance-tab:hover { background: #dee2e6; color: #333; } .annoyance-tab.active { background: #007bff; color: white; box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3); } /* Tab Content */ .annoyance-tab-content { display: none; } .annoyance-tab-content.active { display: block; animation: fadeIn 0.3s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* Section Styling */ .annoyance-section { background: #f8f9fa; border-radius: 10px; padding: 20px; margin-bottom: 20px; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e9ecef; } .header-controls { display: flex; align-items: center; gap: 15px; } /* Message Editor */ .message-editor { background: white; border: 2px solid #007bff; border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1); } .editor-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #e9ecef; } .editor-header h4 { margin: 0; color: #007bff; } .editor-form { display: flex; flex-direction: column; gap: 15px; } .form-group { display: flex; flex-direction: column; gap: var(--space-xs); } .form-group label { font-weight: 600; color: var(--text-primary); } .form-group textarea { padding: var(--space-sm); border: 2px solid #ddd; border-radius: 6px; font-size: var(--font-sm); resize: vertical; min-height: 80px; transition: border-color 0.2s; } .form-group textarea:focus { border-color: var(--color-primary); outline: none; } .form-group select { padding: var(--space-sm) var(--space-md); border: 2px solid #ddd; border-radius: 6px; background: white; font-size: var(--font-sm); cursor: pointer; transition: border-color 0.2s; } .form-group select:focus { border-color: var(--color-primary); outline: none; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); } .char-counter { font-size: var(--font-xs); color: #666; text-align: right; } .char-counter.warning { color: #ffc107; } .char-counter.error { color: #dc3545; } .editor-actions { display: flex; gap: 10px; justify-content: flex-start; } /* Message List */ .message-list-section { background: white; border-radius: 8px; overflow: hidden; } .list-header { background: #f8f9fa; padding: var(--space-md) var(--space-xl); border-bottom: 1px solid #e9ecef; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); } .list-filters { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; } .list-filters label { font-size: 14px; color: #666; display: flex; align-items: center; gap: var(--space-xs); } .list-filters select { padding: var(--space-xs) var(--space-sm); border: 1px solid #ddd; border-radius: 4px; background: white; font-size: 13px; } .list-stats { font-size: 14px; color: #666; font-weight: 500; } .message-list { max-height: 400px; overflow-y: auto; } .message-item { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid #f1f3f4; transition: background-color 0.2s; } .message-item:hover { background-color: #f8f9fa; } .message-item.disabled { opacity: 0.6; background-color: #f8f9fa; } .message-content { flex: 1; display: flex; flex-direction: column; gap: 5px; } .message-text { font-size: 14px; color: #333; line-height: 1.4; } .message-meta { display: flex; gap: 15px; font-size: 12px; color: #666; } .message-category { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; background: #e9ecef; border-radius: 12px; font-size: 11px; font-weight: 500; } .message-category.motivational { background: #d4edda; color: #155724; } .message-category.encouraging { background: #d1ecf1; color: #0c5460; } .message-category.achievement { background: #fff3cd; color: #856404; } .message-category.persistence { background: #f8d7da; color: #721c24; } .message-category.custom { background: #e2e3e5; color: #383d41; } .message-actions { display: flex; gap: 8px; align-items: center; } .message-toggle { width: 40px; height: 20px; background: #ccc; border-radius: 10px; position: relative; cursor: pointer; transition: background-color 0.3s; } .message-toggle.enabled { background: #28a745; } .message-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: white; border-radius: 50%; transition: transform 0.3s; } .message-toggle.enabled::after { transform: translateX(20px); } /* Control Layouts */ .control-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .control-group { display: flex; flex-direction: column; gap: var(--space-sm); } .control-group label { font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: var(--space-sm); } .control-group input[type="range"] { width: 100%; height: 6px; border-radius: 3px; background: #ddd; outline: none; opacity: 0.7; transition: opacity 0.2s; cursor: pointer; } .control-group input[type="range"]:hover { opacity: 1; } .control-group input[type="range"]::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #007bff; cursor: pointer; transition: background 0.2s; } .control-group input[type="range"]::-webkit-slider-thumb:hover { background: #0056b3; } /* Focus video player volume slider override */ .focus-volume-slider { width: 60px !important; max-width: 60px !important; min-width: 60px !important; height: 3px !important; background: #666 !important; } /* Performance optimizations for large video galleries */ .video-galleries-container { height: 60vh; max-height: 800px; overflow-y: auto; overflow-x: hidden; } #unified-video-gallery { height: 80vh; /* Increased from 60vh */ max-height: 1200px; /* Increased from 800px */ overflow-y: auto; padding: var(--space-md); display: grid !important; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important; /* Smaller min width for more columns */ gap: 12px !important; /* Reduced gap for less wasted space */ } .video-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; padding: 10px; } .video-item { transform: translateZ(0); /* Force hardware acceleration */ will-change: transform; /* Hint to browser for optimization */ contain: layout style paint; /* CSS containment for better performance */ } .lazy-thumbnail { background: #2a2a2a; border-radius: 4px; } .thumbnail-placeholder { font-size: 24px; transition: opacity 0.3s ease; } /* Virtual scrolling optimization */ .video-gallery.active { contain: strict; /* Strict containment for performance */ } .control-group input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; } .control-group input[type="color"] { width: 60px; height: 40px; border: 2px solid #ddd; border-radius: 6px; cursor: pointer; transition: border-color 0.2s; } .control-group input[type="color"]:focus { border-color: #007bff; outline: none; } .help-text { font-size: var(--font-xs); color: #666; font-style: italic; margin-top: 2px; } .help-text.danger { color: #dc3545; } /* Import/Export Sections */ .control-section { background: var(--bg-tertiary); border-radius: 12px; padding: var(--space-xl); margin-bottom: var(--space-lg); border: 1px solid var(--border-color); box-shadow: var(--shadow-primary); } .control-section h4 { margin: 0 0 var(--space-md) 0; color: var(--text-primary); font-size: var(--font-lg); font-weight: 600; } .export-options, .import-options, .reset-options { display: flex; gap: var(--space-lg); flex-wrap: wrap; margin-bottom: var(--space-lg); } /* Enhanced button styling for modal actions */ .export-options .btn, .import-options .btn, .reset-options .btn { padding: var(--space-md) var(--space-xl); font-size: var(--font-base); min-width: 140px; min-height: 44px; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; } .export-options .btn:hover, .import-options .btn:hover, .reset-options .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3); } .import-mode { margin-top: var(--space-md); padding: var(--space-md); background: rgba(138, 43, 226, 0.1); border-radius: 8px; border: 1px solid var(--border-accent); } .radio-group { display: flex; gap: var(--space-lg); margin-top: var(--space-sm); } .radio-group label { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--font-sm); color: var(--text-primary); cursor: pointer; padding: var(--space-sm); border-radius: 6px; transition: background-color 0.3s ease; } .radio-group label:hover { background: rgba(138, 43, 226, 0.1); } .radio-group input[type="radio"] { width: 16px; height: 16px; accent-color: var(--color-primary); } /* Responsive Design */ @media (max-width: 768px) { .annoyance-tabs { flex-direction: column; } .section-header { flex-direction: column; align-items: flex-start; gap: 10px; } .form-row, .control-row { grid-template-columns: 1fr; gap: 10px; } .list-header { flex-direction: column; align-items: flex-start; } .message-item { flex-direction: column; align-items: flex-start; gap: 10px; } .message-actions { align-self: stretch; justify-content: space-between; } .export-options, .import-options, .reset-options { flex-direction: column; } .annoyance-section { padding: 15px; } } /* ====================================== Punishment Popup System Styles ====================================== */ /* Background blur for punishment popups */ .punishment-popup-blur { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(3px); z-index: 9999; pointer-events: none; } /* Individual punishment popup */ .punishment-popup { position: fixed; z-index: 10000; background: white; border: 3px solid #dc3545; border-radius: 10px; box-shadow: 0 8px 32px rgba(220, 53, 69, 0.4); overflow: hidden; display: flex; flex-direction: column; font-family: var(--font-family); min-width: 200px; min-height: 150px; max-width: 500px; max-height: 400px; } /* Popup header with timer and title */ .punishment-popup-header { background: #dc3545; color: white; padding: 8px 12px; font-size: 12px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; user-select: none; } .punishment-popup-timer { background: rgba(255, 255, 255, 0.2); padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 11px; min-width: 30px; text-align: center; } /* Image container within popup */ .punishment-popup img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 5px; } /* Popup Images Tab specific styles */ .range-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-top: var(--space-sm); } .range-inputs > div { display: flex; flex-direction: column; gap: var(--space-xs); } .range-inputs input[type="number"] { padding: var(--space-md); border: 1px solid var(--border-color); border-radius: 8px; font-size: var(--font-base); background: var(--bg-tertiary); color: var(--text-primary); min-height: 40px; transition: all 0.3s ease; } .range-inputs input[type="number"]:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 8px rgba(138, 43, 226, 0.3); } /* Enhanced input styling for better comfort */ input[type="number"], input[type="text"], select { padding: var(--space-md); border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-tertiary); color: var(--text-primary); font-size: var(--font-base); min-height: 40px; transition: all 0.3s ease; } input[type="number"]:focus, input[type="text"]:focus, select:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 8px rgba(138, 43, 226, 0.3); color: var(--text-primary); } .range-inputs input[type="number"]:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); } .warning-text { background: #fff3cd; color: #856404; padding: var(--space-sm); border: 1px solid #ffeaa7; border-radius: 5px; margin-top: var(--space-sm); font-size: var(--font-sm); font-weight: 500; } .test-buttons { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-top: var(--space-sm); } .test-buttons .btn { flex: 1; min-width: 120px; padding: var(--space-sm) var(--space-md); font-size: var(--font-sm); font-weight: 500; border: none; border-radius: 6px; cursor: pointer; transition: all 0.2s ease; text-align: center; } .test-buttons .btn-info { background: #17a2b8; color: white; } .test-buttons .btn-info:hover { background: #138496; transform: translateY(-1px); } .test-buttons .btn-primary { background: #007bff; color: white; } .test-buttons .btn-primary:hover { background: #0056b3; transform: translateY(-1px); } .test-buttons .btn-danger { background: #dc3545; color: white; } .test-buttons .btn-danger:hover { background: #c82333; transform: translateY(-1px); } .info-display { background: var(--bg-card); padding: 15px; border-radius: 8px; border-left: 4px solid var(--color-primary); border: 1px solid var(--border-color); margin-top: 10px; box-shadow: var(--shadow-primary); } .info-item { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .info-item:last-child { border-bottom: none; } .info-label { font-weight: 500; color: #495057; } .info-item span:last-child { font-weight: bold; color: #007bff; background: rgba(0, 123, 255, 0.1); padding: 2px 8px; border-radius: 12px; font-size: 12px; min-width: 30px; text-align: center; } /* Responsive styles for popup images tab */ @media (max-width: 768px) { .range-inputs { grid-template-columns: 1fr; gap: 10px; } .test-buttons { flex-direction: column; } .test-buttons .btn { min-width: 100%; } .punishment-popup { max-width: 90vw; max-height: 80vh; } .info-item { flex-direction: column; align-items: flex-start; gap: 5px; } .info-item span:last-child { align-self: flex-end; } } /* Animation for popup appearance */ @keyframes popupFadeIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } } @keyframes popupFadeOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.9); } } .punishment-popup { animation: popupFadeIn 0.3s ease-out; } .punishment-popup.fade-out { animation: popupFadeOut 0.3s ease-in; } /* Audio Controls Styling */ .audio-controls { border-top: 1px solid var(--border-color); padding-top: var(--space-md); margin-top: var(--space-md); } .audio-control-header { margin-bottom: var(--space-md); } .audio-control-group { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-md); } .audio-control { display: flex; align-items: center; gap: var(--space-sm); font-size: 12px; } .audio-control label { min-width: 100px; font-weight: 500; } .volume-slider { flex: 1; height: 4px; background: var(--border-color); border-radius: 2px; outline: none; -webkit-appearance: none; } .volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; background: var(--primary-color); border-radius: 50%; cursor: pointer; transition: transform 0.2s; } .volume-slider::-webkit-slider-thumb:hover { transform: scale(1.1); } .volume-slider::-moz-range-thumb { width: 16px; height: 16px; background: var(--primary-color); border-radius: 50%; cursor: pointer; border: none; } .audio-control span { min-width: 35px; text-align: right; font-weight: 500; color: var(--primary-color); } .btn-mini { padding: 2px 6px; font-size: 10px; min-width: 24px; height: 20px; line-height: 1; } .btn-danger { background-color: #dc3545; color: white; border-color: #dc3545; } .btn-danger:hover { background-color: #c82333; border-color: #bd2130; } .debug-controls { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-color-light); } .debug-controls .option-label { color: #ff6b6b; font-weight: bold; } .audio-toggles { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; border-top: 1px solid var(--border-color-light); } .audio-toggles label { display: flex; align-items: center; gap: 6px; font-size: 11px; cursor: pointer; } .audio-toggles input[type="checkbox"] { margin: 0; } /* ===== INTERACTIVE TASK STYLES ===== */ /* Interactive Task Container */ .interactive-task-container { margin: 20px 0; padding: 20px; background: var(--bg-card); border-radius: 12px; border: 2px solid var(--border-color); color: var(--text-primary); box-shadow: var(--shadow-primary); } .interactive-controls { margin-top: 15px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; } .interactive-feedback { margin-top: 15px; padding: 12px; border-radius: 8px; text-align: center; font-weight: bold; display: none; animation: feedback-slide-in 0.3s ease-out; } @keyframes feedback-slide-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .feedback-success { background: rgba(40, 167, 69, 0.9); color: white; } .feedback-error { background: rgba(220, 53, 69, 0.9); color: white; } .feedback-warning { background: rgba(255, 193, 7, 0.9); color: #856404; } .feedback-info { background: rgba(23, 162, 184, 0.9); color: white; } /* ===== RHYTHM TASK STYLES ===== */ .rhythm-task { text-align: center; } .rhythm-task h4 { color: rgba(255, 255, 255, 0.9); margin-bottom: 10px; } .rhythm-task p { color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; } .rhythm-display { margin: 20px 0; } .beat-indicator { width: 100px; height: 100px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: all 0.1s ease; border: 3px solid rgba(255, 255, 255, 0.5); } .beat-indicator.beat-flash { background: rgba(255, 107, 107, 0.8); transform: scale(1.1); box-shadow: 0 0 20px rgba(255, 107, 107, 0.6); border-color: rgba(255, 107, 107, 0.9); } .rhythm-progress { width: 100%; height: 8px; background: rgba(255, 255, 255, 0.2); border-radius: 4px; overflow: hidden; margin-bottom: 20px; } .progress-bar { height: 100%; background: linear-gradient(90deg, #ff6b6b, #ee5a24); width: 0%; transition: width 0.2s ease; } .rhythm-tap-btn { width: 150px; height: 150px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); border: 3px solid rgba(255, 255, 255, 0.3); color: white; font-size: 20px; font-weight: bold; cursor: pointer; transition: all 0.1s ease; margin: 20px 0; box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); } .rhythm-tap-btn:hover { background: linear-gradient(135deg, #764ba2, #667eea); transform: scale(1.05); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); } .rhythm-tap-btn:active, .rhythm-tap-btn.tapped { background: linear-gradient(135deg, #ff6b6b, #ee5a24); transform: scale(0.95); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } .rhythm-stats { display: flex; justify-content: space-around; margin-top: 15px; font-size: 16px; font-weight: bold; } .rhythm-stats span { color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.1); padding: 8px 12px; border-radius: 6px; } /* ===== SCENARIO BUILDER STYLES ===== */ .scenario-task { text-align: left; max-width: 100%; } .scenario-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 15px; background: var(--bg-card); border-radius: 8px; border: 1px solid var(--border-color); box-shadow: var(--shadow-primary); } .scenario-header h4 { color: var(--text-primary); margin: 0; font-size: 18px; } .scenario-progress { color: var(--text-secondary); font-size: 14px; background: var(--bg-tertiary); padding: 5px 10px; border-radius: 12px; } .scenario-content { margin-bottom: 20px; } .scenario-story { margin-bottom: 20px; } .story-text { background: var(--bg-secondary); padding: 20px; border-radius: 10px; border-left: 4px solid var(--color-primary); color: var(--text-primary); line-height: 1.6; font-size: 16px; } .story-text.seductive { border-left-color: #ff6b6b; background: rgba(255, 107, 107, 0.1); } .story-text.intense { border-left-color: #ee5a24; background: rgba(238, 90, 36, 0.1); } .story-text.playful { border-left-color: #667eea; background: rgba(102, 126, 234, 0.1); } .story-text.dominant { border-left-color: #764ba2; background: rgba(118, 75, 162, 0.1); } .scenario-choices { display: flex; flex-direction: column; gap: 12px; } .scenario-choice { background: var(--bg-card); border: 2px solid var(--border-color); border-radius: 10px; padding: 15px; color: var(--text-primary); cursor: pointer; transition: all 0.3s ease; text-align: left; min-height: auto; width: 100%; box-shadow: var(--shadow-primary); } .scenario-choice:hover:not(.disabled) { background: var(--bg-tertiary); border-color: var(--border-accent); transform: translateY(-2px); box-shadow: var(--glow-primary); } .scenario-choice.disabled { opacity: 0.5; cursor: not-allowed; background: var(--bg-secondary); } .scenario-choice.submissive { border-color: rgba(255, 107, 107, 0.5); background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.1)); } .scenario-choice.dominant { border-color: rgba(118, 75, 162, 0.5); background: linear-gradient(135deg, rgba(118, 75, 162, 0.2), rgba(118, 75, 162, 0.1)); } .scenario-choice.risky { border-color: rgba(238, 90, 36, 0.5); background: linear-gradient(135deg, rgba(238, 90, 36, 0.2), rgba(238, 90, 36, 0.1)); } .choice-text { font-size: var(--font-md); font-weight: bold; margin-bottom: var(--space-xs); color: var(--text-primary); } .choice-preview { font-size: var(--font-sm); color: var(--text-secondary); font-style: italic; margin-bottom: var(--space-xs); } .choice-requirements { font-size: 12px; color: rgba(255, 193, 7, 0.8); background: rgba(255, 193, 7, 0.1); padding: 4px 8px; border-radius: 4px; display: inline-block; } .scenario-action { background: linear-gradient(135deg, #667eea, #764ba2); border: none; border-radius: 10px; padding: 20px; color: white; cursor: pointer; transition: all 0.3s ease; width: 100%; font-size: 16px; font-weight: bold; } .scenario-action:hover { background: linear-gradient(135deg, #764ba2, #667eea); transform: scale(1.02); } .scenario-action.active { background: linear-gradient(135deg, #ff6b6b, #ee5a24); animation: pulse 1s infinite; } .scenario-action.completed { background: linear-gradient(135deg, #28a745, #20c997); cursor: default; } .action-text { font-size: 18px; margin-bottom: 10px; } .action-timer { font-size: 24px; font-weight: bold; color: rgba(255, 255, 255, 0.9); } .scenario-ending { text-align: center; padding: 20px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; } .ending-text { font-size: 16px; color: rgba(255, 255, 255, 0.9); margin-bottom: 15px; line-height: 1.6; } .ending-outcome { font-size: 18px; font-weight: bold; padding: 10px; border-radius: 8px; } .ending-outcome.success { background: rgba(40, 167, 69, 0.2); color: #28a745; } .ending-outcome.failure { background: rgba(220, 53, 69, 0.2); color: #dc3545; } .ending-outcome.reward { background: rgba(255, 193, 7, 0.2); color: #ffc107; } .scenario-status { margin-top: 20px; padding: 15px; background: rgba(0, 0, 0, 0.2); border-radius: 8px; } .scenario-stats { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px; } .scenario-stats .stat { background: rgba(255, 255, 255, 0.1); padding: 8px 12px; border-radius: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.9); text-align: center; min-width: 80px; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } /* =========================================== INVENTORY QUESTIONNAIRE STYLING =========================================== */ .inventory-questionnaire { max-width: 800px; margin: 20px auto; } .inventory-category { background: rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 20px; margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, 0.1); } .category-title { color: rgba(255, 255, 255, 0.95); font-size: 20px; font-weight: bold; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid rgba(255, 255, 255, 0.2); } .inventory-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; padding: 10px 0; } .inventory-item { padding: 10px; background: rgba(255, 255, 255, 0.03); border-radius: 8px; transition: background 0.2s; } .inventory-item:hover { background: rgba(255, 255, 255, 0.08); } .checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; color: rgba(255, 255, 255, 0.9); font-size: 16px; } .inventory-checkbox { width: 20px; height: 20px; cursor: pointer; } .select-label { display: flex; flex-direction: column; gap: 8px; color: rgba(255, 255, 255, 0.9); font-size: 16px; } .inventory-select { padding: 8px 12px; border-radius: 6px; background: rgba(0, 0, 0, 0.3); color: rgba(255, 255, 255, 0.95); border: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; cursor: pointer; transition: all 0.2s; } .inventory-select:hover { background: rgba(0, 0, 0, 0.4); border-color: rgba(255, 255, 255, 0.4); } .inventory-select:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2); } /* Inventory Summary Styles */ .inventory-summary { background: rgba(255, 255, 255, 0.05); border-radius: 15px; padding: 30px; margin: 20px 0; border: 2px solid rgba(255, 255, 255, 0.1); } .inventory-summary h3 { color: rgba(255, 255, 255, 0.95); font-size: 24px; text-align: center; margin-bottom: 20px; } .tier-badge { display: inline-block; padding: 10px 30px; border-radius: 25px; font-size: 20px; font-weight: bold; margin: 10px 0 20px; } .tier-badge.tier-1 { background: linear-gradient(135deg, #ffc0cb 0%, #ffffff 100%); color: #ff1493; border: 2px solid #ff69b4; } .tier-badge.tier-2 { background: linear-gradient(135deg, #ba68c8 0%, #f48fb1 100%); color: #ffffff; border: 2px solid #9c27b0; } .tier-badge.tier-3 { background: linear-gradient(135deg, #ff1493 0%, #ffc0cb 50%, #ff69b4 100%); color: #ffffff; border: 2px solid #ffd700; } .tier-badge.tier-4 { background: linear-gradient(135deg, #b71c1c 0%, #000000 100%); color: #ff5252; border: 2px solid #ff5252; } .tier-badge.tier-5 { background: linear-gradient(135deg, #000000 0%, #ff1493 50%, #000000 100%); color: #ff1493; border: 2px solid #00ff00; box-shadow: 0 0 20px rgba(255, 20, 147, 0.5); } .summary-stats { display: flex; justify-content: space-around; margin: 20px 0; flex-wrap: wrap; gap: 15px; } .summary-stats .stat { background: rgba(255, 255, 255, 0.1); padding: 15px 25px; border-radius: 10px; text-align: center; min-width: 150px; } .stat-label { display: block; color: rgba(255, 255, 255, 0.7); font-size: 14px; margin-bottom: 5px; } .stat-value { display: block; color: rgba(255, 255, 255, 0.95); font-size: 28px; font-weight: bold; } .inventory-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; } .item-category { background: rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 15px; } .item-category h4 { color: rgba(255, 255, 255, 0.9); font-size: 16px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); } .item-category ul { list-style: none; padding: 0; margin: 0; } .item-category li { color: rgba(255, 255, 255, 0.8); font-size: 14px; padding: 5px 0; padding-left: 15px; position: relative; } .item-category li:before { content: "✓"; position: absolute; left: 0; color: #28a745; font-weight: bold; } /* =========================================== INTERLUDE INTERFACE STYLING (Webcam Mirror, Focus Session, etc.) =========================================== */ /* Interlude Modal Overlay */ #mirror-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background: var(--interlude-overlay) !important; display: flex !important; justify-content: center !important; align-items: center !important; z-index: 10000 !important; } /* Interlude Container Base */ .mirror-container, .focus-task, .mirror-task-container { background: var(--interlude-bg) !important; border: 2px solid var(--interlude-border) !important; border-radius: 15px !important; padding: var(--space-xl) !important; margin: var(--space-md) 0 !important; text-align: center !important; box-shadow: var(--interlude-shadow) !important; color: var(--interlude-text-primary) !important; } .mirror-container { max-width: 800px !important; max-height: 90vh !important; overflow-y: auto !important; } /* Interlude Headers */ .mirror-header h3, .mirror-task-header h3, .mirror-task-header h4, .focus-task h3 { color: var(--interlude-text-primary) !important; font-size: var(--font-xl) !important; margin-bottom: var(--space-md) !important; text-shadow: none !important; } .mirror-header p, .mirror-task-header p, .focus-task p { color: var(--interlude-text-secondary) !important; font-size: var(--font-base) !important; margin-bottom: var(--space-lg) !important; line-height: 1.6 !important; } /* Interlude Video Elements */ #mirror-video { width: 100% !important; max-width: 640px !important; height: auto !important; border-radius: 10px !important; transform: scaleX(-1) !important; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important; border: 2px solid var(--interlude-border) !important; margin: var(--space-lg) 0 !important; } /* Interlude Content Areas */ .mirror-instructions, .mirror-task-text, .mirror-task-details { color: var(--interlude-text-primary) !important; font-size: var(--font-base) !important; margin: var(--space-md) 0 !important; padding: var(--space-md) !important; background: rgba(255, 255, 255, 0.1) !important; border-radius: 8px !important; border-left: 4px solid var(--interlude-accent) !important; } .mirror-task-text, .mirror-task-details { color: var(--interlude-text-secondary) !important; font-size: var(--font-sm) !important; margin-top: var(--space-lg) !important; font-style: italic !important; padding: var(--space-sm) !important; background: rgba(255, 255, 255, 0.05) !important; } /* Interlude Timers and Progress */ .mirror-timer, .focus-progress { background: rgba(255, 255, 255, 0.1) !important; border-radius: 8px !important; padding: var(--space-md) !important; margin: var(--space-md) 0 !important; color: var(--interlude-text-primary) !important; text-align: center !important; } .focus-timer-display { font-size: 48px !important; font-weight: bold !important; color: var(--interlude-accent) !important; margin: var(--space-lg) 0 !important; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important; } .mirror-progress, .focus-progress .progress-bar { width: 100% !important; background: rgba(255, 255, 255, 0.1) !important; border-radius: 4px !important; margin: var(--space-sm) 0 !important; height: 8px !important; overflow: hidden !important; } .progress-bar { height: 100% !important; background: linear-gradient(90deg, var(--interlude-accent), #9c27b0) !important; border-radius: 4px !important; transition: width 1s ease !important; } .timer-text, .progress-text, .video-info { color: var(--interlude-text-primary) !important; font-size: var(--font-sm) !important; font-weight: 600 !important; margin-top: var(--space-sm) !important; text-align: center !important; } .video-info { color: var(--interlude-text-secondary) !important; font-size: var(--font-xs) !important; } /* Interlude Button Controls */ .mirror-controls { margin-top: var(--space-lg) !important; display: flex !important; gap: var(--space-md) !important; justify-content: center !important; flex-wrap: wrap !important; } /* =========================================== INTERLUDE BUTTON STYLING =========================================== */ /* Universal Interlude Button Styling */ .interlude-btn, #start-focus-btn, #scenario-mirror-btn, #start-mirror-btn, .mirror-start-btn, button#scenario-mirror-btn.btn.btn-primary, button#start-mirror-btn.btn.btn-primary, button#scenario-mirror-btn.btn, button#start-mirror-btn.btn, .mirror-start-btn.btn.btn-primary, .mirror-start-btn.btn, #scenario-mirror-btn.btn.btn-primary, #start-mirror-btn.btn.btn-primary, #scenario-mirror-btn.btn, #start-mirror-btn.btn, button#scenario-mirror-btn, button#start-mirror-btn { background: var(--interlude-button-gradient) !important; color: white !important; border: none !important; padding: var(--space-md) var(--space-xl) !important; font-size: var(--font-lg) !important; border-radius: 8px !important; cursor: pointer !important; margin: var(--space-lg) 0 !important; font-weight: 600 !important; transition: all 0.3s ease !important; min-width: 200px !important; box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3) !important; opacity: 1 !important; } .interlude-btn:hover, #start-focus-btn:hover, #scenario-mirror-btn:hover, #start-mirror-btn:hover, .mirror-start-btn:hover, button#scenario-mirror-btn.btn.btn-primary:hover, button#start-mirror-btn.btn.btn-primary:hover, button#scenario-mirror-btn.btn:hover, button#start-mirror-btn.btn:hover, .mirror-start-btn.btn.btn-primary:hover, .mirror-start-btn.btn:hover, #scenario-mirror-btn.btn.btn-primary:hover, #start-mirror-btn.btn.btn-primary:hover, #scenario-mirror-btn.btn:hover, #start-mirror-btn.btn:hover, button#scenario-mirror-btn:hover, button#start-mirror-btn:hover { transform: translateY(-2px) !important; box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4) !important; background: var(--interlude-button-gradient) !important; opacity: 1 !important; } .interlude-btn:disabled, #start-focus-btn:disabled, #scenario-mirror-btn:disabled, #start-mirror-btn:disabled, .mirror-start-btn:disabled, button#scenario-mirror-btn.btn.btn-primary:disabled, button#start-mirror-btn.btn.btn-primary:disabled, button#scenario-mirror-btn.btn:disabled, button#start-mirror-btn.btn:disabled, .mirror-start-btn.btn.btn-primary:disabled, .mirror-start-btn.btn:disabled, #scenario-mirror-btn.btn.btn-primary:disabled, #start-mirror-btn.btn.btn-primary:disabled, #scenario-mirror-btn.btn:disabled, #start-mirror-btn.btn:disabled, button#scenario-mirror-btn:disabled, button#start-mirror-btn:disabled { background: linear-gradient(135deg, #666666, #555555) !important; cursor: not-allowed !important; opacity: 0.7 !important; transform: none !important; } /* Interlude Control Buttons (inside modals) */ .mirror-controls .btn { padding: var(--space-sm) var(--space-lg) !important; font-size: var(--font-base) !important; font-weight: 600 !important; border: none !important; border-radius: 8px !important; cursor: pointer !important; transition: all 0.3s ease !important; min-width: 140px !important; } /* ============================================== LIBRARY SCREEN STYLES ============================================== */ /* Library Screen Styles */ .library-tabs { display: flex; justify-content: center; margin-bottom: 30px; border-bottom: 2px solid var(--border-color); gap: 10px; } .library-tab { background: transparent; border: none; border-bottom: 3px solid transparent; color: var(--text-secondary); padding: 15px 25px; font-size: var(--font-lg); font-weight: 500; cursor: pointer; transition: all 0.3s ease; border-radius: 8px 8px 0 0; } .library-tab:hover { background: rgba(138, 43, 226, 0.1); color: var(--text-primary); } .library-tab.active { background: rgba(138, 43, 226, 0.2); border-bottom-color: var(--color-primary); color: var(--color-primary); font-weight: 600; } .library-content { display: none; min-height: 500px; } .library-content.active { display: block; } .content-section { background: var(--bg-card); border-radius: var(--radius-lg); padding: 25px; border: 1px solid var(--border-color); } .content-section h3 { color: var(--color-primary); margin-bottom: 15px; font-size: var(--font-xxl); } .content-section h4 { color: var(--text-primary); margin-bottom: 15px; font-size: var(--font-xl); } .gallery-categories { display: flex; justify-content: center; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; } .gallery-category-btn { background: var(--bg-tertiary); border: 1px solid var(--border-color); color: var(--text-secondary); padding: 10px 20px; border-radius: var(--radius-md); cursor: pointer; transition: all 0.3s ease; font-size: var(--font-base); } .gallery-category-btn:hover { background: rgba(138, 43, 226, 0.1); border-color: var(--color-primary); color: var(--text-primary); } .gallery-category-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: white; } .photo-galleries { position: relative; } .photo-gallery { display: none; } .photo-gallery.active { display: block; } .photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin-top: 20px; } .no-photos-message, .no-images-message, .no-audio-message, .no-video-message { text-align: center; color: var(--text-muted); padding: 60px 20px; background: var(--bg-secondary); border-radius: var(--radius-lg); border: 2px dashed var(--border-color); } .no-photos-message p:first-child, .no-images-message p:first-child, .no-audio-message p:first-child, .no-video-message p:first-child { font-size: var(--font-xl); margin-bottom: 10px; } /* Responsive design for library */ @media (max-width: 768px) { .library-tabs { flex-direction: column; gap: 10px; } .library-tab { text-align: center; } .photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } } /* Directory Management Styles */ .directory-management-section { margin-bottom: 30px; background: var(--bg-secondary); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border-color); } .directory-controls { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; } .directory-controls span { color: var(--text-muted); font-size: var(--font-sm); margin-left: auto; } .linked-directories-container { background: var(--bg-tertiary); border-radius: var(--radius-md); padding: 15px; border: 1px solid var(--border-color); max-height: 200px; overflow-y: auto; } .directory-item { display: flex; align-items: center; justify-content: space-between; padding: 12px; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border-color); margin-bottom: 10px; transition: all 0.3s ease; } .directory-item:last-child { margin-bottom: 0; } .directory-item:hover { background: rgba(138, 43, 226, 0.05); border-color: var(--color-primary); } .directory-info { flex: 1; min-width: 0; } .directory-name { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; font-size: var(--font-base); } .directory-path { color: var(--text-muted); font-size: var(--font-sm); word-break: break-all; } .no-directories { text-align: center; color: var(--text-muted); padding: 20px; font-style: italic; } .btn-small { padding: 6px 12px; font-size: var(--font-sm); min-width: auto; } /* Image Gallery Enhancements */ .gallery-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; } .gallery-controls { display: flex; align-items: center; gap: 15px; } .gallery-controls select { background: var(--bg-tertiary); border: 1px solid var(--border-color); color: var(--text-primary); padding: 8px 12px; border-radius: var(--radius-md); font-size: var(--font-sm); } .gallery-controls span { color: var(--text-muted); font-size: var(--font-sm); white-space: nowrap; } .gallery-item.image-item { position: relative; background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); transition: all 0.3s ease; cursor: pointer; } .gallery-item.image-item:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.1); border-color: var(--color-primary); } .gallery-item.image-item img { width: 100%; height: 150px; object-fit: cover; display: block; } .image-info { padding: 10px; background: var(--bg-card); } .image-name { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; font-size: var(--font-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .image-directory { color: var(--text-muted); font-size: var(--font-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Image Preview Modal */ .image-preview-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: none; align-items: center; justify-content: center; } .image-preview-modal .modal-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); cursor: pointer; } .image-preview-modal .modal-content { position: relative; max-width: 90vw; max-height: 90vh; background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border-color); box-shadow: 0 10px 40px rgba(0,0,0,0.3); overflow: hidden; } .image-preview-modal .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); } .image-preview-modal .modal-header span { font-weight: 600; color: var(--text-primary); flex: 1; margin-right: 15px; word-break: break-word; } .image-preview-modal .close-btn { background: var(--color-danger); border: none; color: white; padding: 8px 12px; border-radius: var(--radius-md); cursor: pointer; font-size: var(--font-sm); transition: all 0.3s ease; } .image-preview-modal .close-btn:hover { background: var(--color-danger-dark); } .image-preview-modal .modal-body { padding: 20px; text-align: center; } .image-preview-modal .modal-body img { max-width: 100%; max-height: 70vh; object-fit: contain; border-radius: var(--radius-md); } /* Responsive directory management */ @media (max-width: 768px) { .directory-controls { flex-direction: column; align-items: stretch; } .directory-controls span { margin-left: 0; text-align: center; } .directory-item { flex-direction: column; align-items: stretch; gap: 10px; } .gallery-header { flex-direction: column; align-items: stretch; } .gallery-controls { justify-content: space-between; } .image-gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } } @media (max-width: 768px) { .library-tabs { flex-direction: column; align-items: center; } .library-tab { width: 100%; max-width: 300px; text-align: center; } .gallery-categories { flex-direction: column; align-items: center; } .gallery-category-btn { width: 100%; max-width: 250px; } .photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } } /* Gallery item styles */ .gallery-item { background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: all 0.3s ease; cursor: pointer; } .gallery-item:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2); } .gallery-item-info { padding: 4px; background: var(--bg-secondary); display: flex; justify-content: space-between; align-items: center; } .gallery-item-type { background: var(--color-primary); color: white; padding: 2px 8px; border-radius: 12px; font-size: var(--font-xs); font-weight: 600; } .gallery-item-index { color: var(--text-secondary); font-size: var(--font-sm); } /* Audio and Video item styles */ .audio-item, .video-item { padding: 0; display: block; align-items: unset; min-height: unset; } /* Specific override for video items in the gallery - DISABLE CONFLICTING STYLES */ #lib-video-gallery .video-item { padding: 0 !important; /* Remove padding */ display: block !important; /* Match image items */ flex-direction: initial !important; /* Reset flex */ align-items: initial !important; /* Reset flex */ min-height: auto !important; /* Let it size naturally */ } .audio-info, .video-info { display: flex; flex-direction: column; gap: 5px; width: 100%; } .audio-icon, .video-icon { font-size: 24px; margin-bottom: 5px; } .audio-name, .video-name { color: var(--text-primary); font-weight: 600; font-size: var(--font-base); } .audio-type, .video-type { color: var(--text-secondary); font-size: var(--font-sm); } /* Video Preview Modal */ .video-preview-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: none; justify-content: center; align-items: center; z-index: 10000; } .video-preview-modal .modal-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; } .video-preview-modal .modal-content { position: relative; background: var(--bg-primary); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); max-width: 90vw; max-height: 90vh; overflow: hidden; z-index: 10001; } .video-preview-modal .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); } .video-preview-modal .modal-header span { color: var(--text-primary); font-weight: 600; font-size: var(--font-lg); } .video-preview-modal .close-btn { background: none; border: none; font-size: 18px; cursor: pointer; padding: 5px; border-radius: 4px; transition: background 0.2s; } .video-preview-modal .close-btn:hover { background: var(--bg-hover); } .video-preview-modal .modal-body { padding: 20px; display: flex; justify-content: center; align-items: center; } .video-preview-modal #preview-video { max-width: 80vw; max-height: 70vh; border-radius: 8px; } /* Directory item styles for videos */ .directory-item.individual-videos { border-left: 4px solid var(--color-accent); } .directory-item.individual-videos .directory-name { color: var(--color-accent); } /* Video Thumbnail Styles */ .video-thumbnail-container { position: relative; width: 120px; height: 90px; border-radius: 8px; overflow: hidden; background: var(--bg-secondary); margin-bottom: 8px; border: 1px solid var(--border-color); flex-shrink: 0; /* Prevent shrinking */ } /* Video thumbnail container - MATCH IMAGE STYLING EXACTLY */ #lib-video-gallery .video-thumbnail-container { width: 100% !important; height: 150px !important; /* Same as image items */ border-radius: 0 !important; /* No border radius on container */ overflow: hidden !important; background: var(--bg-secondary) !important; border: none !important; /* No border on container */ margin: 0 !important; /* No margin */ padding: 0 !important; /* No padding */ position: relative !important; display: block !important; } .video-thumbnail { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; } /* Video thumbnail - MATCH IMAGE STYLING EXACTLY */ #lib-video-gallery .video-thumbnail { width: 100% !important; height: 150px !important; /* Same as image items */ object-fit: cover !important; display: block !important; border-radius: 0 !important; /* No border radius to match images */ } /* Video info section - MATCH IMAGE INFO STYLING */ #lib-video-gallery .video-info { padding: 10px !important; background: var(--bg-card) !important; display: flex !important; flex-direction: column !important; } #lib-video-gallery .video-details { display: flex !important; flex-direction: column !important; gap: 4px !important; width: 100% !important; } #lib-video-gallery .video-name, #lib-video-gallery .video-title { font-size: var(--font-sm) !important; color: var(--text-primary) !important; margin-bottom: 4px !important; font-weight: 500 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; } #lib-video-gallery .video-directory, #lib-video-gallery .video-meta { font-size: var(--font-xs) !important; color: var(--text-secondary) !important; opacity: 0.7 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; } #lib-video-gallery .btn-small { font-size: var(--font-xs) !important; padding: 4px 8px !important; margin-top: 4px !important; } /* ALSO APPLY ALL VIDEO STYLING TO UNIFIED-VIDEO-GALLERY */ #unified-video-gallery .gallery-item.video-item { position: relative !important; background: var(--bg-card) !important; border-radius: var(--radius-md) !important; overflow: hidden !important; border: 1px solid var(--border-color) !important; transition: all 0.3s ease !important; cursor: pointer !important; display: block !important; width: auto !important; height: auto !important; min-height: auto !important; max-height: none !important; padding: 0 !important; } #unified-video-gallery .gallery-item.video-item:hover { transform: translateY(-2px) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important; border-color: var(--color-primary) !important; } #unified-video-gallery .video-thumbnail-container { width: 100% !important; height: 80px !important; /* Much more compact */ border-radius: 0 !important; overflow: hidden !important; background: var(--bg-secondary) !important; border: none !important; margin: 0 !important; padding: 0 !important; position: relative !important; display: block !important; } #unified-video-gallery .video-thumbnail { width: 100% !important; height: 80px !important; /* Match container height */ object-fit: cover !important; display: block !important; border-radius: 0 !important; } #unified-video-gallery .video-info { padding: 3px 4px !important; /* Minimal padding */ background: var(--bg-card) !important; } #unified-video-gallery .video-name { font-size: var(--font-xs) !important; /* Smaller font */ color: var(--text-primary) !important; margin-bottom: 2px !important; /* Reduced margin */ font-weight: 500 !important; line-height: 1.2 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; } #unified-video-gallery .video-directory { font-size: 10px !important; /* Even smaller font */ color: var(--text-secondary) !important; opacity: 0.7 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; } /* AGGRESSIVE VIDEO ITEM COMPACTNESS OVERRIDES */ #lib-video-gallery .video-item, #unified-video-gallery .video-item, .video-item { padding: 0 !important; margin: 0 !important; min-height: unset !important; height: auto !important; display: block !important; } #lib-video-gallery .gallery-item.video-item, #unified-video-gallery .gallery-item.video-item, .gallery-item.video-item { padding: 0 !important; margin: 0 !important; min-height: unset !important; height: auto !important; } /* Remove any extra spacing from gallery item info in video items */ #lib-video-gallery .gallery-item-info, #unified-video-gallery .gallery-item-info, .video-item .gallery-item-info { padding: 2px 4px !important; margin: 0 !important; min-height: unset !important; } .video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.2s; border-radius: 8px; } .video-thumbnail-container:hover .video-overlay { opacity: 1; } .play-icon { font-size: 24px; color: white; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); } .video-fallback { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-tertiary); display: flex; justify-content: center; align-items: center; border-radius: 8px; } .video-fallback .video-icon { font-size: 32px; color: var(--text-secondary); } /* Adjust video item layout */ .video-item { display: flex; flex-direction: column; align-items: center; padding: 10px; min-height: 160px; /* Ensure minimum height */ width: 140px; text-align: center; background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: 8px; box-sizing: border-box; } .video-item .video-info { width: 100%; align-items: center; text-align: center; } .video-item .video-name { font-size: var(--font-sm); line-height: 1.2; margin-bottom: 4px; word-break: break-word; max-width: 120px; } .video-item .video-directory { font-size: var(--font-xs); color: var(--text-secondary); } /* Photo Gallery Styles */ .photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; padding: 20px; } .photo-item { background: var(--bg-secondary); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; } .photo-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3); } .photo-container { position: relative; } .photo-container img { width: 100%; height: 200px; object-fit: cover; cursor: pointer; transition: opacity 0.3s ease; } .photo-container img:hover { opacity: 0.9; } .photo-actions { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; opacity: 0; transition: opacity 0.3s ease; } .photo-container:hover .photo-actions { opacity: 1; } .photo-delete-btn { background: rgba(231, 76, 60, 0.9); color: white; border: none; border-radius: 50%; width: 32px; height: 32px; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } .photo-delete-btn:hover { background: rgba(192, 57, 43, 1); transform: scale(1.1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); } .photo-delete-btn:active { transform: scale(0.95); } .photo-download-btn { background: rgba(52, 152, 219, 0.9); color: white; border: none; border-radius: 50%; width: 32px; height: 32px; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } .photo-download-btn:hover { background: rgba(41, 128, 185, 1); transform: scale(1.1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); } .photo-download-btn:active { transform: scale(0.95); } .photo-checkbox { position: absolute; top: 8px; left: 8px; z-index: 10; } .photo-checkbox input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; opacity: 0; position: absolute; } .checkbox-label { width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 3px; background: rgba(0, 0, 0, 0.6); display: block; cursor: pointer; transition: all 0.3s ease; position: relative; } .checkbox-label::after { content: '✓'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0); color: white; font-size: 14px; font-weight: bold; transition: transform 0.2s ease; } .photo-checkbox input:checked + .checkbox-label { background: rgba(46, 204, 113, 0.9); border-color: rgba(46, 204, 113, 1); } .photo-checkbox input:checked + .checkbox-label::after { transform: translate(-50%, -50%) scale(1); } .bulk-actions { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: rgba(0, 0, 0, 0.1); border-radius: 8px; margin-bottom: 16px; gap: 16px; } .selection-controls { display: flex; align-items: center; gap: 8px; } .action-buttons { display: flex; gap: 8px; } .selected-count { color: var(--text-secondary); font-size: var(--font-sm); font-weight: 500; } .btn-small { padding: 6px 12px; font-size: var(--font-sm); } .btn-success { background: var(--color-success); color: white; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; } .btn-success:hover:not(:disabled) { background: #27ae60; transform: translateY(-1px); } .btn-success:disabled { background: var(--bg-secondary); color: var(--text-muted); cursor: not-allowed; } .btn-danger { background: var(--color-error); color: white; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; } .btn-danger:hover:not(:disabled) { background: #c0392b; transform: translateY(-1px); } .btn-danger:disabled { background: var(--bg-secondary); color: var(--text-muted); cursor: not-allowed; } .photo-info { padding: 12px; background: var(--bg-tertiary); } .photo-date { display: block; color: var(--text-secondary); font-size: var(--font-sm); margin-bottom: 4px; } .photo-type { color: var(--color-accent); font-size: var(--font-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .no-photos-message { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--text-secondary); } .no-photos-message p { margin-bottom: 10px; } .gallery-header { display: flex; justify-content: space-between; align-items: center; padding: 0 20px 10px 20px; border-bottom: 2px solid var(--color-primary); margin-bottom: 20px; } .gallery-header h4 { color: var(--text-primary); font-size: var(--font-lg); } .photo-count { color: var(--color-accent); font-size: var(--font-sm); font-weight: 600; } /* =============================== CHARACTER GRAPHICS SYSTEM =============================== */ /* Corner Characters */ .character-corner { position: fixed; z-index: 5; pointer-events: none; background-size: contain; background-repeat: no-repeat; background-position: center; } .character-corner.top-left { top: 0; left: 0; width: 200px; height: 250px; } .character-corner.top-right { top: 0; right: 0; width: 200px; height: 250px; } .character-corner.bottom-left { bottom: 0; left: 0; width: 200px; height: 250px; } .character-corner.bottom-right { bottom: 0; right: 0; width: 200px; height: 250px; } /* Side Characters */ .character-side { position: fixed; z-index: 3; pointer-events: none; background-size: contain; background-repeat: no-repeat; background-position: center; } .character-side.left { left: 0; top: 50%; transform: translateY(-50%); width: 150px; height: 300px; } .character-side.right { right: 0; top: 50%; transform: translateY(-50%); width: 150px; height: 300px; } /* Library Theme - Dynamic Layout (JavaScript handles positioning) */ .library-theme .character-side { position: absolute !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; transform: none !important; } /* Background Characters */ .character-background { position: absolute; z-index: 1; opacity: 0.15; background-size: contain; background-repeat: no-repeat; background-position: center; pointer-events: none; } /* Button Characters - Small mascots for buttons */ .character-button-mascot { position: absolute; width: 40px; height: 40px; background-size: contain; background-repeat: no-repeat; background-position: center; top: -10px; right: -10px; z-index: 10; pointer-events: none; } /* Floating Characters - Animated floating elements */ .character-floating { position: fixed; z-index: 2; background-size: contain; background-repeat: no-repeat; background-position: center; pointer-events: none; animation: float 6s ease-in-out infinite; } @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } } /* Specific character implementations */ .character-cassie-corner { background-image: url('../../assets/characters/cassie-corner.png'); } .character-mai-side { background-image: url('../../assets/characters/mai-side.png'); } .character-asuka-background { background-image: url('../../assets/characters/asuka-background.png'); } /* ===== CYBERPUNK VIDEO BILLBOARD ===== */ .video-billboard-container { position: absolute; top: 22.5%; right: 20px; width: 500px; height: 320px; z-index: 10; } .video-billboard { width: 100%; height: 100%; position: relative; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #1a0033, #330066); box-shadow: 0 0 30px rgba(138, 43, 226, 0.4), inset 0 0 20px rgba(218, 112, 214, 0.1); } .billboard-frame { position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; } #billboard-video { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 8px; transition: opacity 0.5s ease-in-out; opacity: 1; /* Optimize video performance */ backface-visibility: hidden; transform: translateZ(0); will-change: opacity; } .billboard-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient( to bottom, rgba(138, 43, 226, 0.1) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.3) 100% ); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .video-billboard:hover .billboard-overlay { opacity: 1; } .billboard-controls { position: absolute; bottom: 15px; right: 15px; display: flex; gap: 10px; pointer-events: all; } .billboard-btn { background: rgba(26, 26, 26, 0.8); border: 1px solid rgba(138, 43, 226, 0.5); color: #ffffff; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 14px; transition: all 0.3s ease; backdrop-filter: blur(10px); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } .billboard-btn:hover { background: rgba(138, 43, 226, 0.3); border-color: rgba(138, 43, 226, 0.8); box-shadow: 0 0 15px rgba(138, 43, 226, 0.5); transform: translateY(-2px); } .billboard-btn:active { transform: translateY(0); box-shadow: 0 0 10px rgba(138, 43, 226, 0.3); } /* Neon Border Effects */ .neon-border { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; border-radius: 8px; } /* Continuous neon frame edges */ .neon-edge { position: absolute; background: linear-gradient(90deg, rgba(0, 255, 255, 0.8) 0%, rgba(255, 0, 255, 0.8) 25%, rgba(255, 255, 0, 0.8) 50%, rgba(0, 255, 0, 0.8) 75%, rgba(138, 43, 226, 0.8) 100% ); box-shadow: 0 0 10px rgba(138, 43, 226, 0.6), 0 0 20px rgba(138, 43, 226, 0.4), 0 0 30px rgba(138, 43, 226, 0.2); } .neon-edge.top { top: -4px; left: 0; right: 0; height: 8px; border-radius: 8px 8px 0 0; animation: neon-flow-horizontal 3s linear infinite; } .neon-edge.bottom { bottom: -4px; left: 0; right: 0; height: 8px; border-radius: 0 0 8px 8px; animation: neon-flow-horizontal-reverse 3s linear infinite; } .neon-edge.left { left: -4px; top: 0; bottom: 0; width: 8px; border-radius: 8px 0 0 8px; background: linear-gradient(0deg, rgba(0, 255, 255, 0.8) 0%, rgba(255, 0, 255, 0.8) 25%, rgba(255, 255, 0, 0.8) 50%, rgba(0, 255, 0, 0.8) 75%, rgba(138, 43, 226, 0.8) 100% ); animation: neon-flow-vertical 3s linear infinite; } .neon-edge.right { right: -4px; top: 0; bottom: 0; width: 8px; border-radius: 0 8px 8px 0; background: linear-gradient(0deg, rgba(0, 255, 255, 0.8) 0%, rgba(255, 0, 255, 0.8) 25%, rgba(255, 255, 0, 0.8) 50%, rgba(0, 255, 0, 0.8) 75%, rgba(138, 43, 226, 0.8) 100% ); animation: neon-flow-vertical-reverse 3s linear infinite; } /* Remove the corner elements completely */ .neon-corner { display: none; } /* Neon Animation Keyframes */ @keyframes neon-flow-horizontal { 0% { transform: translateX(-100%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } } @keyframes neon-flow-horizontal-reverse { 0% { transform: translateX(100%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(-100%); opacity: 0; } } @keyframes neon-flow-vertical { 0% { transform: translateY(-100%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } } @keyframes neon-flow-vertical-reverse { 0% { transform: translateY(100%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(-100%); opacity: 0; } } /* Responsive adjustments */ @media (max-width: 1400px) { .video-billboard-container { width: 400px; height: 260px; right: 40px; } } @media (max-width: 1200px) { .video-billboard-container { width: 350px; height: 220px; right: 30px; } } @media (max-width: 992px) { .video-billboard-container { width: 300px; height: 190px; right: 20px; top: 20%; } .billboard-controls { bottom: 10px; right: 10px; gap: 8px; } .billboard-btn { padding: 6px 10px; font-size: 12px; } } @media (max-width: 768px) { .video-billboard-container { width: 250px; height: 160px; right: 15px; top: 22%; } .billboard-controls { bottom: 8px; right: 8px; gap: 6px; } .billboard-btn { padding: 5px 8px; font-size: 11px; } } /* Character Images Toggle Button */ .character-toggle-btn { position: fixed; bottom: 20px; left: 20px; z-index: 1000; background: rgba(0, 0, 0, 0.8); color: white; border: 2px solid var(--accent-color); border-radius: 8px; padding: 10px 15px; font-size: 14px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(10px); user-select: none; } .character-toggle-btn:hover { background: rgba(0, 0, 0, 0.9); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); } .character-toggle-btn:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); } /* Game Guide Styles */ .game-guide-section { margin: 1.5rem 0; text-align: center; } .btn-guide { background: linear-gradient(135deg, #4a148c, #6a1b9a); color: white; border: 2px solid #9c27b0; padding: 0.8rem 2rem; border-radius: 25px; font-weight: bold; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3); } .btn-guide:hover { background: rgba(156, 39, 176, 0.3); } .game-guide { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 900px; width: 90%; max-height: 85vh; overflow-y: auto; background: rgba(26, 26, 26, 0.98); border: 2px solid var(--color-primary); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 0, 110, 0.3); z-index: 99999; animation: popupFadeIn 0.3s ease-out; display: none; } .game-guide[style*="display: block"] { display: block !important; } .game-guide.popup-visible { display: block !important; } @keyframes popupFadeIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } } /* Popup Backdrop Overlay */ .popup-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(4px); z-index: 99998; animation: fadeIn 0.3s ease-out; display: none; } .popup-backdrop[style*="display: block"] { display: block !important; } .popup-backdrop.popup-visible { display: block !important; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* Close button for popups */ .popup-close { position: absolute; top: 15px; right: 15px; background: rgba(255, 0, 110, 0.2); border: 1px solid var(--color-primary); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--color-primary); font-size: 1.5em; font-weight: bold; line-height: 1; transition: all 0.3s ease; z-index: 10; } .popup-close:hover { background: rgba(255, 0, 110, 0.4); transform: rotate(90deg) scale(1.1); box-shadow: 0 0 15px rgba(255, 0, 110, 0.5); } .guide-content { padding: 2rem; text-align: left; } .guide-content h3 { color: #ba68c8; font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; text-shadow: 0 0 10px rgba(186, 104, 200, 0.5); } .guide-section { display: grid; gap: 1rem; margin-bottom: 2rem; } .guide-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; background: rgba(156, 39, 176, 0.1); border: 1px solid rgba(156, 39, 176, 0.3); border-radius: 10px; transition: all 0.3s ease; } .guide-item:hover { background: rgba(156, 39, 176, 0.15); border-color: rgba(156, 39, 176, 0.5); transform: translateY(-2px); } .guide-icon { font-size: 2rem; min-width: 60px; text-align: center; background: rgba(156, 39, 176, 0.2); border-radius: 50%; padding: 0.5rem; border: 2px solid rgba(156, 39, 176, 0.4); } .guide-info h4 { color: #e1bee7; font-size: 1.2rem; margin: 0 0 0.5rem 0; font-weight: bold; } .guide-info p { color: #cccccc; line-height: 1.5; margin: 0; font-size: 0.95rem; } .guide-tips { background: rgba(76, 175, 80, 0.1); border: 1px solid rgba(76, 175, 80, 0.3); border-radius: 10px; padding: 1.5rem; } .guide-tips h4 { color: #81c784; font-size: 1.2rem; margin: 0 0 1rem 0; text-align: center; } .guide-tips ul { list-style: none; padding: 0; margin: 0; } .guide-tips li { color: #cccccc; padding: 0.5rem 0; padding-left: 1.5rem; position: relative; line-height: 1.4; } .guide-tips li::before { content: "💡"; position: absolute; left: 0; top: 0.5rem; } .guide-tips strong { color: #81c784; font-weight: bold; } /* Backup System Styles */ .backup-controls { margin: 15px 0; } .backup-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; } .backup-buttons .btn { font-size: 12px; padding: 6px 12px; } .backup-status { margin-top: 8px; font-size: 11px; color: #4ade80; } .backup-dialog { max-width: 500px; } .backup-dialog h3 { color: #fff; margin-bottom: 15px; text-align: center; } .backup-list { max-height: 300px; overflow-y: auto; margin: 15px 0; } .backup-item { background: #1a1a1a; border: 1px solid #333; border-radius: 5px; padding: 12px; margin: 8px 0; } .backup-header { color: #fff; font-weight: bold; margin-bottom: 5px; } .backup-details { color: #aaa; font-size: 12px; margin-bottom: 8px; } .btn-small { font-size: 11px; padding: 4px 8px; } .backup-info-dialog .backup-stats { background: #1a1a1a; border-radius: 5px; padding: 15px; margin: 15px 0; } .stat-row { display: flex; justify-content: space-between; margin: 8px 0; color: #ddd; } .backup-features { margin-top: 15px; } .backup-features h4 { color: #fff; margin-bottom: 10px; } .backup-features ul { color: #aaa; margin: 0; padding-left: 20px; } .backup-features li { margin: 5px 0; } .import-area { background: #1a1a1a; border-radius: 5px; padding: 15px; margin: 15px 0; text-align: center; } .import-area input { margin-bottom: 10px; width: 100%; } .import-note { margin: 10px 0; color: #fbbf24; text-align: center; }