/* ========================================================================== PREMIUM RANDOM GROUP SELECTOR - MODERN DARK GLASSMORPHISM STYLESHEET ========================================================================== */ :root { --bg-dark: #0b0f17; --bg-card: rgba(18, 24, 38, 0.85); --bg-card-hover: rgba(30, 41, 59, 0.9); --border-glass: rgba(255, 255, 255, 0.08); --border-glass-strong: rgba(255, 255, 255, 0.16); --primary-cyan: #06b6d4; --primary-cyan-glow: rgba(6, 182, 212, 0.35); --accent-purple: #8b5cf6; --accent-purple-glow: rgba(139, 92, 246, 0.35); --accent-emerald: #10b981; --accent-rose: #f43f5e; --accent-amber: #f59e0b; --text-main: #f3f4f6; --text-muted: #9ca3af; --text-dim: #6b7280; --font-family: 'Outfit', 'Inter', 'Noto Sans KR', -apple-system, sans-serif; --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px; --radius-full: 9999px; --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1); --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1); /* Dynamic Card Height Variable */ --card-height: 140px; } * { box-sizing: border-box; margin: 0; padding: 0; font-family: var(--font-family); -webkit-font-smoothing: antialiased; } body { background: var(--bg-dark); background-image: radial-gradient(at 0% 0%, rgba(139, 92, 246, 0.12) 0px, transparent 50%), radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.12) 0px, transparent 50%), radial-gradient(at 50% 100%, rgba(16, 185, 129, 0.08) 0px, transparent 50%); color: var(--text-main); height: 100vh; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; /* Prevent body scroll entirely */ } .app-container { max-width: 1320px; margin: 0 auto; padding: 1rem 1.5rem; width: 100%; height: 100vh; display: flex; flex-direction: column; overflow: hidden; gap: 1rem; } /* ========================================================================== Header ========================================================================== */ .app-header { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1.25rem; background: var(--bg-card); backdrop-filter: blur(16px); border: 1px solid var(--border-glass); border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); flex-shrink: 0; /* Keep header size fixed */ } .logo-area { display: flex; align-items: center; gap: 1rem; } .logo-icon { width: 38px; height: 38px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple)); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 0 15px var(--primary-cyan-glow); } .logo-text h1 { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.5px; background: linear-gradient(90deg, #ffffff, #cbd5e1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .logo-text .badge { font-size: 0.6rem; font-weight: 700; padding: 1px 6px; border-radius: var(--radius-full); background: rgba(6, 182, 212, 0.15); color: var(--primary-cyan); border: 1px solid rgba(6, 182, 212, 0.3); letter-spacing: 1px; } .header-right { display: flex; align-items: center; gap: 1rem; } .status-summary { display: flex; gap: 0.5rem; } .stat-pill { display: flex; flex-direction: column; align-items: flex-end; padding: 0.3rem 0.8rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); min-width: 80px; } .stat-pill.highlight-pill { background: rgba(6, 182, 212, 0.08); border-color: rgba(6, 182, 212, 0.25); } .stat-pill .label { font-size: 0.65rem; color: var(--text-muted); } .stat-pill .value { font-size: 1.1rem; font-weight: 700; color: var(--text-main); } .stat-pill.highlight-pill .value { color: var(--primary-cyan); } .btn-icon-setting { padding: 0.45rem 0.95rem; font-size: 0.8rem; border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.15)); border: 1px solid rgba(6, 182, 212, 0.3); color: #fff; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); transition: var(--transition-fast); } .btn-icon-setting:hover { background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(139, 92, 246, 0.3)); border-color: var(--primary-cyan); transform: translateY(-2px); box-shadow: 0 0 20px var(--primary-cyan-glow); } /* ========================================================================== Main Single Column Layout ========================================================================== */ .main-single-layout { display: flex; flex-direction: column; gap: 1rem; flex: 1; overflow: hidden; /* Prevent outer scroll */ } .main-action-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1.25rem; background: var(--bg-card); backdrop-filter: blur(16px); border: 1px solid var(--border-glass); border-radius: var(--radius-md); flex-shrink: 0; /* Keep action bar fixed */ } .mode-indicator { font-size: 0.85rem; font-weight: 600; color: var(--primary-cyan); background: rgba(6, 182, 212, 0.1); padding: 0.35rem 0.85rem; border-radius: var(--radius-full); border: 1px solid rgba(6, 182, 212, 0.2); } .action-buttons-group { display: flex; gap: 0.5rem; } /* ========================================================================== Center Stage Section (No Scroll Stage) ========================================================================== */ .stage-section { display: flex; flex-direction: column; gap: 1rem; flex: 1; overflow: hidden; /* Prevent stage scroll */ } .draw-stage { position: relative; height: 250px; /* Fixed height for stage to fit in 100vh */ flex-shrink: 0; /* Prevent resizing */ background: var(--bg-card); backdrop-filter: blur(16px); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } /* Initial placeholder */ .initial-placeholder { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 150px; color: var(--text-dim); } .placeholder-icon { font-size: 2.5rem; margin-bottom: 0.4rem; opacity: 0.8; animation: pulse 1.5s infinite alternate; } .initial-placeholder p { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); } /* Active Draw Display */ .active-draw-display { width: 100%; display: flex; flex-direction: column; gap: 0.75rem; } .drawing-header { display: flex; align-items: center; justify-content: space-between; } .group-title-badge { font-size: 0.95rem; font-weight: 800; letter-spacing: 1px; padding: 0.35rem 1.1rem; background: linear-gradient(90deg, var(--primary-cyan), var(--accent-purple)); color: #fff; border-radius: var(--radius-full); box-shadow: 0 0 15px var(--primary-cyan-glow); } .drawing-status-text { font-size: 0.82rem; color: var(--primary-cyan); font-weight: 600; animation: pulse 1s infinite alternate; } @keyframes pulse { 0% { opacity: 0.4; } 100% { opacity: 1; } } /* -------------------------------------------------------------------------- Cards Grid - Dynamic Scaling Classes -------------------------------------------------------------------------- */ .cards-grid { display: grid; width: 100%; gap: 0.6rem; justify-content: center; align-content: center; align-items: center; } /* 1. XL Size: 1 ~ 4 Members (Very large) */ .cards-grid.grid-size-xl { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); max-width: 900px; margin: 0 auto; --card-height: 150px; } .cards-grid.grid-size-xl .member-name { font-size: 1.35rem; } .cards-grid.grid-size-xl .slot-reel { font-size: 1.4rem; } /* 2. LG Size: 5 ~ 12 Members (Standard) */ .cards-grid.grid-size-lg { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); --card-height: 110px; } .cards-grid.grid-size-lg .member-name { font-size: 1.05rem; } .cards-grid.grid-size-lg .slot-reel { font-size: 1.15rem; } /* 3. MD Size: 13 ~ 24 Members (Compact) */ .cards-grid.grid-size-md { grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); gap: 0.45rem; --card-height: 75px; } .cards-grid.grid-size-md .member-name { font-size: 0.9rem; } .cards-grid.grid-size-md .slot-reel { font-size: 0.98rem; } .cards-grid.grid-size-md .member-num { display: none; } .cards-grid.grid-size-md .card-front, .cards-grid.grid-size-md .card-back { padding: 0.35rem; } /* 4. SM Size: 25 ~ 49 Members (Micro cards) */ .cards-grid.grid-size-sm { grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 0.3rem; --card-height: 50px; } .cards-grid.grid-size-sm .member-name { font-size: 0.75rem; font-weight: 600; } .cards-grid.grid-size-sm .slot-reel { font-size: 0.8rem; } .cards-grid.grid-size-sm .member-num { display: none; } .cards-grid.grid-size-sm .card-front, .cards-grid.grid-size-sm .card-back { padding: 0.2rem; } /* Base Card Styles */ .draw-card { perspective: 1000px; height: var(--card-height); width: 100%; transition: height var(--transition-fast); } .card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; border-radius: var(--radius-md); } .draw-card.revealed .card-inner { transform: rotateY(180deg); } .card-front, .card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.75rem; } .card-front { background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9)); border: 1px solid var(--border-glass-strong); color: var(--primary-cyan); overflow: hidden; } .slot-reel { font-weight: 700; text-shadow: 0 0 10px var(--primary-cyan-glow); white-space: nowrap; } .slot-reel.spinning { animation: reelBlur 0.1s linear infinite; } @keyframes reelBlur { 0% { transform: translateY(-5px); opacity: 0.7; filter: blur(1px); } 50% { transform: translateY(5px); opacity: 0.9; filter: blur(2px); } 100% { transform: translateY(0); opacity: 0.7; filter: blur(1px); } } .card-back { background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.25)); border: 1.5px solid var(--primary-cyan); transform: rotateY(180deg); box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); } .card-back .member-num { font-size: 0.65rem; font-weight: 600; color: var(--primary-cyan); margin-bottom: 0.2rem; text-transform: uppercase; } .card-back .member-name { font-weight: 700; color: #ffffff; word-break: break-all; } /* ========================================================================== Results Area (Dashboard scroll isolation) ========================================================================== */ .results-area { background: var(--bg-card); backdrop-filter: blur(16px); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); flex: 1; /* Stretch to occupy remaining space */ overflow: hidden; /* Hide outer bounds */ } .results-header { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; } .results-header h3 { font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } /* Scrollable Groups Grid container */ .groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; flex: 1; overflow-y: auto; /* Internal scrolling */ padding-right: 6px; align-content: start; } /* Sleek Webkit Scrollbar for groups-grid */ .groups-grid::-webkit-scrollbar { width: 6px; } .groups-grid::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); border-radius: var(--radius-full); } .groups-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: var(--radius-full); transition: var(--transition-fast); } .groups-grid::-webkit-scrollbar-thumb:hover { background: rgba(6, 182, 212, 0.4); } .empty-results { grid-column: 1 / -1; text-align: center; padding: 3rem; color: var(--text-dim); font-size: 0.88rem; border: 1px dashed var(--border-glass); border-radius: var(--radius-md); } .group-card { background: rgba(15, 23, 42, 0.6); border: 1px solid var(--border-glass-strong); border-radius: var(--radius-md); padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; transition: var(--transition-normal); animation: fadeIn 0.4s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .group-card:hover { border-color: rgba(6, 182, 212, 0.4); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); } .group-card-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border-glass); } .group-card-header .title { font-size: 0.92rem; font-weight: 700; color: var(--primary-cyan); } .group-card-header .count { font-size: 0.7rem; padding: 1px 7px; background: rgba(255, 255, 255, 0.06); border-radius: var(--radius-full); color: var(--text-muted); } .group-members-list { display: flex; flex-wrap: wrap; gap: 0.3rem; /* Tighter gap */ } /* Compact member badge */ .member-badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.55rem; /* Much smaller padding */ background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); font-size: 0.78rem; /* Smaller font size */ color: var(--text-main); } .member-badge .num { font-size: 0.68rem; color: var(--accent-purple); font-weight: 700; } /* ========================================================================== SETTINGS MODAL POPUP STYLES ========================================================================== */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(5, 8, 15, 0.82); backdrop-filter: blur(12px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 1; transition: opacity 0.25s ease; } .modal-overlay.hidden { opacity: 0; pointer-events: none; } .modal-content { background: rgba(18, 24, 38, 0.95); border: 1px solid var(--border-glass-strong); border-radius: var(--radius-lg); width: 100%; max-width: 580px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6); transform: scale(1); transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; } .modal-overlay.hidden .modal-content { transform: scale(0.92); } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-glass); background: rgba(10, 15, 26, 0.5); } .modal-tabs { display: flex; gap: 0.5rem; } .modal-tab-btn { background: transparent; border: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 600; padding: 0.5rem 0.8rem; cursor: pointer; border-radius: var(--radius-sm); transition: var(--transition-fast); } .modal-tab-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.05); } .modal-tab-btn.active { color: var(--primary-cyan); background: rgba(6, 182, 212, 0.12); border: 1px solid rgba(6, 182, 212, 0.3); } .modal-close-btn { background: transparent; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; padding: 0.3rem 0.6rem; border-radius: var(--radius-sm); transition: var(--transition-fast); } .modal-close-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); } .modal-body { padding: 1.5rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.2rem; } .tab-pane { display: none; flex-direction: column; gap: 1rem; } .tab-pane.active { display: flex; } .panel-header-sub { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; } .preset-group { display: flex; align-items: center; gap: 0.4rem; } .sub-title { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); } .input-mode-toggle { display: flex; background: rgba(10, 15, 26, 0.6); padding: 2px; border-radius: 6px; border: 1px solid var(--border-glass); } .input-mode-toggle .btn.active { background: var(--primary-cyan); color: #000; font-weight: 700; } /* Table View Container */ .member-view-box { display: flex; flex-direction: column; gap: 0.6rem; } .member-view-box.hidden { display: none; } .table-actions-bar { display: flex; align-items: center; gap: 0.5rem; } .table-count-badge { margin-left: auto; font-size: 0.75rem; font-weight: 600; padding: 2px 10px; border-radius: var(--radius-full); background: rgba(6, 182, 212, 0.15); color: var(--primary-cyan); border: 1px solid rgba(6, 182, 212, 0.3); } .member-table-wrapper { max-height: 250px; overflow-y: auto; border: 1px solid var(--border-glass-strong); border-radius: var(--radius-sm); background: rgba(10, 15, 26, 0.6); } .member-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; text-align: left; } .member-table th { position: sticky; top: 0; background: rgba(20, 28, 45, 0.95); backdrop-filter: blur(8px); color: var(--text-muted); font-weight: 600; font-size: 0.78rem; padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--border-glass-strong); z-index: 2; } .member-table td { padding: 0.35rem 0.8rem; border-bottom: 1px solid var(--border-glass); } .member-table tr:hover { background: rgba(255, 255, 255, 0.03); } .table-idx { font-size: 0.75rem; font-weight: 700; color: var(--primary-cyan); } .table-row-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid transparent; color: #fff; font-size: 0.88rem; padding: 3px 6px; outline: none; transition: var(--transition-fast); } .table-row-input:focus { border-bottom-color: var(--primary-cyan); background: rgba(6, 182, 212, 0.08); } .btn-remove-row { background: transparent; border: none; color: var(--accent-rose); font-size: 0.95rem; cursor: pointer; opacity: 0.7; padding: 2px 6px; transition: var(--transition-fast); } .btn-remove-row:hover { opacity: 1; transform: scale(1.15); } .setting-group { display: flex; flex-direction: column; gap: 0.5rem; } .setting-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; } .modal-divider { border: 0; height: 1px; background: var(--border-glass); } .modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border-glass); background: rgba(10, 15, 26, 0.5); } /* Form controls in modal */ .quick-preset-btns { display: flex; gap: 0.35rem; } .input-group { display: flex; flex-direction: column; gap: 0.5rem; } textarea { width: 100%; height: 200px; background: rgba(10, 15, 26, 0.8); border: 1px solid var(--border-glass-strong); border-radius: var(--radius-sm); color: #fff; padding: 0.8rem; font-size: 0.9rem; line-height: 1.4; resize: vertical; outline: none; transition: var(--transition-fast); } textarea:focus { border-color: var(--primary-cyan); box-shadow: 0 0 0 3px var(--primary-cyan-glow); } .setting-row { display: flex; flex-direction: column; gap: 0.5rem; } .setting-row.inline-input { flex-direction: row; justify-content: space-between; align-items: center; } .radio-toggle { display: flex; background: rgba(10, 15, 26, 0.6); padding: 3px; border-radius: var(--radius-sm); border: 1px solid var(--border-glass); } .radio-toggle.stacked-toggle { flex-direction: column; gap: 2px; } .radio-toggle input[type="radio"] { display: none; } .radio-toggle label { flex: 1; text-align: center; padding: 0.45rem 0.6rem; font-size: 0.8rem; color: var(--text-muted); cursor: pointer; border-radius: 6px; transition: var(--transition-fast); } .radio-toggle.stacked-toggle label { text-align: left; padding-left: 0.8rem; } .radio-toggle input[type="radio"]:checked + label { background: var(--primary-cyan); color: #000; font-weight: 600; box-shadow: 0 2px 8px var(--primary-cyan-glow); } /* Custom Builder Container */ .custom-builder-container { display: flex; flex-direction: column; gap: 0.6rem; background: rgba(10, 15, 26, 0.5); border: 1px solid var(--border-glass-strong); border-radius: var(--radius-sm); padding: 0.8rem; } .custom-builder-container.hidden { display: none; } .custom-builder-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-muted); font-weight: 600; } .total-custom-badge { font-size: 0.72rem; padding: 2px 8px; border-radius: var(--radius-full); background: rgba(139, 92, 246, 0.2); color: var(--accent-purple); border: 1px solid rgba(139, 92, 246, 0.3); } .custom-groups-list { display: flex; flex-direction: column; gap: 0.4rem; max-height: 180px; overflow-y: auto; padding-right: 2px; } .custom-group-row { display: flex; align-items: center; gap: 0.4rem; background: rgba(255, 255, 255, 0.03); padding: 0.3rem 0.5rem; border-radius: 6px; border: 1px solid var(--border-glass); } .custom-group-name { flex: 1; background: transparent; border: none; color: var(--text-main); font-size: 0.82rem; font-weight: 600; outline: none; width: 80px; } .custom-group-name:focus { border-bottom: 1px solid var(--primary-cyan); } .btn-remove-custom-group { background: transparent; border: none; color: var(--accent-rose); font-size: 0.9rem; cursor: pointer; opacity: 0.7; padding: 0 4px; } .btn-remove-custom-group:hover { opacity: 1; } .btn-full { width: 100%; } .number-stepper { display: flex; align-items: center; background: rgba(10, 15, 26, 0.8); border: 1px solid var(--border-glass-strong); border-radius: var(--radius-sm); overflow: hidden; } .number-stepper.sm-stepper button { width: 26px; height: 26px; font-size: 0.8rem; } .number-stepper.sm-stepper input { width: 36px; font-size: 0.85rem; } .number-stepper button { background: transparent; border: none; color: var(--text-main); width: 32px; height: 32px; font-weight: 700; cursor: pointer; transition: var(--transition-fast); } .number-stepper button:hover { background: rgba(255, 255, 255, 0.1); } .number-stepper input { width: 48px; background: transparent; border: none; color: #fff; text-align: center; font-weight: 700; font-size: 0.95rem; } .toggle-row { flex-direction: row; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted); } /* Switch UI */ .switch { position: relative; display: inline-block; width: 42px; height: 24px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.15); transition: .3s; border-radius: 24px; } .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; } input:checked + .slider { background-color: var(--primary-cyan); } input:checked + .slider:before { transform: translateX(18px); } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.85rem; cursor: pointer; border: none; transition: var(--transition-fast); outline: none; } .btn-xs { padding: 0.25rem 0.5rem; font-size: 0.72rem; } .btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; } .btn-md { padding: 0.65rem 1.2rem; font-size: 0.9rem; } .btn-xl { padding: 0.85rem 1.4rem; font-size: 1rem; border-radius: var(--radius-md); } .btn-primary { background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple)); color: #ffffff; box-shadow: 0 4px 15px var(--primary-cyan-glow); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 22px var(--primary-cyan-glow); } .btn-primary:active { transform: translateY(0); } .btn-secondary { background: rgba(255, 255, 255, 0.1); color: var(--text-main); border: 1px solid var(--border-glass-strong); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.18); } .btn-accent { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); border: 1px solid rgba(139, 92, 246, 0.3); } .btn-accent:hover { background: rgba(139, 92, 246, 0.28); box-shadow: 0 0 15px var(--accent-purple-glow); } .btn-outline { background: transparent; color: var(--text-muted); border: 1px solid var(--border-glass); } .btn-outline:hover { color: #fff; border-color: rgba(255,255,255,0.3); } .btn-ghost { background: transparent; color: var(--text-muted); } .btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.06); } /* Confetti Canvas */ #confetti-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 99999; } /* Responsive */ @media (max-width: 768px) { .app-container { padding: 1rem; height: auto; overflow: auto; } body { height: auto; overflow: auto; } .app-header { flex-direction: column; gap: 1rem; align-items: flex-start; } .header-right { width: 100%; justify-content: space-between; } .main-action-bar { flex-direction: column; gap: 1rem; align-items: stretch; } .action-buttons-group { flex-direction: column; } .draw-stage { height: auto; min-height: 250px; } .groups-grid { overflow-y: visible; } }