/* 1. This resets the page layout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #051e0e;
}

/* 2. This controls your background image (7.png) */
#splash-screen {
    width: 100%;
    height: 100%;
    background: url('7.jpg') no-repeat center center;
    background-size: cover; 
    
    display: flex;
    flex-direction: column;
    justify-content: center;  /* This centers everything vertically */
    align-items: center;      /* This centers everything horizontally */
    padding: 20px;
}

/* 3. This locks the crest and textbox together as one single unit */
.splash-content {
    display: flex;
    flex-direction: column;   /* Forces the items to stack vertically */
    align-items: center;
    justify-content: center;
    gap: 20px;                /* This is the spacing directly between the crest and textbox */
    
    margin-bottom: 120px;     /* 💡 CHANGE THIS NUMBER to move the whole group UP or DOWN */
}

/* 4. This styles your crest image (1.jpg) */
.academy-logo {
    width: 110px;
    height: auto;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.5));
    transition: opacity 0.8s ease-in-out;
}

/* 5. This styles the text container underneath */
.title-group {
    text-align: center;
    background: rgba(5, 30, 14, 0.85); 
    padding: 16px 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 340px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: opacity 0.8s ease-in-out;
}

.main-title {
    color: #ffcc00; 
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.sub-title {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.95;
    font-style: italic;
}

.hidden {
    opacity: 0;
}
overscroll-behavior-y: none;
  touch-action: pan-x pan-y;
}