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

body {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

#canvas-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#canvas-wrap canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.05) 3px,
        rgba(0, 0, 0, 0.05) 4px
    );
    pointer-events: none;
    z-index: 999;
}

#main-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(500px, 92vw);
    aspect-ratio: 500 / 440;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

#rotating-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(220, 20, 60, 0) 25deg,
        rgba(220, 20, 60, 0.85) 75deg,
        rgba(255, 80, 80, 1) 95deg,
        rgba(220, 20, 60, 0.85) 115deg,
        rgba(220, 20, 60, 0) 165deg,
        transparent 360deg
    );
    filter: blur(30px);
    animation: sweepGlow 1.8s linear infinite;
    z-index: 99;
    opacity: 0;
}

@keyframes sweepGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#laser-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 102;
    overflow: visible;
}

#laser-main {
    fill: none;
    stroke: #DC143C;
    stroke-width: 2.5;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    stroke-linecap: round;
}

#laser-bright {
    fill: none;
    stroke: rgba(255, 180, 180, 0.85);
    stroke-width: 0.6;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    stroke-linecap: round;
}

#content {
    position: absolute;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

#cube-img {
    width: clamp(140px, 36vw, 210px);
    height: clamp(140px, 36vw, 210px);
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0;
}

#use-pc-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.65rem, 1.8vw, 0.95rem);
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.4);
    opacity: 0;
    white-space: nowrap;
}

#full-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.7rem, 2vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: #fff;
    text-shadow:
        0 0 14px rgba(220, 20, 60, 1),
        0 0 40px rgba(220, 20, 60, 0.5);
    opacity: 0;
    white-space: nowrap;
}

.corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: rgba(220, 20, 60, 0.55);
    border-style: solid;
    opacity: 0;
    z-index: 103;
}

.corner.tl {
    top: 5px;
    left: 5px;
    border-width: 2px 0 0 2px;
}

.corner.tr {
    top: 5px;
    right: 5px;
    border-width: 2px 2px 0 0;
}

.corner.bl {
    bottom: 5px;
    left: 5px;
    border-width: 0 0 2px 2px;
}

.corner.br {
    bottom: 5px;
    right: 5px;
    border-width: 0 2px 2px 0;
}

#skip-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 28px;
    background: rgba(220, 20, 60, 0.2);
    border: 1px solid rgba(220, 20, 60, 0.6);
    color: #DC143C;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

#skip-btn:hover {
    background: rgba(220, 20, 60, 0.4);
    border-color: #DC143C;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
}

@media (max-width: 768px) {
    #skip-btn {
        bottom: 20px;
        right: 20px;
        font-size: 11px;
        padding: 8px 16px;
    }
}
