/* 
   Unistar "Star Pop Light" Design System
   Theme: Star-themed, Simple, Pop, Cute, Light Mode
   Reference: Hololive-like glossy/pop aesthetics
*/

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700;800&family=Outfit:wght@400;600;800&display=swap');

:root {
    /* Star Pop Light Palette */
    --bg-base: #FFFFFF;
    --bg-off: #F8F9FA;
    --bg-pale: #E0F7FA;

    /* Gradients (Daytime/Pop) */
    --bg-gradient: linear-gradient(135deg, #FFFFFF 0%, #F0F4FF 50%, #FFF0F5 100%);
    --accent-gradient: linear-gradient(135deg, #A7F0E0 0%, #80D8FF 100%);
    /* Mint to Sky */
    --pop-gradient: linear-gradient(135deg, #FFC1E3 0%, #FFEE58 100%);
    /* Pink to Yellow */

    /* Glassmorphism (Light) */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px rgba(100, 149, 237, 0.15);
    /* Soft blue shadow */
    --glass-blur: blur(12px);

    /* Text Colors */
    --text-main: #333333;
    /* Dark Gray */
    --text-sub: #616161;
    /* Middle Gray */
    --text-light: #9E9E9E;

    /* Accents (Pop & Pastel) */
    --accent-pink: #FFC1E3;
    /* Light Pink */
    --accent-cyan: #80D8FF;
    /* Sky Blue */
    --accent-mint: #A7F0E0;
    /* Mint Green */
    --accent-yellow: #FFEE58;
    /* Shiny Yellow */
    --accent-fuchsia: #EA80FC;
    /* Fuchsia Purple */
    --accent-gold: #FFD700;
    /* Gold */

    /* Neon Glows (Subtle for Light Mode) */
    --glow-cyan: 0 0 10px rgba(128, 216, 255, 0.6);
    --glow-pink: 0 0 10px rgba(255, 193, 227, 0.6);
    --glow-yellow: 0 0 10px rgba(255, 238, 88, 0.6);

    /* Brand Identities */
    --color-unistar: #00B0FF;
    /* Vivid Sky Blue */
    --color-gemstone: #FF4081;
    /* Vivid Pink */

    /* Fonts */
    --font-jp: 'M PLUS Rounded 1c', sans-serif;
    --font-en: 'Outfit', sans-serif;

    --header-height: 80px;
    --max-width: 1200px;
}

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

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-jp);
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

ul {
    list-style: none;
}

/* --- Typography Utilities --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-jp);
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-main);
    /* Ensure headers are dark */
}

.text-gradient-pop {
    background: linear-gradient(to right, #00B0FF, #EA80FC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* --- Glassmorphism Card Utility --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid #FFFFFF;
    /* White crisp border */
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

/* --- Canvas Background --- */
#universe-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Fixed Top Left Logo */
.page-top-left-logo {
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 900;
    /* Lower than header/menu */
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .page-top-left-logo {
        display: none;
        /* Hide on mobile to prevent overlap */
    }
}

.page-top-left-logo img {
    height: 50px;
    /* Slightly larger as it is standalone */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.page-top-left-logo:hover {
    transform: scale(1.05);
}

/* --- Animations --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-anim {
    animation: float 5s ease-in-out infinite;
}

/* Puffy Bounce Effect */
@keyframes puff {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.05);
    }

    60% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes pop-bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes sparkle-spin {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.5;
    }
}

/* --- Header (White Glass Floating) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.4s ease;
    padding-top: 10px;
}

.header-container {
    width: 95%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 60px;

    /* Light Glassmorphism Header */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Very subtle shadow */
}

.logo img {
    height: 40px;
    width: auto;
    /* No shadow needed for light mode generally, or very subtle */
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.nav-pc {
    display: flex;
    gap: 2rem;
}

.nav-item {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-item:hover,
.nav-item.active {
    background: var(--bg-pale);
    color: var(--color-unistar);
}

.nav-item.active::after {
    content: '★';
    /* Star icon for active state */
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.8rem;
    color: var(--accent-yellow);
    animation: twinkle 1s infinite alternate;
}

.btn-lang {
    background: transparent;
    border: 2px solid var(--color-unistar);
    color: var(--color-unistar);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-family: var(--font-en);
    font-weight: 700;
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s;
}

.btn-lang:hover {
    background: var(--color-unistar);
    color: #fff;
}

/* --- Form Styles --- */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section-title {
    font-size: 1.2rem;
    color: var(--color-unistar);
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--color-unistar);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.required {
    color: var(--accent-pink);
    margin-left: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-unistar);
    box-shadow: 0 0 10px rgba(0, 176, 255, 0.2);
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-top: 0.3rem;
}

@media (min-width: 768px) {

    .radio-group,
    .checkbox-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .checkbox-group.vertical {
        flex-direction: column;
    }
}

/* --- Buttons (Puffy & Pastel) --- */
.btn-glow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 3rem;
    border-radius: 50px;
    /* Maximum roundness */
    font-family: var(--font-en);
    font-weight: 800;
    letter-spacing: 0.1em;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy */
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-cyan {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 5px 15px rgba(128, 216, 255, 0.4);
}

.btn-cyan:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(128, 216, 255, 0.6);
    background: linear-gradient(135deg, #80D8FF 0%, #40C4FF 100%);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-title {
    font-size: 3rem;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 0.5rem;
    /* Add margin to prevent overlap with subtitle */
    line-height: 1.2;
    /* Ensure proper line height */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    /* Improve readability */
    position: relative;
    z-index: 10;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

/* Light Overlay for Hero */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.hero-content-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: float 8s ease-in-out infinite;
}

.hero-logo-large {
    width: 500px;
    max-width: 80vw;
    margin-bottom: 1rem;
    filter: drop-shadow(0 5px 15px rgba(167, 240, 224, 0.6));
    /* Mint shadow */
}

.hero-tagline {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    font-family: var(--font-jp);

    /* Pop text effect for Light Mode */
    color: var(--color-unistar);
    text-shadow: 2px 2px 0px #fff, 0 0 10px var(--accent-mint);
    -webkit-text-stroke: 1px var(--color-unistar);
}

.hero-benefits {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-family: var(--font-en);
    font-weight: 700;

    /* Light Glass Bubble */
    background: rgba(255, 255, 255, 0.6);
    padding: 1rem 2rem;
    border-radius: 20px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px) rotate(2deg);
    border-color: var(--accent-pink);
    color: var(--color-gemstone);
}

/* --- Sections Common --- */
.section {
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-unistar);
    /* Pop Blue */
    text-transform: uppercase;
    position: relative;
    text-shadow: 3px 3px 0px rgba(234, 128, 252, 0.2);
    /* Pink shadow */
}

.section-title span {
    display: block;
    font-family: var(--font-jp);
    font-size: 1.2rem;
    color: var(--text-sub);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    text-shadow: none;
}

/* Decorative Line (Star Line) */
.section-title::after {
    content: '★';
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1.5rem;
    color: var(--accent-yellow);
    height: auto;
    background: none;
}

/* --- Structure Cards (Unistar / Gemstone) --- */
.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.structure-card {
    /* White Card Base */
    background: #FFFFFF;
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--bg-off);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Unistar Specifics */
.structure-card:nth-child(1) {
    border-top: 6px solid var(--color-unistar);
}

.structure-card:nth-child(1):hover {
    box-shadow: 0 15px 40px rgba(0, 176, 255, 0.2);
    transform: translateY(-10px);
    border-color: var(--color-unistar);
}

/* Gemstone Specifics */
.structure-card:nth-child(2) {
    border-top: 6px solid var(--color-gemstone);
}

.structure-card:nth-child(2):hover {
    box-shadow: 0 15px 40px rgba(255, 64, 129, 0.2);
    transform: translateY(-10px);
    border-color: var(--color-gemstone);
}

/* --- News Section --- */
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.6rem 2.5rem;
    background: #fff;
    border: 1px solid var(--bg-pale);
    border-radius: 50px;
    color: var(--text-sub);
    font-family: var(--font-en);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--pop-gradient);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 193, 227, 0.6);
    border-color: transparent;
    transform: scale(1.05);
}

.news-compact {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.news-row {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    transition: all 0.2s;
    background: transparent;
    border-bottom: 1px solid var(--bg-off);
}

.news-row:hover {
    background: var(--bg-pale);
    transform: translateX(5px);
}

.news-date {
    color: var(--color-unistar);
    font-family: var(--font-en);
    font-weight: 700;
    margin-right: 1.5rem;
    min-width: 100px;
}

.news-tag {
    padding: 0.2rem 0.8rem;
    border-radius: 8px;
    /* Slightly softer */
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 1.5rem;
    min-width: 70px;
    text-align: center;
}

.news-tag.media {
    background: var(--accent-fuchsia);
    color: #fff;
}

.news-tag.info {
    background: var(--accent-cyan);
    color: #fff;
}

.news-title-text {
    flex: 1;
    font-weight: 500;
    color: var(--text-main);
}

/* --- Talent Cards --- */
.talent-filter-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
    background: #fff;
    color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    box-shadow: 0 4px 10px rgba(255, 238, 88, 0.3);
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.strength-item {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--bg-off);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.strength-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(167, 240, 224, 0.4);
    border-color: var(--accent-mint);
}

/* --- Videos & Music --- */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.video-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 4px solid #fff;
    background: #fff;
}

.video-card:hover {
    transform: scale(1.05);
    border-color: var(--accent-pink);
}

.music-scroller {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 1rem;
}

/* --- Footer --- */
.footer {
    background: var(--bg-pale);
    padding: 4rem 2rem;
    border-top: 1px solid #fff;
    position: relative;
    overflow: hidden;
}

/* Footer floating particles container (optional) */
.footer::before {
    content: '★';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--accent-pink);
    opacity: 0.5;
    animation: spin 10s infinite linear;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer h4 {
    font-family: var(--font-en);
    margin-bottom: 1.5rem;
    color: var(--color-unistar);
    font-size: 1.1rem;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: var(--text-sub);
}

.footer-link:hover {
    color: var(--accent-fuchsia);
    padding-left: 5px;
    text-shadow: 0 0 5px rgba(234, 128, 252, 0.3);
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* --- Loader --- */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-deep);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-magenta);
    border-right-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Mobile Responsiveness --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 3000;
    /* Highest priority */
    /* Above mobile menu */
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-unistar);
    /* Visible on white header */
    border-radius: 3px;
    transition: all 0.3s;
}

/* Global Overflow Fix */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}


/* --- UNISTAR Card Class (Moved from inline) --- */
.unistar-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--color-unistar);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 176, 255, 0.15);
    margin: 0 auto;
}

.unistar-card img {
    width: 280px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 5px 15px rgba(0, 176, 255, 0.3));
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-pc {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100dvh;
        /* Use dvh for better mobile browser support */
        background: rgba(255, 255, 255, 0.98);
        /* Lighter mobile menu */
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
        /* Allow scrolling if content is tall */
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 2500;
    }

    .nav-pc.active {
        right: 0;
    }

    .nav-item {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        color: var(--text-main);
    }

    .hero-tagline {
        font-size: 1.8rem;
    }

    .hero-logo-large {
        width: 300px;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }

    /* Mobile adjustments for UNISTAR card */
    .unistar-card {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    .unistar-card img {
        width: 200px;
        /* Smaller logo on mobile */
        margin-bottom: 1.5rem;
    }

    .unistar-card p {
        font-size: 0.95rem !important;
        /* Force smaller text */
        line-height: 2 !important;
        margin-bottom: 2rem !important;
    }

    .strength-grid {
        gap: 1.5rem;
    }

    .strength-item {
        margin: 0 auto;
        /* Center items if single column */
    }

    .news-compact {
        padding: 1.5rem;
    }

    .news-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .news-date {
        margin-right: 0;
        font-size: 0.85rem;
    }
}

/* --- Loader --- */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-base);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-pale);
    border-top: 4px solid var(--color-unistar);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}