:root {
    --brand-primary: #772e22;
    --brand-dark: #8e382b;
    --glass-bg: rgba(148, 148, 148, 0.29);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-color: #ffffff;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-image: url('/assets/img/intro-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Shared Layout */
.main-wrapper, .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.1);
}

.glass-card, .glass-panel {
    background: rgb(0 0 0 / 20%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: fadeIn 1s ease-out;
}

.glass-card {
    max-width: 520px;
    padding: 4rem 3rem;
    text-align: center;
}

.glass-panel {
    max-width: 850px;
    padding: 4rem 3.5rem;
}

/* Branding */
.logo-section {
    margin-bottom: 2.5rem;
    text-align: center;
}

.logo-section h2 {
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -1.5px;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-section .subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.9;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.title-badge {
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Status List (Index) */
.status-container {
    margin-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.status-item, .repo-item {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.status-item {
    padding: 1.5rem 2.5rem;
}

.status-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.service-info i {
    font-size: 1.4rem;
    opacity: 0.9;
}

.service-text h4 {
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.indicator-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.online { background: #00ffa3; box-shadow: 0 0 15px #00ffa3; }
.offline { background: #ff4d4d; box-shadow: 0 0 15px #ff4d4d; }

/* Repository (Install) */
.panel-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.back-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    transition: 0.3s;
}

.back-link:hover { opacity: 1; transform: translateX(-5px); }

.repo-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.repo-item {
    padding: 1.75rem 2.5rem;
    border-radius: 30px;
}

.repo-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(12px);
    border-color: rgba(255, 255, 255, 0.4);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    text-align: left;
}

.file-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.file-name {
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: capitalize;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn-enter, .btn-dl {
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
}

.btn-enter {
    background: var(--brand-primary);
    color: white;
    width: 100%;
    padding: 1.5rem;
    border-radius: 25px;
    font-size: 1.2rem;
    box-shadow: 0 15px 30px rgba(119, 46, 34, 0.4);
}

.btn-enter:hover {
    background: var(--brand-dark);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(119, 46, 34, 0.6);
}

.btn-dl {
    padding: 0.85rem 1.5rem;
    border-radius: 18px;
    font-size: 0.85rem;
    gap: 0.6rem;
}

.btn-def {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-zip {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(119, 46, 34, 0.3);
}

.btn-dl:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

.btn-success {
    background: #00ffa3 !important;
    color: #000 !important;
    border-color: #00ffa3 !important;
}

/* Footer */
footer {
    padding: 3rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Repository Specific Helpers */
.repo-title {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.repo-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.9;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.empty-state {
    text-align: center;
    padding: 4rem;
    opacity: 0.6;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .repo-item { flex-direction: column; gap: 2rem; text-align: center; padding: 2rem; }
    .file-info { flex-direction: column; }
    .hero-info h1 { font-size: 3.5rem; }
}
