#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

#bg-video.visible {
    opacity: 1;
}

#bg-video.fade-out,
.video-overlay.fade-out {
    opacity: 0;
}

html,body {
    margin: 0;
    padding: 0;
    background-color: #0d0d0f;
}

body {
    position: relative;
    z-index: 1;
    padding: 60px;
    color: rgb(180, 180, 180);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #20202486;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

h1 {
    margin-top: 0;
    color: #00ff88;
    text-align: center;
}

h2 {
    margin-bottom: 50px;
}

h3 {
    text-align: center;
}

input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border: 1px solid #323238;
    border-radius: 6px;
    background-color: #121214;
    color: #fff;
    font-size: 16px;
}

nav a {
    margin: 0 10px;
    color: #00ff88;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}
.social-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}
.media-card {
    display: flex;
    align-items: center;
    gap: 32px;
    width: auto;
    height: 300px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(20, 20, 23, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.media-card__img img {
    display: block;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 150px;
    transition: transform 0.3s ease;
}

.media-card__text {
    transition: transform 0.3s ease;
}

.media-card:hover .media-card__img img {
    transform: scale(1.04);
}

.media-card:hover .media-card__text {
    transform: scale(1.04) translateX(30px);
}

.media-card--yt {
    --card-accent: #ff0000;
}

.media-card--tgof {
    --card-accent: #2aa8ff;
}

.media-card--tgstrim {
    --card-accent: #2aa8ff;
}

.media-card--twitch {
    --card-accent: #9146ff;
}

.media-card--yt .media-card__img img,
.media-card--tgof .media-card__img img {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.media-card--yt:hover {
    border-color: rgba(255, 0, 0, 0.45);
    box-shadow: 
        0 8px 30px rgba(255, 0, 0, 0.15),
        inset 0 8px 30px rgba(255, 0, 0, 0.15);
}

.media-card--tgof:hover {
    border-color: rgba(42, 168, 255, 0.45);
    box-shadow:
        0 8px 30px rgba(42, 168, 255, 0.15),
        inset 0 8px 30px rgba(42, 168, 255, 0.15);
}

.media-card--tgstrim:hover {
    border-color: rgba(42, 168, 255, 0.45);
    box-shadow:
        0 8px 30px rgba(42, 168, 255, 0.15),
        inset 0 8px 30px rgba(42, 168, 255, 0.15);
}

.media-card--twitch:hover {
    border-color: rgba(145, 70, 255, 0.45);
    box-shadow: 
        inset 0 8px 30px rgba(145, 70, 255, 0.15),
        0 8px 50px rgba(145, 70, 255, 0.15);
}

.media-card--twitch {
    overflow: visible;
}

.media-card--twitch .media-card__img {
    flex: 0 0 250px;
    width: 250px;
    height: 250px;
    min-width: 250px;
    max-width: 250px;
    min-height: 250px;
    max-height: 250px;
    box-sizing: border-box;
    overflow: visible;
}

.media-card--twitch .media-card__img img {
    display: block;
    width: 250px;
    height: 250px;
    border-radius: 50%;
}

.media-card--band .media-card__img {
    flex: 0 0 250px;
    width: 250px;
    height: 250px;
    min-width: 250px;
    max-width: 250px;
    min-height: 250px;
    max-height: 250px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 50%;
}

.media-card--band .media-card__img img {
    display: block;
    width: 100%;
    height: 100%;
}

.media-card--band {
    --card-accent: #252525;
}

.media-card--band:hover {
    border-color: rgba(80, 80, 80, 0.55);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 8px 30px rgba(0, 0, 0, 0.15);
}





.about-card p, 
.story-text p {
    color: #e4e4e7;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.spec-link {
    color: #00ff88;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 255, 136, 0.5);
    transition: all 0.25s ease;
    padding-bottom: 1px;
}

.spec-link:hover {
    color: #ffffff;
    border-bottom-style: solid;
    border-bottom-color: #00ff88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.section-photo {
    margin: 20px 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.section-photo img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.section-photo:hover img {
    transform: scale(1.02);
}

.about-card {
    background: rgba(22, 22, 29, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 
        0 0 30px rgba(0, 255, 55, 0.15),
        inset 0 0 30px rgba(0, 255, 55, 0.15);
}

.specs-grid ul {
    list-style: none;
    padding-left: 0;
}

.specs-grid li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #d1d5db;
}

.specs-grid li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
}

.specs-grid ul ul {
    margin-top: 8px;
    padding-left: 15px;
}

.tldr-box {
    background: rgba(0, 255, 136, 0.05);
    border-left: 4px solid #00ff88;
    padding: 12px 18px;
    border-radius: 0 8px 8px 0;
    margin-top: 15px;
}

.tldr-box strong {
    color: #00ff88;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}






.hero-section {
    text-align: center;
    padding: 40px 20px 60px;
    background: rgba(22, 22, 29, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-bottom: 50px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.neon-text {
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #a1a1aa;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #00ff88;
    color: #09090b;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    background: #00cc6a;
    box-shadow: 0 0 22px rgba(0, 255, 136, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.section-title {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: rgba(22, 22, 29, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow:
        0 0 30px rgba(0, 255, 136, 0.12),
        inset 0 0 30px rgba(0, 255, 136, 0.12);
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tech-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #a1a1aa;
}

.project-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-card p {
    color: #e4e4e7;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.project-card code {
    background: rgba(0, 0, 0, 0.4);
    color: #00ff88;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.card-status {
    font-size: 0.8rem;
    color: #a1a1aa;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    font-weight: 500;
}

.card-status.status-done {
    color: #00ff88;
}



.nav-item {
    color: #a1a1aa;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
}

.nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    color: #00ff88 !important;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.15);
    font-weight: 600;
}

.nav-item.active::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 6px #00ff88;
}