body {
  font-family: Roboto, sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 20px;
}

#onlineStatus.offline {
  color: red;
}
#onlineStatus.inactive {
  color: yellow;
}
#onlineStatus.playing {
  color: green;
}

.whatpretendo {
  display: none;
}

#latest-changes {
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}

#latest-changes h2 {
  color: #00C900;
  text-align: center;
  margin-bottom: 10px;
}

#latest-changes ul {
  list-style-type: disc;
  padding-left: 25%;
  margin-left: 0;
}

#latest-changes ul li {
  color: #fff;
  margin-bottom: 5px;
  padding-left: 0;
}

select {
  background-color: #222;
  color: #fff;
  border: 2px solid #000;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
}

#background-image {
  width: 100%;
  height: 100%;
}

a {
  color: #00C900;
}

a:hover {
  color: #008a00;
}

.emoji {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 2.0em 2.0em; /* Adjusted size */
  display: inline-block;
  height: 2.0em; /* Adjusted size */
  margin: 0 .05em 0 .1em;
  vertical-align: -1em; /* Adjusted vertical alignment */
  width: 2.0em; /* Adjusted size */
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.content {
  text-align: center;
}

.content li {
  text-align: left;
}

.tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  flex-wrap: wrap;  /* Allow buttons to wrap on smaller screens */
}

button {
  background-color: #00C900;
  color: #000;
  border: solid #000 1px;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 5px;  /* Add margin to separate the buttons */
  flex: 1;  /* Make buttons flexible to use available space */
}

button:hover {
  background-color: #008a00;
  color: #fff;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.header img {
  width: 200px; /* Adjust the width as needed */
  border-radius: 50%;
}

.cody-header-bg {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  padding: 10px; /* Add some padding for spacing */
  border-radius: 8px; /* Optional: Add rounded corners for a nice look */
  display: inline-block; /* Ensures the background only takes the space needed */
  margin-top: 10px; /* Adjust the margin as needed */
  width: fit-content; /* Adjust the width as needed */
}

.cody-header-bg {
  color: #fff; /* Set text color to white */
}

.header-text {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  padding: 10px; /* Add some padding for spacing */
  border-radius: 8px; /* Optional: Add rounded corners for a nice look */
}

.header-text h1 {
  margin: 10px 0 5px;
}

.header-text p {
  margin: 0;
  font-size: 14px;
  color: #fff; /* Set text color to white */
}

.avatar-frame {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.avatar-frame .avatar-image {
  width: 200px; /* Adjust the width as needed */
  border-radius: 50%;
}

.avatar-frame .frame-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px; /* Adjust the width as needed */
}

#preview-image {
  width: 200px;
}

/* Game Status styles */
.modal-container img {
  max-width: 100%;
}

#statusContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
#statusContent h3 {
  margin-bottom: -23px;
}
        #gameInfo {
            background-color: #111111c9;
            border-radius: 10px;
            padding: 10px;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
            max-width: 400px;
            margin: 0 auto 15px; /* Added margin-bottom to create space */
        }

        #splatoonInfo, #salmonRunInfo {
            background-color: #111111c9;
            border-radius: 10px;
            padding: 10px;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
            max-width: 400px;
            margin: 0 auto 15px; /* Added margin-bottom to create space */
        }

        #onlineStatusContainer {
            background-color: #111111c9;
            border-radius: 10px;
            padding: 10px;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
            max-width: 400px;
            margin: 15px auto 0; /* Added margin-top to create space */
        }

        img#gameImage {
            max-width: 50%; /* Adjust the size as needed */
            border-radius: 10px;
            margin-top: 10px;
            border: 2px solid #000;
        }

        img#avatarImage {
            width: 150px;
            height: 150px;
            border-radius: 50%; /* Circular avatar */
            margin-top: 10px;
        }
        /* Add styles for online status */
        span#onlineStatus {
            font-weight: bold;
        }

        .online {
            color: #4caf50; /* Green color for "Online" */
        }

        .offline {
            color: #ff4436; /* Red color for "Offline" */
        }

        .inactive {
            color: #FFC107; /* Amber color for "Inactive" */
        }
        span#gameName {
            font-weight: bold;
        }

        /* Add a subtle pulsating effect for fun */
        #gameInfo.special-effect {
            animation: pulse 1s infinite alternate;
        }

        @keyframes pulse {
            from {
                box-shadow: 0 0 10px rgba(76, 175, 80, 0.8);
            }
            to {
                box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
            }
        }

/* 404 Page styles */
#notfound {
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

img.notfoundimg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

h1.notfoundheading {
  text-align: center;
}

/* Credits styles */
#creditsContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.credit-list {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
}

.credit-list li {
  margin-bottom: 10px;
}

/* About styles */
#aboutContent {
  display: block;
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: left;
}

#aboutContent h2 {
  text-align: center;
}

#aboutContent p, h2 {
  color: #fff;
}

.anime-tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.anime-tooltip {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  position: absolute;
  z-index: 10;
  top: 120%;
  left: 0;
  background: #1a1a1a;
  border: 1px solid #444;
  padding: 10px;
  width: 280px;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.anime-tooltip img {
  width: 80px;
  float: left;
  margin-right: 10px;
  border-radius: 4px;
}

.anime-tooltip p {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Limit to 5 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anime-tooltip-wrapper:hover .anime-tooltip {
  visibility: visible;
  opacity: 1;
}

.now-playing-split {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.now-playing-box {
  flex: 1;
  min-width: 250px;
  background-color: #111111c9;
  border: 2px solid #00C900;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  padding: 20px;
  color: #fff;
}

.now-playing-box h2 {
  text-align: center;
  color: #00C900;
  margin-bottom: 10px;
}

.now-playing-box ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.now-playing-box li {
  margin-bottom: 8px;
}

/* Buttons page styles */
#buttonContent {
  display: block;
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: left;
}

#buttonContent h2 {
  text-align: center;
}

#buttonContent p, h2 {
  color: #fff;
}

    /* Styles for the button table */
    .button-table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
    }
    .button-table th, .button-table td {
      border: 1px solid #00C900;
      padding: 10px;
      text-align: center;
    }
    .button-table th {
      background-color: #00C900;
      color: #000;
    }
    /* Styles for the code section */
    .code-container textarea {
      background-color: #222;
      color: #fff;
      border: 1px solid #00C900;
      padding: 10px;
      border-radius: 5px;
      font-family: monospace;
      width: 100%;
      box-sizing: border-box;
    }
    .code-container button {
      margin-top: 10px;
    }
    .button-preview img {
      max-width: 150px;
    }
    .button-preview {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

/* Dream Address page styles */
#DreamAddressContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#DreamAddressContent p, h2 {
  color: #fff;
  margin-bottom: 10px;
}

#DreamAddressContent img {
  max-width: 100%;
  max-height: 250px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.gem-preview {
  display: block;
  margin: 10px auto; /* Centers the image */
  width: 300px; /* Adjust size if needed */
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)); /* White glow effect */
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.gem-preview:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1));
}

/* YouTube Page styles */
#YouTubeContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#youtube-container {
  text-align: center;
  margin: 20px auto;
}

#youtube-video-ids {
  padding: 8px;
  width: 250px;
  font-size: 16px;
  border: 2px solid #FF0000; /* YouTube red */
  border-radius: 5px;
}

#YouTubeContent button {
  padding: 8px 12px;
  font-size: 16px;
  background-color: #FF0000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#YouTubeContent button:hover {
  background-color: #CC0000;
}

.youtube-player-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
}

#YouTubeContent .stream-close-button {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}

#YouTubeContent .stream-close-button:hover {
  background: rgba(255, 0, 0, 0.8);
}

.youtube-player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

#YouTubeContent .input-group {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

/* Twitch Page styles */
#TwitchContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#twitch-container {
  text-align: center;
  margin: 20px auto;
}

#twitch-username {
  padding: 8px;
  width: 250px;
  font-size: 16px;
  border: 2px solid #9146FF; /* Twitch purple */
  border-radius: 5px;
}

#TwitchContent button {
  padding: 8px 12px;
  font-size: 16px;
  background-color: #9146FF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#TwitchContent button:hover {
  background-color: #772ce8;
}

#twitch-player iframe {
  margin-top: 15px;
  max-width: 100%;
  border: none;
}

/* Multi-stream grid layout */
.players-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 20px;
}

.twitch-player-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
}

#TwitchContent .stream-close-button {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}

#TwitchContent .stream-close-button:hover {
  background: rgba(255, 0, 0, 0.8);
}

.twitch-player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.input-group {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

#twitch-usernames {
  flex: 1;
  padding: 8px;
  font-size: 16px;
  border: 2px solid #9146FF;
  border-radius: 5px;
}

/* Blog styles */
#BlogContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#BlogContent p, h2 {
  color: #fff;
  margin-bottom: 10px;
}

.post-content p {
  text-align: left;
}

#BlogContent b {
    font-size: 35px;
}

#BlogContent img {
  max-width: 100%;
  max-height: 250px;
  margin-bottom: 20px;
  border-radius: 4px;
}

#BlogContent b:hover {
  text-decoration: underline;
  cursor: pointer;
}

.blog-container {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  border-radius: 10px;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

#searchBar, #categoryFilter {
  background: #222;
  color: #fff;
  border: 1px solid #000;
  padding: 8px;
  border-radius: 5px;
  width: 48%;
}

.blog-post {
  border-bottom: 1px solid #333;
  padding: 15px 0;
}

.blog-post h3 a {
  color: #00C900;
  text-decoration: none;
}

.blog-post h3 a:hover {
  text-decoration: underline;
}

.post-meta {
  font-size: 0.9em;
  color: #bbb;
}

p#blogmetadata {
  text-align: center;
}

.blog-post img {
  max-width: 100%;
  border-radius: 5px;
  margin-top: 10px;
}

.blog-post iframe {
  width: 100%;
  height: 400px;
  border-radius: 5px;
  margin-top: 10px;
}

.post-content {
  margin-top: 10px;
}

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.pagination button {
  background: #00C900;
  color: #000;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.pagination button:disabled {
  background: #555;
  cursor: not-allowed;
}

.hidden {
    display: none !important;
}

.blog-back-button {
    display: block;
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #00C900;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
}

.blog-back-button:hover {
    text-decoration: underline;
}

.blog-message {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    color: #ccc;
}

/* Switch FC styles */
#friendCodeContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#friendCodeContent p, h2 {
  color: #fff;
  margin-bottom: 10px;
}

#friendCodeContent b {
    font-size: 35px;
}

#friendCodeContent img {
  max-width: 100%;
  max-height: 250px;
  margin-bottom: 20px;
  border-radius: 4px;
}

#friendCodeContent b:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* Nintendo Facts styles */
#NintendoFactsContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#NintendoFactsContent p, h2 {
  color: #fff;
}

/* Social Media styles */
#socialMediaContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#socialMediaContent p, h2 {
  color: #fff;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.social-icons img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* Splatfest Frames page styles */
#SplatfestFramesContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.preview-image {
  width: 200px;
  height: 200px;
}

#frameTypeSelection {
  padding-bottom: 10px;
}

/* Chatroom styles */
#chatroomContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: left;
}

#chatroomContent h2 {
  text-align: center;
}

#chatroomContent h3 {
  display: none;
}

#chatroomContent h4 {
  color: #00C900;
  font-size: 24px;
  margin-bottom: 10px;
}

#chatroomContent p {
  margin-bottom: 10px;
  color: #fff;
}

#chatroomContent a {
  color: #00C900;
}

#chatroomContent a:hover {
  color: #008a00;
}

#chat-info h3 {
    display: block;
}

#chat-info {
    border: 2px solid #00c900;
}

#flair-shop {
    margin-top: 20px;
    padding: 15px;
    border: 2px solid #666;
    border-radius: 8px;
    background-color: #222;
    text-align: center;
    color: #ddd;
}

#flair-shop h3 {
    font-size: 1.5em;
    color: #fff;
    display: block;
}

#points-display {
    font-weight: bold;
    color: #00ff88;
}

#flair-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: flex-start; /* Ensures labels align properly */
}

fieldset {
    width: 100%;
    max-width: 600px; /* Adjust based on your layout */
    border: 1px solid #666;
    padding: 10px;
    border-radius: 8px;
    background: #222;
}

legend {
    font-weight: bold;
    color: #fff;
    padding: 0 10px;
}

#flair-options label {
    display: inline-flex; /* Ensures labels align nicely */
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    min-width: 150px; /* Prevents text from collapsing */
    text-align: center;
}

#flair-options label input {
    display: none; /* Keeps radio buttons hidden */
}

#flair-options label:hover {
    background: #555;
}

#remove-flair {
    display: block;
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #00C900;
    text-decoration: none;
}

#remove-flair:hover {
    text-decoration: underline;
}

#flair-options input {
    display: none;
}

#flair-options label.owned {
    color: gold !important;
    font-weight: bold;
    border: 2px solid gold;
    background: #444;
}

#flair-options input:checked + label {
    background: #007acc;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 122, 204, 0.5);
}

#flair-message, #flair-message2, #remove-flair-message {
    margin-top: 10px;
    color: #00ff88;
    font-weight: bold;
    display: none;
}

#promo-section {
    margin-top: 20px;
    padding: 15px;
    border: 2px solid #666;
    border-radius: 8px;
    background-color: #222;
    text-align: center;
    color: #ddd;
}

#promo-section h3 {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 10px;
}

#promo-input {
    width: 80%;
    max-width: 250px;
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #444;
    background: #333;
    color: #fff;
    text-align: center;
    outline: none;
    transition: border 0.2s ease-in-out;
}

#promo-input:focus {
    border-color: #00C900;
    box-shadow: 0 0 8px rgba(0, 201, 0, 0.5);
}

#redeem-button, #exportimport-button {
    margin-left: 10px;
    padding: 8px 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background: #00C900;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease-in-out, transform 0.1s ease-in-out;
}

#redeem-button:hover, #exportimport-button:hover {
    background: #008a00;
    transform: scale(1.05);
}

#promo-message {
    margin-top: 10px;
    font-weight: bold;
    display: none;
}

.purchased {
    position: relative;
    color: #00c900 !important;
}

.tariffed:not(.purchased) {
    position: relative;
    color: #ffa500 !important;
}

.tariffed::before {
    content: "💰";
}

#reset-purchases {
    display: inline-block;
    margin-top: 5px;
    color: red !important;
    text-decoration: underline;
    cursor: pointer;
}

#reset-purchases:hover {
    display: inline-block;
    margin-top: 5px;
    color: darkred !important;
    text-decoration: underline;
    cursor: pointer;
}

/* Styled hover box */
.flair-item {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.flair-description {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.flair-description::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.flair-item:hover .flair-description {
    visibility: visible;
    opacity: 1;
}

/* Nintendo News styles */
#nintendoNewsContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: left;
}

#nintendoNewsContent h2 {
  text-align: center;
}

#nintendoNewsContent h3 {
  display: none;
}

#nintendoNewsContent h4 {
  color: #00C900;
  font-size: 24px;
  margin-bottom: 10px;
}

#nintendoNewsContent p {
  margin-bottom: 10px;
  color: #fff;
}

#nintendoNewsContent a {
  color: #00C900 !important;
}

#nintendoNewsContent a:hover {
  color: #008a00 !important;
}

/* Web Apps styles */
#OtherStuffContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#OtherStuffContent p, h2 {
  color: #fff;
}

/* Reggie Bot page styles - Dark Theme */
#reggiebotContent {
  padding: 20px;
  background-color: #111111c9;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: flex; /* Added for layout */
  flex-direction: column; /* Added for layout */
}

#reggiebotContent p,
#reggiebotContent h2,
#reggiebotContent h3 {
  color: #fff;
}

#reggiebotContent {
  transition: all 0.3s ease-in-out;
}

#reggiebotContent:hover {
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.05);
}

#reggiebotContent code {
  background-color: #222;
  color: #0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Fira Code", monospace;
}

#reggiebotContent ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 0.5rem; /* Adjusted for better spacing */
  margin-bottom: 1.5rem; /* Added for better spacing */
}

#reggiebotContent li {
  background-color: #1a1a1acc;
  border: 1px solid #333;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

#reggiebotContent li:hover {
  background-color: #2c2c2ccc;
}

#reggiebotContent li code {
  color: #0f0;
  font-weight: bold;
}

#reggiebotContent .image-gallery {
  max-width: 600px;
  margin: 1em auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

#reggiebotContent .image-gallery img {
  max-width: 100%;
  height: 400px;
  border-radius: 8px;
  object-fit: scale-down;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease-in-out;
}

#reggiebotContent .image-gallery img:hover {
  transform: scale(1.03);
}

#reggiebotContent .swiper-slide img {
  display: block;
  width: 100%;
}

#reggiebotContent .swiper-button-next, .swiper-button-prev {
    color: #00c900 !important;
}

#reggiebotContent .swiper-pagination-bullet-active {
    background: #00c900 !important;
}

/* Bot Invite Buttons */
.bot-invite-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  margin-bottom: 25px;
  flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
}

.invite-button {
  background-color: #00c900; /* A nice green, like your favorite color! */
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none; /* In case it's an <a> tag */
  display: inline-flex; /* For better alignment */
  align-items: center;
  justify-content: center;
}

.invite-button:hover:not(:disabled) {
  background-color: #00a000;
  transform: translateY(-2px);
}

.invite-button.disabled {
  background-color: #555;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Sticky Header Styles */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0) 100%);
  padding: 15px;
  font-size: 20px; /* Increased font size */
  text-align: center;
  color: #ffffff;
  transition: background-color 0.3s, font-size 0.3s; /* Added font-size transition */
  border-radius: 10px; /* Added border radius for a softer look */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Added box shadow for depth */
  white-space: normal; /* Allow the text to wrap onto a new line */
}

.sticky-header:hover {
  background-color: rgba(17, 17, 17, 0.9);
}

.sticky-header .important {
  color: #00b35c;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
}

#close-button {
  cursor: pointer;
  float: right;
  color: #c3c3c3;
  font-weight: bold;
  padding: 0 10px;
}

#close-button:hover {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

/* Responsive Sticky Header Styles */
@media (max-width: 768px) {
  .sticky-header {
    font-size: 16px; /* Adjust font size for smaller screens */
    padding: 10px; /* Adjust padding for a more compact look */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sticky-header span {
    margin-top: 5px; /* Add some margin between the lines */
  }
}

footer {
  background-color: #111111c9; /* Semi-transparent black background */
  padding: 20px; /* Added padding for a bit more space */
  font-size: medium;
  text-align: center;
  color: #fff; /* Set text color to white */
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #111111;
  border: 2px solid #000;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.modal-open {
  overflow: hidden;
}

#beta-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px; /* Adjust size as needed */
    height: auto;
    cursor: pointer;
    z-index: 999; /* Ensure it's above other content */
}

.beta-icon img {
  width: 50px;
  height: auto;
}

/* Birthday shimmer */
.shimmer {
  color: rgba(13, 129, 0, 0.7);
  background: -webkit-gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff));
  background: -moz-gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff));
  background: gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff));
  -webkit-background-size: 125px 100%;
  -moz-background-size: 125px 100%;
  background-size: 125px 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-animation-name: shimmer;
  -moz-animation-name: shimmer;
  animation-name: shimmer;
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  background-repeat: no-repeat;
  background-position: 0 0;
}

@-moz-keyframes shimmer {
  0% {
      background-position: top left;
  }
  100% {
      background-position: top right;
  }
}

@-webkit-keyframes shimmer {
  0% {
      background-position: top left;
  }
  100% {
      background-position: top right;
  }
}

@-o-keyframes shimmer {
  0% {
      background-position: top left;
  }
  100% {
      background-position: top right;
  }
}

@keyframes shimmer {
  0% {
      background-position: top left;
  }
  100% {
      background-position: top right;
  }
}
.button-container {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap into multiple rows */
  justify-content: center; /* Center the buttons horizontally */
  gap: 20px; /* Add spacing between buttons */
  padding: 0;
  list-style-type: none; /* Remove default bullet points */
}

.otherstuff-button {
  display: inline-block;
  text-align: center;
  background-color: #00C900;
  color: #000;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid #000;
  border-radius: 8px;
  font-size: 14px;
  transition: background-color 0.3s, color 0.3s;
}

.otherstuff-button:hover {
  background-color: #008a00;
  color: #fff;
}

#profile-selector {
  background-color: #111; /* similar to your other sections */
  border: 2px solid #000;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}

#profile-selector h2 {
  color: #00C900;
  margin-bottom: 15px;
}

.profile-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #00C900;
  transition: transform 0.2s;
}

.profile-thumbnail:hover {
  transform: scale(1.1);
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.theme-toggle-button {
    background-color: #00C900;
    color: #000;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin: 10px auto;
    transition: all 0.3s;
}

.theme-toggle-button:hover {
    background-color: #008a00;
    color: #fff;
}

/* Mobile Optimization for 360px screens */
@media (max-width: 400px) {
  body {
    font-size: 13px;
    padding: 10px;
  }

  .container {
    padding: 15px 10px;
  }

  #latest-changes ul {
    padding-left: 10px;
  }

  .header img, 
  .avatar-frame .avatar-image, 
  .avatar-frame .frame-image {
    width: 150px; /* Smaller profile image */
  }

  .now-playing-box {
    min-width: 100%; /* Full width boxes */
    padding: 15px;
  }

  /* Prevent text overflow in status boxes */
  #gameInfo, #splatoonInfo, #salmonRunInfo, #onlineStatusContainer {
    max-width: 100%;
    padding: 8px;
  }

  /* Adjust modal content spacing */
  .modal-content {
    width: 95%;
    padding: 15px;
  }

  /* Better table display */
  .button-table td, 
  .button-table th {
    padding: 5px;
    font-size: 12px;
  }
}