body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    color: #ccc;
    overflow-x: hidden;
    background-image: url('back-4k.jpeg');
}
header {
    background: linear-gradient(135deg, #000000, #333333);
    color: #fff;
    padding: 3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding-left: 2rem;
    padding-right: 2rem;
}
header h1 {
    font-size: 3.5rem;
    margin: 0;
    font-weight: 700;
}
header .header-links {
    text-align: right;
}
header p {
    font-size: 1.25rem;
    margin: 0.5rem 0;
    font-weight: 300;
}
header a {
    color: #fff;
    margin: 0 0.5rem;
    font-weight: 400;
    transition: color 0.3s ease;
}
header a:hover {
    color: #ffd700;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
}
section {
    margin: 3rem 0;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    position: relative;
}
section:hover {
    transform: translateY(-10px);
}
h2 {
    color: #fff;
    font-weight: 700;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #0056b3;
}
ul {
    list-style: none;
    padding: 0;
}
ul li {
    margin: 1rem 0;
}
.skills-list, .achievements-list, .hobbies-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.skills-list li, .achievements-list li, .hobbies-list li {
    padding: 0.5rem;
    background: #2a2a2a;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
footer {
    background: #000;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}
footer p {
    margin: 0;
}
/* Mouse trail effect */
.trail {
    position: absolute;
    width: 1px;
    height: 3px;
    background: #ffffff;
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5);
    animation: spark-animation 0.01s ease-out;
}
@keyframes spark-animation {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}
/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Game Canvas Styles */
canvas#gameCanvas {
    background: #000;
    border: 2px solid #007bff;
    margin-bottom: 1rem;
}
.instructions {
    text-align: right;
    color: #fff;
    padding: 1rem;
    background: #222;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    font-weight: 400;
}

.instructions:hover {
    background: #333;
}


.game-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}
.score-display {
    text-align: right;
    color: #fff;
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}