:root {
    --primary-color: #ffffff;
    --text-color: white;
    --bg-color: rgba(0, 0, 0, 0.15);
    --card-bg: rgba(30, 40, 50, 0.8);
    --section-bg: rgba(0, 0, 0, 0.15);
    --hover-color: rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body,
html {
    height: 100%;
    width: 100%;

    overflow: auto;
    background: url("/assets/images/bg.png");
    background-repeat: no-repeat;
    color: var(--text-color);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

.container {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-inline: 20rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-y: auto;
}


@media screen and (max-width: 768px) {
    .container {
        padding-inline: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding-inline: 1rem;
    }
}


@media screen and (max-width: 480px) {
    .profile-name {
        font-size: 1.2rem;
    }

    .discord img {
        width: 100%
    }

    .profile-bio {
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .project-title {
        font-size: 1rem;
    }

    .project-desc {
        font-size: 0.75rem;
    }

    .connect-me-container a {
        font-size: 0.875rem;
    }

    .img-sosial {
        width: 24px;
    }

    .profile-pic {
        width: 70px;
        height: 70px;
    }
}


body,
input,
textarea,
button {
    font-size: 1rem;
    line-height: 1.5;
}


.project-img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
}

.img-sosial {
    max-width: 100%;
    height: auto;
}


.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    .menu-btn {
        display: block;
    }
}


.glass-card {
    background-color: var(--section-bg);
    border-radius: 15px;
    backdrop-filter: blur(15px);
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    z-index: 100;
    margin: 50px 10px 10px 10px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

.logo span:first-child {
    font-size: 32px;
    margin-right: 1rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    font-weight: bold;
}

.nav-links img {
    width: calc(25rem * 0.07);
}

.nav-links a:hover {
    color: var(--primary-color);
}


.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 0 50px;
    overflow: scroll;
    scrollbar-width: none;
    margin: 10px;
}


.section {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    visibility: hidden;
}

.section.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}


.home-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    gap: 0.5rem;
    border-radius: 0.75rem;
    width: 100%;
}

.profile-container .profile-inside {
    color: var(--text-color);
    font-family: monospace, monospace !important;
    font-weight: 100 !important;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.profile-name {
    font-size: 28px;
    font-weight: 100 !important;
    margin-top: 15px;
    margin-bottom: 5px;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.profile-bio {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}


.connect-me-container {
    padding: 12px;
    border-radius: 1rem;
    color: var(--text-color);
    backdrop-filter: blur(15px);
    background-color: rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
    width: 100%;
}

.connect-me-container h1 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.connect-me-container .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.img-sosial {
    width: 35px;
}

.connect-me-container a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease;
}

.connect-me-container a:hover {
    background-color: var(--hover-color);
}

.profile-bio a {
    font-size: 16px;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease;
}

.profile-bio a:hover {
    background-color: var(--hover-color);
}


.projects-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    padding: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.project-card {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    backdrop-filter: blur(15px);

}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info img {
    max-width: 100%;
    width: 80%;
    border-radius: 10px;
}

.project-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-desc {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tag {
    background-color: rgba(255, 204, 0, 0.2);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
}


.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.contact-form {
    width: 100%;
    background-color: var(--card-bg) !important;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background-color: rgba(20, 30, 40, 0.8);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 16px;
    transition: box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: #1a1e23;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}


footer {
    background-color: rgba(10, 15, 20, 0.8);
    padding: 15px;
    text-align: center;
    position: relative;
    z-index: 10;
    font-size: 14px;
    margin: 10px;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}


.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
}


@media screen and (min-width: 1024px) {
    .profile-container {
        flex-direction: row;
        gap: 1.25rem;
    }

    .connect-me-container .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        padding-inline: 10rem;
    }

    .connect-me-container .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding-inline: 2rem;
    }

    nav {
        padding: 15px 20px;
    }

    .menu-btn {
        display: none;
    }

    .nav-links {
        display: none;
        
      }
      
      .nav-links.active {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background-color: rgba(20, 30, 40, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        z-index: 999;
      }
      


    .projects-grid {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 0 20px;
        overflow: inherit;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding-inline: 1rem;
    }

    .connect-me-container .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 15px;
    }

    .section-title {
        font-size: 15px;
    }

    .contact-form {
        padding: 20px;
    }
}

.project-btn {
    margin-top: 10px;
    padding: 10px 16px;
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.project-btn:hover {
    background-color: #3730a3;
}


.nshop-container {
    padding: 2rem;
    width: 100%;
}

.nshop-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.nshop-option {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 8px;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.nshop-option.active {
    background-color: #4f46e5;
}

.nshop-option:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.nshop-content {
    margin-top: 1rem;
}

[data-tab-content] {
    display: none;
}

[data-tab-content].active {
    display: block;
}


.katalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.katalog-item {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
}

.katalog-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.katalog-item ul {
    list-style-type: none;
    padding-left: 0;
}

.katalog-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}


.ratings-summary {
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.rating-stars {
    font-size: 2rem;
    color: gold;
    letter-spacing: 2px;
}

.rating-value {
    font-size: 2.5rem;
    font-weight: bold;
}

.rating-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

.rating-distribution {
    flex: 1;
    min-width: 250px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.rating-bar span:first-child {
    width: 30px;
}

.bar-container {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: gold;
    border-radius: 5px;
}

.rating-bar span:last-child {
    width: 30px;
    text-align: right;
}

.ratings-filter {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-filter-select {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
}

.ratings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.rating-card {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
}

.rating-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.rating-stars-small {
    color: gold;
    font-size: 1rem;
}

.rating-username {
    font-weight: 600;
}

.rating-date {
    opacity: 0.7;
    font-size: 0.8rem;
}

.load-more-btn {
    display: block;
    margin: 2rem auto 0;
    padding: 0.75rem 1.5rem;
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.load-more-btn:hover {
    background-color: #3730a3;
}

@media (max-width: 768px) {
    .katalog-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-overview {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Bottom Navbar */
.bottom-navbar {
    display: none;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-radius: 15px;
    margin: 0 10px 0 10px;
}

.bottom-navbar {
    display: flex;
    justify-content: space-around;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 8px;
    transition: var(--transition);
    margin: 0 5px;
    max-width: 70px;
    justify-content: center;
}

.bottom-nav-link img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.bottom-nav-link span {
    font-size: 0.7rem;
}

.bottom-nav-link.active {
    background-color: rgba(255, 255, 255, 0.3);
}

.bottom-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hide on desktop */
@media (min-width: 769px) {
    .bottom-navbar {
        display: none;
    }
}

/* Show on mobile */
@media (max-width: 768px) {
    .bottom-navbar {
        display: flex;
    }
    
    /* Remove padding-bottom from container as navbar is fixed */
    .container {
        padding-bottom: 0;
    }
}


.add-rating-container {
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.star-rating {
    font-size: 2rem;
    margin: 10px 0;
}

.star-rating .star {
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: gold;
}

.submit-rating-btn {
    background-color: #4f46e5;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-rating-btn:hover {
    background-color: #3730a3;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: white;
}

.rating-card .rating-review {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}