* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100%;
    position: fixed;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-bars {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
}

.loader-bars span {
    width: 4px;
    border-radius: 2px;
    background: #FFFFFF;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 25px rgba(144, 202, 249, 0.6);
    animation: barWave 1s ease-in-out infinite;
}

.loader-bars span:nth-child(1) { height: 24px; animation-delay: 0s; }
.loader-bars span:nth-child(2) { height: 14px; animation-delay: 0.2s; }
.loader-bars span:nth-child(3) { height: 24px; animation-delay: 0.4s; }

@keyframes barWave {
    0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

.header-img {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.45);
    top: 0;
    width: 100%;
    left: 0;
    height: 100%;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.col-md-12 {
    width: 100%;
    text-align: center;
}

.title-frame {
    display: inline-block;
    position: relative;
    padding: 20px 40px;
}

.title-frame .border-top,
.title-frame .border-bottom,
.title-frame .border-left,
.title-frame .border-right {
    position: absolute;
    background: rgba(100, 180, 255, 0.8);
    box-shadow: 0 0 4px rgba(100, 180, 255, 0.5), 0 0 10px rgba(100, 180, 255, 0.2);
}

.title-frame .border-top { top: 0; left: 0; width: 100%; height: 1px; animation: borderTopMove 3s ease-in-out infinite; }
.title-frame .border-bottom { bottom: 0; left: 0; width: 100%; height: 1px; animation: borderBottomMove 3s ease-in-out infinite; }
.title-frame .border-left { top: 0; left: 0; width: 1px; height: 100%; animation: borderLeftMove 3s ease-in-out infinite; }
.title-frame .border-right { top: 0; right: 0; width: 1px; height: 100%; animation: borderRightMove 3s ease-in-out infinite; }

@keyframes borderTopMove {
    0% { transform: translateX(-100%); opacity: 0; background: rgba(100, 180, 255, 0.8); }
    15% { transform: translateX(0); opacity: 1; background: rgba(100, 180, 255, 0.8); }
    40% { transform: translateX(35%); opacity: 1; background: rgba(180, 100, 255, 0.8); }
    60% { transform: translateX(65%); opacity: 1; background: rgba(255, 100, 180, 0.8); }
    85% { transform: translateX(100%); opacity: 0; background: rgba(100, 255, 180, 0.8); }
    100% { transform: translateX(100%); opacity: 0; }
}

@keyframes borderBottomMove {
    0% { transform: translateX(100%); opacity: 0; background: rgba(255, 180, 100, 0.8); }
    15% { transform: translateX(0); opacity: 1; background: rgba(255, 180, 100, 0.8); }
    40% { transform: translateX(-35%); opacity: 1; background: rgba(180, 255, 100, 0.8); }
    60% { transform: translateX(-65%); opacity: 1; background: rgba(100, 255, 180, 0.8); }
    85% { transform: translateX(-100%); opacity: 0; background: rgba(100, 180, 255, 0.8); }
    100% { transform: translateX(-100%); opacity: 0; }
}

@keyframes borderLeftMove {
    0% { transform: translateY(-100%); opacity: 0; background: rgba(100, 255, 180, 0.8); }
    15% { transform: translateY(0); opacity: 1; background: rgba(100, 255, 180, 0.8); }
    40% { transform: translateY(35%); opacity: 1; background: rgba(180, 100, 255, 0.8); }
    60% { transform: translateY(65%); opacity: 1; background: rgba(255, 100, 180, 0.8); }
    85% { transform: translateY(100%); opacity: 0; background: rgba(100, 180, 255, 0.8); }
    100% { transform: translateY(100%); opacity: 0; }
}

@keyframes borderRightMove {
    0% { transform: translateY(100%); opacity: 0; background: rgba(180, 100, 255, 0.8); }
    15% { transform: translateY(0); opacity: 1; background: rgba(180, 100, 255, 0.8); }
    40% { transform: translateY(-35%); opacity: 1; background: rgba(100, 180, 255, 0.8); }
    60% { transform: translateY(-65%); opacity: 1; background: rgba(100, 255, 180, 0.8); }
    85% { transform: translateY(-100%); opacity: 0; background: rgba(255, 180, 100, 0.8); }
    100% { transform: translateY(-100%); opacity: 0; }
}

.title-text {
    color: #FFFFFF;
    font-size: 52px;
    letter-spacing: 5px;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

.type-effect {
    display: block;
    font-size: 28px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 2px;
    min-height: 60px;
    line-height: 60px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    margin-top: 35px;
    text-align: center;
}

.type-effect .cursor {
    display: inline-block;
    width: 3px;
    height: 32px;
    background-color: #FFFFFF;
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

.type-effect .typed-text {
    color: #FFFFFF;
    font-weight: 500;
}

.top-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 30px;
}

.top-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.top-nav a:hover { color: #FFFFFF; letter-spacing: 3px; }
.top-nav a.active { color: #FFFFFF; font-weight: 500; }

.side-slogan {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.side-slogan span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    letter-spacing: 10px;
    font-weight: 300;
}

.stats-container {
    text-align: center;
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 160px;
}

.stat-item { text-align: center; position: relative; }

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 56px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
}

.stat-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
    letter-spacing: 4px;
}

.contact-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 100;
}

.contact-float a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-float a svg { width: 22px; height: 22px; fill: #FFFFFF; transition: fill 0.3s ease; }

.contact-float a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.contact-float a:hover svg { fill: #FFD700; }

.time-display {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 5;
    text-align: right;
}

.time-display .time {
    color: rgba(255, 255, 255, 0.9);
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.time-display .date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 3px;
}

.footer-copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 10;
    border: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.footer-copyright a:hover { color: #FFD700; }
.footer-copyright .separator { margin: 0 5px; color: rgba(255, 255, 255, 0.6); font-weight: bold; }
.run-time-highlight { color: #FFD700; font-weight: bold; }

.scroll-top {
    position: fixed;
    display: none;
    z-index: 999;
    bottom: 20px;
    right: 20px;
}

.scroll-top a {
    display: block;
    font-size: 15px;
    text-align: center;
    background-color: #111111;
    color: #FFFFFF;
    border-radius: 2px;
    padding: 5px 7px;
}

.anim-text-breathing { animation: textBreathing 4s ease-in-out infinite; }
@keyframes textBreathing {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    25% { transform: translate(3px, -3px) scale(1.01); opacity: 0.9; }
    50% { transform: translate(-2px, 2px) scale(1); opacity: 1; }
    75% { transform: translate(2px, -1px) scale(1.005); opacity: 0.95; }
}

.anim-title-float { animation: titleFloat 6s ease-in-out infinite; }
@keyframes titleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-8px) scale(1.02); }
    50% { transform: translateY(0) scale(1); }
    75% { transform: translateY(4px) scale(0.99); }
}

.anim-nav-wave { animation: navWave 4s ease-in-out infinite; }
@keyframes navWave {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-4px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(2px); }
}

.anim-slogan-sway { animation: sloganSway 6s ease-in-out infinite; }
@keyframes sloganSway {
    0%, 100% { transform: translateX(0); opacity: 0.3; }
    25% { transform: translateX(6px); opacity: 0.6; }
    50% { transform: translateX(0); opacity: 0.3; }
    75% { transform: translateX(-4px); opacity: 0.5; }
}

.anim-stat-float { animation: statFloat 6s ease-in-out infinite; }
@keyframes statFloat {
    0%, 100% { transform: translateY(0); }
    20% { transform: translateY(-6px); }
    40% { transform: translateY(3px); }
    60% { transform: translateY(-3px); }
    80% { transform: translateY(2px); }
}

.anim-contact-sway { animation: contactSway 5s ease-in-out infinite; }
@keyframes contactSway {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-6px) rotate(-3deg); }
    50% { transform: translateX(0) rotate(0deg); }
    75% { transform: translateX(4px) rotate(2deg); }
}

.anim-time-glow { animation: timeGlow 3s ease-in-out infinite; }
@keyframes timeGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
    50% { text-shadow: 0 0 25px rgba(255, 255, 255, 0.7); }
}

@media (max-width: 768px) {
    .time-display { display: none; }
    .side-slogan { display: none; }
    .header-img { padding: 60px 15px 80px; height: 100vh; }
    .title-frame { padding: 12px 20px; }
    .title-text { font-size: 32px !important; letter-spacing: 3px !important; }
    .type-effect { font-size: 16px; min-height: 36px; line-height: 36px; margin-top: 20px; padding: 0 10px; letter-spacing: 1px; }
    .type-effect .cursor { height: 20px; width: 2px; }
    .stats-container { margin-top: 35px; gap: 40px; padding: 0 10px; flex-wrap: wrap; }
    .stat-item:not(:last-child)::after { right: -20px; height: 30px; }
    .stat-number { font-size: 32px; letter-spacing: 2px; }
    .stat-label { font-size: 13px; margin-top: 6px; letter-spacing: 2px; }
    .top-nav { top: 15px; gap: 20px; }
    .top-nav a { font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
    .contact-float { right: auto; left: 50%; top: auto; bottom: 70px; transform: translateX(-50%); flex-direction: row; gap: 20px; }
    .contact-float a { width: 42px; height: 42px; }
    .contact-float a svg { width: 18px; height: 18px; }
    .footer-copyright { font-size: 10px; padding: 8px 10px; line-height: 1.6; letter-spacing: 0.5px; }
    .footer-copyright .separator { margin: 0 3px; }
    .scroll-top { bottom: 15px; right: 15px; }
    .scroll-top a { font-size: 12px; padding: 4px 6px; }
}

@media (max-width: 480px) {
    .title-text { font-size: 26px !important; letter-spacing: 2px !important; }
    .type-effect { font-size: 14px; min-height: 30px; line-height: 30px; }
    .stats-container { gap: 25px; }
    .stat-number { font-size: 26px; }
    .stat-label { font-size: 11px; }
    .contact-float { gap: 15px; }
    .contact-float a { width: 36px; height: 36px; }
    .contact-float a svg { width: 15px; height: 15px; }
    .footer-copyright { font-size: 9px; }
}