:root {
    --bg: #000;
    --text: #fff;
    --gray: #888;
    --accent: #00bbff;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Roboto Mono', monospace;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-section {
    padding: 110px 0 110px;
    text-align: center;
}
.project-title {
    font-size: clamp(48px, 10vw, 110px);
    text-transform: uppercase;
    letter-spacing: -4px; margin: 0;
}

.project-subtitle {
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    padding-bottom: 20px;
}

.project-card {
    grid-column: span 2;
    text-decoration: none;
    color: var(--text);
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 500px;
}

.project-card:nth-child(1), .project-card:nth-child(2) {
    grid-column: span 3;
    height: 580px;
}

.project-card--not-implemented .project-card__img-wrap {
    background: repeating-linear-gradient(
            45deg,
            #000000,
            #000000 40px,
            #111111 40px,
            #111111 80px
    );
    filter: blur(5px);
    position: relative;
}

.project-card--not-implemented::after {
    content: "NOT IMPLEMENTED";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    font-size: 30px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.1);
    font-weight: 500;
    pointer-events: none;
}

.project-card--not-implemented .project-card__title,
.project-card--not-implemented .project-card__tag {
    opacity: 0.4;
}


.project-card__img-wrap {
    width: 100%;
    height: 100%;
}

.project-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.project-card:hover img {
    transform: scale(1.3);
}

.project-card__content {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card__tag {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    width: fit-content;
}

.project-card__title {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 400;
}

.notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 9999;
}

.notice-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.notice-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ccc;
}

.notice-content button {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 100px;
    cursor: none;
    font-family: inherit;
    font-weight: 500;
}

.notice-content {
    text-align: center;
    max-width: 500px;
    background: #000;
    border: 1px solid #222;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.notice-content p {
    color: #888;
    font-size: 18px;
    letter-spacing: 1px;
}

.notice-content button {
    background: transparent;
    color: #fff;
    border: 1px solid #444;
    padding: 10px 30px;
    border-radius: 100px;
    margin-top: 20px;
    transition: 0.3s;
}

.notice-content button:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
    }
    .project-card, .project-card:nth-child(1), .project-card:nth-child(2) {
        grid-column: span 1;
        height: 400px;
    }
}

@media (max-width: 800px) {
    .preview-wrap {
        padding: 12px;
    }
}

@media (max-width: 550px) {
    .search-btn {
        display: none;
    }
    .back-link {
        display: none;
    }
    .header__container {
        justify-content: center;
    }
}