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

body {
    background: #000; /* #fff;*/
    color: #fff;  /* #111;*/
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: #fff;  /* #111;*/
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover { opacity: 0.45; }

ul { list-style: none; }

/* ── Layout ── */
.site-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ── */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    padding: 40px 0 36px 40px;
    overflow-y: auto;
    z-index: 100;
    background: #000;  /* #fff;*/
    display: flex;
    flex-direction: column;
}

.sidebar::-webkit-scrollbar { display: none; }
.sidebar { -ms-overflow-style: none; scrollbar-width: none; }

.site-title {
    font-size: 27px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 44px;
    line-height: 2;
}

.site-title a { color: #fff; }  /* #111;*/

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 300;
    color: #fff;
}

.nav-links a:hover { /*congrats, super bonic!*/
    color: red;
}

.nav-links a.active {
    color: #999;
    opacity: 1;
}



.sidebar-social {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    gap: 16px;
}

.sidebar-social a {
    font-size: 16px;
    color: #aaa;
}

.sidebar-social a:hover {
    color: #111;
    opacity: 1;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sidebar-footer a {
    font-size: 16px;
    color: #aaa;
}

.sidebar-footer a:hover {
    color: red;
    opacity: 0.45;
}

.sidebar-copyright {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: #555;
    white-space: nowrap;
}

/* ── Main Content ── */
.main-content {
    margin-left: 200px;
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 60px 60px 100px 60px;
}

/* ── Videos ── */
.videos-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 700px;
}

.video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000; /*#f2f2f2*/
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Mobile Bar ── */
.mobile-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: #000; /*#fff*/
    border-bottom: 1px solid #e8e8e8;
    align-items: center;
    justify-content: flex-end;
    padding: 0 18px;
    z-index: 200;
}

.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    padding: 4px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .mobile-bar { display: flex; }

    .sidebar {
        width: 200px;
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        top: 48px;
        height: calc(100vh - 48px);
        border-right: 1px solid #e8e8e8;
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 16px rgba(0,0,0,0.07);
    }

    .main-content {
        margin-left: 0;
        padding: 68px 20px 60px;
    }

    .videos-grid {
        max-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 160px;
        padding-left: 24px;
    }

    .main-content {
        margin-left: 160px;
        padding: 40px 36px 80px;
    }
}
#substituteDiv {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

#substituteDiv .bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

#substituteDiv:hover .bg-image {
  opacity: 0.25; /* Image dims to 90% */
}

#substituteDiv .hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 15px;
  font-family: Arial, sans-serif;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#substituteDiv:hover .hover-text {
  opacity: 1; /* Fully visible on hover */
}   
