/
BirdLeon
/
roblox-cloneGeneratedAI
Обзор
Документация
Войти
/
BirdLeon
/
roblox-cloneGeneratedAI
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
style.css
1 504 строки
26 KB
BirdLeon
upload files
23 фев 2026, 03:11
Верифицирован
23 фев 2026, 03:11
b23f5d7
Код
Авторство
О чём код?
/* ===== ROOT VARIABLES ===== */ :root { --primary: #1e88e5; --primary-dark: #1565c0; --primary-light: #42a5f5; --accent: #ff3366; --accent-light: #ff6b8a; --success: #4caf50; --warning: #ff9800; --danger: #f44336; --background: #0a0e27; --surface: #1a1f3a; --surface-light: #242d47; --text-primary: #ffffff; --text-secondary: #b0bec5; --border: #2c3e50; --shadow: 0 8px 32px rgba(0, 0, 0, 0.3); } /* ===== GLOBAL STYLES ===== */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { font-family: 'Roboto', sans-serif; background: var(--background); color: var(--text-primary); overflow-x: hidden; } /* ===== TYPOGRAPHY ===== */ h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; } h1 { font-size: 2.5rem; } h2 { font-size: 1.8rem; margin-bottom: 1.5rem; } h3 { font-size: 1.3rem; } a { color: var(--primary); text-decoration: none; transition: color 0.3s; } a:hover { color: var(--primary-light); } /* ===== BUTTONS ===== */ .btn { padding: 0.75rem 1.5rem; border: none; border-radius: 0.5rem; font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 1rem; font-family: 'Poppins', sans-serif; } .btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30, 136, 229, 0.6); } .btn-secondary { background: var(--surface-light); color: var(--text-primary); border: 2px solid var(--primary); } .btn-secondary:hover { background: var(--primary); } .btn-play { background: linear-gradient(135deg, var(--accent) 0%, #ff5588 100%); color: white; width: 100%; padding: 0.6rem; margin-top: 1rem; } .btn-play:hover { transform: scale(1.02); } .btn-block { width: 100%; } .btn-danger { background: var(--danger); color: white; } .btn-danger:hover { background: #e53935; } .btn-close { background: none; border: none; color: var(--text-secondary); font-size: 2rem; cursor: pointer; position: absolute; top: 1rem; right: 1rem; transition: color 0.3s; } .btn-close:hover { color: var(--text-primary); } .btn-back { background: none; border: none; color: var(--primary); font-size: 1.2rem; cursor: pointer; padding: 0.5rem 1rem; transition: color 0.3s; } .btn-back:hover { color: var(--primary-light); } .btn-logout { width: 100%; padding: 0.75rem; background: rgba(244, 67, 54, 0.2); border: 1px solid var(--danger); color: var(--danger); border-radius: 0.5rem; cursor: pointer; font-weight: 600; transition: all 0.3s; } .btn-logout:hover { background: var(--danger); color: white; } /* ===== LOADING SCREEN ===== */ .loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--background); display: flex; align-items: center; justify-content: center; z-index: 9999; animation: fadeOut 2.5s ease-out forwards; } @keyframes fadeOut { 0% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; pointer-events: none; } } .loading-container { text-align: center; } .logo-loading { width: 100px; height: 100px; margin: 0 auto 2rem; animation: spin 3s linear infinite; } .logo-loading svg { width: 100%; height: 100%; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .loading-screen h1 { font-size: 2rem; margin-bottom: 2rem; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .progress-bar { width: 200px; height: 4px; background: var(--surface-light); border-radius: 2px; overflow: hidden; margin-top: 1rem; } .progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%); animation: progress 2s ease-out; } @keyframes progress { 0% { width: 0%; } 100% { width: 100%; } } /* ===== PAGE SYSTEM ===== */ .page { display: none; min-height: 100vh; animation: fadeIn 0.3s ease-in; } .page.active { display: block; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* ===== LANDING PAGE ===== */ .landing-page { background: linear-gradient(135deg, var(--background) 0%, #0f1535 50%, var(--background) 100%); position: relative; overflow: hidden; } .landing-page::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(30, 136, 229, 0.1) 1px, transparent 1px); background-size: 50px 50px; animation: moveBackground 20s linear infinite; } @keyframes moveBackground { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } } .landing-container { position: relative; z-index: 1; padding: 2rem; } .landing-header { display: flex; justify-content: center; padding: 2rem; } .logo-text { display: flex; align-items: center; gap: 1rem; font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .logo-icon { width: 60px; height: 60px; } .hero-section { height: 100vh; display: flex; align-items: center; justify-content: center; } .hero-content { text-align: center; max-width: 800px; padding: 2rem; } .hero-title { font-size: 4rem; font-weight: 800; margin-bottom: 1.5rem; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: slideUp 0.8s ease-out; } @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .hero-subtitle { font-size: 1.3rem; color: var(--text-secondary); margin-bottom: 2rem; animation: slideUp 0.8s ease-out 0.1s both; } .hero-buttons { display: flex; gap: 1rem; justify-content: center; margin-bottom: 4rem; animation: slideUp 0.8s ease-out 0.2s both; flex-wrap: wrap; } .hero-buttons .btn { padding: 1rem 2rem; font-size: 1.1rem; } .hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; animation: slideUp 0.8s ease-out 0.3s both; } .stat { background: rgba(26, 31, 58, 0.5); backdrop-filter: blur(10px); padding: 2rem; border-radius: 1rem; border: 1px solid rgba(30, 136, 229, 0.3); } .stat h3 { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.5rem; } .stat p { color: var(--text-secondary); } /* ===== REGISTRATION PAGE ===== */ .registration-page { display: flex; align-items: center; justify-content: center; padding: 2rem; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); } .registration-container { position: relative; width: 100%; max-width: 500px; background: var(--surface); border: 2px solid var(--primary); border-radius: 1rem; padding: 3rem; box-shadow: var(--shadow); } .form-wrapper h2 { margin-bottom: 0.5rem; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .form-subtitle { color: var(--text-secondary); margin-bottom: 2rem; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--primary); } .form-group input, .form-group select { width: 100%; padding: 0.75rem; background: var(--surface-light); border: 1px solid var(--border); border-radius: 0.5rem; color: var(--text-primary); font-size: 1rem; transition: all 0.3s; } .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 10px rgba(30, 136, 229, 0.3); } .form-error { color: var(--danger); font-size: 0.85rem; margin-top: 0.25rem; display: none; } .avatar-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem 0; } .avatar-option { aspect-ratio: 1; border-radius: 0.5rem; cursor: pointer; border: 3px solid transparent; transition: all 0.3s; position: relative; display: flex; align-items: center; justify-content: center; } .avatar-option:hover { transform: scale(1.05); border-color: var(--primary); } .avatar-option.selected { border-color: var(--accent); box-shadow: 0 0 20px rgba(255, 51, 102, 0.5); } .avatar-check { display: none; color: white; font-size: 1.5rem; font-weight: bold; } .avatar-option.selected .avatar-check { display: block; } .form-checkbox { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; } .form-checkbox input { width: auto; } .form-footer { text-align: center; color: var(--text-secondary); margin-top: 1.5rem; } /* ===== DASHBOARD PAGE ===== */ .dashboard-wrapper { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: var(--background); } .sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 1.5rem; display: flex; flex-direction: column; position: sticky; top: 0; max-height: 100vh; overflow-y: auto; } .sidebar-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; font-weight: 700; font-size: 1.2rem; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .logo-icon-small { width: 30px; height: 30px; } .nav-menu { list-style: none; flex-grow: 1; } .nav-menu li { margin-bottom: 0.5rem; } .nav-menu a { display: block; padding: 0.75rem 1rem; border-radius: 0.5rem; color: var(--text-secondary); transition: all 0.3s; font-weight: 500; } .nav-menu a:hover, .nav-menu a.active { background: var(--surface-light); color: var(--primary); border-left: 3px solid var(--primary); padding-left: calc(1rem - 3px); } .sidebar-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); } .main-content { padding: 2rem; overflow-y: auto; } .top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; gap: 2rem; flex-wrap: wrap; } .search-box { display: flex; flex: 1; min-width: 300px; background: var(--surface); border: 1px solid var(--border); border-radius: 0.5rem; overflow: hidden; } .search-box input { flex: 1; background: none; border: none; padding: 0.75rem 1rem; color: var(--text-primary); } .search-box input::placeholder { color: var(--text-secondary); } .search-box button { background: none; border: none; padding: 0 1rem; color: var(--text-secondary); cursor: pointer; } .user-profile-header { display: flex; align-items: center; gap: 1rem; } .avatar-header { width: 40px; height: 40px; border-radius: 0.5rem; border: 2px solid var(--primary); } .tab-content { display: none; } .tab-content.active { display: block; } /* ===== GAMES GRID ===== */ .games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 3rem; } .game-card { background: var(--surface); border-radius: 0.75rem; overflow: hidden; transition: all 0.3s; border: 1px solid var(--border); } .game-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 8px 25px rgba(30, 136, 229, 0.2); } .game-thumbnail { width: 100%; height: 180px; background: linear-gradient(135deg, var(--surface-light) 0%, var(--surface) 100%); } .game-card h3 { padding: 1rem 1rem 0; font-size: 1.1rem; } .game-creator { padding: 0 1rem; color: var(--text-secondary); font-size: 0.9rem; } .game-stats { padding: 0 1rem 0.75rem; color: var(--primary); font-size: 0.9rem; font-weight: 600; } .btn-play { margin: 0; border-radius: 0; } /* ===== CREATE SECTION ===== */ .create-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; } .create-card { background: var(--surface); border: 2px solid var(--border); border-radius: 0.75rem; padding: 2rem; text-align: center; transition: all 0.3s; } .create-card:hover { border-color: var(--primary); box-shadow: 0 8px 25px rgba(30, 136, 229, 0.2); } .create-icon { font-size: 3rem; margin-bottom: 1rem; } .create-card h3 { margin-bottom: 0.5rem; } .create-card p { color: var(--text-secondary); margin-bottom: 1.5rem; } .my-games-section { background: var(--surface); border-radius: 0.75rem; padding: 3rem; text-align: center; } .empty-state { padding: 2rem; } .empty-state p { color: var(--text-secondary); margin-bottom: 1rem; } /* ===== PEOPLE GRID ===== */ .people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; } .people-card { background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; text-align: center; transition: all 0.3s; } .people-card:hover { border-color: var(--primary); box-shadow: 0 8px 25px rgba(30, 136, 229, 0.2); } .people-avatar { width: 80px; height: 80px; border-radius: 0.5rem; margin: 0 auto 1rem; border: 2px solid var(--primary); } .people-card h3 { margin-bottom: 0.5rem; } .people-status { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; } /* ===== POSTS SECTION ===== */ .post-composer { background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1rem; display: flex; gap: 1rem; margin-bottom: 2rem; } .post-input { flex: 1; background: var(--surface-light); border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.75rem 1rem; color: var(--text-primary); cursor: text; } .post-input:focus { outline: none; border-color: var(--primary); } .posts-feed { display: flex; flex-direction: column; gap: 1.5rem; } .post-card { background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; transition: all 0.3s; } .post-card:hover { border-color: var(--primary); box-shadow: 0 4px 15px rgba(30, 136, 229, 0.2); } .post-header { display: flex; gap: 1rem; margin-bottom: 1rem; } .post-avatar { width: 50px; height: 50px; border-radius: 0.5rem; flex-shrink: 0; } .post-header h3 { margin: 0; font-size: 1rem; } .post-time { color: var(--text-secondary); font-size: 0.85rem; margin: 0; } .post-content { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.6; } .post-actions { display: flex; gap: 1.5rem; color: var(--text-secondary); font-size: 0.9rem; cursor: pointer; } .post-actions span:hover { color: var(--primary); } /* ===== COMMUNITIES GRID ===== */ .communities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 3rem; } .community-card { background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; overflow: hidden; transition: all 0.3s; } .community-card:hover { border-color: var(--primary); box-shadow: 0 8px 25px rgba(30, 136, 229, 0.2); } .community-banner { width: 100%; height: 120px; } .community-info { padding: 1.5rem; } .community-info h3 { margin-bottom: 0.5rem; } .community-members { color: var(--text-secondary); margin-bottom: 1rem; } /* ===== PROFILE SECTION ===== */ .profile-container { max-width: 800px; } .profile-header { background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; padding: 2rem; display: grid; grid-template-columns: auto 1fr; gap: 2rem; margin-bottom: 2rem; } .profile-avatar { width: 150px; height: 150px; border-radius: 0.75rem; border: 2px solid var(--primary); } .profile-info h1 { margin-bottom: 0.5rem; } .profile-status { color: var(--text-secondary); margin-bottom: 1.5rem; } .profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; } .stat-item { display: flex; flex-direction: column; } .stat-value { font-size: 1.5rem; font-weight: bold; color: var(--primary); } .stat-label { color: var(--text-secondary); font-size: 0.9rem; } .profile-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 2rem; } .profile-tab-btn { background: none; border: none; padding: 1rem; color: var(--text-secondary); cursor: pointer; font-weight: 600; transition: all 0.3s; border-bottom: 3px solid transparent; } .profile-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); } .profile-content { display: none; } .profile-content.active { display: block; } .empty-message { text-align: center; color: var(--text-secondary); padding: 2rem; } /* ===== SETTINGS SECTION ===== */ .settings-container { max-width: 600px; } .settings-section { background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; margin-bottom: 1.5rem; } .settings-section h3 { margin-bottom: 1rem; color: var(--primary); } .setting-item { margin-bottom: 1rem; } .setting-item label { display: block; margin-bottom: 0.5rem; font-weight: 600; } .setting-item input[type="text"], .setting-item input[type="email"] { width: 100%; padding: 0.75rem; background: var(--surface-light); border: 1px solid var(--border); border-radius: 0.5rem; color: var(--text-primary); } .setting-toggle { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border); } .setting-toggle label { margin: 0; font-weight: 500; } .setting-toggle input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; } /* ===== GAME PAGE ===== */ .game-page { display: flex; flex-direction: column; background: #000; } .game-container { display: flex; flex-direction: column; height: 100vh; } .game-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 1rem 2rem; display: flex; align-items: center; gap: 1.5rem; } .game-info h1 { margin: 0; font-size: 1.5rem; } .game-info p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; } .game-wrapper { display: grid; grid-template-columns: 1fr 300px; flex: 1; gap: 0; overflow: hidden; } .game-canvas { background: #000; display: flex; align-items: center; justify-content: center; position: relative; } .canvas-placeholder { text-align: center; color: var(--text-secondary); } .canvas-placeholder h2 { color: var(--primary); margin-bottom: 0.5rem; } .game-stats-overlay { position: absolute; top: 1rem; right: 1rem; background: rgba(0, 0, 0, 0.7); border: 1px solid var(--primary); border-radius: 0.5rem; padding: 0.75rem 1rem; font-size: 0.85rem; } .game-stats-overlay p { margin: 0.25rem 0; } .game-chat-panel { background: var(--surface); border-left: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; } .chat-header { background: var(--surface-light); padding: 1rem; font-weight: 600; border-bottom: 1px solid var(--border); } .chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; } .chat-message { background: var(--surface-light); padding: 0.75rem; border-radius: 0.5rem; font-size: 0.9rem; } .chat-user { color: var(--primary); font-weight: 600; margin-right: 0.5rem; } .chat-text { color: var(--text-secondary); } .chat-input-wrapper { padding: 1rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; } .chat-input { flex: 1; background: var(--surface-light); border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.5rem; color: var(--text-primary); } .chat-input:focus { outline: none; border-color: var(--primary); } .btn-send { background: var(--primary); color: white; border: none; border-radius: 0.5rem; padding: 0.5rem 1rem; cursor: pointer; font-weight: 600; transition: all 0.3s; } .btn-send:hover { background: var(--primary-light); } /* ===== EDITOR PAGE ===== */ .editor-page { display: flex; flex-direction: column; height: 100vh; background: var(--background); } .editor-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; } .editor-title { display: flex; align-items: center; gap: 1rem; } .editor-title h1 { margin: 0; font-size: 1.5rem; } .editor-controls { display: flex; gap: 1rem; } .editor-container { display: grid; grid-template-columns: 1fr 250px 200px; flex: 1; gap: 0; overflow: hidden; } .viewport { display: flex; flex-direction: column; border-right: 1px solid var(--border); } .viewport-header { background: var(--surface); padding: 0.75rem 1rem; font-weight: 600; border-bottom: 1px solid var(--border); } .viewport-canvas { flex: 1; background: #1a1a1a; display: flex; align-items: center; justify-content: center; overflow: auto; } .viewport-placeholder { text-align: center; color: var(--text-secondary); } .viewport-placeholder h3 { color: var(--primary); margin-bottom: 0.5rem; } .viewport-controls { background: var(--surface); padding: 0.75rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; } .control-btn { flex: 1; background: var(--surface-light); border: 1px solid var(--border); color: var(--text-primary); padding: 0.5rem; border-radius: 0.5rem; cursor: pointer; transition: all 0.3s; } .control-btn:hover { background: var(--primary); } .properties-panel, .toolbox-panel { display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--border); overflow: hidden; } .panel-header { background: var(--surface-light); padding: 0.75rem 1rem; font-weight: 600; border-bottom: 1px solid var(--border); } .properties-content, .toolbox-content { flex: 1; overflow-y: auto; padding: 1rem; font-size: 0.9rem; } .property-group { margin-bottom: 1rem; } .property-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--primary); } .property-group input, .property-group select { width: 100%; padding: 0.5rem; background: var(--surface-light); border: 1px solid var(--border); border-radius: 0.3rem; color: var(--text-primary); } .property-row { display: flex; gap: 0.5rem; } .property-input-small { flex: 1; padding: 0.5rem !important; } .tool-btn { background: var(--surface-light); border: 1px solid var(--border); color: var(--text-primary); padding: 0.75rem; border-radius: 0.5rem; cursor: pointer; margin-bottom: 0.5rem; transition: all 0.3s; font-weight: 500; } .tool-btn:hover { background: var(--primary); border-color: var(--primary); } /* ===== RESPONSIVE DESIGN ===== */ @media (max-width: 1024px) { .editor-container { grid-template-columns: 1fr 200px; } .game-wrapper { grid-template-columns: 1fr 250px; } } @media (max-width: 768px) { :root { font-size: 14px; } .dashboard-wrapper { grid-template-columns: 1fr; } .sidebar { display: none; } .hero-title { font-size: 2.5rem; } .games-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } .people-grid, .communities-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } .hero-buttons { flex-direction: column; } .hero-buttons .btn { width: 100%; } .top-bar { flex-direction: column; } .search-box { min-width: 100%; } .profile-header { grid-template-columns: 1fr; text-align: center; } .profile-avatar { width: 120px; height: 120px; margin: 0 auto; } .editor-container { grid-template-columns: 1fr; } .viewport { min-height: 40vh; } .properties-panel, .toolbox-panel { display: none; } .game-wrapper { grid-template-columns: 1fr; } .game-chat-panel { display: none; } } @media (max-width: 480px) { .hero-title { font-size: 2rem; } .hero-subtitle { font-size: 1rem; } .games-grid { grid-template-columns: 1fr; } .avatar-selector { grid-template-columns: repeat(2, 1fr); } .profile-stats { grid-template-columns: 1fr; } } /* ===== SCROLLBAR STYLING ===== */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--surface); } ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }