.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.gallery img {
  width: 100%;     
  max-width: 200px; 
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.login-container {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-container h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.InputEntry {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.InputEntry input {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.InputEntry input:focus {
  outline: none;
  border-color: #ff00ff;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.login-btn, #upload-btn {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn {
  background: linear-gradient(135deg, #ff00ff, #ff9df7);
}

#upload-btn {
  background: linear-gradient(135deg, #5b185e 0%, #2b1d46 100%);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#upload-btn:hover, .login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(255, 0, 255, 0.4);
}

.custom-file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;     
    background: none; 
    padding: 0;       
    width: 100%;
    height: 100%;
}

#file-input { display: none; }

/* YouTube Section stuff idk */
.youtube-section {
    max-width: 1100px;
    margin: 40px auto; 
    padding: 0 20px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 157, 247, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 15px rgba(106, 13, 173, 0.2); 
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #ff9df7;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 0, 255, 0.4);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    justify-content: center;
    align-items: center;
}

.gallery img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery img:hover {
  transform: translateY(-10px) scale(1.1);
  border-color: rgba(255, 0, 255, 0.5);
  box-shadow: 0 15px 30px rgba(255, 0, 255, 0.3);
  z-index: 2;
}

.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); 
  cursor: pointer;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.CloseModal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.CloseModal:hover {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.upload-page-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: url('../KingWithOmNom.png') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
}

.TheyNeedToNerfMe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 0, 26, 0.7); 
    z-index: 1;
}

.upload-container-wide {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1000px;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: none;
}

.hero-subtitle {
    color: #ccc;
    margin-bottom: 30px;
}

.upload-box-wide {
    border: 2px dashed rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    padding: 60px 20px;
    border-radius: 4px;
    transition: 0.3s;
    cursor: pointer;
}

.upload-box-wide:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.drop-text {
    font-size: 1.1rem;
    color: #fff;
}

.limit-text {
    font-size: 0.85rem;
    color: #bbb;
    margin-top: 10px;
}

.BlehhhButton {
    margin-top: 30px;
    padding: 12px 40px;
    background: var(--primary-pink);
    border: none;
    color: white;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.guest-notice {
    margin-top: 40px;
    font-size: 0.85rem;
    color: #999;
}

#image-preview {
    max-height: 200px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
}