/* Base styles */
body {
  font-family: 'Roc Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: #3552b4;
  color: #ffffff;
}

.website-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url('https://otk-expo.b-cdn.net/blue_background.webp') #4564dc no-repeat center center fixed;
  background-size: cover;
}

/* Navigation */
.main-nav {
  background: #ffffff;
  color: black;
  padding: 0rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  /* height: 60px; */
}

.nav-center {
  display: flex;
  gap: 3rem;
}

.nav-center a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
	margin-top: 5px;
  border-bottom: 2px solid transparent;
}

.nav-center a:hover {
  border-bottom: 2px solid #FFC31F;
}

.user-name {
  color: #000000;
  /* margin-right: 1rem; */
  font-weight: 500;
  margin-top: 5px;
  font-size: 18px;
}

.user-dropdown .user-name{
  width: 178px;
  /* ellipsis */
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Main content */
.website-content {
  flex: 1;
  padding: 1rem;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
  row-gap: 50px;
  margin-top: 2rem;
}

.game-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-thumbnail img {
  width: 100%;
  height: auto;
}

.game-info {
  padding: 1rem;
}

/* Footer */
.website-footer {
  background: #000000;
  border-top: 14px solid #FFC31F;
  color: #ffffff;
  text-align: left;
  padding: 1rem;
  margin-top: auto;
  padding-bottom: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signup-btn {
  background: url('/images/yellow_board.png') no-repeat center center;
  color: #000000;
  width: 228px;
  height: 53px;
  border: none;
  padding: 8px 16px;
  /* border-radius: 4px; */
  cursor: pointer;
  font-weight: bold;
  /* font-family: 'Roc Grotesk'; */
  font-size: 1.5rem;
}

.signup-btn:hover {
  filter: hue-rotate(-12deg);
}

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

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  /* text-align: center; */
}

.modal-content h2 {
  margin-bottom: 1rem;
  color: #000000;
}

.modal-content p {
  margin-bottom: 2rem;
  color: #000000;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.modal-buttons button {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #ffc31f;
  color: black;
  border: none;
}

.btn-primary:hover {
  background-color: #ffce49;
}

.btn-secondary {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background-color: #e9ecef;
}

/* Add these styles for the success/error messages */
.modal-message .success {
  color: #4CAF50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-message .success::before {
  content: '✓';
  font-size: 24px;
}

.modal-message .error {
  color: #f44336;
  padding: 10px;
  border-radius: 4px;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid #f44336;
}

/* Add these styles after your existing styles */
.verify-error-container {
  text-align: center;
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
  background: #252526;
  border-radius: 8px;
}

.verify-error-container h1 {
  color: #f44336;
  margin-bottom: 1.5rem;
}

.verify-error-container p {
  margin-bottom: 2rem;
  color: #e0e0e0;
  line-height: 1.5;
} 

a.nav-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.loading-dots {
  display: flex;
  gap: 4px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #5f5f5f;
  animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% { 
    transform: scale(0);
  } 
  40% { 
    transform: scale(1.0);
  }
}


span.text-primary {
	color: #ffc31f;
}

.heavy-text {
	font-weight: 800;
}



.user-box {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
}

.user-dropdown-button {
	background: #ffc31f;
	display: flex;
	align-items: center;
	height: 46px;
	width: 230px;
	padding: 0px 10px;
	justify-content: space-between;
	flex-direction: row;
	cursor: pointer;
}

.user-icon {
	margin-top: 8px;
}

.dropdown-arrow {
	margin-top: 6px;
}

.user-dropdown-content {
  display: none;
  background: #ffc31f;
  position: absolute;
  width: 230px;
  border: 3px solid black;
  flex-direction: column;
}

.user-dropdown-content.show {
  display: flex;
}

.user-dropdown-content>a {
  text-decoration: none;
  color: black;
  width: calc(100% - 20px);
  padding: 10px;
}

.user-dropdown-content>a:hover {
  background: #00000012;
}

.game-info .game-title {
	color: black;
	margin: 0px;
	font-size: 1.2em;
}

.game-thumbnail {
	display: flex;
	position: relative;
}

.game-thumbnail a.game-link {
	position: absolute;
	color: white;
	text-decoration: none;
	bottom: 0px;
	right: 0px;
	width: calc(100% - 20px);
	text-align: right;
	padding: 0px 10px;
	text-shadow: 0px 1px 2px black;
	background: linear-gradient(0deg, #000000d4, transparent);
}

.game-voting-rows {
	display: flex;
	flex-direction: column;
	padding: 5px;
	gap: 5px;
	color: black;
}

.game-voting-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 35px;
	padding: 0px 12px;
}

.game-voting-category-name {
	display: flex;
	gap: 5px;
}

.game-voting-category-controls-box {
	display: flex;
	gap: 6px;
}

.game-voting-category-controls {
	display: flex;
	gap: 5px;
	margin-top: 1px;
}

.game-voting-row.game-voting-row-chat-choice {
	background: url(/images/chats_choice_bg.png);
	background-size: 100% 100%;
}

.game-voting-row.game-voting-row-starforge-art-star {
	background: url(/images/starforge_art_star_bg.png);
	background-size: 100% 100%;
}

.game-voting-category-current-votes {
	font-weight: bold;
	margin-top: 4px;
}

.game-voting-category-vote-button {
	width: 24px;
	height: 24px;
	display: flex;
	/* align-items: center; */
	justify-content: center;
	font-weight: bold;
	background: #0000001c;
	border-radius: 3px;
	line-height: 27px;
	cursor: pointer;
}

.game-voting-category-vote-button:hover {
	font-size: 20px;
}

.game-voting-category-name>span {
	margin-top: 4px;
}

/* Profile Page Styles */
.profile-container {
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    /* padding: 2rem; */
}

.profile-header {
    margin-bottom: 1rem;
    /* text-align: center; */
    background: white;
    border-radius: 5px;
    color: black;
    padding: 1rem;
}

.vote-tokens-display {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 1rem;
}

.current-votes h2 {
    color: #ffc31f;
    font-size: 2rem;
    margin: 0;
}

.possible-votes h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
}

.tasks-section {
    background: white;
    border-radius: 5px;
    color: black;
    padding: 1rem;
    margin-bottom: 1rem;
}

.tasks-intro {
    /* text-align: center; */
    /* color: #ffffff; */
    margin-bottom: 2rem;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
}

.task-card {
    background: #ffffff;
    border-radius: 5px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #c4c4c4;
}

.task-card:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.task-card.completed {
    border-color: #ffc31f;
    background-color: #f8f9fa;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.task-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.vote-amount {
    background: #5078ed;
    color: #ffffff;
    padding: 0.5rem 1rem;
    /* border-radius: 20px; */
    font-weight: bold;
}

.task-description {
    color: #666;
    margin-bottom: 1.5rem;
}

.task-description .channel-link {
    color: #9146ff;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

.task-description .channel-link:hover {
    text-decoration: underline;
}

.task-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    font-weight: bold;
}

.task-status i {
    font-size: 1.2rem;
}

.task-link {
    display: inline-block;
    background: #ffc31f;
    color: #000000;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.task-link:hover {
    background: #e6b01c;
    color: #000000;
}

.task-check-btn {
    display: inline-block;
    background: #ffc31f;
    color: #000000;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.task-check-btn:hover {
    background: #e6b01c;
    color: #000000;
}

@media (max-width: 768px) {
    .vote-tokens-display {
        flex-direction: column;
        gap: 1rem;
    }

    .tasks-grid {
        grid-template-columns: 1fr;
    }
}

/* Message Display */
.message-display {
    display: none;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    position: relative;
}

.message-display .close-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 5px;
    opacity: 0.7;
}

.message-display .close-button:hover {
    opacity: 1;
}

.message-display.success {
    background-color: #20ba45;
    color: #ffffff;
    /* border: 1px solid #c3e6cb; */
}

.message-display.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading dots in task card */
.task-card .loading-dots {
    visibility: hidden;
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 1rem 0;
}

.task-card .loading-dots.visible {
    visibility: visible;
}

.task-card .loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #666;
    animation: bounce 1.4s infinite ease-in-out both;
}

.task-card .loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.task-card .loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

h1.profile-greeting {
	margin: 0px;
	font-weight: 800;
	font-size: 2.5em;
}

.votes-box-display {
	text-align: center;
	background: #ffc31f;
	padding: 10px;
	width: 140px;
}

.vote-box-display-count {
	font-weight: 800;
	font-size: 38px;
}

.possible-votes.votes-box-display {
	background: #5078ED;
	color: white;
}

.completed .vote-amount {
	background: #ffc31f;
	color: black;
	text-decoration: line-through;
}

/* Vote Submission Footer */
.vote-submission-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    color: black;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.vote-submission-footer.show {
    transform: translateY(0);
}

.vote-submission-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.votes-remaining {
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    gap: 2rem;
}

.votes-category {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-name {
    font-weight: 600;
    color: #666;
}

.votes-count {
    color: #000000;
    font-weight: bold;
    font-size: 1.4rem;
}

#votes-remaining-count {
    color: #000000;
    font-weight: bold;
    font-size: 1.4rem;
}

.submit-votes-btn {
    background: #ffc31f;
    color: black;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-votes-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.submit-votes-btn:not(:disabled):hover {
    background: #e6b01c;
}

/* Game Voting Controls */
.game-voting-category-vote-button {
    cursor: pointer;
    user-select: none;
}

.game-voting-category-vote-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.game-voting-row.no-votes {
    opacity: 0.6;
    filter: grayscale(100%);
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.1);
}

.game-voting-row.no-votes .game-voting-category-vote-button {
    cursor: not-allowed;
}

/* Update existing styles */
.game-voting-category-vote-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #0000001c;
}

.game-voting-category-vote-button:disabled:hover {
    font-size: inherit;
}

/* Signup Modal Styles */
#signup-modal.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#signup-modal .modal-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    color: black;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: calc(100% - 2rem);
    padding: 8px;
    border: 1px solid #000000;
    border-radius: 0px;
    background: #ffffff;
    color: #5a5a5a;
}

.modal-message {
    margin-top: 1rem;
    text-align: center;
}

/* Vote Confirmation Modal Styles */
#vote-confirmation-modal.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#vote-confirmation-modal.modal.modal-open {
    opacity: 1;
    visibility: visible;
}

#vote-confirmation-modal .modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

#vote-confirmation-modal .modal-content h2 {
    margin-bottom: 1rem;
    color: #333;
}

#vote-confirmation-modal .modal-content p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.5;
}

#vote-confirmation-modal .modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

#vote-confirmation-modal .modal-buttons button {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#vote-confirmation-modal .btn-primary {
    background-color: #ffc31f;
    color: black;
    border: none;
}

#vote-confirmation-modal .btn-primary:hover {
    background-color: #ffce49;
}

#vote-confirmation-modal .btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

#vote-confirmation-modal .btn-secondary:hover {
    background-color: #e9ecef;
}

/* Game Voting Row Styles */
.game-voting-row.no-votes {
    opacity: 0.6;
    filter: grayscale(100%);
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.1);
}

.game-voting-row.no-votes .game-voting-category-vote-button {
    cursor: not-allowed;
}

.game-voting-category-vote-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #0000001c;
}

.game-voting-category-vote-button:disabled:hover {
    font-size: inherit;
}

.votes-box-display {
    text-align: center;
    background: #ffc31f;
    padding: 10px;
    width: 140px;
}

.vote-box-display-count {
    font-weight: 800;
    font-size: 38px;
}

.possible-votes.votes-box-display {
    background: #5078ED;
    color: white;
}

.completed .vote-amount {
    background: #ffc31f;
    color: black;
    text-decoration: line-through;
}

/* Vote Submission Footer */
.vote-submission-footer.voted {
    opacity: 1;
    pointer-events: none;
}

.vote-submission-footer.voted .votes-remaining {
    color: #666;
    font-style: italic;
}

.games-list-header {
	background: white;
	border-radius: 5px;
	color: black;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.games-list-header-left {
	flex: 1;
}

.games-list-header-right {
	flex-shrink: 0;
}

.note-text {
	font-size: 0.9rem;
	margin-top: 0px;
	margin-bottom: 0;
	/* background: #ffc31f45; */
	/* color: orange; */
	/* padding: 1em 2em; */
	border-radius: 9px;
	display: inline-block;
}

.btn.btn-primary {
	padding: 5px 10px;
	border-radius: 3px;
	font-weight: bold;
	font-size: 18px;
	font-family: 'Roc Grotesk';
	padding-bottom: 3px;
	cursor: pointer;
}

img.check-icon {
	width: 20px;
	height: 20px;
}

.task-status>span {
	margin-top: 4px;
}

.linked-accounts-section {
    background: white;
    border-radius: 5px;
    color: black;
    padding: 1rem;
    margin-bottom: 1rem;
}

.linked-accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.linked-account-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.platform-icon.twitch {
    background: #9146ff;
    color: white;
}

.account-info {
    flex: 1;
}

.platform-name {
    font-weight: bold;
    color: #333;
}

.username {
    color: #666;
    font-size: 0.9rem;
}

.link-twitch-btn {
    display: inline-block;
    background: #9146ff;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.link-twitch-btn:hover {
    background: #7c3cda;
    color: #ffffff;
}

.task-message {
    /* margin-top: 10px; */
    margin: 10px 0px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.task-message.success {
    background-color: #20c446;
    color: white;
}

.task-message.error {
    background-color: #d94961;
    color: #ffffff;
    /* border: 1px solid #f5c6cb; */
}

#vote-confirmation-modal .modal-loading {
    text-align: center;
    margin: 2rem 0;
}

#vote-confirmation-modal .modal-result {
    text-align: center;
}

#vote-confirmation-modal .modal-result p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

#vote-confirmation-modal .modal-result button {
    min-width: 120px;
}

a {
	color: #0066FB;
}

.faq-item {
	background: white;
	border-radius: 5px;
	color: black;
	padding: 1rem;
	margin-bottom: 1rem;
}

.nav-left {
	display: flex;
	align-items: center;
}

.nav-voting-section {
	background: black;
	color: white;
	padding: 4px 10px;
	padding-bottom: 0px;
	text-transform: uppercase;
	font-weight: 800;
	transition: transform 0.25s ease-out;
}

.footer-nav-links>a {
	color: #ffc31f;
	text-decoration: none;
}

.tiny-text {
	font-size: 12px;
	opacity: 0.5;
}

.footer-nav-links>a>img {
	margin: 0px 5px;
}

a.nav-logo:hover .nav-voting-section {
	transform: rotate(2deg);
}

form#signup-form {
	position: relative;
}

.modal-splash-art {
	display: flex;
	align-items: center;
	justify-content: center;
}

.twitch-watch-status {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.twitch-watch-status p {
    margin: 0;
    color: #333;
}

.twitch-watch-status .votes-earned {
    margin-top: 0.5rem;
    font-weight: bold;
    color: #5078ed;
}

/* Pre-vote state styles */
.games-grid.pre-vote-state {
    opacity: 1;
    /* filter: grayscale(100%); */
    /* pointer-events: none; */
}

.games-grid.pre-vote-state .game-voting-category-vote-button {
    cursor: not-allowed;
    opacity: 0.5;
}

.vote-submission-footer.pre-vote-state {
    opacity: 0.6;
    pointer-events: none;
}

.vote-submission-footer.pre-vote-state .submit-votes-btn {
    cursor: not-allowed;
    opacity: 0.5;
}

.earn-votes-link {
    color: #ffa500;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.earn-votes-link:hover {
    color: #ffd700;
    text-decoration: none;
}

a.vote-here-link {
	color: #000000;
	text-decoration: none;
	font-weight: 900;
	text-transform: uppercase;
	background: #ffc31f;
	padding: 5px 10px;
	padding-bottom: 0px;
	margin-left: 10px;
	position: relative;
	/* font-size: 24px; */
}

.vote-here-link>img {
	width: 53px;
	position: absolute;
	left: -35px;
	bottom: -20px;
}

/* Voted message styles */
.voted-message {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    animation: slideInFromTop 0.6s ease-out;
}

.voted-icon {
    font-size: 2.5rem;
    animation: bounceIn 0.8s ease-out 0.2s both;
}

.voted-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.voted-text p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Fade effect for tasks when voted */
.voted-fade {
    /* opacity: 0.4; */
    /* pointer-events: none; */
    /* transition: opacity 0.5s ease-out; */
    /* position: relative; */
}

/* .voted-fade::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    border-radius: 10px;
} */

/* Animations */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .voted-message {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .voted-icon {
        font-size: 2rem;
    }
    
    .voted-text h3 {
        font-size: 1.3rem;
    }
}

/* Mobile styles for home page */
@media (max-width: 768px) {
    /* Navigation */
    .main-nav {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }
    
    .nav-left {
        flex: 1 1 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-logo img {
        width: 120px;
        height: auto;
    }
    
    .nav-center {
        display: none; /* Hide nav center on mobile if not needed */
    }
    
    .nav-right {
        flex: 1 1 100%;
        justify-content: flex-end;
    }
    
    .user-dropdown-button {
        width: 180px;
    }
    
    .user-dropdown .user-name {
        width: 120px;
        font-size: 16px;
    }
    
    .signup-btn {
        width: 180px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* Main content */
    .website-content {
        padding: 0.5rem;
        box-sizing: border-box;
    }
    
    /* Games list header */
    .games-list-header {
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .games-list-header-left {
        width: 100%;
    }
    
    .games-list-header-right {
        width: 100%;
    }
    
    .games-list-header-left h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .games-list-header-left h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .note-text {
        font-size: 0.8rem;
    }
    
    /* Games grid - single column on mobile */
    .games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        row-gap: 30px;
        margin-top: 1rem;
    }
    
    /* Game card */
    .game-card {
        border-radius: 4px;
    }
    
    .game-info {
        padding: 0.75rem;
    }
    
    .game-info .game-title {
        font-size: 1.1em;
    }
    
    /* Voting controls */
    .game-voting-rows {
        padding: 4px;
        gap: 4px;
    }
    
    .game-voting-row {
        height: 40px;
        padding: 0px 8px;
        font-size: 0.9rem;
    }
    
    .game-voting-category-name {
        gap: 4px;
        font-size: 0.85rem;
    }
    
    .game-voting-category-name img {
        width: 18px;
        height: 18px;
    }
    
    .game-voting-category-current-votes {
        font-size: 0.85rem;
        margin-top: 2px;
    }
    
    .game-voting-category-vote-button {
        width: 32px;
        height: 32px;
        line-height: 34px;
        font-size: 20px;
        min-width: 32px; /* Ensure minimum touch target size */
    }
    
    .game-voting-category-controls {
        gap: 4px;
    }
    
    /* Vote submission footer */
    .vote-submission-footer {
        padding: 0.75rem;
    }
    
    .vote-submission-content {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .votes-remaining {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .votes-category {
        gap: 0.25rem;
    }
    
    .category-name {
        font-size: 0.9rem;
    }
    
    .votes-count,
    #votes-remaining-count {
        font-size: 1.2rem;
    }
    
    .submit-votes-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Footer */
    .website-footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        padding-bottom: 100px; /* Extra space for vote submission footer */
        text-align: center;
        min-height: 400px;
    }
    
    .footer-right,
    .footer-left {
        width: 100%;
        justify-content: center;
    }
    
    /* Modal */
    .modal-content {
        padding: 1.5rem;
        width: 95%;
        max-width: none;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-buttons button {
        width: 100%;
    }
    
    /* Game link overlay */
    .game-thumbnail a.game-link {
        font-size: 0.9rem;
        padding: 0px 8px;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .games-list-header-left h1 {
        font-size: 1.3rem;
    }
    
    .game-voting-row {
        font-size: 0.8rem;
    }
    
    .game-voting-category-name {
        font-size: 0.8rem;
    }
    
    .nav-logo img {
        width: 100px;
    }
    
    .nav-voting-section {
        font-size: 0.85rem;
        padding: 3px 8px;
    }
}

.voted-fade .task-card button, .voted-fade .task-card .task-link {
	pointer-events: none;
	opacity: 0.5;
}

.games-grid.pre-vote-state .game-voting-rows {
	pointer-events: none;
}

.user-vote-token-details {
	display: none;
}