:root{
    --bg: #0f1115;
    --panel: #13161c;
    --panel-2: #0c0f14;
    --border: rgba(255,255,255,0.06);
    --text: #f7f7f7;
    --muted: #b9c0cc;
    --accent: #d71920;
    --accent-2: #ff3a42;
    --shadow: 0 10px 30px rgba(0,0,0,0.35);
    --radius: 16px;
}

*{box-sizing:border-box}
html {
	scroll-behavior: smooth;
}

html, body{
	height:100%;
}

body{
    margin:0;
    color:var(--text);
    background:
        radial-gradient(900px 500px at 10% 10%, rgba(215,25,32,0.12), transparent 60%),
        radial-gradient(900px 500px at 90% 90%, rgba(215,25,32,0.08), transparent 60%),
        var(--bg);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.app{
    display:flex;
    height:100vh;
    overflow:hidden;
}

.sidebar{
    width: 320px;
    min-width: 320px;
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    border-right: 1px solid var(--border);
    display:flex;
    flex-direction:column;
    transition: width .22s ease, min-width .22s ease, transform .22s ease;
    position:relative;
    z-index:3;
}

.sidebar.collapsed{
    width: 76px;
    min-width: 76px;
}

.sidebar-header{
    display:flex;
    align-items:center;
    gap:12px;
    padding: 18px 18px 10px 18px;
}

.burger{
    height: 40px;
    width: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
}

.burger span{
    display:block;
    width:18px;
    height:2px;
    background: linear-gradient(90deg, var(--text), var(--muted));
    border-radius: 2px;
}

.brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:var(--text);
    padding: 8px 10px;
    border-radius: 10px;
}

.brand-dot{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 0 4px rgba(215,25,32,0.15);
}

.brand-text{
    font-weight: 700;
    letter-spacing: .4px;
}

.sidebar-body{
    padding: 10px 14px 14px 14px;
    overflow:auto;
}

.sidebar-body,
.main{
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.sidebar-body::-webkit-scrollbar,
.main::-webkit-scrollbar{
    width: 10px;
}

.sidebar-body::-webkit-scrollbar-thumb,
.main::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.sidebar-body::-webkit-scrollbar-thumb:hover,
.main::-webkit-scrollbar-thumb:hover{
    background: rgba(255,255,255,0.14);
}

.search-wrap{
    padding: 6px 4px 14px 4px;
}

.search{
    width:100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 12px;
    border-radius: 12px;
    outline:none;
    transition: border-color .15s ease, background .15s ease;
}

.search::placeholder{color: rgba(255,255,255,0.35)}
.search:focus{
    border-color: rgba(215,25,32,0.45);
    background: rgba(255,255,255,0.06);
}

.nav-list{
    display:flex;
    flex-direction:column;
    gap: 10px;
}

.nav-card{
    display:block;
    text-decoration:none;
    color: var(--text);
    padding: 14px 14px 12px 14px;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
        rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    box-shadow: var(--shadow);
	position: relative;
	transform: translateZ(0);
	will-change: transform;
	transition:
		transform .12s ease,
		border-color .12s ease,
		background .12s ease,
		filter .12s ease;
}

.nav-card:hover{
    transform: translateY(-1px);
	filter: brightness(1.03);
    border-color: rgba(255,255,255,0.12);
}

.nav-card.active{
    border-color: rgba(215,25,32,0.55);
    background:
        linear-gradient(135deg, rgba(215,25,32,0.18), rgba(255,255,255,0)),
        rgba(255,255,255,0.02);
	transform: translateY(0) scale(0.985);
	filter: brightness(0.98);
}

.nav-card:focus-visible{
    outline: none;
    border-color: rgba(215,25,32,0.65);
    box-shadow: 0 0 0 3px rgba(215,25,32,0.18);
}

.nav-card-title{
    font-weight: 650;
    font-size: 15.5px;
}

.nav-card-sub{
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--muted);
}

.nav-divider{
    display:flex;
    align-items:center;
    gap: 10px;
    padding: 8px 10px 2px 10px;
    opacity: 0.9;
}

.nav-divider::before,
.nav-divider::after{
    content:"";
    height:1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    flex:1;
}

.nav-divider span{
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.sidebar.collapsed .nav-divider{
    display:none;
}


.sidebar-footer{
    margin-top: auto;
	display: flex;
    padding: 10px 16px 16px 16px;
    border-top: 1px solid var(--border);
	justify-content: center;
	align-items: center;
}

.sidear-footer a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sidebar-footer img{
    max-width: 160px;
    width: auto;
    height: auto;
    opacity: 0.9;
    transition: opacity .15s ease, transform .15s ease;
}

.sidebar-footer a:hover img{
    opacity: 1;
    transform: translateY(-1px);
}

.sidebar.collapsed .sidebar-footer{
    display: none;
}

.main{
    flex:1;
    overflow:auto;
    position:relative;
}

.main-inner{
    max-width: 980px;
    padding: 38px 28px 60px 28px;
    margin: 0 auto;
	scroll-margin-top: 16px;
}

.hero{
    background:
        linear-gradient(135deg, rgba(215,25,32,0.18), rgba(255,255,255,0)),
        rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px 26px;
    box-shadow: var(--shadow);
}

.hero h1{
    margin: 0 0 8px 0;
    font-size: 28px;
    letter-spacing: .2px;
}

.hero p{
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.section{
    margin-top: 22px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 22px;
	backdrop-filter: blur(6px);
}

.section h2{
    margin: 0 0 10px 0;
    font-size: 20px;
}

.section p{
    color: var(--muted);
    line-height: 1.6;
}

.media{
    display:grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.media img{
    width:100%;
    border-radius: 14px;
    border: 1px solid var(--border);
}

.video{
    width:100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow:hidden;
    background: #000;
}

.video iframe{
    width:100%;
    height:100%;
    border:0;
}

.sidebar.collapsed .brand-text,
.sidebar.collapsed .search-wrap,
.sidebar.collapsed .nav-card-sub,
.sidebar.collapsed .sidebar-footer{
    display:none;
}

.sidebar.collapsed .nav-card{
    padding: 12px 10px;
}

.sidebar.collapsed .nav-card-title{
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-menu-btn{
    display:none;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 5;

    height: 44px;
    width: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    cursor:pointer;

    align-items:center;
    justify-content:center;
    gap:5px;
    backdrop-filter: blur(6px);
}

.mobile-menu-btn span{
    display:block;
    width:18px;
    height:2px;
    background: linear-gradient(90deg, var(--text), var(--muted));
    border-radius: 2px;
}

@media (max-width: 980px){
    .sidebar{
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(0);
    }
    .sidebar.mobile-hidden{
        transform: translateX(-100%);
    }
    .main{
        padding-left: 0;
    }
    .main-inner{
        padding-top: 24px;
    }
	.mobile-menu-btn{
        display:flex;
    }

    .main-inner{
        padding-top: 70px;
    }
}
