:root {
    --bg-color: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --glass-bg: rgba(25, 25, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-color: #a855f7;
    /* A subtle purple accent based on the glow in the image */
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    overflow: hidden;
    /* No scrolling for a loading screen */
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using a dark themed background placeholder */
    background: url('https://i.imgur.com/dG12aUz.jpeg') no-repeat center center/cover;
    z-index: -2;
    transform: scale(1.05);
    /* Slight scale for potential subtle animation */
    animation: slowPan 30s linear infinite alternate;
}

@keyframes slowPan {
    from {
        transform: scale(1.05) translate(0, 0);
    }

    to {
        transform: scale(1.05) translate(-10px, -10px);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -1;
    backdrop-filter: blur(8px);
}

/* Main Container */
.container {
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: fadeIn 1.5s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header & Logo */
.header {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo {
    font-family: 'Shojumaru', cursive;
    font-size: 4.5rem;
    letter-spacing: 4px;
    line-height: 1.1;
    text-shadow: 0px 4px 15px rgba(255, 255, 255, 0.4), 0px 0px 20px rgba(255, 255, 255, 0.2);
    margin: 0;
    animation: pulseGlow 3s infinite alternate;
}

h2.logo {
    font-size: 3rem;
    color: var(--text-secondary);
    animation-delay: 0.5s;
}

@keyframes pulseGlow {
    from {
        text-shadow: 0px 4px 15px rgba(255, 255, 255, 0.5), 0px 0px 30px rgba(255, 255, 255, 0.2);
    }

    to {
        text-shadow: 0px 4px 25px rgba(255, 255, 255, 0.8), 0px 0px 50px rgba(255, 255, 255, 0.4);
    }
}

/* Glassmorphism utility */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Patch Notes */
.patch-notes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.patch-notes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.patch-notes ul li {
    display: flex;
    align-items: center;
}

.patch-notes ul li::before {
    content: "•";
    color: var(--text-primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Right Column */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Discord Card */
.discord-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.discord-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(30px);
    border-radius: 50%;
}

.discord-stats {
    font-size: 1.1rem;
}

.discord-stats strong {
    font-size: 1.5rem;
}

.discord-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Stats Card */
.stats-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat .value {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Boutique Banner */
.boutique-banner {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 15px 20px;
    gap: 20px;
}

.boutique-icon {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boutique-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.boutique-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 70%;
}

.boutique-character {
    position: absolute;
    right: -10px;
    bottom: 0;
    height: 130%;
    /* Make image pop out slightly */
    display: flex;
    align-items: flex-end;
}

.character-img {
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

/* Fondation Footer */
.fondation-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    justify-content: flex-start;
    border-radius: 30px;
    /* More rounded as per image */
}

.fondation-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.avatars {
    display: flex;
    gap: 15px;
}

.avatar-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.avatar-group img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

/* Loading Bar section */
.loading-container {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.loading-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #a855f7, #6b21a8);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 3.5rem;
    }

    .boutique-character {
        opacity: 0.3;
    }
}