:root {
    --scale:1;
}
/* Mobile-First Shooting Game Styles */

* {
    margin:0;
    padding:0;
}

.jersey-15-regular {
    font-family: "Jersey 15", sans-serif;
    font-weight: 400;
    font-style: normal;
}

* {
    font-family: "Jersey 15", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
    font-family: 'Arial', sans-serif;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select:none;
}

#game-container {
    position: relative;
    /* width: min(100vw, calc(100vh * 640 / 1138));
    height: min(100vh, calc(100vw * 1138 / 640)); */
    /* max-width: 640px;
    max-height: 1138px; */
    width:640px;
    height:1386px;
    margin: 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    overflow: hidden;
    touch-action:none;
    left:calc(50vw - 320px);
    top:calc(50vh - 693px);
    
    transform:scale(var(--scale));
    -webkit-transform:scale(var(--scale));
}

/* Text Primary Gradient - Extracted from instruction header */
.text-primary {
     background: linear-gradient(to bottom, #ffe662, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 0.2px #992b03;
}

/* Mobile Start Screen with Intro Images */
.mobile-start-screen {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Character Selection Background */
.character-content {
    width: 59.4%;
    height:18%;
    left:21.2%;
    top:44.9%;
    text-align: center;
    color: white;
    position: absolute;
}

#character-selection {
    background-image: url('../assets/characters/exp_selection.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

[data-character="Thariq"] ~ #select_1 {
    left: 1.4%;
    top: 1.4%;
}

[data-character="Haider"] ~ #select_1  {
    left: 34.4%;
    top: 1.4%;
}

[data-character="Kevin"] ~ #select_1 {
    left: 67.4%;
    top: 1.4%;
}

[data-character="Hafiz"] ~ #select_1  {
    left: 1.4%;
    top: 52.4%;
}

[data-character="Daniel"] ~ #select_1  {
    left: 34.4%;
    top: 52.4%;
}

[data-character="Adrean"] ~ #select_1  {
    left: 67.4%;
    top: 52.4%;
}


.start-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    color: white;
}

.start-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Intro Container and Image Styles */
.intro-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.intro-image {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    object-fit: fill;
    display: block;
    transition: opacity 0.5s ease-in-out;
}

.intro-instruction {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes jiggle {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* Character Selection */
.character-selection {
    margin: 30px 0;
}

.character-selection h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.character-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    margin-top: 20px;
    width: 100%;
    /* max-width: 440px; */
    margin: 0px;
    place-content: center;
    opacity: 0;
}

.character-grid.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
}

.character-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    border: 2px solid transparent;
    margin: 5px;
    position: relative;
    width: calc(33.3333333% - 10px);
    height: auto;
}

@keyframes blinkblink {
    80%,100% {filter:brightness(180%);}
}
@-webkit-keyframes blinkblink {
    80%,100% {filter:brightness(180%);}
}
.character-option-selector {
    position: absolute;
    width: 31%;
    left: 1.4%;
    top: 1.4%;
    pointer-events: none;
    animation: blinkblink 0.3s 2s steps(2, jump-none) infinite alternate;
    -webkit-animation: blinkblink 0.3s 2s steps(2, jump-none) infinite alternate;
}
.hidden .character-option-selector {
    animation: none;
    -webkit-animation: none;
}

.character-option img {
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.character-option h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.start-game-btn {
    margin:0;
    padding:0;
    display:block;
	position: absolute;
    width: 51.8%;
    left: 50.1%;
    top: 102.8%;
	opacity: 0;
    box-sizing:border-box;
    cursor: pointer;
    transition: all 0.3s ease;
    border:0;
    outline:none;
}
.start-game-btn img {
    display:block;
    position: relative;
    width:100%;
}

.start-game-btn.jiggle {
    animation: jiggle 0.6s ease-in-out infinite;
}

.start-game-btn span {
    font-size: 0.875rem;
}



/* Game Canvas and Wrapper */
#game-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#game-canvas {
    background: #000;
    border: 2px solid #333;
    width: 100%;
    height: 100%;
    display: none;
}

/* NEW UI LAYOUT SYSTEM */
#game-ui {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height:calc(100vh / var(--scale));
    margin:auto;
    pointer-events: none;
    z-index: 2001;
}

/* Top Bar Layout */
.ui-top {
    position: absolute;
    top: 50px;
    left: 0px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 15px;
}

.ui-left {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 54px;
    z-index:100;
}

.ui-center {
    display: flex;
    align-items: flex-end;
    /* gap: 30px; */
    flex: 1;
    justify-content: space-around;
    width: 55%;
    position: relative;
    top:3px;
}

.ui-right {
    display: flex;
    align-items: center;
    gap: 15px;
    width: calc(45% - 55px);
    flex-grow: 0;
    flex-shrink: 0;
}

/* Audio Button */
.audio-button {
    background: transparent;
    border-radius: 0;
    padding: 0;
    width: 54px;
    height: 66px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.audio-button:hover {
    background: transparent;
    transform: scale(1.1);
}

.audio-icon-container {
    position: relative;
    width: 54px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-text-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.audio-state-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

/* Score and Level Display */
#score, #level-info {
    color: #ffffff;
    font-size: 5rem;
    font-weight: bold;
}

#score {
    text-align:left;
    justify-content:flex-start;
    line-height: 0.75;
}

#score label {
    font-size: 1.4rem;
    font-weight: normal;
    display: block;
}

#timer {
    text-align:right;
    justify-content:flex-end;
    color: #FFD700;
    font-size: 5rem;
    font-weight: bold;
    text-shadow: 3px 2px 1px rgb(232 94 0);
    line-height: 0.875;
}

/* HP Progress Bar */
#hp-display {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.hp-display-bg {
    display: block;
    position: relative;
    width:80%;
    top:5px;
}

.player-profile-image {
    position: absolute;
    width: 27%;
    height: 124%;
    left: 70%;
    top: -14%;
    border: 4px solid rgb(255 215 0);
    object-fit: cover;
    background: rgba(0, 0, 0, 0.3);
    box-sizing:content-box;
}

.hp-bar {
    position: absolute;
    width:60%;
    height:62%;
    left:5.2%;
    top:26%;
    overflow: hidden;
    border:2px solid #000;
}
.hp-bar:after {
    content:'';
    background-color:rgba(255,255,255,0.5);
    position: absolute;
    width:100%;
    height:16.5%;
    left:0%;
    top:0%;
    z-index:1;
}

.hp-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #1b7bff, #236fd9);
    /* background: linear-gradient(90deg, #4CAF50, #8BC34A); */
    transition: transform 0.3s ease;
    transform-origin: right;
}

.hp-fill.low {
    background: linear-gradient(90deg, #FF5722, #FF9800);
}

.hp-fill.critical {
    background: linear-gradient(90deg, #F44336, #E91E63);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Remove old UI elements */
.ui-middle, .ui-bottom {
    display: none;
}

#hp-hearts {
    display: none;
}

/* Boss Title Overlay */
.boss-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boss-title-overlay.show {
    opacity: 1;
}

.boss-title-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-position: top;
    object-fit: cover;
}

/* Overlays */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    z-index: 100;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.overlay h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4CAF50;
}

.overlay p {
    font-size: 1.2rem;
    margin: 15px 0;
}

/* Form Styles */
.form-group {
    margin: 15px 0;
}

.form-group.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    margin:15px 0 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: white;
    font-size: 40px;
    /* line-height: 1.4; */
}

.checkbox-label input[type="checkbox"] {
    width: 40px;
    height: 40px;
    margin: 10px 5px 0 0;
    flex-shrink: 0;
}

.checkbox-text {
    flex: 1;
    line-height:1.2 !important;
}

.checkbox-text a {
    color: #4CAF50;
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: #45a049;
}

.form-group input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.action-button {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    color: white;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 5px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

::-ms-input-placeholder {
/* Edge 12-18 */
    color: #79c8ff;
}
::placeholder {
    color: #79c8ff;
}

/* Game Over Overlay */
.game-over-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.game-over-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Game Over Screen */
#game-over {
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-size: cover, cover;
    background-position: top, top;
    background-repeat: no-repeat, no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
}

/* Form Container */
#game-over form {
    align-items: center;
    max-width: 100%;
    width: 100%;
    margin-top: 0;
}

/* Remove Form Header */
.form-header {
    display: none;
}

/* Form Field Labels */
#game-over label {
    color: white;
    font-size: 30px;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
}

/* Form Input Fields */
input:focus {
    outline: none;
    box-shadow: none;
}
#game-over input[type="text"],
#game-over input[type="email"] {
    padding: 10px;
    font-size: 40px;
    border: none;
    border-radius: 0;
    background: white;
    color: black;
    margin-bottom: 0;
    box-sizing: border-box;
}

/* Form Input Validation Styles */
.form-group input:invalid {
    border-color: #ff4444;
    box-shadow: 0 0 5px rgba(255, 68, 68, 0.3);
}

.form-group input:valid {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.error-message {
    color: #ff4444;
    font-size: 2rem;
    margin-top: 5px;
    display: block;
    text-align: left;
}

#game-over #scoreSubmitForm {
    margin-top: 225px;
}

/* Submit Button Image */
.submit-btn {
    width: 142px;
    height: auto;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s ease;
    float: inline-end;    
    background: none;
    border: none;
    padding: 0;
}

.submit-btn img {
    width: 100%;
    height: auto;
}

.submit-btn:hover {
    transform: scale(1.05);
}

.submit-btn:active {
    transform: scale(0.95);
}

/* Form Group */
.form-group {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Final Score Display */
#game-over p {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Level Transition */
#level-transition {
    position: absolute;
    width:100%;
	height: 100%;
    top: 0%;
    left: 0%;
    transform: translate(0%, 0%);
    /* background: rgba(0, 0, 0, 0.8); */
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
    z-index: 100;
}

.txt_level {
	position: absolute;
	width: 62.8%;
	left: 20.2%;
	top: 36.5%;
}

.txt_level_2 {
    position: absolute;
	width: 25.5%;
	left: 38.9%;
	top: 46.3%;
}

.txt_level_3 {
    position: absolute;
	width: 25.5%;
	left: 38.9%;
	top: 46.3%;
}

.lvl-2 .txt_level_3,
.lvl-3 .txt_level_2 {
    visibility:hidden;
}

/* Start Screen */
#start-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    border-radius: 10px;
    z-index: 100;
    width: 100%;
    max-width: 600px;
}

#start-screen h2 {
    font-size: 24px;
    margin: 10px 0 20px;
    color: #4CAF50;
}

#start-screen .instructions {
    margin: 20px 0;
    text-align: left;
    font-size: 16px;
}

#start-screen ul {
    list-style-type: none;
    padding-left: 20px;
}

#start-screen li {
    margin: 5px 0;
}

#victory-message {
    margin-top: 20px;
    color: #4CAF50;
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.loading-image {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.blur {
    filter: blur(2px);
    transition: filter 0.3s ease;
}

/* Target Info */
#target-info {
    color: #FF6B6B;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Instruction Section */
#instruction-section {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}

.instruction-header {
    position: absolute;
    width: 100%;
    top: 12vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-weight: bold;
}

.instruction-header span:first-child {
    font-size: 2.5rem;
    margin-right: 10%;
    margin-bottom: -15px;
}

.instruction-header span:last-child {
    font-size: 3rem;
    margin-left: 20px;
}

.instruction-header span:first-child,
.instruction-header span:last-child {
}

.instruction-container {
    position: absolute;
    width:77.7%;
    height:47.6%;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: auto;
    left:0;right:0;
    top:0;bottom:0;
    border-radius: 15px;
    overflow: hidden;
}

.instruction-box {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    width:100%;
    height:100%;
}

.title_howtoplay1 {
    position: absolute;
    width:71.3%;
    left:11.2%;
    top:0;
    z-index:1;
}

.title_howtoplay2 {
    position: absolute;
    width:69.6%;
    left:19.4%;
    top:7.1%;
    z-index:1;
}

#step-image {
    max-width: 100%;
    max-height: 100%;
    width:100%;
    height:100%;
    object-fit: contain;
    border-radius: 10px;

    background-position:0 0;
    background-repeat:no-repeat;
    background-size:auto 100%;
}
@keyframes animationStep1 {
    0% {background-position:0% 0;}
    100% {background-position:right 0;}
}
@-webkit-keyframes animationStep1 {
    0% {background-position:0% 0;}
    100% {background-position:right 0;}
}
#step-image[style='background-image: url("assets/instruction/step1.png");'] {
    background-size:900% 100%;
    background-repeat: no-repeat;
    animation: animationStep1 1s steps(9,jump-none) infinite;
}

.instruction-container::after {
    content: '';
    position: absolute;
    width: 51.5%;
    height:8.7%;
    left: 24.6%;
    top: 85.4%;
    background-image: url('../assets/instruction/btn_start.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: pulse 2s infinite;
}

/* Leaderboard Overlay Styles */
.leaderboard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 18 49 / 80%);
    display: flex;
    justify-content: center;
    /* align-items: center; */
    z-index: 1000;
}

.leaderboard-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position:absolute;
    top:21.7%;
}

.leaderboard-title {
    margin-bottom: 5px;
    width:100%;
    max-width: 100%;
    height: auto;
}

.leaderboard-content {    
    padding: 20px;
    width: 100%;
    height:100%;
    /* max-height: 400px; */
    /* overflow-y: auto; */
    margin-bottom: 20px;
}

.leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leaderboard-list li {
    display: flex;
    justify-content: space-between;  
    font-size: 26px;
    font-size: 48px;  
    font-weight: bold;
    margin-bottom: 5px;
}

.leaderboard-list li:last-child {
    border-bottom: none;
}

.leaderboard-rank {
    font-weight: bold;
    margin-right: 10px;
    color: #007bff;
}

.leaderboard-name {
    flex-grow: 1;
    color: #007bff;
    padding-right: 10p;
}

.leaderboard-score {
    font-weight: bold;
    color: #ffffff;
}

.leaderboard-social-content {
    display:inherit;
    position: relative;
    flex-flow:row wrap;
    justify-content:center;
    align-items:center;
    gap:15px;
}

.btn_replay {
	position: relative;
	width: 31.4%;
	/* left: 2.4%; */
	/* top: 71.1%; */
    flex: 0 0 11.4%;
    cursor: pointer;
}

.btn_homepage {
	position: relative;
	width: 28.3%;
	/* left: 20%; */
	/* top: 71.1%; */
    flex: 0 0 28.3%;
    cursor: pointer;
}

.btn_watch {
	position: relative;
	width: 32%;
	/* left: 54.7%;
	top:  71.1%; */
    flex: 0 0 32%;
    cursor: pointer;
}

.btn_share {
	position: relative;
	width: 42.5%;
	/* left: 28.8%;
	top: 76.6%; */
    flex: 0 0 42.5%;
    cursor: pointer;
}

.social-share-modal {
    background-color:rgba(0,0,0,0.5);
}
.social-share-container {
    position: absolute;
	width: 90.7%;
    /* padding-bottom:74.592931034483%; */
	left:4.65%;
	top:50%;
    transform:translate(0,-50%);
    cursor: pointer;
}
.social-share-close {
    display:block;
    position: relative;
    width:100%;
}
.social-share-content {
    position: absolute;
    width:100%; 
    height:100%;
    left:0;
    top:0;
    box-sizing:border-box;
    padding:24% 12.6% 12.6%;
    pointer-events:none;
}
.social-icons-grid {
    position: relative;
    width: 100%;
    height: 100%;
}
.social-icon {
    display:block;
    position: relative;
    width:calc(100% / 3);
    float:left;
    box-sizing: border-box;
    padding: 8px;
    pointer-events:all;
}
.social-icon img {
    display:block;
    position: absolute;
    width:100%;
}
.social-icon img:first-child {
    position: relative;
}

.btn_replay {
    cursor: pointer;
    transition: transform 0.2s;
}
.btn_replay:hover {
    transform: scale(1.05);
}

.btn_watch {
    cursor: pointer;
    transition: transform 0.2s;
}
.btn_watch:hover {
    transform: scale(1.05);
}

.btn_homepage {
    cursor: pointer;
    transition: transform 0.2s;
    /* width: 50%;
    margin-bottom: 10px; */
}
.btn_homepage:hover {
    transform: scale(1.05);
}

.leaderboard-overlay .btn_share {
    /* margin-top: 10px; */
}

.hidden {
    display: none !important;
}

/* Button Loading State Classes */
.btn-loading {
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.7 !important;
}

.btn-disabled {
    pointer-events: none;
    opacity: 0.5;
}


/* Social Share Modal Styles */
.social-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* .social-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);    
    padding: 10px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
} */

/* Button loading and disabled states */
.btn-loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}