@import url('https://fonts.googleapis.com/css2?family=Honk:MORF@15&family=Michroma&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Climate+Crisis&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');

/* Animations */
@keyframes cardExpand {
    from {
        width: 300px;
        /* transform: scale(1); */
    }
    to {
        width: 450px;
        /* transform: scale(1.05); */
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideAndFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes unlock {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(-15deg);
    }
    100% {
        transform: scale(0.3) rotate(45deg) translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background-color: black;
}

.container {
    /* background: url('https://media1.tenor.com/m/fNYts6IqSrcAAAAd/ruf.gif') no-repeat center center fixed; */
    background: url('https://media1.tenor.com/m/4N1MHmyApnQAAAAC/type7-911.gif') no-repeat center center fixed;
    /* background: black; */
    background-size: cover;
    position: relative;
    isolation: isolate;
    height: 100vh;
}

.container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.7) 100%),
        rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 0;
}

.container > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, p, a {
    margin: 0;
    padding: 0;
    color: white;
}

h1, h2 {
    font-family: 'Climate Crisis', sans-serif;
}

h3, h4, h5 {
    font-family: 'Host Grotesk', sans-serif;
    font-weight: 800;
}

p {
    font-family: 'Host Grotesk', sans-serif;
}

.title {
    font-family: 'Honk', sans-serif;
    font-size: 48px;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.glass-card {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-image 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card-minimal {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s, border-color 0.3s;
}

.enter-card {
    height: 400px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: slideAndFadeUp 0.5s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

.enter-card:hover {
    cursor: pointer;
    transform: scale(1.02);
}

.lock {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    animation: slideInUp 0.45s ease-in-out;
    transition: transform 0.15s ease-in-out;
}

.lock:hover {
    transform: scale(1.05);
}

.hide {
    display: none!important;
}

.show {
    display: block!important;
}

.content-card {
    width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px 20px;
    box-sizing: border-box;
    animation: cardExpand 0.5s ease-in-out, fadeIn 0.5s ease-in-out;
}

.avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideInUp 0.45s ease-in-out 0.15s both;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin-top: -85px;
    animation: slideInDown 0.5s ease-in-out 0.05s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header h1 {
    font-size: 64px;
    font-weight: bold;
    background: rgb(251 61 61);
    background: linear-gradient(180deg, rgb(255, 255, 255) 65%, rgb(255 27 27) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Climate Crisis', sans-serif;
    letter-spacing: 0.1rem;
    text-shadow: 0px 5px 20px rgb(255 85 58 / 30%);
}

.nav {
    /* margin-left: 20px; */
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
}

.nav-btns {
    margin-left: auto;
}

.nav-btn {
    text-decoration: none;
    background: linear-gradient(135deg, rgb(0 0 0 / 70%), rgb(30 30 30 / 60%));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border: 1px solid rgb(0 0 0 / 60%);
    border-radius: 10px;
    padding: 10px 20px;
    margin-left: 5px;
    color: white;
    font-family: 'Michroma', sans-serif;
    transition: background-color 0.3s, border-color 0.3s, transform 0.2s ease-in-out;
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgb(0 0 0 / 90%), rgb(40 40 40 / 80%));
    border: 1px solid rgb(0 0 0 / 80%);
    transform: translateY(-2px);
}

.content {
    margin-top: 20px;
    text-align: left;
    animation: slideAndFadeUp 0.5s ease-in-out 0.2s both;
}

.projects-grid {
    display: flex;
    flex-direction: row;
    gap: 10px;
    animation: slideInUp 0.5s ease-in-out 0.25s both;
}

.projects-grid > div {
    flex: 1;
}

.ghost-card:hover {
    background: rgba(0, 11, 135, 0.307);
    border: 1px solid rgba(0, 11, 135, 0.307);
    transform: scale(1.05);
}

.haze-card:hover {
    background: rgba(0, 78, 8, 0.307);
    border: 1px solid rgba(0, 78, 8, 0.307);
    transform: scale(1.05);
}

.haze-card:hover, .ghost-card:hover {
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s ease-in-out;
    cursor: pointer;
}

.info-card-header {
    margin-bottom: -20px;
    font-family: Climate Crisis;
    position: relative;
    top: -37px;
    text-shadow: 0px 5px 20px rgb(255 85 58 / 30%);
    text-align: center;
    font-size: 32px;
}

.discord-profile {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}

.discord-profile .avatar {
    width: 50px;
    height: 50px;
}

.discord-profile p {
    color: #eeeeee;
}

.link-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px;
    /* margin-bottom: 10px; */
}

.link-card:hover {
    background-color: rgba(255, 255, 255, 0.31);
    border: 1px solid rgba(255, 255, 255, 0.31);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
}

.link-card-icon {
    margin-left: 5px; 
    background: linear-gradient(135deg, rgba(255, 175, 175, 0.4) 0%, rgba(255, 150, 150, 0.25) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
    width: 30px;
    height: 30px;
    padding: 0;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-card-icon i,
.link-card-icon svg {
    line-height: 1;
    /* padding-left: 1px; */
}

.now-playing-card {
    background: linear-gradient(135deg, rgba(255, 100, 100, 0.2) 0%, rgba(255, 50, 100, 0.2) 50%, rgba(255, 80, 80, 0.15) 100%);
    border: 1px solid rgba(255, 100, 100, 0.4);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 8px 32px rgba(255, 100, 100, 0.2);
    border-radius: 10px;
    animation: slideInUp 0.5s ease-in-out 0.3s both;
    transition: transform 0.3s ease-in-out;
}

.now-playing-card:hover {
    transform: translateY(-5px);
}

.now-playing-inner {
    color: white;
    text-decoration: none;
    font-family: 'Host Grotesk', sans-serif;
}

#motd {
    animation: fadeIn 0.6s ease-in-out;
    padding-right: 4px;
}

.links-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
}

@media (max-width: 550px) {
    .enter-card, .content-card {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        animation: none;
    }

    .header {
        margin-top: 0;
    }

    .links-grid {
        grid-template-columns: auto;
    }
}

@media (max-width: 375px) {
    .header h1 {
        font-size: 48px;
    }
}

@media (max-width: 300px) {
    .header h1 {
        font-size: 36px;
    }
}