:root{
    --bg-main: #190b2d;
    --bg-section: #2C1B74;
    --bg-card: #241347;
    --bg-card-soft: #21103f;
    --accent: #8e85ff;
    --accent-strong: #4d3dc7;
    --text-light: #ffffff;
    --text-muted: #cfcdf6;
    --border-color: #8e85ff59;
    --shadow-main: 0 12px 30px #00000040;
    --radius-md: 12px;
    --radius-lg: 20px;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: "Barlow", sans-serif;
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img{
    max-width: 100%;
    display: block;
}

a{
    text-decoration: none;
    color: var(--accent);
    transition: 0.3s;
}

a:hover{
    color: var(--text-light);
}

ul{
    list-style: none;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-header{
    background-color: var(--bg-section);
    border-bottom: 2px solid #000000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.header-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo{
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-light);
}

.logo span{
    color: var(--accent);
}

.main-nav{
    display: flex;
    align-items: center;
}

.nav-list{
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-list a,
#item-auth a{
    color: #ffffff;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 999px;
    transition: 0.3s ease;
}

.nav-list a:hover,
#item-auth a:hover,
.nav-list a.active{
    color: var(--accent);
    background-color: #ffffff0f;
}

section{
    padding: 80px 0;
}

.section-tag{
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background-color: rgba(142, 133, 255, 0.08);
    color: var(--accent);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

section h2{
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.2;
}

section p{
    color: var(--text-muted);
    font-size: 1.05rem;
}

.hero{
    padding: 80px 0;
    background:
        radial-gradient(circle at top left, #8e85ff2e, transparent 35%),
        radial-gradient(circle at bottom right, #4d3dc733, transparent 30%),
        linear-gradient(rgba(10, 5, 20, 0.88), #0a0514d6);
}

.hero-container{
    max-width: 850px;
    padding-top: 20px;
}

.hero h1{
    font-size: 3.2rem;
    margin-bottom: 22px;
    color: var(--text-light);
    font-weight: 800;
    line-height: 1.12;
}

.hero p{
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 850px;
}

.highlight-card{
    width: 100%;
    max-width: 760px;
    background: linear-gradient(180deg, #2C1B74, #190b2d);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow-main);
    margin-top: 30px;
}

.highlight-card h2{
    font-size: 2rem;
    margin-bottom: 22px;
    color: var(--text-light);
    font-weight: 700;
}

.card-box{
    padding: 14px 16px;
    margin-bottom: 14px;
    background-color: var(--bg-card-soft);
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.card-box:last-child{
    margin-bottom: 0;
}

.component-card {
    cursor: pointer;
    transition: 0.3s;
}

.component-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.components-grid,
.tech-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.component-card,
.tech-card,
.media-card{
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-main);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.component-card:hover,
.tech-card:hover,
.media-card:hover{
    transform: translateY(-5px);
    border-color: var(--accent);
}

.component-card h3,
.tech-card h3,
.media-card h3{
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--text-light);
}

.component-card p,
.tech-card p,
.media-card p{
    color: var(--text-muted);
    font-size: 1rem;
}

.table-section{
    overflow-x: auto;
}

.table-section table{
    width: 100%;
    min-width: 900px;
    margin-top: 32px;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow-main);
    overflow: hidden;
}

.table-section thead{
    background-color: var(--bg-section);
}

.table-section th{
    color: var(--text-light);
    font-weight: 700;
    padding: 16px 14px;
    text-align: left;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table-section td{
    color: var(--text-muted);
    padding: 16px 14px;
    border-bottom: 1px solid rgba(142, 133, 255, 0.2);
    text-align: left;
    font-size: 0.97rem;
    font-weight: 500;
}

.table-section tbody tr:hover{
    background-color: var(--bg-card-soft);
}

.media-card{
    margin-top: 32px;
}

.media-card img{
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-main);
}

.media-card p{
    text-align: left;
}

.info-box{
    background-color: #241347;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #8e85ff;
    margin-top: 20px;
}

.site-footer{
    background-color: var(--bg-section);
    border-top: 2px solid #000000;
    padding: 36px 0;
    margin-top: 30px;
}

.footer-content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-logo{
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.footer-logo span{
    color: var(--accent);
}

.footer-content h3{
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--accent);
    font-weight: 700;
}

.footer-content p{
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    transform: translateY(40px);
}

.fade-down {
    transform: translateY(-40px);
}

.fade-left {
    transform: translateX(40px);
}

.fade-right {
    transform: translateX(-40px);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

@media (max-width: 991.98px){
    .header-content{
        flex-direction: column;
        align-items: flex-start;
    }

    .components-grid,
    .tech-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1{
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px){
    .components-grid,
    .tech-grid{
        grid-template-columns: 1fr;
    }

    .footer-content{
        grid-template-columns: 1fr;
    }

    .hero h1{
        font-size: 2rem;
    }

    .table-section table{
        min-width: 700px;
    }

    .reveal {
        transition-delay: 0s !important;
    }
}