/*
Theme Name:     GGH
Theme URI:      https://yourdomain.example/ggh
Description:    Child theme for Flat Bootstrap
Author:         Your Name
Author URI:     https://yourdomain.example
Template:       b5st-main
Version:        1.0.0
*/

@import url("../b5st-main/style.css"); /* fallback if needed */

/* Breite auf iPad-Größe  */
.container {
  max-width: 768px !important;
}

#searchform {
	display: none;
}

/* Alle Sterne: Standardfarbe = grau */
.star-rating {
  white-space: nowrap;
}
#star-rating .star {
  color: #ccc; /* grau */
  cursor: pointer;
  font-size: 2rem; /* optional: größere Sterne */
  transition: color 0.2s;
}

/* Ausgewählte Sterne (fas = solid) werden gelb */
#star-rating .star.fas {
  color: #ffc107; /* Bootstrap-Gelb, alternativ #FFD700 */
}

#star-rating .star:hover {
  color: #ffc107;
}

/* Breite Input-Feld */
.amount-input {
  width: 6ch;
}

/* Foto-Funktionen */
.photo-wrapper {
  position: relative;
  display: inline-block;
  border: 3px solid #fff;
  border-radius: 4px;
  cursor: pointer;
}

.photo-wrapper.is-title {
  border-color: #ffcccc;
}

.photo-wrapper .photo-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.photo-wrapper .set-title-btn {
  z-index: 1;
}

.photo-wrapper:hover {
  opacity: 0.95;
}


/* Bearbeitungsmodus: Titelfoto */
.photo-wrapper.is-title {
  border-color: #ffcccc; /* hellrot */
}

/* Bearbeitungsmodus: Titel bearbeiten */
#activity-title-edit {
  margin-top: 1rem;
}


/* Anzeige Aktivität: Slider */
.slider-container {
  width: 100%;
  height: 33vh; /* 1/3 Bildschirmhöhe */
  overflow: hidden;
  position: relative;
  background: black;
}

.slider-image {
  position: absolute;
  top: 50%; left: 50%;
  max-height: 100%;
  max-width: 100%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  display: none;
}

.slider-image.active {
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(0,0,0,0.4);
  color: white;
  text-align: center;
  line-height: 40px;
  font-size: 24px;
  cursor: pointer;
}

.slider-arrow-left { left: 10px; }
.slider-arrow-right { right: 10px; }




.activity-preview-stats {
	margin-top: 20px;
	margin-bottom: 20px;
}

.activity-statsx .star-rating {
  color: gold;
  font-size: 1.2rem;
  line-height: 1;
}


.activity-statsx {
  color: #333;            /* dunkleres Grau für bessere Lesbarkeit */
  border-collapse: separate; /* wichtig für einzelne Zell-Border */
  border-spacing: 0;         /* kein spacing – Trenner nur per border */
  line-height: 1.5;       /* optional für etwas mehr Luft */
}

@media (min-width: 512px) {
	.activity-stats {
		font-size: 1.2rem;      /* größer als Standard Bootstrap */
	}
}





.activity-details-table {
	margin-top: 30px;
	margin-bottom: 30px;
}

.activity-details-table .star-rating {
  color: gold;
  font-size: 1.2rem;
  line-height: 1;
}

.activity-details-table {
  font-size: 1.2rem;      /* größer als Standard Bootstrap */
  color: #333;            /* dunkleres Grau für bessere Lesbarkeit */
  border-collapse: separate; /* wichtig für einzelne Zell-Border */
  border-spacing: 0;         /* kein spacing – Trenner nur per border */
  line-height: 1.5;       /* optional für etwas mehr Luft */
}

.activity-details-table td {
  padding: 0.5rem 1rem;   /* mehr Abstand zwischen Zellen */
  vertical-align: middle;
  font-weight: 500;       /* etwas fetter für bessere Lesbarkeit */
}

.activity-details-table td + td {
  border-left: 1px solid #ddd; /* nur zwischen den Zellen */
}

.activity-details-table td small {
  display: block;
  margin-top: 0.2rem;
  color: #666;
  font-size: 0.85rem;
}

.activity-details-table i {
  margin-right: 0.25rem;  /* Platz zwischen Icon & Text */
}


/* Sprechblase */
.comment-bubble-container {
  max-width: 600px;  /* oder 100% auf mobile */
}

.comment-avatar img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.comment-bubble {
  position: relative;
  background: #f0f0f0;
  border-radius: 15px;
  padding: 1rem 1.25rem;
  color: #333;
  font-size: 1rem;
  line-height: 1.4;
}

.comment-bubble::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -10px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-right-color: #f0f0f0;
}

.comment-pre {
	font-weight: bold;
}

/* Likes */
#like-icon {
  transition: color 0.2s;
  cursor: pointer;
}

#like-icon.not-liked {
  color: #ccc;  /* Grau */
}

#like-icon.liked {
  color: #FFD700; /* Gold */
}

#like-icon:hover {
  color: #FFD700; /* Immer gold beim Hover */
}


#like-icon:hover {
  color: #FFD700; /*  Gold beim Hover */
}

#like-icon.liked:hover {
  color: #ccc; /* Grau beim Hover */
}


/* Follows */
#follow-icon {
  transition: color 0.2s;
  cursor: pointer;
}

#follow-icon.not-liked {
  color: #ccc;  /* Grau */
}

#follow-icon.liked {
  color: #FFD700; /* Gold */
}



/* Freunde-Liste */

/* Grid Layout für zugeklappt */
.friends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 80px);
  gap: 12px;
  justify-content: start;
  max-width: 100%;
}


.friend-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.friend-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}


.friend-count-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6c757d;
  color: #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-weight: bold;
}



/* Aufgeklappt: Flex passt hier perfekt */
.friend-avatar-list {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 10px; 
}

#friends-expanded .friend-name {
	font-size: 1.3rem;
}

#friends-expanded a {
  color: inherit;
}

#friends-expanded a:hover {
  text-decoration: underline;
}


/* Activity-Preview kleiner */

.activity-preview-stats {
  font-size: 0.7rem;
}

.activity-preview-photo img {
  object-fit: cover;
}

.activity-preview {
	padding: 5%;
	background-color: #eee;
}

.activities-section {
	margin-top: 40px;
}




.page-featured-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.toggle-btn {
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 0.5rem;
}


#site-navigation {
  display: flex;
  justify-content: center;
  margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

#site-navigation ul li {
	margin-left: 1rem;
	margin-right: 1rem;
}

#site-navigation ul li a, #site-navigation ul li a:visited {
	text-decoration: none;
	color: #777;
	font-weight: 500;
}

.site-branding h1 {
	font-size: 1.3rem;
	font-weight: bold;
	
}

.site-branding h1 a, .site-branding h1 a:visited  {
	color: #ffc107;
	text-decoration: none;
}


.avatar-rounded {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* Follow-Buttons */
/* === FOLLOW BUTTONS === */

/* Gemeinsame Basis: Rund, Padding */
.btn-follow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: 0.95rem;
  border-radius: 50rem; /* pill shape */
  transition: all 0.2s ease;
}

/* Icon-Abstand */
.btn-follow i {
  margin-right: 0.4rem;
}

/* Folgst du (aktiv) */
.btn-follow-following {
  border: 1px solid #28a745;
  color: #28a745;
  background: #f8f9fa;
}

.btn-follow-following:hover {
  background: #28a745;
  color: #fff;
}

/* Folgen (neutral) */
.btn-follow-neutral {
  border: 1px solid #6c757d;
  color: #6c757d;
  background: #fff;
}

.btn-follow-neutral:hover {
  background: #6c757d;
  color: #fff;
}

/* Folgt dir */
.btn-follow-folgt-dir {
  border: 1px solid #ffc107;
  color: #ffc107;
  background: #fff;
}

.btn-follow-folgt-dir.disabled {
  opacity: 0.8;
  cursor: default;
}

/* Folgt dir nicht */
.btn-follow-nicht {
  border: 1px solid #6c757d;
  color: #6c757d;
  background: #fff;
}

.btn-follow-nicht.disabled {
  opacity: 0.8;
  cursor: default;
}

.user-list-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 0.75rem;
}

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

.user-list-item a, .user-list-item a:visited {
  text-decoration: none;
	color: inherit;
}

.user-list-item a, .user-list-item a:hover {
  text-decoration: underline;
}

.link-username {
	color: inherit;
	text-decoration: none;
}


#editprofile-newimage-link {
	text-decoration: none;
	color: #666;	
}

#editprofile-newimage-link:hover {
	text-decoration: underline;

}


main {
	margin-bottom: 50px;
}

.row.activity-stats {
	margin-top: 1rem;
}



/* ########################################### NEU TEST #####################################


/* === Glitzer-Gold Grundfarbe === */
body {
  background-color: #fff8e1; /* sehr helles Gold/Beige */
  color: #333;
}

/* Titel in glänzendem Gold */
.site-title a {
  color: #d4af37; /* klassisches Gold */
  font-family: 'Bangers', cursive;
  text-shadow: 1px 1px 0 #fff, 2px 2px 4px #b8860b;
  transition: color 0.3s;
}

.site-title a:hover {
  color: #ffd700; /* glänzenderes Gold */
}

/* Goldene Buttons */
.btn-gold {
  background: linear-gradient(145deg, #f0c75e, #d4af37);
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  transition: all 0.2s ease-in-out;
}

.btn-gold:hover {
  background: linear-gradient(145deg, #ffd700, #daa520);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

/* Comic-Grafik-Style für Icons */
.fa, .fas, .far {
  color: #d4af37;
  text-shadow: 0.5px 0.5px #fff;
}

/* Aktivitätsbox mit goldenem Rahmen */
.activity-preview {
  background: #fffef6;
  border: 2px dashed #ffd700;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* Glitzer-Text-Hervorhebung */
.glitter-text {
  background: linear-gradient(90deg, #fff4cc, #ffe066, #fff4cc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% center;
  }
}

/* Optional für Bewertung: Glitzernde Sterne */
.star-rating i.fas {
  /* color: #ffd700; */
  text-shadow: 0 0 4px #fffacd;
}

/* Glitzer-Overlay für besondere Elemente */
.glitter-border {
  border: 2px solid #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  animation: glow-gold 2s ease-in-out infinite alternate;
}

@keyframes glow-gold {
  0% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
  }
  100% {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  }
}


/* ########### Part 2  */

i.fas.fasparkle, i.far.fasparkle {
  color: #ffd700;
  text-shadow: 1px 1px 1px #fff, 0 0 5px #d4af37;
  font-size: 1.3em;
}



h1, h2  {
  font-family: 'Bangers', cursive;
}


.status-heading {
  font-family: 'Bangers', cursive;
  color: #d4af37;
  /*font-size: 2em;*/
  text-shadow: 1px 1px 2px #000;
}


#live-timer, .live-timer {
  font-weight: bold;
  font-size: 1.8rem;
  background: linear-gradient(90deg, #ffe066, #ffc107, #ffd700);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s linear infinite;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5); /* dunkler Schatten für Kontrast */
}



/* ########### Test  */









.live .activity-preview {
  position: relative;
  background: white;
  overflow: hidden;
  z-index: 1; /* Stellt sicher, dass Inhalte über dem ::before bleiben */
}

/* Gold-Schimmer als Hintergrundanimation */
.live .activity-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 215, 0, 0.25) 45%,
    rgba(255, 215, 0, 0.7) 50%,
    rgba(255, 215, 0, 0.25) 55%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: gold-background-shimmer 3s infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes gold-background-shimmer {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

/* Inhalt über dem Schimmer */
.live .activity-preview > * {
  position: relative;
  z-index: 2;
}


/* LIVE-Button */
.live-button {
  position: relative;
  display: inline-block;
  margin-left: 0.5em;
  padding-right: 20px; /* Platz für den Punkt */
	padding-left: 8px; 
  font-weight: bold;
  color: #a00000;
  text-transform: uppercase;
  background-color: rgba(160, 0, 0, 0.05);
  border-radius: 4px;
}

/* Kleiner roter Punkt rechts neben dem Text */
.live-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  animation: live-blink 1.5s ease-in-out infinite;
  opacity: 1;
}

/* Blink-Animation */
@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}






