body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column; /* Changed to column to stack title and container */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
}

.main-title {
    color: #0056b3; /* A prominent color for the main title */
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out;
}

.timer {
    text-align: center;
    font-size: 1.5em;
    color: #e44d26;
    margin-bottom: 20px;
    font-weight: bold;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 600px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
    color: #666;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #e9ebee;
    padding: 10px 20px;
    border-radius: 8px;
}

.action-item span {
    color: #555;
    font-size: 0.95em;
}

.share-note {
    display: block;
    margin-top: 15px;
    font-size: 0.9em;
    color: #6c757d;
    text-align: center;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: #ffffff;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-btn i {
    margin-right: 8px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.facebook-btn {
    background-color: #3b5998;
}

.facebook-btn:hover {
    background-color: #2d4373;
}

.twitter-btn {
    background-color: #1da1f2;
}

.twitter-btn:hover {
    background-color: #0c85d0;
}

.linkedin-btn {
    background-color: #0077b5;
}

.linkedin-btn:hover {
    background-color: #005582;
}

.other-share-btn {
    background-color: #6c757d; /* A neutral color for 'Share on Others' */
}

.other-share-btn:hover {
    background-color: #5a6268;
}

.btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 8px;
    font-size: 1.2em;
}

.subscribe-btn {
    background-color: #ff0000;
}

.subscribe-btn:hover:not(:disabled) {
    background-color: #cc0000;
}

.follow-btn {
    background-color: #e4405f;
}

.follow-btn:hover:not(:disabled) {
    background-color: #c32c49;
}

.join-btn {
    background-color: #0088cc;
}

.join-btn:hover:not(:disabled) {
    background-color: #006699;
}

.share-btn {
    background-color: #25d366;
}

.share-btn:hover:not(:disabled) {
    background-color: #1ea74d;
}

.btn:hover:not(:disabled) {
    background-color: #0056b3;
}

.btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.unlock-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    text-align: center; /* Ensure content inside is centered */
}

.cases-image {
    max-width: 100%;
    height: auto;
    display: block; /* Ensures it takes up full width and allows margin auto for centering */
    margin: 0 auto 20px auto; /* Center image and add some bottom margin */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.unlock-btn {
    background-color: #87CEEB; /* Light blue */
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex; /* Use inline-flex to center content */
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(135, 206, 235, 0.3); /* Adjust shadow to match new color */
}

.unlock-btn i {
    font-size: 1.4em; /* Make the icon slightly larger */
}

.unlock-btn:hover:not(:disabled) {
    background-color: #6495ED; /* Slightly darker blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(135, 206, 235, 0.4); /* Adjust shadow to match new color */
}

.unlock-btn:disabled {
    background: linear-gradient(45deg, #6c757d, #495057); /* Muted gradient for locked state */
    color: #ced4da; /* Lighter text color */
    cursor: not-allowed;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow to make it pop */
    transform: translateY(0); /* Ensure no movement when disabled */
    opacity: 0.7; /* Slightly dim it to show it's inactive */
}

.unlock-btn:disabled:hover {
    background: linear-gradient(45deg, #6c757d, #495057); /* Keep same background on hover when disabled */
    color: #ced4da;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Slightly more pronounced shadow on hover */
}

#message {
    color: #dc3545;
    margin-top: 10px;
    font-weight: bold;
}

#secret-link {
    margin-top: 15px;
    font-size: 1.1em;
}

#secret-link a {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: linear-gradient(45deg, #007bff, #0056b3); /* Blue gradient */
    color: #ffffff;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

#secret-link a:hover {
    background: linear-gradient(45deg, #0056b3, #003f7f); /* Darker blue on hover */
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.hidden {
    display: none;
}

.completed {
    background-color: #28a745;
    color: white;
}

.rewards-section {
    background: linear-gradient(135deg, #e0f7fa 0%, #e8eaf6 100%);
    border: 1px solid #c0d9e4;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(0); /* For subtle animation */
    transition: all 0.3s ease-in-out;
}

.rewards-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.rewards-section p {
    font-weight: bold;
    color: #212121;
    margin-bottom: 15px;
    font-size: 1.1em;
    position: relative;
    padding-bottom: 10px;
}

.rewards-section p::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4fc3f7;
    border-radius: 2px;
}

.rewards-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rewards-section li {
    background-color: #ffffff;
    border: 1px solid #b3e5fc;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px 15px;
    color: #424242;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
    position: relative;
    padding-left: 40px; /* Space for icon */
}

.rewards-section li::before {
    content: '🏆'; /* Trophy emoji as icon */
    position: absolute;
    left: 15px;
    font-size: 1.2em;
    line-height: 1;
}

.rewards-section li:nth-child(1)::before { content: '🥇'; }
.rewards-section li:nth-child(2)::before { content: '🥈'; }
.rewards-section li:nth-child(3)::before { content: '🥉'; }

.rewards-section li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.rewards-section li:last-child {
    margin-bottom: 0;
}

.highlight-border {
    border: 3px solid #ffc107 !important; /* Yellow border for highlight */
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6) !important;
}

@keyframes vibrate {
    0% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

.vibrate {
    animation: vibrate 0.3s ease-in-out;
}
