/* GOLPOOGRO Cinematic Shorts View - Premium Stylings */

.shorts-page-container {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Ambient high-intensity blur backdrop */
.ambient-blur-backdrop {
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  filter: blur(80px) brightness(0.25) saturate(1.8);
  opacity: 0.85;
  transition: background-image 0.8s ease-in-out;
  pointer-events: none;
}

/* Sidebar quick guide block */
.shorts-guide-aside {
  flex: 1;
  max-width: 380px;
  background: rgba(15, 17, 26, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  z-index: 2;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  color: #fff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.shorts-guide-aside h2 {
  font-family: var(--font-display, 'Outfit', 'Inter', sans-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.aside-glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 12px rgba(212,175,55,0.15);
}

.shorts-guide-aside p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guide-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.guide-item i {
  color: var(--accent-gold, #d4af37);
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.guide-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Suggestions box */
.shorts-suggested-card {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.card-head-txt {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  margin-bottom: 0.85rem;
}

.narrator-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.narrator-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  object-fit: cover;
}

.narrator-info {
  display: flex;
  flex-direction: column;
}

.narrator-name {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.narrator-name .verify-badge {
  width: 13px;
  height: 13px;
  color: #38bdf8;
}

.narrator-handle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

/* Center Core Viewport Frame */
.shorts-viewport-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: 28px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.short-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.shorts-video-tag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.shorts-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.6) 0%, 
    rgba(0, 0, 0, 0.1) 20%, 
    rgba(0, 0, 0, 0.1) 70%, 
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Header overlays over video */
.shorts-video-header {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.shorts-logo {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.badge-mini {
  font-size: 0.6rem;
  background: rgba(212,175,55,0.2);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.2rem;
}

.shorts-views-count {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.35rem 0.65rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.views-ico {
  width: 12px;
  height: 12px;
}

/* Nav control circles inside frame */
.nav-control-circle {
  position: absolute;
  left: 1.25rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-control-circle:hover {
  background: rgba(212, 175, 55, 0.9);
  color: black;
  border-color: #d4af37;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(212,175,55,0.4);
}

.nav-control-circle.btn-prev {
  top: 5rem;
}

.nav-control-circle.btn-next {
  top: 8rem;
}

/* Side actions column */
.shorts-actions-column {
  position: absolute;
  right: 1rem;
  bottom: 8rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  align-items: center;
  z-index: 10;
}

.action-widget-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.widget-circle-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.widget-circle-btn:hover {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.widget-circle-btn.btn-like-pulse.active {
  background: linear-gradient(135deg, #ef4444, #f43f5e);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
  animation: heart-bump 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heart-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1.12); }
}

.widget-circle-btn.active-favorite {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.action-svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.widget-lbl {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Floating bottom info card overlay */
.shorts-author-caption-panel {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  pointer-events: auto;
}

.shorts-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.author-creds-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.author-creds-inline:hover .username-txt {
  text-decoration: underline;
  color: var(--accent-gold);
}

.author-frame-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
  object-fit: cover;
  box-shadow: 0 0 10px rgba(212,175,55,0.4);
}

.author-txts {
  display: flex;
  flex-direction: column;
}

.author-title-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.username-txt {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.inline-verify {
  display: inline-flex;
  align-items: center;
  color: #38bdf8;
}

.inline-verify i {
  width: 13px;
  height: 13px;
}

.author-desc-badge {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Custom overlay Follow Morph Button */
.shorts-author-row .follow-morph-btn.mini-btn {
  height: 28px !important;
  font-size: 0.75rem !important;
  padding: 0 0.85rem !important;
  min-width: 72px !important;
  border-radius: 99px !important;
}

/* Caption box with elegant typography */
.shorts-caption-box {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem;
}

.lyrical-caption {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  font-family: var(--font-sans, 'Inter', sans-serif);
}

.background-melody {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-gold, #d4af37);
  overflow: hidden;
}

.music-ico {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.loop-melody-text {
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.02em;
  opacity: 0.8;
  animation: scrolling-text 12s linear infinite;
}

@keyframes scrolling-text {
  0% { transform: translateX(5%); }
  50% { transform: translateX(-5%); }
  100% { transform: translateX(5%); }
}

/* Comment Drawer inside Player card */
.shorts-comments-drawer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: rgba(15, 17, 26, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  z-index: 25;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.shorts-comments-drawer.open {
  transform: translateY(0);
}

.drawer-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h4 {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.close-drawer-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.close-drawer-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.drawer-comments-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual comment rows inside drawer */
.comment-entry-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  animation: slide-up-add 0.3s ease;
}

@keyframes slide-up-add {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.comment-entry-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-entry-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.comment-user-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}

.comment-time-ago {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  margin-left: 0.4rem;
}

.comment-text-content {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* Comment Input strip */
.drawer-input-form {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
}

.comment-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 0.82rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.comment-input-field:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
}

.comment-submit-btn {
  background: none;
  border: none;
  color: var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s;
}

.comment-submit-btn:hover {
  transform: scale(1.15);
}

/* Responsive constraints */
@media (max-width: 820px) {
  .shorts-page-container {
    padding: 0.5rem;
    gap: 0;
  }
  .shorts-viewport-card {
    height: 100vh;
    border-radius: 0;
    max-width: 100%;
    border: none;
    aspect-ratio: auto;
  }
  .shorts-guide-aside {
    display: none !important;
  }
}
