* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: #38bdf8 #08172c;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #08172c;
}

::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Prompt', 'Outfit', 'Inter', -apple-system, sans-serif;
    background-color: #133a69;
    background-image: 
        radial-gradient(circle at 50% 6%, rgba(56, 189, 248, 0.45), transparent 50%),
        radial-gradient(circle at 10% 40%, rgba(59, 130, 246, 0.38), transparent 55%),
        radial-gradient(circle at 90% 60%, rgba(14, 165, 233, 0.35), transparent 52%),
        radial-gradient(circle at 50% 90%, rgba(37, 99, 235, 0.3), transparent 50%),
        linear-gradient(180deg, #133a69 0%, #1a4980 40%, #164073 75%, #0f2d52 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1180px, calc(100% - 28px));
    margin: auto;
}

#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    15% { opacity: 0.9; }
    85% { opacity: 0.9; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(18, 52, 94, 0.92);
    border-bottom: 1.5px solid rgba(56, 189, 248, 0.55);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35), 0 0 20px rgba(56, 189, 248, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-wrap {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 20px;
    color: #80edff;
    flex-shrink: 0;
}

.brand-logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.85));
}

.brand-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.85));
}

.brand-text {
    background: linear-gradient(135deg, #ffffff 0%, #7dd3fc 45%, #60a5fa 75%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.main-nav a {
    font-size: 13px;
    text-align: center;
    padding: 12px 18px;
    color: #f0f9ff;
    font-weight: 600;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.main-nav a:hover {
    color: #38bdf8;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.85);
    background: rgba(56, 189, 248, 0.12);
}

.main-nav a:hover span {
    color: #ffffff;
}

.main-nav span {
    display: block;
    font-size: 8.5px;
    color: #bae6fd;
    margin-top: 3px;
    letter-spacing: 1px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
}

.hero {
    min-height: 520px;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(90deg, rgba(16, 46, 82, 0.35), rgba(24, 68, 120, 0.05), rgba(16, 46, 82, 0.35)),
        url('imgindex/bg4.png') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 95px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0 50%, rgba(19, 58, 105, 0.15) 80%, rgba(19, 58, 105, 0.45) 100%);
    pointer-events: none;
}

.moon {
    position: absolute;
    left: 8%;
    top: 60px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: #ffe676;
    box-shadow: 0 0 75px rgba(255, 230, 118, 0.7);
}

.moon:after {
    content: '';
    position: absolute;
    width: 86px;
    height: 86px;
    background: #1a4980;
    border-radius: 50%;
    left: 28px;
    top: -4px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    text-align: center;
}

.hero-brand-emblem {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

.hero-logo-img {
    max-width: min(340px, 80vw);
    max-height: 220px;
    object-fit: contain;
    /* filter: drop-shadow(0 12px 35px rgba(56, 189, 248, 0.75)); */
    display: block;
    margin: 0 auto 6px;
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.emblem-sword {
    font-size: 34px;
    filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.8));
}

.hero-brand-title {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    margin: 6px 0 4px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #bae6fd 35%, #7dd3fc 65%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 6px 25px rgba(14, 165, 233, 0.7);
    filter: drop-shadow(0 8px 25px rgba(14, 165, 233, 0.6));
}

.eyebrow {
    letter-spacing: 0.28em;
    color: #38bdf8;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.8);
    font-weight: 700;
    font-size: 13px;
    margin-top: 14px;
}

.hero-desc {
    max-width: 640px;
    margin: 12px auto 22px;
    color: #f0f9ff;
    font-size: 15.5px;
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.btn {
    border: 0;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #00f0ff 0%, #0284c7 45%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.65), 0 0 20px rgba(56, 189, 248, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 45%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(56, 189, 248, 0.85), 0 0 25px rgba(56, 189, 248, 0.6);
}

.btn-ghost {
    border: 1.5px solid rgba(56, 189, 248, 0.75);
    background: rgba(22, 64, 114, 0.75);
    color: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 0 14px rgba(56, 189, 248, 0.22);
}

.btn-ghost:hover {
    background: rgba(30, 84, 150, 0.9);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(56, 189, 248, 0.45);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.dashboard {
    display: grid;
    grid-template-columns: 285px 1fr;
    gap: 16px;
    margin-top: -88px;
    position: relative;
    z-index: 10;
}

.panel {
    background: linear-gradient(180deg, rgba(22, 58, 102, 0.94) 0%, rgba(16, 44, 80, 0.96) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.55);
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.3s ease;
}

.server-status-card {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-panel,
.event-panel {
    padding: 18px;
}

.video-panel {
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(22, 58, 102, 0.94) 0%, rgba(16, 44, 80, 0.96) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.55);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.2);
}

.panel-title {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.title-icon {
    font-size: 22px;
    color: #38bdf8;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.75));
}

.panel-title strong {
    display: block;
    font-size: 19px;
    color: #ffffff;
    font-weight: 800;
}

.panel-title small {
    display: block;
    color: #bae6fd;
    font-size: 11.5px;
    font-weight: 600;
}

.server-status-box {
    background: rgba(14, 38, 68, 0.85);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 12px;
    padding: 18px 14px;
    margin-bottom: 14px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3), 0 0 14px rgba(56, 189, 248, 0.12);
}

.status-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.status-live-text {
    font-size: 13px;
    color: #21d783;
    letter-spacing: 1px;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(33, 215, 131, 0.5);
}

.server-triple-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(56, 189, 248, 0.35);
    padding-top: 14px;
    margin-top: 4px;
    gap: 4px;
}

.triple-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.triple-stat-icon {
    font-size: 17px;
    margin-bottom: 4px;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.65));
}

.triple-stat-num {
    font-size: 24px;
    font-weight: 900;
    color: #38bdf8;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.75);
}

.triple-stat-label {
    font-size: 11px;
    color: #e0f2fe;
    margin-top: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.triple-stat-divider {
    width: 1px;
    height: 42px;
    background: rgba(56, 189, 248, 0.45);
    flex-shrink: 0;
}

.quick-action-buttons {
    margin-top: auto;
}

.slider-card {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    border-radius: 16px;
    background: rgba(16, 44, 80, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.55);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.2);
}

.slider-card .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.slider-card .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.guild-war-full-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay-text {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 5;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.slide-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #040c17;
    font-weight: 800;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
    letter-spacing: 1px;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.6);
}

.slide-overlay-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.slide-overlay-text p {
    font-size: 13.5px;
    color: #f0f9ff;
}

.dots {
    position: absolute;
    bottom: 16px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 6px;
}

.dot {
    width: 24px;
    height: 6px;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #38bdf8;
    width: 36px;
    box-shadow: 0 0 12px #38bdf8;
}

.content-grid {
    display: grid;
    grid-template-columns: 285px 1fr;
    gap: 16px;
    margin-top: 18px;
}

.features-side-panel {
    padding: 18px 16px;
    height: max-content;
}

.features-panel-header {
    text-align: center;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.35);
    padding-bottom: 12px;
}

.badge-tag-gold {
    display: inline-block;
    padding: 3px 12px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(245, 158, 11, 0.4));
    border: 1px solid #fbbf24;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    color: #fde047;
    margin-bottom: 6px;
    letter-spacing: 1.5px;
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.3);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.features-panel-header h3 {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 3px;
}

.features-panel-header h3 span {
    background: linear-gradient(135deg, #ffffff 0%, #7dd3fc 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-panel-header p {
    font-size: 12px;
    color: #bae6fd;
    margin-top: 2px;
}

.features-card-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item-mini {
    background: rgba(18, 48, 84, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    padding: 12px 13px;
    display: flex;
    gap: 13px;
    align-items: center;
    transition: all 0.25s ease;
}

.feature-item-mini:hover {
    border-color: #38bdf8;
    transform: translateX(3px);
    background: rgba(28, 74, 130, 0.9);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

.feature-mini-icon {
    font-size: 26px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.65));
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
}

.feature-mini-body h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.feature-mini-body p {
    font-size: 11.5px;
    color: #bae6fd;
    line-height: 1.45;
    margin: 0;
}

.features-community-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
    border-top: 1px solid rgba(56, 189, 248, 0.3);
    padding-top: 12px;
}

.community-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.2s ease;
}

.discord-btn {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}

.discord-btn:hover {
    background: linear-gradient(135deg, #6c79ff, #5865F2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
}

.fb-btn {
    background: linear-gradient(135deg, #1877F2, #1464cc);
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.fb-btn:hover {
    background: linear-gradient(135deg, #3b8cf8, #1877F2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.6);
}

.center-column {
    display: grid;
    gap: 16px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(56, 189, 248, 0.35);
    padding-bottom: 10px;
    margin-bottom: 8px;
}

.section-title strong {
    display: block;
    font-size: 18px;
    color: #ffffff;
    font-weight: 800;
}

.section-title small {
    display: block;
    font-size: 11.5px;
    color: #93c5fd;
    font-weight: 500;
}

.section-title a {
    color: #38bdf8;
    font-size: 12.5px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.section-title a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
    text-decoration: underline;
}

.news-list a {
    display: grid;
    grid-template-columns: 72px 1fr 88px;
    align-items: center;
    padding: 11px 8px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    font-size: 13.5px;
    gap: 12px;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.news-list a:hover {
    background: rgba(56, 189, 248, 0.12);
    padding-left: 12px;
}

.news-list a b {
    font-weight: 600;
    color: #f8fafc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list time {
    text-align: right;
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 500;
}

.tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.tag.news { background: linear-gradient(135deg, #f97316, #ea580c); box-shadow: 0 0 8px rgba(249, 115, 22, 0.4); }
.tag.update { background: linear-gradient(135deg, #06b6d4, #0891b2); box-shadow: 0 0 8px rgba(6, 182, 212, 0.4); }
.tag.event { background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }
.tag.promo { background: linear-gradient(135deg, #d946ef, #c026d3); box-shadow: 0 0 8px rgba(217, 70, 239, 0.4); }
.tag.guide { background: linear-gradient(135deg, #fbbf24, #d97706); color: #040c17; box-shadow: 0 0 8px rgba(251, 191, 36, 0.4); }

.event-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.event-card-item {
    background: rgba(18, 48, 86, 0.92);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 14px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card-item:hover {
    border-color: #38bdf8;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.45);
}

.event-art.event-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #0f2d52;
}

.event-art.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.event-card-item:hover img {
    transform: scale(1.04);
}

.event-card-item h4 {
    margin: 12px 14px 4px;
    font-size: 15px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.4;
}

.event-card-item p {
    margin: 0 14px 6px;
    font-size: 12px;
    color: #bae6fd;
    line-height: 1.5;
    flex-grow: 1;
}

.video-container {
    position: relative;
    width: 100%;
    margin: 0;
    border-radius: 13px;
    overflow: hidden;
    background: #0d284a;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.video-container:hover {
    border-color: #38bdf8;
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.45), inset 0 0 25px rgba(56, 189, 248, 0.25);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #0d284a;
}

.video-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-sound-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 10;
    background: rgba(18, 52, 94, 0.92);
    border: 1.5px solid #38bdf8;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(56, 189, 248, 0.4);
    transition: all 0.2s ease;
}

.video-sound-btn:hover {
    background: #38bdf8;
    color: #040c17;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.7);
}

.server-live {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    background: rgba(18, 52, 94, 0.94);
    border: 1.5px solid #38bdf8;
    border-radius: 999px;
    padding: 10px 18px;
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.55);
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.online-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #21d783;
    border-radius: 50%;
    box-shadow: 0 0 10px #21d783;
    animation: pulseDot 1.8s infinite;
}

.online-number {
    color: #38bdf8;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.85);
}

@keyframes pulseDot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

footer {
    background: linear-gradient(180deg, #12345e 0%, #0c2342 100%);
    border-top: 1.5px solid rgba(56, 189, 248, 0.35);
    padding: 38px 0 18px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.footer-grid strong {
    font-size: 16px;
    color: #38bdf8;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.footer-grid b {
    color: #ffffff;
    font-size: 14px;
}

.footer-grid p {
    color: #bae6fd;
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.6;
}

.footer-contact-links a {
    color: #38bdf8;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-contact-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    color: #93c5fd;
    font-size: 11.5px;
    margin-top: 24px;
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    padding-top: 14px;
}

.promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(10, 30, 56, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.promo-modal-container {
    position: relative;
    max-width: 880px;
    width: 92%;
    max-height: calc(100dvh - 32px);
    background: linear-gradient(180deg, #164073 0%, #102f55 100%);
    border: 2px solid rgba(56, 189, 248, 0.8);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 45px rgba(56, 189, 248, 0.45);
    overflow: hidden;
    animation: promoModalPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: auto;
}

.promo-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    background: rgba(18, 52, 94, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.8);
    color: #ffffff;
    font-size: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.45);
}

.promo-modal-close:hover {
    background: #38bdf8;
    color: #040c17;
    transform: rotate(90deg);
}

.promo-modal-body {
    padding: 0;
    line-height: 0;
}

.promo-modal-img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.promo-nav-bar {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    padding: 10px 0;
}

.promo-arrow {
    width: 34px;
    height: 34px;
    background: rgba(18, 52, 94, 0.9);
    border: 1.5px solid rgba(56, 189, 248, 0.7);
    color: #ffffff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

.promo-arrow:hover {
    background: #38bdf8;
    border-color: #38bdf8;
    color: #040c17;
}

.promo-dots {
    display: flex;
    gap: 6px;
}

.promo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dot.active {
    background: #38bdf8;
    width: 22px;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.95);
}

@keyframes promoModalPopIn {
    0% { opacity: 0; transform: scale(0.7) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.register-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(10, 30, 56, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.register-modal-overlay.open {
    display: flex;
}

.register-modal-container {
    position: relative;
    max-width: 520px;
    width: 100%;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #38bdf8 #102f55;
    background: linear-gradient(180deg, #164073 0%, #102f55 100%);
    border: 2px solid rgba(56, 189, 248, 0.7);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 45px rgba(56, 189, 248, 0.4);
    padding: 36px 28px;
    animation: promoModalPopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: auto;
}

.register-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #ffffff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.register-modal-close:hover {
    background: #ef4444;
    border-color: #ef4444;
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
}

.badge-tag {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(56, 189, 248, 0.25);
    border: 1px solid #38bdf8;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 8px;
    letter-spacing: 1px;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.form-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.form-header p {
    font-size: 13px;
    color: #bae6fd;
    margin-top: 4px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #f0f9ff;
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    font-size: 14px;
    pointer-events: none;
    color: #38bdf8;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 38px;
    background: #0d284a;
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    border-color: #38bdf8;
    background: #123766;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.55);
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    opacity: 0.85;
    color: #38bdf8;
}

.form-hint {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

.form-error {
    display: block;
    font-size: 11px;
    color: #f87171;
    margin-top: 4px;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 11px;
    color: #bae6fd;
    margin-top: 3px;
    display: block;
}

.register-success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 50px;
    margin-bottom: 12px;
}

.register-success h3 {
    font-size: 22px;
    color: #ffd700;
    margin-bottom: 6px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.register-success p {
    color: #e2e8f0;
    font-size: 14px;
}

.register-success .success-detail {
    color: #bae6fd;
    font-size: 12px;
    margin: 6px 0 20px;
}

.download-modal-box {
    max-width: 820px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #38bdf8 #102f55;
    background: linear-gradient(180deg, #164073 0%, #102f55 100%);
    border: 2px solid rgba(56, 189, 248, 0.7);
}

.download-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.dl-card-mini {
    background: rgba(18, 48, 86, 0.92);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.dl-card-mini:hover {
    border-color: #38bdf8;
    background: rgba(26, 70, 126, 0.96);
    box-shadow: 0 6px 22px rgba(56, 189, 248, 0.35);
}

.dl-featured {
    border-color: #38bdf8;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
}

.dl-badge-mini {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #040c17;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.dl-icon-mini {
    font-size: 32px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6));
}

.dl-card-mini h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 6px;
}

.dl-card-mini p {
    font-size: 12px;
    color: #bae6fd;
    margin-bottom: 16px;
    min-height: 36px;
}

.detail-modal-box {
    max-width: 680px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #38bdf8 #102f55;
    background: linear-gradient(180deg, #164073 0%, #102f55 100%);
    border: 2px solid rgba(56, 189, 248, 0.7);
}

.detail-modal-header {
    margin-bottom: 16px;
}

.detail-tag-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.detail-date-badge {
    font-size: 12px;
    color: #7dd3fc;
    font-weight: 600;
}

.detail-title-text {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
}

.detail-image-wrap {
    width: 100%;
    max-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.detail-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-body-content {
    font-size: 14px;
    color: #e0f2fe;
    line-height: 1.7;
}

.detail-body-content p {
    margin-bottom: 12px;
}

.detail-body-content strong {
    color: #38bdf8;
}

.detail-banner-img {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.detail-modal-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(56, 189, 248, 0.35);
    padding-top: 14px;
    margin-top: 16px;
}

.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    animation: toastSlideIn 0.3s ease;
}

.toast-success {
    background: rgba(10, 38, 70, 0.96);
    border: 1px solid #38bdf8;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

.toast-error {
    background: rgba(45, 12, 24, 0.96);
    border: 1px solid #ef4444;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.toast-info {
    background: rgba(11, 35, 66, 0.96);
    border: 1px solid #38bdf8;
    color: #38bdf8;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #38bdf8;
    animation: spin 0.8s linear infinite;
}

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

@media (max-width: 900px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: rgba(18, 52, 94, 0.98);
        flex-direction: column;
        padding: 16px 20px;
        border-bottom: 1.5px solid #38bdf8;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.25);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    .main-nav.open {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
    .dashboard {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }
    .content-grid {
        grid-template-columns: 1fr;
    }
    .event-cards {
        grid-template-columns: 1fr;
    }
    .center-column {
        order: -1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

html {
    scroll-behavior: smooth;
}

#features,
#video-section,
#news,
#events,
#dashboard {
    scroll-margin-top: 80px;
}

@media (max-width: 560px) {
    .hero {
        min-height: 480px;
    }
    .hero-logo-img {
        max-width: 90vw;
    }
    .brand-mini {
        font-size: 16px;
    }
    .news-list a {
        grid-template-columns: 60px 1fr;
    }
    .news-list time {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .download-modal-grid {
        grid-template-columns: 1fr;
    }
    .register-modal-overlay {
        padding: 10px 8px;
        align-items: flex-start;
    }
    .register-modal-container {
        padding: 26px 16px 20px;
        max-height: calc(100dvh - 20px);
        border-radius: 14px;
        margin: 8px auto;
    }
    .promo-modal-overlay {
        padding: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .promo-modal-container {
        max-height: 90vh;
        max-height: calc(100dvh - 30px);
        border-radius: 14px;
        margin: auto;
    }
    .download-modal-box,
    .detail-modal-box {
        padding: 24px 16px 20px;
        max-height: calc(100dvh - 20px);
        margin: 8px auto;
    }
}
