@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap'); :root { /* Modern color scheme */ --accent: #e53935; --accent-hover: #f44336; --accent-active: #d32f2f; --navBarButtonHover: rgb(0, 0, 0); --textColor: #ffffff; --textColor2: #b0b0b0; --mainColor: rgba(31, 31, 31, 0.95); --contentColor: rgba(24, 24, 24, 1); --contentColor2: rgba(24, 24, 24, 0.8); --tableHover: rgba(50, 40, 40, 0.9); --inputBorder: rgba(255, 255, 255, 0.2); --notifsucces: #4CAF50; --notifechec: #FF5252; --scrollbar: #444444; --scrollbar-thumb: #686868; /* UI Elements */ --borderRadius: 0.5rem; --boxShadow: 0 4px 6px rgba(0, 0, 0, 0.1); --cardShadow: 0 10px 20px rgba(0, 0, 0, 0.2); --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); --fonsSize: 1rem; /* Glow Effects */ --glow-accent: 0 0 15px rgba(229, 57, 53, 0.5); --glow-text: 0 0 5px rgba(255, 255, 255, 0.5); /* Map original variables to new ones */ --bg: var(--mainColor); --bg-l: var(--accent); --select: var(--scrollbar); --select-l: var(--accent); --text: var(--textColor); --circle: var(--accent); --edit-icon: var(--textColor2); --stat: var(--contentColor2); --stat-hover: var(--contentColor); --edit-icon2: var(--textColor2); --leaderboard-gradient: linear-gradient(0deg, var(--mainColor) 0%, var(--contentColor) 100%); --header: var(--textColor); --shadow: var(--cardShadow); --button: rgba(229, 57, 53, 0.25); --button-text: var(--textColor); --default-bg: var(--mainColor); } * { margin: 0; padding: 0; box-sizing: border-box; line-height: 1.5; user-select: none; font-family: 'Montserrat', sans-serif; transition: var(--transition); } body { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; background: linear-gradient(217deg, rgba(15, 15, 15, 0.9), rgba(25, 25, 25, 0.9)), url('img/bg-texture.png'); background-position: center; background-size: cover; overflow: hidden; position: relative; box-sizing: border-box; gap: 2vh; animation: fadeIn 0.5s ease-in-out; color: var(--textColor); } body::-webkit-scrollbar {display: none; margin: 0;} /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideInUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } } @keyframes glowBorder { 0% { box-shadow: 0 0 5px var(--accent); } 50% { box-shadow: 0 0 15px var(--accent); } 100% { box-shadow: 0 0 5px var(--accent); } } @keyframes spring { 15% { transform: scale(1.1); } 40% { transform: scale(0.95); } 75% { transform: scale(1.05); } 100% { transform: scale(1); } } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* Profile Cards */ .my-profile, .player-profile { width: 38vh; height: 65vh; display: flex; align-items: center; justify-content: space-between; flex-direction: column; position: relative; border-radius: var(--borderRadius); background-color: var(--mainColor); z-index: 1; box-shadow: var(--cardShadow); animation: slideInUp 0.6s ease-out; border: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden; } .player-profile { box-shadow: var(--shadow); } /* Profile Header Section */ .myp-profiles { width: 100%; height: 20vh; display: flex; align-items: center; justify-content: flex-start; background-color: transparent; overflow: hidden; position: relative; transition: all 0.3s ease; } .myp-profiles > img { position: absolute; width: 100%; opacity: 0.5; transition: transform 0.5s ease; } .myp-profiles:hover > img { transform: scale(1.05); } .mypp-information { width: calc(80% - 1.75vh); height: calc(100% - 2.75vh); display: flex; align-items: center; justify-content: flex-start; padding: .75vh; gap: .5vh; z-index: 1; } .myp-pp { width: 7vh; height: 7vh; display: flex; align-items: center; justify-content: center; border: .3vh solid var(--accent); border-radius: 50%; z-index: 2; overflow: hidden; box-shadow: var(--glow-accent); animation: glowBorder 3s infinite; } .myp-pp > img { border-radius: 50%; width: 110%; transition: transform 0.3s ease; } .myp-pp:hover > img { transform: scale(1.1); } .myp-names { width: calc(85% - 8vh); height: 100%; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: .5vh; z-index: 2; } .myp-name, .myp-hex { width: 100%; height: 25%; display: flex; align-items: center; justify-content: flex-start; } .myp-name > span { color: var(--textColor); font-size: 1.75vh; text-transform: capitalize; text-overflow: ellipsis; overflow: hidden !important; text-shadow: var(--glow-text); font-family: 'Rajdhani', sans-serif; font-weight: 600; letter-spacing: 0.5px; } .myp-hex { margin-top: -1vh; } .myp-hex > span { color: var(--textColor2); font-size: 1vh; text-transform: capitalize; text-overflow: ellipsis; overflow: hidden !important; } /* Control Icons */ #edit-banner, #close-profile, #close-input { position: absolute; right: 1vh; top: 1vh; z-index: 3; font-size: 1.25vh; color: var(--textColor2); transition: all 0.2s ease-out; padding: 0.5vh; border-radius: 50%; background-color: rgba(0, 0, 0, 0.2); } #edit-banner:hover, #close-profile:hover, #close-input:hover { color: var(--textColor); transform: scale(1.2) rotate(15deg); background-color: var(--accent); box-shadow: var(--glow-accent); } #edit-banner:active, #close-profile:active, #close-input:active { transform: scale(0.9); } /* Stats Section */ .stats { width: 100%; height: calc(100% - 13vh); display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: .5vh; padding: 1vh; overflow-y: auto; overflow-x: hidden; } .stats::-webkit-scrollbar { width: 8px; background-color: var(--contentColor); } .stats::-webkit-scrollbar-thumb { background-color: var(--scrollbar-thumb); border-radius: 10px; } .stats::-webkit-scrollbar-track { background-color: var(--scrollbar); border-radius: 10px; } .stat-div { width: 100%; height: 6.5vh; display: flex; align-items: center; justify-content: space-evenly; animation: slideInUp 0.4s ease-out; } .stat { width: 45%; height: 80%; display: flex; align-items: center; justify-content: flex-start; padding: .25vh; border-radius: var(--borderRadius); background-color: var(--contentColor2); gap: .5vh; transition: all 0.2s ease; border-left: 3px solid transparent; } .stat:hover { background-color: var(--contentColor); transform: translateX(4px); border-left: 3px solid var(--accent); } .stat-icon { width: 15%; height: 100%; display: flex; align-items: center; justify-content: center; } .stat-icon > i { color: var(--textColor); font-size: 1.75vh; transition: transform 0.3s ease; } .stat:hover .stat-icon > i { transform: scale(1.2); color: var(--accent); } .stat-text { width: 40%; height: 100%; display: flex; align-items: center; justify-content: flex-start; } .stat-text > span { color: var(--textColor2); font-size: 1.25vh; text-transform: capitalize; text-overflow: ellipsis; overflow: hidden !important; } .stat-count { width: 40%; height: 100%; display: flex; align-items: center; justify-content: flex-end; } .stat-count > span { color: var(--textColor); font-size: 1.5vh; text-transform: capitalize; text-overflow: ellipsis; overflow: hidden !important; font-weight: 600; margin-right: 1vh; } .stat-count > img { margin-right:1vh; } #date-first, #date-last { font-size: 1vh; } #rank-text { font-size: 1.25vh; /* color: var(--accent); */ font-weight: bold; } /* Leaderboard Containers */ .leaderboard, .leaderboard-zombie, .leaderboard-point, .ndlead-leaderboard { width: 70vh; height: 65vh; display: flex; align-items: flex-start; justify-content: flex-start; flex-direction: column; border-radius: var(--borderRadius); background: var(--leaderboard-gradient); box-shadow: var(--cardShadow); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); } .country { width: 3vh; border-radius: 25%; box-shadow: 0 2px 4px rgba(0,0,0,0.3); transition: transform 0.3s ease; } .country:hover { transform: scale(1.2); } /* Leaderboard Headers */ .header { width: 100%; height: 4.5vh; display: flex; align-items: center; justify-content: flex-start; border-bottom: 2px solid var(--accent); background-color: var(--contentColor); position: sticky; top: 0; z-index: 1; } .header span { color: var(--textColor); font-size: 1.25vh; text-transform: uppercase; text-overflow: ellipsis; overflow: hidden !important; font-family: 'Rajdhani', sans-serif; letter-spacing: 1px; font-weight: 600; } .header-rank, .header-name, .header-kill, .header-death, .zombie-header-kill, .points-header-kill, .ndlead-header-kill { height: 100%; display: flex; align-items: center; justify-content: center; } .header-rank { width: calc(10% - .75vh); } .header-name { width: calc(50% - .75vh); } .header-kill, .header-death { width: calc(20% - .75vh); } .zombie-header-kill, .points-header-kill, .ndlead-header-kill { width: calc(40% - .75vh); } .line { width: .25vh; height: 60%; display: flex; background-color: var(--accent); } /* Leaderboard Content */ .player-leaderboard, .zombie-player-leaderboard, .points-player-leaderboard, .ndlead-player-leaderboard { width: 100%; height: calc(100% - 4.5vh); overflow-y: auto; overflow-x: hidden; } /* Custom Scrollbars */ .player-leaderboard::-webkit-scrollbar, .zombie-player-leaderboard::-webkit-scrollbar, .points-player-leaderboard::-webkit-scrollbar, .ndlead-player-leaderboard::-webkit-scrollbar { width: 8px; background-color: var(--contentColor); } .player-leaderboard::-webkit-scrollbar-thumb, .zombie-player-leaderboard::-webkit-scrollbar-thumb, .points-player-leaderboard::-webkit-scrollbar-thumb, .ndlead-player-leaderboard::-webkit-scrollbar-thumb { background-color: var(--scrollbar-thumb); border-radius: 10px; } .player-leaderboard::-webkit-scrollbar-track, .zombie-player-leaderboard::-webkit-scrollbar-track, .points-player-leaderboard::-webkit-scrollbar-track, .ndlead-player-leaderboard::-webkit-scrollbar-track { background-color: var(--scrollbar); border-radius: 10px; } /* Leaderboard Rows */ .player-lines, .zombie-player-lines, .points-player-lines, .ndlead-player-lines { width: 100%; height: 4.5vh; display: flex; align-items: center; justify-content: flex-start; gap: .25vh; border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.2s ease; /* animation: slideInUp 0.3s ease-out; */ /* animation-fill-mode: both; */ } /* Staggered Animation for Rows */ .player-lines:nth-child(1), .zombie-player-lines:nth-child(1), .points-player-lines:nth-child(1), .ndlead-player-lines:nth-child(1) { /* animation-delay: 0.1s; */ background-color: rgba(255, 215, 0, 0.15); border-left: 3px solid gold; } .player-lines:nth-child(2), .zombie-player-lines:nth-child(2), .points-player-lines:nth-child(2), .ndlead-player-lines:nth-child(2) { /* animation-delay: 0.15s; */ background-color: rgba(192, 192, 192, 0.1); border-left: 3px solid silver; } .player-lines:nth-child(3), .zombie-player-lines:nth-child(3), .points-player-lines:nth-child(3), .ndlead-player-lines:nth-child(3) { /* animation-delay: 0.2s; */ background-color: rgba(205, 127, 50, 0.1); border-left: 3px solid #cd7f32; } .player-lines:hover, .zombie-player-lines:hover, .points-player-lines:hover, .ndlead-player-lines:hover { background-color: var(--tableHover); transform: translateX(5px); border-left: 3px solid var(--accent); cursor: pointer; } .player-lines:active, .zombie-player-lines:active, .points-player-lines:active, .ndlead-player-lines:active { transform: translateX(8px); } .player-lines span, .zombie-player-lines span, .points-player-lines span, .ndlead-player-lines span { color: var(--textColor); font-size: 1.25vh; text-overflow: ellipsis; overflow: hidden !important; } .player-rank, .player-name, .player-kill, .player-death, .zombie-player-rank, .zombie-player-name, .zombie-player-kill, .points-player-rank, .points-player-name, .points-player-kill, .ndlead-player-rank, .ndlead-player-name, .ndlead-player-kill { height: 100%; display: flex; align-items: center; justify-content: center; } .player-rank, .zombie-player-rank, .points-player-rank, .ndlead-player-rank { width: calc(10% - .75vh); font-weight: 600; } .player-name, .zombie-player-name, .points-player-name, .ndlead-player-name { width: calc(50% - .75vh); text-align: left; justify-content: flex-start; padding-left: 10px; } .player-kill, .player-death { width: calc(20% - .75vh); font-weight: 600; } .zombie-player-kill, .points-player-kill, .ndlead-player-kill { width: calc(40% - .75vh); font-weight: 600; } /* Pop-up and Modals */ .pop-up { position: absolute; width: 100%; height: 100%; z-index: 5; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); background-color: rgba(0, 0, 0, 0.7); animation: fadeIn 0.3s ease; } .load-bar { width: 4vh; height: 4vh; margin: 0; background: transparent; border: 3px solid rgba(229, 57, 53, 0.3); border-top: 3px solid var(--accent); border-radius: 50%; animation: spin 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite; box-shadow: var(--glow-accent); } .banner-input { width: 30vh; height: 15vh; display: flex; align-items: center; justify-content: space-evenly; flex-direction: column; border-radius: var(--borderRadius); background-color: var(--mainColor); position: relative; box-shadow: var(--cardShadow); animation: fadeIn 0.3s ease, slideInUp 0.4s ease; border: 1px solid rgba(255, 255, 255, 0.1); } .banner-input > span { color: var(--textColor); font-size: 1.5vh; text-transform: uppercase; text-overflow: ellipsis; overflow: hidden !important; font-family: 'Rajdhani', sans-serif; letter-spacing: 1px; font-weight: 600; } .banner-input > input { width: 70%; height: 25%; display: flex; align-items: center; justify-content: center; text-align: center; border: none; outline: none; background-color: var(--contentColor2); color: var(--textColor); border-radius: var(--borderRadius); font-family: 'Montserrat', sans-serif; border: 1px solid var(--inputBorder); padding: 0 10px; transition: all 0.3s ease; } .banner-input > input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.3); } .banner-input > button { width: 10vh; height: 3vh; text-align: center; border: none; outline: none; background-color: var(--accent); color: var(--textColor); border-radius: var(--borderRadius); font-family: 'Montserrat', sans-serif; transition: all 0.3s ease; text-transform: capitalize; letter-spacing: 1px; box-shadow: var(--boxShadow); font-weight: 600; position: relative; overflow: hidden; } .banner-input > button:before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: 0.5s; } .banner-input > button:hover:before { left: 100%; } .banner-input > button:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); } .banner-input > button:active { transform: translateY(1px); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } /* Menu Styling */ .select-menu { position: fixed; top: 5%; background-color: var(--contentColor2); padding: 1.5vh; border-radius: var(--borderRadius); box-shadow: var(--cardShadow); display: flex; gap: 1vh; flex-wrap: wrap; justify-content: center; z-index: 2; animation: slideInUp 0.5s ease-out; border-bottom: 3px solid var(--accent); } .select-button { padding: 10px 20px; border: none; background-color: var(--mainColor); color: var(--textColor); font-weight: 600; cursor: pointer; border-radius: var(--borderRadius); transition: var(--transition); box-shadow: var(--boxShadow); position: relative; overflow: hidden; letter-spacing: 1px; font-family: 'Montserrat', sans-serif; } .select-button:before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: 0.5s; } .select-button:hover:before { left: 100%; } .select-button:hover { background-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); } .select-button:active { transform: translateY(1px); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .select-button.active { background-color: var(--accent); border-bottom: 3px solid var(--accent-active); box-shadow: var(--glow-accent); }