@import url('https://fonts.cdnfonts.com/css/apots-black') screen; 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 120px; 
    font-family: 'Arial', sans-serif;
    position: relative; 
}

.visit-counter {
    position: absolute;
    top: 25px;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(20, 22, 25, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #1e1f22;
    font-size: 1rem;
    font-weight: bold;
    color: #f2f3f5;
    user-select: none;
    z-index: 10;
}

.eye-icon {
    width: 18px;
    height: 18px;
    color: #949ba4;
}

header {
    margin: 50px 0 45px 0; 
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.logo {
    max-height: 130px; 
    width: auto;
    object-fit: contain;
}

.hero-section {
    width: 90%;
    max-width: 950px;
    height: 380px;
    background-color: #2e2e2e;
    border-radius: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 150px; 
    background-size: cover;
    background-position: center;
    border: 1px solid #1a1a1a;
    transition: background-image 0.5s ease-in-out;
    position: relative;
    z-index: 2;
}

.banner-placeholder {
    color: #aaaaaa;
    font-size: 1.1rem;
}

.about-content h2, .work-section h2, .contact-section h2 {
    font-family: 'Apots Black', 'Arial Black', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 45px; 
}

.about-section {
    width: 90%;
    max-width: 950px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 150px; 
    gap: 50px;
    position: relative;
    z-index: 2;
}

.about-content {
    flex: 1.3;
}

.about-content p {
    color: #aeaeae;
    line-height: 1.65;
    font-size: 1.1rem;
}

.about-image {
    flex: 0.7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flashlight-img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.work-section {
    width: 90%;
    max-width: 950px;
    text-align: center;
    margin-bottom: 150px; 
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 35px;
}

.hidden {
    display: none !important;
}

.gallery img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    border: 1px solid #111;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery img:hover {
    transform: scale(1.03);
    border-color: #333;
}

.load-more-btn {
    background-color: #141414;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: none;
    padding: 14px 35px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 45px;
    transition: background-color 0.2s;
}

.load-more-btn:hover {
    background-color: #222222;
}

.contact-section {
    width: 90%;
    max-width: 950px;
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.discord-mockup {
    flex: 1;
    background-color: #111214;
    height: 280px;
    border-radius: 16px;
    display: flex;
    border: 1px solid #1e1f22;
    overflow: hidden;
}

.mockup-sidebar {
    width: 45px;
    background-color: #1e1f22;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    gap: 12px;
}

.sidebar-dot {
    width: 26px;
    height: 26px;
    background-color: #313338;
    border-radius: 50%;
}

.mockup-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-header {
    font-weight: bold;
    color: #f2f3f5;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.mockup-channel {
    color: #949ba4;
    font-size: 0.95rem;
    padding: 6px 10px;
    border-radius: 6px;
}

.mockup-channel.active {
    background-color: #35373c;
    color: #ffffff;
}

.contact-text {
    flex: 1.3;
}

.contact-text p {
    color: #aeaeae;
    line-height: 1.65;
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.discord-btn {
    background-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 10px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.2s;
    letter-spacing: 0.5px;
}

.discord-btn:hover {
    background-color: #004494;
}

.hero-bg-grid-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px;
    overflow: hidden;
    z-index: 1; 
    pointer-events: none; 
}

.hero-bg-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 15px;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.hero-bg-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    border-radius: 12px; 
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,1) 95%);
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.96);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85);
    border: 1px solid #1a1a1a;
    cursor: pointer;
}

.lightbox-date {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(30, 31, 34, 0.9);
    border: 1px solid #313338;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #f2f3f5;
    font-weight: bold;
    pointer-events: none;
    z-index: 100001;
    letter-spacing: 0.3px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 100000;
}

.lightbox-close:hover {
    color: #cccccc;
}

.lightbox-tip {
    position: absolute;
    bottom: 30px;
    background-color: rgba(30, 31, 34, 0.85);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 0.9rem;
    color: #949ba4;
    border: 1px solid #313338;
    pointer-events: none;
}

@media (max-width: 850px) {
    .gallery { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .about-section, .contact-container { 
        flex-direction: column; 
        text-align: center; 
    }
    .flashlight-img { 
        max-width: 140px; 
        margin-top: 20px; 
    }
    .logo {
        max-height: 100px;
    }
    .hero-section, .about-section, .work-section {
        margin-bottom: 100px; 
    }
    .visit-counter {
        top: 15px;
        right: 15px;
    }
    .hero-bg-grid {
        grid-template-columns: repeat(3, 1fr); 
    }
    .hero-bg-grid-wrapper {
        height: 900px;
    }
}

@media (max-width: 550px) {
    .gallery { 
        grid-template-columns: 1fr; 
    }
    .logo {
        max-height: 85px;
    }
    .hero-section, .about-section, .work-section {
        margin-bottom: 80px; 
    }
}