* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
}

.konoha-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.start-button {
    display: inline-block;
    background: rgba(255, 153, 0, 0.3);
    border: 2px solid #ff9900;
    padding: 12px 25px;
    border-radius: 25px;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-65%, -50%);
    font-weight: bold;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    backdrop-filter: blur(5px);
    cursor: pointer;
    font-family: 'Ninja Naruto', Arial, sans-serif;
    color: #ff4800;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.start-button:hover {
    background-color: #ff990028;
    padding: 14px 30px;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Loading Screen Styles - Transparent with Blur */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-container {
    text-align: center;
    color: #ff9900;
}

/* Responsive Shuriken Design */
.shuriken-container {
    position: relative;
    width: clamp(100px, 20vw, 150px);
    height: clamp(100px, 20vw, 150px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(20px, 5vw, 30px);
}

.shuriken-image {
    width: 100%;
    height: 100%;
    animation: shurikenSpin 1.5s linear infinite;
    filter: drop-shadow(0 0 25px rgba(255, 153, 0, 0.9))
            drop-shadow(0 0 50px rgba(255, 153, 0, 0.7));
}

/* Loading Dots - Bigger Size */
.loading-dots {
    font-size: clamp(2em, 6vw, 3.5em);
    letter-spacing: 0.2em;
}

.loading-dots span {
    animation: dotPulse 1.8s ease-in-out infinite;
    color: #ffb84d;
    text-shadow: 0 0 12px rgba(255, 184, 77, 0.8);
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.4s; }
.loading-dots span:nth-child(3) { animation-delay: 0.8s; }

/* Animations */
@keyframes shurikenSpin {
    from { 
        transform: rotate(0deg);
        filter: drop-shadow(0 0 25px rgba(255, 153, 0, 0.9))
                drop-shadow(0 0 50px rgba(255, 153, 0, 0.7));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(255, 153, 0, 1))
                drop-shadow(0 0 70px rgba(255, 153, 0, 0.9));
    }
    to { 
        transform: rotate(360deg);
        filter: drop-shadow(0 0 25px rgba(255, 153, 0, 0.9))
                drop-shadow(0 0 50px rgba(255, 153, 0, 0.7));
    }
}

@keyframes dotPulse {
    0%, 80%, 100% { 
        opacity: 0.4;
        transform: scale(1);
    }
    40% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .start-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .start-button:hover {
        padding: 12px 25px;
    }
    
    .shuriken-container {
        width: clamp(80px, 18vw, 120px);
        height: clamp(80px, 18vw, 120px);
        margin-bottom: 20px;
    }
    
    .loading-dots {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
}

@media (max-width: 480px) {
    .start-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .shuriken-container {
        width: clamp(70px, 16vw, 100px);
        height: clamp(70px, 16vw, 100px);
        margin-bottom: 15px;
    }
    
    .loading-dots {
        font-size: clamp(1.5em, 4vw, 2em);
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .start-button {
        top: 60%;
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .shuriken-container {
        width: clamp(60px, 12vw, 80px);
        height: clamp(60px, 12vw, 80px);
        margin-bottom: 10px;
    }
    
    .loading-dots {
        font-size: clamp(1.2em, 3vw, 1.8em);
    }
}