@font-face {
    font-family: 'Consolas';
    src: local('Consolas');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Consolas', monospace;
}

body {
    overflow-x: hidden;
    color: white;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: black;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: none;
    object-position: center center;
}

@media (max-width: 768px) {
    .video-container video {
        object-fit: cover;
    }
}

.content {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    z-index: 1;
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.main-page-btn {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.main-page-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 87, 87, 0.5);
}

.menu-toggle {
    width: 30px;
    height: 21px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 100;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
}

.counter {
    margin-top: 20px;
}

.avatar-container {
    margin: 20px 0;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 87, 87, 0.5);
}

.profile-info {
    text-align: center;
    margin-bottom: 25px;
}

.profile-info h1 {
    font-size: 36px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 87, 87, 0.7);
}

.username {
    color: #ff5757;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.username:hover {
    text-shadow: 0 0 10px rgba(255, 87, 87, 0.7);
}

.bio {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bio-title {
    color: #ff5757;
    margin-bottom: 15px;
    font-weight: bold;
}

.bio p {
    margin: 8px 0;
    font-size: 16px;
}

.music-player {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    padding: 10px 20px;
    margin-top: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#playBtn {
    background: #ff5757;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

#playBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 87, 87, 0.7);
}

.music-info {
    margin-left: 15px;
    font-size: 14px;
}

footer {
    margin-top: auto;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
}

#sideMenu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: right 0.4s ease;
    z-index: 99;
    border-left: 1px solid rgba(255, 87, 87, 0.3);
}

#sideMenu a {
    color: white;
    text-decoration: none;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

#sideMenu a:hover {
    background: rgba(255, 87, 87, 0.2);
}

.menu-open #sideMenu {
    right: 0;
}

.menu-open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-open .bar:nth-child(2) {
    opacity: 0;
}

.menu-open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.projects-grid, .donation-grid, .links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 90%;
    max-width: 800px;
    margin: 30px auto;
}

.project-card, .donation-card, .link-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-card:hover, .donation-card:hover, .link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 87, 87, 0.4);
    border-color: rgba(255, 87, 87, 0.3);
}

.project-card i, .donation-card i, .link-card i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ff5757;
}

.project-card h3, .donation-card h3, .link-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.project-card p, .donation-card p, .link-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    flex-grow: 1;
}

.project-card a, .link-card button, .copy-btn {
    background: rgba(255, 87, 87, 0.2);
    color: white;
    border: 1px solid #ff5757;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.donate-btn {
    background: rgba(255, 87, 87, 0.2);
    color: white;
    border: 1px solid #ff5757;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
}

.donate-btn:hover {
    background: rgba(255, 87, 87, 0.4);
    box-shadow: 0 0 15px rgba(255, 87, 87, 0.4);
}

.project-card a:hover, .link-card button:hover, .copy-btn:hover {
    background: rgba(255, 87, 87, 0.4);
    box-shadow: 0 0 15px rgba(255, 87, 87, 0.4);
}

.donate-header, .section-title {
    text-align: center;
    font-size: 32px;
    margin: 20px 0 30px;
    text-shadow: 0 0 10px rgba(255, 87, 87, 0.7);
}

@media (max-width: 768px) {
    .projects-grid, .donation-grid, .links-grid {
        grid-template-columns: 1fr;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    .bio {
        width: 95%;
        padding: 15px;
    }
    }
