/* Login page */
.admin-login-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login-box {
  background: rgba(8, 32, 58, 0.6);
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(10px);
}

.admin-login-title {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--bright);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.admin-login-sub {
  font-size: 0.78rem;
  color: var(--dim);
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Admin logout button in header */
.admin-logout {
  background: none;
  border: 1px solid rgba(200, 60, 60, 0.25);
  color: rgba(200, 60, 60, 0.6);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.admin-logout:hover {
  background: rgba(200, 60, 60, 0.08);
  border-color: rgba(220, 80, 80, 0.5);
  color: #ff9a9a;
}

.admin-page {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(72, 202, 228, 0.15);
}

.admin-header h1 {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--bright);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.admin-back {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.admin-back:hover {
  color: var(--bright);
}

.admin-notice {
  background: rgba(0, 180, 216, 0.07);
  border: 1px solid rgba(0, 180, 216, 0.22);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  color: var(--bright);
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

.admin-errors {
  background: rgba(220, 60, 60, 0.08);
  border: 1px solid rgba(220, 60, 60, 0.25);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  color: #ff9a9a;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

/* Upload section */
.admin-upload {
  background: rgba(8, 32, 58, 0.5);
  border: 1px solid rgba(0, 180, 216, 0.13);
  border-radius: 14px;
  padding: 1.6rem;
  margin-bottom: 2.5rem;
}

.admin-section-title {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.upload-field {
  margin-bottom: 1rem;
}

.upload-field label {
  display: block;
  font-size: 0.75rem;
  color: var(--dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.upload-field input[type="text"] {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: rgba(4, 20, 38, 0.7);
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.upload-field input[type="text"]:focus {
  outline: none;
  border-color: rgba(72, 202, 228, 0.45);
}

.upload-field input[type="file"] {
  color: var(--dim);
  font-size: 0.85rem;
}

.upload-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgba(144, 224, 239, 0.3);
  letter-spacing: 0.03em;
}

.admin-btn-primary {
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.35);
  color: var(--bright);
  padding: 0.55rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
  margin-top: 0.4rem;
}

.admin-btn-primary:hover {
  background: rgba(0, 180, 216, 0.2);
  border-color: rgba(72, 202, 228, 0.55);
}

/* List */
.admin-list-header {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.admin-count {
  font-size: 0.75rem;
  color: var(--dim);
  letter-spacing: 0.1em;
}

.admin-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0, 180, 216, 0.08);
}

.admin-item:last-child {
  border-bottom: none;
}

.admin-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 180, 216, 0.12);
  flex-shrink: 0;
}

.admin-item-title {
  flex: 1;
  color: var(--highlight);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.admin-btn-delete {
  background: none;
  border: 1px solid rgba(200, 60, 60, 0.25);
  color: rgba(200, 60, 60, 0.6);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.admin-btn-delete:hover {
  background: rgba(200, 60, 60, 0.08);
  border-color: rgba(220, 80, 80, 0.5);
  color: #ff9a9a;
}
/* Pagination */
.admin-pagination {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 0.5rem;
}

.admin-pagination nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.admin-pagination a,
.admin-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  border: 1px solid rgba(72, 202, 228, 0.15);
  color: rgba(72, 202, 228, 0.6);
  transition: all 0.2s;
}

.admin-pagination a:hover {
  border-color: rgba(72, 202, 228, 0.4);
  color: #48cae4;
  background: rgba(72, 202, 228, 0.06);
}

.admin-pagination span[aria-current="page"] {
  border-color: rgba(72, 202, 228, 0.5);
  color: #48cae4;
  background: rgba(72, 202, 228, 0.1);
}

.admin-pagination span.pagy-gap {
  border: none;
  color: rgba(72, 202, 228, 0.3);
}

/* Admin section tabs */
.admin-section-nav {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(72, 202, 228, 0.1);
  padding-bottom: 0.75rem;
}

.admin-section-tab {
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  color: rgba(72, 202, 228, 0.5);
  border: 1px solid transparent;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}

.admin-section-tab:hover {
  color: #48cae4;
  border-color: rgba(72, 202, 228, 0.2);
}

.admin-section-tab--active {
  color: #48cae4;
  border-color: rgba(72, 202, 228, 0.35);
  background: rgba(72, 202, 228, 0.07);
}

/* Video icon placeholder */
.admin-video-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(72, 202, 228, 0.08);
  border-radius: 8px;
  font-size: 1.2rem;
  color: rgba(72, 202, 228, 0.5);
  flex-shrink: 0;
}

/* Rotate button */
.admin-item-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
}

.admin-btn-rotate {
  background: none;
  border: 1px solid rgba(72, 202, 228, 0.2);
  color: rgba(72, 202, 228, 0.55);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}

.admin-btn-rotate:hover {
  background: rgba(72, 202, 228, 0.08);
  border-color: rgba(72, 202, 228, 0.4);
  color: #48cae4;
}

.admin-thumb {
  transition: transform 0.3s ease;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --glow: #00b4d8;
  --bright: #48cae4;
  --highlight: #90e0ef;
  --text: #caf0f8;
  --dim: rgba(144, 224, 239, 0.55);
  --glass: rgba(8, 32, 58, 0.55);
  --glass-b: rgba(0, 180, 216, 0.2);
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: radial-gradient(ellipse at 30% 0%, #0a2d52 0%, #020c1b 55%),
              linear-gradient(180deg, #020c1b 0%, #030f1d 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text);
  padding: 3rem 2rem;
  overflow-x: hidden;
}

/* Language switcher */
.lang-switcher {
  position: fixed;
  top: 1.1rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.lang-btn {
  font-size: 1.4rem;
  text-decoration: none;
  opacity: 0.35;
  transition: opacity 0.2s, transform 0.2s;
  line-height: 1;
  display: block;
}

.lang-btn:hover {
  opacity: 0.9;
  transform: scale(1.15);
}

.lang-active {
  opacity: 1;
}

/* Bubbles */
@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  5%   { opacity: 0.6; }
  95%  { opacity: 0.15; }
  100% { transform: translateY(-100vh) translateX(15px); opacity: 0; }
}

.ocean-bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -30px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(72, 202, 228, 0.35);
  animation: rise linear infinite;
}

/* Site header */
.site-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.site-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 200;
  letter-spacing: 0.7em;
  text-transform: uppercase;
  color: var(--bright);
  text-shadow:
    0 0 30px rgba(72, 202, 228, 0.4),
    0 0 80px rgba(0, 180, 216, 0.15),
    0 0 120px rgba(0, 180, 216, 0.06);
  font-family: Georgia, 'Times New Roman', serif;
}

.site-ornament {
  display: block;
  width: min(320px, 80vw);
  margin: 1.4rem auto 1.2rem;
}

.site-author {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(144, 224, 239, 0.45);
  font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 180, 216, 0.15), 0 0 0 1px rgba(72, 202, 228, 0.4);
  border-color: rgba(72, 202, 228, 0.45);
}

.card-image-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
  image-orientation: from-image;
}

.card:hover .card-image {
  filter: brightness(1.05) saturate(1.1);
}

.card-body {
  padding: 0.9rem 1.1rem;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--highlight);
  letter-spacing: 0.07em;
}

/* Empty state */
.empty-state {
  text-align: center;
  color: var(--dim);
  margin-top: 6rem;
  position: relative;
  z-index: 1;
}

.empty-icon {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 1.2rem;
  opacity: 0.7;
}

.empty-state p {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Notice */
.notice {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  background: rgba(0, 180, 216, 0.07);
  border: 1px solid rgba(0, 180, 216, 0.22);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  color: var(--bright);
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

/* Show page */
.show-page {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.show-image {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 180, 216, 0.18);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.show-title {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--bright);
  letter-spacing: 0.18em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--dim);
  text-decoration: none;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  text-transform: uppercase;
  transition: color 0.2s;
}

.btn-back:hover {
  color: var(--bright);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(72, 202, 228, 0.1);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
}

.footer-inner p {
  color: rgba(144, 224, 239, 0.3);
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.footer-copy {
  margin-top: 0.6rem;
  color: rgba(144, 224, 239, 0.45) !important;
  font-size: 0.78rem !important;
}

.footer-image-wrap {
  position: relative;
  margin-top: 3rem;
  height: 320px;
  overflow: hidden;
  margin-left: -2rem;
  margin-right: -2rem;
}

.footer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.7) brightness(0.6);
}

.footer-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 55%;
  background: linear-gradient(to bottom, #020c1b, transparent);
  z-index: 1;
  pointer-events: none;
}

.footer-image-wrap::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, #020c1b, transparent);
  z-index: 1;
  pointer-events: none;
}
/* Infinite scroll sentinel */
.scroll-sentinel {
  height: 1px;
  visibility: hidden;
}

/* Main navigation */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(144, 224, 239, 0.6);
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #90e0ef;
  border-color: rgba(72, 202, 228, 0.25);
  background: rgba(72, 202, 228, 0.05);
}

.nav-link--active {
  color: #48cae4;
  border-color: rgba(72, 202, 228, 0.4);
  background: rgba(72, 202, 228, 0.08);
}

/* About page */
.about-page {
  max-width: 640px;
  margin: 4rem auto;
  text-align: center;
}

.about-text {
  color: rgba(144, 224, 239, 0.5);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* About page photo */
.about-photo-wrap {
  margin: 0 auto 2rem;
  max-width: 360px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(72, 202, 228, 0.2);
  box-shadow: 0 0 40px rgba(0, 180, 216, 0.12);
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
}

/* Video gallery */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
}

.video-card {
  background: rgba(8, 32, 58, 0.5);
  border: 1px solid rgba(72, 202, 228, 0.12);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.video-player {
  width: 100%;
  display: block;
  max-height: 320px;
  background: #000;
}

.video-title {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: rgba(144, 224, 239, 0.7);
  letter-spacing: 0.03em;
}

/* Video card (clickable, like drawing card) */
.video-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 180, 216, 0.15), 0 0 0 1px rgba(72, 202, 228, 0.4);
  border-color: rgba(72, 202, 228, 0.45);
}

.video-thumb-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #000;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  transition: opacity 0.2s;
  background: rgba(0,0,0,0.15);
}

.video-card:hover .video-play-btn {
  opacity: 0.7;
}

/* Show page video player */
.show-video {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 180, 216, 0.18);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  background: #000;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
