/* Game specific styles */

/* Game container */
.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Game Header */
#game-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 1rem 0 0.8rem 0;
    text-align: center;
    position: relative;
}

#game-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

#game-header h1 .highlight {
    color: #fff;
    position: relative;
    display: inline-block;
}

#game-header h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    animation: underlineExpand 0.6s ease-out 0.3s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

#game-header p {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    opacity: 0.95;
    max-width: 500px;
    margin: 0 auto;
}

/* Game Progress */
#game-progress {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(243, 156, 18, 0.1);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f1f3f4;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0.8rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
    width: 0;
    transition: width 0.4s ease-out;
    border-radius: 20px;
}

.progress-info {
    text-align: center;
    font-weight: 600;
    color: #333;
}

.progress-text {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    color: #666;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Game Area */
#game-area {
    padding: 2rem 0;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #fceb21;
    padding-bottom: 200px !important;
    padding-top: 50px !important;
}

#game-area::before {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 500px;
    height: 500px;
    background-image: url('/assets/img/contenedor.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

#game-area h1 {
    text-align: center;
    margin-bottom: 28px;
    font-size: 1.6rem;
    color: #4b460f;
    position: relative;
    z-index: 1;
}

/* Intro Card */
.intro-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 2.5rem;
    transition: all 0.3s ease;
}

.intro-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-content p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #666;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.btn-start-game {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-start-game:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.4);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.btn-start-game:active {
    transform: translateY(-1px);
}

.btn-start-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-start-game:hover::before {
    left: 100%;
}

.game-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    width: 90vw;
    margin: 0 auto;
    min-height: 320px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.item-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.item-image img {
    height: 160px;
    object-fit: contain;
    border-radius: 10px;
}

.item-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-info h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    letter-spacing: -0.3px;
}

.question {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #666;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.game-buttons {
    display: flex;
    gap: 0.8rem;
    flex-direction: column;
}

.game-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-yes {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
}

.btn-no {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-no:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
}

.game-btn:active {
    transform: translateY(0);
}

.game-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Feedback */
.feedback {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.feedback.show {
    opacity: 1;
    visibility: visible;
}

.feedback-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 0 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.feedback.show .feedback-content {
    transform: translateY(0);
}

.feedback-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feedback-icon.correct {
    color: #28a745;
}

.feedback-icon.incorrect {
    color: #dc3545;
}

.feedback h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.feedback p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-continue {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

/* Game Results */
#game-results {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.results-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.results-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-card p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.results-card h2:nth-of-type(2) {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

/* Participation Form */
.participation-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.form-group input:valid {
    border-color: #28a745;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
    accent-color: #f39c12;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.btn-submit {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.4);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.results-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.btn-restart,
.btn-home {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-restart {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.btn-home {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #game-area::before {
        width: 300px;
        height: 300px;
        bottom: 15px;
        right: 15px;
        opacity: 0.2;
    }
    
    .game-container {
        padding: 0 1rem;
    }
    
    #game-header {
        padding: 0.8rem 0 0.6rem 0;
    }
    
    #game-progress {
        padding: 0.8rem 0;
    }
    
    #game-area {
        padding: 1.5rem 0;
    }
    
    #game-area h1 {
        font-size: 1.3rem;
    }
    
    .intro-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .intro-content h1 {
        font-size: 1.5rem;
    }
    
    .intro-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-start-game {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .game-card {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 0;
        min-height: 350px;
    }
    
    .item-info {
        padding: 1.5rem;
    }
    
    .item-image {
        padding: 1rem;
        order: -1;
    }
    
    .item-image img {
        max-height: 200px;
    }
    
    .game-buttons {
        gap: 0.6rem;
    }
    
    .game-btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .feedback-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    #game-results {
        padding: 2rem 0;
    }
    
    .results-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .participation-form {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group input {
        padding: 0.9rem;
    }
    
    .btn-submit {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .checkbox-group {
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
    }
    
    .results-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }
    
    .btn-restart,
    .btn-home {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    #game-area::before {
        width: 200px;
        height: 200px;
        bottom: 10px;
        right: 10px;
        opacity: 0.15;
    }
    
    #game-area h1 {
        font-size: 1.1rem;
    }
    
    .intro-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .intro-content h1 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .intro-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-start-game {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
    
    .item-info h2 {
        font-size: 1.5rem;
    }
    
    .question {
        font-size: 1rem;
    }
    
    .game-btn {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    .progress-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
        font-size: 1.6rem;
    }
}

/* Loading animation */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Correct/Incorrect button states */
.game-btn.correct {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    animation: pulse-correct 0.6s ease;
}

.game-btn.incorrect {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    animation: shake 0.6s ease;
}

@keyframes pulse-correct {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes underlineExpand {
    to {
        transform: scaleX(1);
    }
}

/* Totem Page Styles */
#totem-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 3rem 0 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#totem-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="confetti" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1.5" fill="white" opacity="0.08"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.06"/></pattern></defs><rect width="100%" height="100%" fill="url(%23confetti)"/></svg>');
}

.totem-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

#totem-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

#totem-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

#totem-header h2 .highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    display: inline-block;
}

#totem-header p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Totem Progress */
#totem-progress {
    background: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(243, 156, 18, 0.1);
}

#totem-progress h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.totem-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.totem-indicator {
    text-align: center;
    transition: all 0.3s ease;
}

.totem-icon {
    font-size: 3rem;
    margin: 0 auto 0.5rem auto;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.totem-indicator.pending .totem-icon {
    opacity: 0.5;
    filter: grayscale(100%);
}

.progress-message {
    text-align: center;
    font-weight: 600;
    color: #333;
    margin-top: 2rem;
    font-size: 1.1rem;
}

.progress-message #found-count {
    color: #f39c12;
    font-weight: 700;
}

.totem-indicator span {
    display: block;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.totem-indicator.pending span {
    color: #999;
}

/* Registration Form */
#totem-registration {
    padding: 3rem 0;
    background: #f8f9fa;
}

.registration-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.registration-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.registration-card > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.totem-form {
    margin-bottom: 2rem;
}

.btn-register {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.4);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.info-box {
    background-color: #efefef;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #f39c12;
    margin: 2rem 0;
}

.info-box h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.info-box p {
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-home,
.btn-game {
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-home {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.btn-game {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-home:hover,
.btn-game:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Success Message */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: 0 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.success-overlay.show .success-content {
    transform: translateY(0);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #28a745;
}

.success-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.success-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Design for Totem */
@media (max-width: 768px) {
    #totem-header {
        padding: 2rem 0 1.5rem 0;
    }
    
    .totem-icon {
        font-size: 3rem;
    }
    
    #totem-progress {
        padding: 1.5rem 0;
    }
    
    .totem-indicators {
        gap: 2rem;
    }
    
    .totem-icon {
        font-size: 2.5rem;
    }
    
    #totem-registration {
        padding: 2rem 0;
    }
    
    .registration-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-home,
    .btn-game {
        width: 100%;
        max-width: 200px;
    }
    
    .success-content {
        padding: 2rem;
        margin: 0 1rem;
    }
}

/* Message Styles */
.message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.5;
}

.message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message-success::before {
    content: "✅ ";
    margin-right: 0.5rem;
}

.message-error::before {
    content: "❌ ";
    margin-right: 0.5rem;
}

.message-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.message-info::before {
    content: "ℹ️ ";
    margin-right: 0.5rem;
}

/* Progress Display Styles */
.progress-display {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 15px;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.progress-display h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.progress-display .totem-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.progress-display .totem-indicator {
    text-align: center;
}

.progress-display .totem-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.progress-display .progress-message {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

.progress-display .actions {
    text-align: center;
}

.btn-game {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    text-decoration: none;
    color: white;
}

/* Responsive adjustments for progress display */
@media (max-width: 768px) {
    .progress-display {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .progress-display .totem-indicators {
        gap: 1rem;
    }
    
    .progress-display .totem-icon {
        font-size: 1.5rem;
    }
}