@font-face {
    font-family: 'Pricedown';
    src: url('../fonts/PRICEDOWN.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Rage Italic';
    src: url('../fonts/RAGE.TTF') format('truetype');
}

@font-face {
    font-family: 'SF Arborcrest';
    src: url('../fonts/SF Arborcrest Light.ttf') format('truetype');
}

:root {
    --primary-color: #F741D5;
    --secondary-color: #00ff00;
    --background-color: #000000;
    --text-color: #ffffff;
    --menu-hover-color: var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

body {
    font-family: 'Pricedown', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow: hidden;
    cursor: none; /* Hide the default cursor */
}

/* Custom cursor styles */
.game-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: none; /* Hide the default cursor */
}

/* Add custom cursor for menu items */
.menu-item {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 24px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer; /* Show pointer on menu items */
}

.menu-item:hover {
    transform: scale(1.1);
    cursor: url('../assets/cursor.png'), auto; /* Custom cursor on hover */
}

/* Default custom cursor */
* {
    cursor: url('../assets/cursor.png'), auto;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.logo img {
    width: 200px;
    height: auto;
}

.menu-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.game-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

/* Menu Item Styles - Combined and cleaned up */
.menu-item {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 32px;
    padding: 10px 20px;
    transition: all 0.15s ease; /* Shortened transition time to match audio */
    text-transform: uppercase;
    position: relative;
    font-family: 'Pricedown', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* Pseudo-elements for background shapes */
.menu-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -45%);
    width: calc(100%);
    height: calc(100%);
    background-color: #2c9522a8;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    clip-path: var(--clip-path, polygon(2% 10%, 95% 0, 100% 95%, 5% 100%));
}

/* Individual menu item shapes */
/* Generate styles for each menu item */


/* Hover effects - Combined */
.menu-item:hover {
    color: var(--menu-hover-color);
    transform: scale(1.1);
    cursor: url('../assets/cursor.png'), auto;
}

.menu-item:hover::before {
    opacity: 1;
}

.menu-item:hover {
    color: var(--menu-hover-color);
    transform: scale(1.1);
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #050c17 40%,
        #3b1f3b 60%,
        #f741d5 190%
    );
    z-index: 0;
    overflow: hidden;
}

.background-pattern::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 220%;
    bottom: -50%;
    left: -50%;
    background: 
        linear-gradient(
            90deg,
            rgba(247, 65, 213, 0.3) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(247, 65, 213, 0.3) 1px,
            transparent 1px
        );
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
}


@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(70deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(70deg) translateY(40px);
    }
}

/* Adjust menu container to ensure visibility */
.menu-container {
    z-index: 2;
    position: relative;
}

/* Enhance text visibility */
.menu-item {
    text-shadow: 0 0 10px rgba(247, 65, 213, 0.8);
}
/* Remove the game container overlay since we have the gradient overlay */
/* Adjust menu container to ensure visibility */
.menu-container {
    z-index: 2;
    position: relative;
}

/* Enhance text visibility */
.menu-item {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Remove the game container overlay since we have the gradient overlay */
.game-container::before {
    display: none;
}

/* Remove the existing border and box-shadow */
.background-pattern {
    border: none;
    box-shadow: none;
}

/* Adjust the dark overlay opacity */
.game-container::before {
    background-color: rgba(0, 0, 0, 0.92);
}

/* Responsive Design */


/* Now Playing Styles */
.now-playing {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Pricedown', sans-serif;
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(247, 65, 213, 0.3);
    animation: glowBorder 2s infinite;
    max-width: 300px;
    overflow: hidden;
    white-space: nowrap;
}

.now-playing-label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 0 0 5px var(--primary-color);
}

.track-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.track-name {
    font-size: 18px;
    font-weight: bold;
    font-family: "Rage Italic", cursive;
}

.track-artist {
    font-size: 18px;
    color: #fff;
    font-family: 'Rage Italic', cursive;
    font-style: italic;
}

@keyframes glowBorder {
    0% {
        box-shadow: 0 0 10px rgba(247, 65, 213, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(247, 65, 213, 0.5);
    }
    100% {
        box-shadow: 0 0 10px rgba(247, 65, 213, 0.3);
    }
}

.weather-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    z-index: 1000;
    color: #fff;
}

.weather-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.temperature {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Rage Italic', cursive;
    text-shadow: 0 0 5px var(--primary-color);
}

.location {
    font-size: 28px;
    font-style: italic;
    font-family: 'Rage Italic', cursive;
    text-shadow: 0 0 5px var(--primary-color);
}

.track-name {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Rage Italic', cursive;
    font-style: italic;
}

@keyframes glowBorder {
    0% {
        box-shadow: 0 0 10px rgba(247, 65, 213, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(247, 65, 213, 0.5);
    }
    100% {
        box-shadow: 0 0 10px rgba(247, 65, 213, 0.3);
    }
}

/* Adjust responsive design for now playing */


/* Projects Page Styles */
/* Projects Container Styles */
.projects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10; /* ensure it's above background */
    text-align: center;
}

.projects-container h1 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Update body overflow for projects page */
body.projects-page {
    overflow-y: auto;
    overflow-x: hidden;
}


.back-button {
    position: absolute;
    bottom: 2rem;
    left: 8rem;
    font-family: 'Pricedown', sans-serif;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.--menu {
    margin-top: 1rem;
}

.project-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-menu .menu-item {
    margin: 1rem 0;
    font-size: 2rem;
}

.projects-container h3:hover {
    color: var(--menu-hover-color);
    transform: scale(1.1);
    cursor: url('../assets/cursor.png'), auto;
}

.projects-container h3:hover::before {
    opacity: 1;
}


.flex-container-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hidden{
    display: none;
}

.project-details {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
}

.project-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.project-item {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: auto auto;
    grid-template-areas: 
        "image content"
        "links content";
    gap: 2rem;
    max-width: 1400px;
}

.project-video {
    width: 100%;
    max-height: 50vh;
    max-width: 800px;
    object-fit: contain;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    margin: 0 auto;
}

.project-image-container {
    grid-area: image;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.project-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
}

.project-links {
    width: 200px;
    text-align: center;
}

.project-links .menu-item {
    width: 100%;
    padding: 0.8rem 1.5rem;
}

.project-content .back-button {
    position: absolute;
    bottom: 2rem;
    left: 10rem;
    font-family: 'Pricedown', sans-serif;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 20px;
}



.project-header {
    grid-area: content;
    overflow-y: auto;
    padding-right: 2rem;
    height: 100vh;
}

.project-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Pricedown', sans-serif;
}

.project-header .description {
    font-family: 'SF Arborcrest', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    white-space: pre-wrap;
    text-align: left;  /* Add this line to ensure left alignment */
}

.project-header .description strong {
    color: var(--primary-color);
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Pricedown', sans-serif;
}

.project-header .description code {
    background: rgba(247, 65, 213, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

.project-header .description ul {
    list-style-type: none;
    padding-left: 1rem;
    font-family: 'SF Arborcrest', sans-serif;
}

.project-header .description ul li {
    position: relative;
    padding-left: 1rem;
}

.project-header .description ul li:before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.project-links {
    grid-area: links;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.project-links .menu-item {
    width: 200px;
    text-align: center;
    padding: 0.8rem 1.5rem;
}

.project-item h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.project-item p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.project-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border: 2px solid var(--primary-color);
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-details {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
}

.about-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.about-item {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 2rem;
    max-width: 1400px;
}

.about-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 80%;
}

.about-image {
    width: 60%;
    max-height: 100vh;
    object-fit: contain;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    margin-top: 2rem;
}

.about-text-container {
    height: 100%;
    overflow-y: auto;
    padding-right: 2rem;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    margin-top: 5rem;
}

.about-text-container h1 {
    font-family: 'Rage Italic';
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 5px var(--primary-color);
}

.about-text-container h2 {
    font-family: 'Rage Italic';
    font-size: 2rem;
}

.about-text-container p {
    font-family: 'SF Arborcrest Light', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.contact-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
}

.contact-header {
    text-align: center;
    padding: 2rem 0;
}

.contact-header h1 {
    font-family: 'Rage Italic', cursive;
    color: #F741D5;
    text-shadow: 0 0 5px #F741D5;
    font-size: 3rem;
    margin: 0;
}

.contact-models-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 60vh;
    padding: 0 2rem;
}

.model-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    height: 400px;
}

.model-container {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative; /* Add this */
}

.model-container:hover {
    transform: scale(1.05);
}

.contact-item {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .now-playing {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
    }

    .track-name {
        font-size: 16px;
    }

    .track-artist {
        font-size: 12px;
    }

    .logo img {
        width: 150px;
    }
    
    .menu-item {
        font-size: 28px;
    }
}