html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    text-align: center;
}

body {
    background: url('dinxback.jpg') no-repeat center center fixed;
    background-size: cover;
}

body::after {
    content: "";
    position: fixed;
    top: 20px; 
    right: 20px;
    width: 100px;
    height: 100px;
    background: url('ko-tag1.png') no-repeat center center;
    background-size: contain;
    z-index: 10;
}

#background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    object-fit: contain;
    filter: blur(0px) brightness(100%);
    z-index: -1;
    display: block;

    mask-image: linear-gradient(to right, transparent, black 100px, black calc(100% - 100px), transparent);

    -webkit-mask-image: linear-gradient(to right, transparent, black 100px, black calc(100% - 100px), transparent);
}

.logo {
    width: 600px;  /* fixed missing unit */
    height: auto;
    transition: transform 0.3s ease-in-out;
    margin: 20px;
    padding: 20px;
    display: block;
    position: relative;
    margin-bottom: 20px;
}

.logo:hover {
    transform: scale(1.1);
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

h3 {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    padding: 10px;
    display: inline-block;
}

/* Full background overlay container */
.aurora-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Aurora / Northern Lights */
.aurora {
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at 30% 70%, rgba(20, 232, 30, 0.35) 0%, transparent 20%);
    mix-blend-mode: screen;
    animation: aurora-drift 25s ease-in-out infinite;
    filter: blur(25px);
    opacity: 0.9;
}

.aurora-strong::before {
    content: "";
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle at 70% 30%, rgba(181, 61, 255, 0.3) 0%, transparent 40%);
    mix-blend-mode: screen;
    animation: aurora-drift 35s ease-in-out infinite reverse;
    filter: blur(10px);
    opacity: 0.2;
}

.aurora-strong::after {
    content: "";
    position: absolute;
    inset: -75%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 234, 141, 0.4) 0%, transparent 90%);
    mix-blend-mode: overlay;
    animation: aurora-drift 10s ease-in-out infinite;
    filter: blur(10px);
    opacity: 0.5;
}

@keyframes aurora-drift {
    0%   { transform: translate(0, 0) scale(1.2); }
    25%  { transform: translate(15%, -25%) scale(1.3); }
    50%  { transform: translate(-20%, 20%) scale(1.1); }
    75%  { transform: translate(25%, 10%) scale(1.4); }
    100% { transform: translate(0, 0) scale(1.2); }
}

/* Starfield */
.stars-layer {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1.5px, transparent 1.5px);
    background-size: 60px 60px, 40px 40px, 80px 80px;
    background-position: 0 0, 30px 30px, 50px 50px;
    opacity: 0.2;
}

.stars-1 { animation: star-zoom 40s linear infinite; opacity: 0.1; }
.stars-2 { animation: star-zoom 30s linear infinite reverse; opacity: 0.2; filter: blur(1px); }
.stars-3 { animation: star-zoom 20s linear infinite; opacity: 0.3; }

@keyframes star-zoom {
    0%   { transform: scale(0.5) translateZ(0); opacity: 0; }
    10%  { opacity: 0.3; }
    90%  { opacity: 0.5; }
    100% { transform: scale(4) translateZ(0); opacity: 0; }
}

