/*
Theme Name: Simply Sound Society Child Theme
Template: vikinger
Text Domain: simply-sound-society-child
Version: 1.0
*/

@charset "UTF-8";
/* 
---------------------------------------------------------
  RESPONSIVE TWEAKS (Optimized for Mobile)
---------------------------------------------------------
*/
@media (max-width: 1024px) {
  .content-grid .grid-3-6-3 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 15px;
  }

  .content-grid .grid-column {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    overflow: visible;
    position: relative;
  }

  .content-grid .grid-column:first-child {
    order: -1;
  }

  .content-grid .grid-column:last-child {
    order: 1;
  }
}

/* 
---------------------------------------------------------
  PROFILE CUSTOMIZATION STYLES
---------------------------------------------------------
*/

/* Custom Profile Box */
.sss-custom-box {
  background-color: #111;
  color: #fff;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

/* Profile Background Customization */
.sss-profile-theme-dark {
  background-color: #121212;
  color: #ffffff;
}

.sss-profile-theme-light {
  background-color: #ffffff;
  color: #333;
}

.sss-profile-theme-cyberpunk {
  background-color: #000;
  color: #00ffcc;
  text-shadow: 0 0 5px #00ffcc;
}

/* Custom Cursors */
.sss-custom-cursor {
  cursor: url("/wp-content/uploads/custom-cursor.png"), auto;
}

/* 
---------------------------------------------------------
  PROFILE MUSIC PLAYER
---------------------------------------------------------
*/
.profile-music iframe {
  width: 100%;
  min-height: 150px;
  height: auto;
}

/* 
---------------------------------------------------------
  MATCH PERCENTAGE UI
---------------------------------------------------------
*/
.sss-match-percentage {
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
}

/* 
---------------------------------------------------------
  FOLLOW / UNFOLLOW BUTTONS (Improved Accessibility)
---------------------------------------------------------
*/
.sss-follow-unfollow-container button {
  background-color: #222;
  color: #fff;
  border: 1px solid #333;
  border-radius: 3px;
  padding: 5px 10px;
  cursor: pointer;
  margin-right: 5px;
  transition: all 0.2s ease-in-out;
}

.sss-follow-unfollow-container button:hover {
  background-color: #333;
}

/* 
---------------------------------------------------------
  SOCIAL SHARING BUTTONS
---------------------------------------------------------
*/
.custom-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.custom-share-buttons a {
  display: inline-block;
  padding: 10px 15px;
  background: #0073aa;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
}

.custom-share-buttons a:hover {
  background: #005f8d;
}

/* 
---------------------------------------------------------
  CHATROOM LINK UI
---------------------------------------------------------
*/
.sss-chatroom-link {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
}

.sss-chatroom-link a {
  color: #ffcc00;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.sss-chatroom-link a:hover {
  color: #ffaa00;
}

/* 
---------------------------------------------------------
  FALLING SNOW EFFECT (Optimized for Performance)
---------------------------------------------------------
*/
.sss-snowflake {
  position: fixed;
  top: -2em;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  animation: sss-fall 7s linear infinite;
  z-index: 999999;
  opacity: 0.8;
}

@keyframes sss-fall {
  0%   { transform: translate3d(0, -2em, 0); opacity: 0.8; }
  100% { transform: translate3d(0, 110vh, 0); opacity: 0; }
}

/* Add variation for different snowflake speeds and sizes */
.sss-snowflake:nth-child(odd) {
  animation-duration: 5s;
  width: 6px;
  height: 6px;
}

.sss-snowflake:nth-child(even) {
  animation-duration: 8s;
  width: 10px;
  height: 10px;
}

/* 
---------------------------------------------------------
  ACCESSIBILITY: WHITE TEXT FOR DARK BACKGROUNDS
---------------------------------------------------------
*/
.bp-sitewide-notice-block,
.bp-sitewide-notice-block * {
  color: #ffffff;
}

#bbp_replies.widget.widget_display_replies,
#bbp_replies.widget.widget_display_replies * {
  color: #ffffff;
}

#block-4.ap-widget-pos.widget_block,
#block-4.ap-widget-pos.widget_block * {
  color: #ffffff;
}

/* 
---------------------------------------------------------
  RIGHT SIDEBAR: LIGHT BACKGROUND & DARK TEXT
---------------------------------------------------------
*/
div.grid-column.ap-question-right.ap-col-3 {
  background-color: #f8f8f8;
  color: #111;
}

div.grid-column.ap-question-right.ap-col-3 * {
  color: #111;
}

/* Profile Mood Status */
.sss-profile-mood-status {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 8px 12px;
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
}

.mood-icon {
  font-size: 24px;
  margin-right: 10px;
}

.mood-label {
  font-weight: bold;
  margin-right: 5px;
}

.mood-text {
  font-style: italic;
}

/* Profile Visitor Counter */
.sss-profile-visitor-counter {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 8px 12px;
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
}

.counter-icon {
  font-size: 20px;
  margin-right: 10px;
}

.counter-text {
  font-weight: bold;
}

.counter-number {
  color: #4a76a8;
  font-weight: bold;
}

/* Retro counter specific styles */
.sss-counter-retro {
  display: inline-block;
  margin: 10px 0;
}

/* Custom Box in Profile */
.sss-custom-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Responsive fixes */
@media (max-width: 768px) {
  .sss-profile-mood-status,
  .sss-profile-visitor-counter,
  .sss-follow-unfollow-container {
      flex-wrap: wrap;
  }
  
  .sss-custom-box {
      padding: 10px !important;
  }
}

.picker_wrapper {
  z-index: 9999 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  border-radius: 6px;
}

/* Match Meter Wrapper */
.sss-match-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 50%;
  box-shadow: 0 0 20px var(--pulse-color);
}

/* Text Styling */
.sss-match-percentage-text {
  font-weight: 900;
  font-size: 20px;
  color: var(--pulse-color);
  text-shadow: 0 0 6px var(--pulse-color);
}

/* Pulsing Aura */
.sss-match-pulse::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pulse-color) 0%, transparent 70%);
  opacity: 0.5;
  animation: sss-pulse-ring 2.5s infinite ease-in-out;
  z-index: -1;
}

/* Special FX for 100% */
.sss-match-pulse-perfect::before {
  animation: sss-perfect-glow 2s infinite alternate ease-in-out;
}

@keyframes sss-pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.6; }
}

@keyframes sss-perfect-glow {
  0% { box-shadow: 0 0 20px var(--pulse-color), 0 0 40px var(--pulse-color); }
  100% { box-shadow: 0 0 30px var(--pulse-color), 0 0 60px var(--pulse-color); }
}
