/* Додаємо до існуючого CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", serif;
}

body {
    background-color: #1e3233;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    max-height: 750px;
    margin: 0 auto;
}

.player-menu {
    /* margin-right: 25vw; */
    height: 749px;
    border-radius: 15px;
    background: linear-gradient(46.13deg, rgb(24, 25, 44) 5.4%, rgba(10, 10, 10, 0.9) 123.103%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-in-out;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border-radius: 15px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.btn:hover::after {
    left: 100%;
}

.btn:active {
    transform: scale(0.95);
}

.btn-deposit {
    background-color: #2d3042;
    color: white;
}

.btn-main {
    background-color: #3d4caa;
    color: white;
}

.btn-rewards {
    border-radius: 7px;
    background: linear-gradient(54.27deg, rgb(46, 51, 76) -10.954%, rgb(0, 0, 0) 125.038%);
    color: white;
}

.btn-yellow {
    box-sizing: border-box;
    border: 1px solid rgb(255, 0, 0);
    border-radius: 5px;
    color: white;
    background: rgba(129, 0, 0, 0.49);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.btn-green {
    color: white;
    margin-top: 30px;
    box-sizing: border-box;
    border: 1px solid rgb(186, 246, 186);
    border-radius: 5px;
    background: rgba(0, 116, 36, 0.49);
    color: rgb(255, 255, 255);
    font-family: Montserrat;
    font-size: 8px;
    font-weight: 700;
    line-height: 10px;
    letter-spacing: 0px;
    text-align: left;
}

.btn-org {
    box-sizing: border-box;
    border: 1px solid rgb(114, 17, 150);
    border-radius: 5px;
    color: rgb(168, 168, 168);
    font-family: Montserrat;
    font-size: 8px;
    font-weight: 700;
    line-height: 10px;
    letter-spacing: 0px;
    text-align: left;
    background: rgba(62, 0, 69, 0.76);
}

.btn-job {
    box-sizing: border-box;
    border: 1px solid rgb(246, 221, 186);
    border-radius: 5px;
    background: rgba(116, 100, 0, 0.49);
    color: rgb(255, 255, 255);
    font-family: Montserrat;
    font-size: 8px;
    font-weight: 700;
    line-height: 10px;
    letter-spacing: 0px;
    text-align: left;
    margin-top: 3vw;
}

.btn-white {
    color: rgb(0, 0, 0);
    font-family: Montserrat;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: 0px;
    text-align: left;
    background-color: white;
    color: black;
    margin: 5px 0;
    width: 100%;
    width: 200px;
    height: 39px;
}

.active {
    animation: activeGlow 2s infinite alternate;
}

@keyframes activeGlow {
    0% {
        box-shadow: 0 0 5px rgba(94, 110, 213, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(94, 110, 213, 0.8);
    }
}

.player-info {
    background-color: #222639;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease-in-out;
}

.player-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.player-avatar {
    background-color: #3d4156;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

.player-avatar::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    top: -25%;
    left: -100%;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

.player-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: transform 0.5s ease;
}

.player-avatar:hover img {
    transform: scale(1.1);
}

.player-name {
    margin-right: 40px;
}

.player-id {
    color: #9a9eae;
    font-size: 0.8rem;
}

.player-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.player-avatar-small {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.player-avatar-small img {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.player-avatar-small:hover img {
    transform: rotate(360deg);
}

.copy-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.2);
    color: #5e6ed5;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateX(5px);
}

.stat-label {
    color: #9a9eae;
    margin-right: 5px;
    font-size: 0.8rem;
}

.stat-value {
    font-weight: bold;
    font-size: 0.8rem;
}

.stat-value-admin {
    color: #ff5757;
    animation: colorShift 3s infinite alternate;
}

@keyframes colorShift {
    0% {
        color: #ff5757;
    }
    50% {
        color: #ff8f57;
    }
    100% {
        color: #ff5757;
    }
}

.stat-value-org {
    color: #ff57e4;
    animation: colorShiftPurple 3s infinite alternate;
}

@keyframes colorShiftPurple {
    0% {
        color: #ff57e4;
    }
    50% {
        color: #c957ff;
    }
    100% {
        color: #ff57e4;
    }
}

.menu-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-row {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.5s ease-in-out;
}

.menu-card {
    border-radius: 15px;
    padding: 20px;
    position: relative;
    flex: 1;
    min-height: 200px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.menu-card:hover .card-image,
.menu-card:hover .card-image-right,
.menu-card:hover .card-image-bottom,
.menu-card:hover .card-image-org,
.menu-card:hover .card-image-license {
    transform: scale(1.05) translateY(-5px);
}

.dark-card {
    border-radius: 10px;
    background: linear-gradient(41.47deg, rgb(44, 28, 6) 0%, rgba(51, 37, 20, 0) 121.846%);
}

.green-card {
    border-radius: 10px;
    background: linear-gradient(48.78deg, rgb(50, 38, 0) -13.737%, rgba(17, 17, 3, 0.57) 99.036%);
}

.blue-card {
    border-radius: 10px;
    background: linear-gradient(48.78deg, rgba(2, 11, 3, 0.95) -13.668%, rgba(37, 60, 23, 0.4) 97.2%);
}

.red-card {
    border-radius: 10px;
    background: linear-gradient(48.78deg, rgba(110, 0, 0, 0.95) -13.047%, rgba(66, 36, 0, 0.4) 96.11%);
}

.purple-card {
    border-radius: 10px;
    background: linear-gradient(48.78deg, rgba(97, 0, 73, 0.95) -19.251%, rgba(10, 0, 10, 0.4) 99.456%);
}

.license-card {
    border-radius: 10px;
    background: linear-gradient(48.78deg, rgba(0, 0, 0, 0.95) -20.35%, rgba(137, 168, 255, 0.4) 99.9%);
    flex: 2;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h3 {
    color: rgb(255, 255, 255);
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.menu-card:hover .card-content h3 {
    transform: translateY(-5px);
}

.card-content p {
    color: rgb(168, 168, 168);
    font-family: Montserrat;
    font-size: 6px;
    font-weight: 700;
    line-height: 7px;
    letter-spacing: 0px;
    text-align: left;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-card:hover .card-content p {
    opacity: 1;
    transform: translateY(-5px);
}

.card-image {
    position: absolute;
    bottom: -11vw;
    right: 3vw;
    z-index: -1;
    max-width: 250px;
    transition: all 0.5s ease;
}

.card-image-right {
    position: absolute;
    top: 60%;
    right: -12vw;
    transform: translateY(-50%);
    max-width: 365px;
    z-index: -1;
    transition: all 0.5s ease;
}

.card-image-bottom {
    position: absolute;
    bottom: -7vw;
    z-index: -1;
    right: -11vw;
    max-width: 510px;
    transition: all 0.5s ease;
}

.card-image-org {
    position: absolute;
    bottom: -10vw;
    z-index: -1;
    right: -5vw;
    max-width: 510px;
    transition: all 0.5s ease;
}

.card-image-license {
    position: absolute;
    bottom: -11vw;
    z-index: -1;
    right: -5vw;
    max-width: 515px;
    transition: all 0.5s ease;
}

.property-options {
    display: flex;
    flex-direction: column;
    width: 60%;
}

.battle-pass {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    animation: fadeIn 1s ease-in-out;
}

.season-number {
    font-size: 3rem;
    font-weight: bold;
    animation: scaleIn 0.5s ease-in-out;
}

.license-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.license-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    color: #2a3577;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.license-icon:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.small {
    color: rgb(255, 255, 255);
    font-family: Montserrat;
    font-size: 8px;
    font-weight: 700;
    line-height: 10px;
    letter-spacing: 0px;
    text-align: left;
}

.footer {
    text-align: center;
    margin-top: 30px;
    font-weight: bold;
    color: white;
    animation: fadeIn 1s ease-in-out;
}

/* Нові анімації */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Floating animation for cards */
.menu-card {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Staggered animations for menu rows */
.menu-row:nth-child(1) {
    animation-delay: 0s;
}

.menu-row:nth-child(2) {
    animation-delay: 0.2s;
}

.menu-row:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animated background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at center, #2a3577 0%, #1e3233 70%, #0f1a1b 100%);
    overflow: hidden;
}

.animated-background::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 2%),
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 2%),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 2%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 2%),
        radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 2%),
        radial-gradient(circle at 60% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 2%);
    animation: moveStars 60s linear infinite;
}

@keyframes moveStars {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Gradient border animation */
.gradient-border {
    position: relative;
}

.gradient-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    border-radius: 17px;
    background: linear-gradient(45deg, #3d4caa, #ff57e4, #28b86e, #3d4caa);
    background-size: 400% 400%;
    animation: gradientBorder 4s ease infinite;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Hover effect for all interactive elements */
.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    filter: drop-shadow(0 0 5px rgba(94, 110, 213, 0.5));
}

/* Responsive */
@media (max-width: 768px) {
    .menu-row {
        flex-direction: column;
    }
    
    .nav-buttons {
        flex-wrap: wrap;
    }
    
    .player-info {
        flex-direction: column;
        text-align: center;
    }
    
    .player-avatar {
        margin: 0 auto 10px;
    }
    
    .player-name {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .stats-container {
        justify-content: center;
    }
}

/* Нові класи для додаткових елементів */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    background-color: #ff5757;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    animation: pulse 2s infinite;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background-color: #222639;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3d4caa, #ff57e4);
    border-radius: 5px;
    width: 75%;
    background-size: 200% 100%;
    animation: progressGradient 2s linear infinite;
}

@keyframes progressGradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: white;
    opacity: 0;
    pointer-events: none;
}

.typing-effect::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}