.arte-game-container {
max-width: 500px;
margin: 0 auto;
font-family: inherit;
}
.arte-game-header {
text-align: center;
margin-bottom: 2rem;
padding: 0;
border: none;
}
.arte-game-header h3 {
color: inherit;
margin: 0 0 1rem 0;
font-size: 1.8rem;
font-weight: 700;
}
.arte-game-stats {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 1.5rem;
margin-bottom: 1rem;
}
.arte-game-stats span {
background: transparent;
padding: 0.5rem 1rem;
border-radius: 25px;
font-size: 0.95rem;
box-shadow: none;
border: 2px solid currentColor;
}
.remaining-gives {
color: #e74c3c;
font-weight: 600;
}
.user-points {
color: #27ae60;
font-weight: 600;
}
.arte-game-instructions {
text-align: center;
margin-bottom: 2rem;
color: inherit;
font-size: 1rem;
line-height: 1.5;
opacity: 0.8;
} .arte-game-user-container {
min-height: 400px;
display: flex;
align-items: center;
justify-content: center;
} .arte-game-user-card {
width: 100%;
max-width: 400px;
position: relative;
}
.arte-game-user-front,
.arte-game-user-back {
width: 100%;
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
left: 0;
transition: all 0.5s ease;
border-radius: 20px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.arte-game-user-front {
opacity: 1;
transform: scale(1);
}
.arte-game-user-front.bounce {
animation: bounceIn 0.8s ease;
}
.arte-game-user-back {
opacity: 0;
transform: scale(0.9);
background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
color: white;
}
.arte-game-user-back.fade-in {
opacity: 1;
transform: scale(1);
}
.hidden {
display: none !important;
} .arte-game-avatar {
margin-bottom: 1.5rem;
position: relative;
perspective: 1000px;
}
.arte-game-avatar-container {
width: 150px;
height: 150px;
position: relative;
transform-style: preserve-3d;
transition: transform 0.8s ease;
cursor: pointer;
}
.arte-game-avatar-container:hover {
transform: rotateY(180deg);
}
.arte-game-avatar-container.flipped {
transform: rotateY(180deg);
}
.arte-game-avatar-front,
.arte-game-avatar-back {
width: 100%;
height: 100%;
position: absolute;
backface-visibility: hidden;
border-radius: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1rem;
box-sizing: border-box;
}
.arte-game-avatar-front {
background: transparent;
z-index: 2;
}
.arte-game-avatar-front img {
width: 100%;
height: 100%;
border-radius: 50%;
border: 3px solid currentColor;
object-fit: cover;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.arte-game-avatar-back {
background: linear-gradient(135deg, #f5e6d3 0%, #e8d9c4 100%);
color: #8b7355;
transform: rotateY(180deg);
text-align: center;
border: 3px solid #d4c0a1;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.arte-game-avatar-container.flipped .arte-game-avatar-back {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: 3px solid white;
}
.arte-game-avatar-container.points-given .arte-game-avatar-back,
.arte-game-avatar-container.points-given:hover .arte-game-avatar-back {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: 3px solid white;
}
.arte-game-avatar-back .user-stats {
font-size: 0.8rem;
line-height: 1.3;
}
.arte-game-avatar-back .user-stats div {
margin: 0.2rem 0;
font-weight: 600;
}
.arte-game-avatar-back .user-points {
color: #f1c40f;
font-size: 0.9rem;
}
.arte-game-avatar-back .user-rank {
color: #ecf0f1;
font-size: 0.8rem;
}
.arte-game-profile-link-small {
display: inline-block;
padding: 0.4rem 0.8rem;
background: white;
color: #667eea;
text-decoration: none;
border-radius: 20px;
font-weight: 600;
font-size: 0.7rem;
margin-top: 0.5rem;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}
.arte-game-profile-link-small:hover {
background: #f8f9fa;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}
.arte-game-avatar-large img {
width: 180px;
height: 180px;
border-radius: 50%;
border: 4px solid white;
object-fit: cover;
margin-bottom: 1rem;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
} .arte-game-phrase {
text-align: center;
font-style: italic;
color: inherit;
font-size: 1.2rem;
line-height: 1.4;
margin-bottom: 2rem;
padding: 1.5rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 15px;
border-left: 4px solid currentColor;
max-height: 120px;
overflow-y: auto;
font-weight: 500;
}
.arte-game-user-back .arte-game-phrase {
color: white;
background: rgba(255, 255, 255, 0.2);
border-left: 4px solid white;
} .arte-game-actions {
display: flex;
flex-direction: column;
gap: 1rem;
width: 100%;
max-width: 250px;
}
.arte-game-give-points,
.arte-game-skip {
padding: 1rem 2rem;
border: none;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
position: relative;
overflow: hidden;
}
.arte-game-give-points {
background: linear-gradient(135deg, #27ae60, #2ecc71);
color: white;
box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}
.arte-game-give-points:hover:not(:disabled) {
background: linear-gradient(135deg, #219653, #27ae60);
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}
.arte-game-give-points:disabled {
background: #95a5a6;
cursor: not-allowed;
transform: none;
box-shadow: none;
opacity: 0.6;
}
.arte-game-skip {
background: transparent;
color: #e74c3c;
border: 2px solid #e74c3c;
}
.arte-game-skip:hover:not(:disabled) {
background: #e74c3c;
color: white;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}
.arte-game-skip:disabled {
color: #bdc3c7;
border-color: #bdc3c7;
cursor: not-allowed;
opacity: 0.6;
} .arte-game-user-info {
text-align: center;
color: white;
width: 100%;
}
.arte-game-user-info h4 {
margin: 0 0 1.5rem 0;
font-size: 1.6rem;
font-weight: 700;
}
.arte-game-user-stats {
margin: 2rem 0;
display: flex;
flex-direction: column;
gap: 1rem;
}
.user-points,
.user-rank {
background: rgba(255, 255, 255, 0.2);
padding: 1rem 1.5rem;
border-radius: 25px;
font-size: 1rem;
backdrop-filter: blur(10px);
font-weight: 600;
}
.arte-game-profile-link {
display: inline-block;
padding: 1rem 2rem;
background: white;
color: #667eea;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s ease;
margin-top: 1.5rem;
box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}
.arte-game-profile-link:hover {
background: #f8f9fa;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
} .arte-game-messages {
min-height: 60px;
margin-top: 1.5rem;
}
.arte-game-message {
padding: 1rem 1.5rem;
border-radius: 10px;
margin-bottom: 1rem;
font-weight: 600;
text-align: center;
animation: slideInUp 0.3s ease;
border: none;
}
.arte-game-success {
background: rgba(39, 174, 96, 0.1);
color: #9a634e;
border: 2px solid #9a634e;
}
.arte-game-error {
background: rgba(231, 76, 60, 0.1);
color: #9a634e;
border: 2px solid #9a634e;
}
.arte-game-info {
background: rgba(52, 152, 219, 0.1);
color: #3498db;
border: 2px solid #9a634e;
} .arte-game-loading {
text-align: center;
padding: 3rem;
font-size: 1.2rem;
color: inherit;
opacity: 0.7;
}
.arte-game-no-users,
.arte-game-error {
text-align: center;
padding: 3rem;
font-size: 1.1rem;
color: inherit;
border-radius: 15px;
background: rgba(255, 255, 255, 0.1);
border: 2px solid currentColor;
}
.arte-game-phrase-form {
display: none;
} .arte-game-phrase-form {
max-width: 500px;
margin: 2rem auto;
padding: 2rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 5px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.arte-game-phrase-form h4 {
color: inherit;
font-size: 14px;
font-weight: 700;
}
.arte-game-phrase-form p {
color: inherit;
margin: 0 0 7px 0;
font-size: 10px;
line-height: 1.5;
opacity: 0.8;
}
.current-phrase {
font-size: 12px;
margin-bottom: 5px;
}
.current-phrase strong {
color: #9a634e;
}
.current-phrase small {
color: inherit;
font-size: 9px;
}
#arte-game-phrase-form textarea {
width: 100%;
min-height: 33px;
padding: 3px 5px;
border-radius: 4px;
font-size: 12px;
resize: vertical;
transition: all 0.3s ease;
margin-bottom: 10px;
background: rgba(255, 255, 255, 0.1);
color: inherit;
}
#arte-game-phrase-form textarea:focus {
outline: none;
background: rgba(255, 255, 255, 0.15);
}
#arte-game-phrase-form button {
padding: 6px;
background: #9a634e;
color: white;
border: none;
border-radius: 10px;
font-size: 11px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
#arte-game-phrase-form button:hover:not(:disabled) {
transform: translateY(-3px);
}
#arte-game-phrase-form button:disabled {
background: #95a5a6;
cursor: not-allowed;
transform: none;
box-shadow: none;
opacity: 0.6;
}
.arte-game-phrase-message {
margin-top: 10px;
padding: 10px;
border-radius: 10px;
text-align: center;
font-weight: 600;
display: none;
border: 2px solid transparent;
} .arte-game-debug-controls {
text-align: center;
margin-bottom: 1.5rem;
padding: 1rem;
background: rgba(243, 156, 18, 0.1);
border-radius: 15px;
border: 2px solid #f39c12;
backdrop-filter: blur(10px);
}
.arte-game-reset-debug {
padding: 0.8rem 1.5rem;
background: linear-gradient(135deg, #f39c12, #e67e22);
color: white;
border: none;
border-radius: 25px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 0.5rem;
box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}
.arte-game-reset-debug:hover:not(:disabled) {
background: linear-gradient(135deg, #e67e22, #d35400);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}
.arte-game-reset-debug:disabled {
background: #95a5a6;
cursor: not-allowed;
transform: none;
box-shadow: none;
opacity: 0.6;
}
.arte-game-debug-controls small {
color: #f39c12;
font-size: 0.8rem;
opacity: 0.8;
} .arte-game-login-required,
.arte-game-limit-reached {
text-align: center;
padding: 3rem 2rem;
font-size: 1.2rem;
color: inherit;
border-radius: 20px;
background: rgba(255, 255, 255, 0.1);
border: 2px solid currentColor;
backdrop-filter: blur(10px);
}
.arte-game-login-required a,
.arte-game-limit-reached a {
color: #3498db;
text-decoration: none;
font-weight: 600;
}
.arte-game-login-required a:hover,
.arte-game-limit-reached a:hover {
text-decoration: underline;
} @keyframes slideInUp {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes bounceIn {
0% {
transform: scale(0.3);
opacity: 0;
}
50% {
transform: scale(1.05);
opacity: 1;
}
70% {
transform: scale(0.9);
}
100% {
transform: scale(1);
opacity: 1;
}
}
.fade-in {
animation: fadeIn 0.5s ease;
} @media (max-width: 768px) {
.arte-game-container {
margin: 1rem;
max-width: none;
}
.arte-game-stats {
flex-direction: column;
gap: 1rem;
}
.arte-game-stats span {
width: auto;
}
.arte-game-user-front,
.arte-game-user-back {
padding: 1.5rem;
}
.arte-game-avatar img {
width: 120px;
height: 120px;
}
.arte-game-avatar-large img {
width: 140px;
height: 140px;
}
.arte-game-phrase {
font-size: 1.1rem;
padding: 1rem;
}
.arte-game-phrase-form {
margin: 8px;
padding: 10px;
}
}
@media (max-width: 480px) {
.arte-game-header h3 {
font-size: 1.5rem;
}
.arte-game-user-container {
min-height: 350px;
}
.arte-game-actions {
max-width: none;
}
.arte-game-give-points,
.arte-game-skip {
padding: 0.8rem 1.5rem;
font-size: 1rem;
}
} @media (hover: none) and (pointer: coarse) {
.arte-game-give-points:hover:not(:disabled),
.arte-game-skip:hover:not(:disabled),
.arte-game-profile-link:hover,
#arte-game-phrase-form button:hover:not(:disabled) {
transform: none;
}
} @media (prefers-contrast: high) {
.arte-game-user-front,
.arte-game-user-back {
border: 2px solid currentColor;
}
.arte-game-give-points,
.arte-game-skip {
border: 2px solid;
}
} @media (prefers-reduced-motion: reduce) {
.arte-game-user-front,
.arte-game-user-back,
.arte-game-give-points,
.arte-game-skip,
.arte-game-profile-link,
#arte-game-phrase-form button {
transition: none;
}
.arte-game-message {
animation: none;
}
.fade-in {
animation: none;
}
} @media (prefers-color-scheme: dark) {
.arte-game-user-front {
background: rgba(0, 0, 0, 0.3);
border-color: rgba(255, 255, 255, 0.1);
}
.arte-game-phrase-form {
}
#arte-game-phrase-form textarea {
background: rgba(0, 0, 0, 0.2);
border-color: rgba(255, 255, 255, 0.2);
}
}