@import url('./notyf.css');

/* Estilos personalizados do projeto */

* {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.bg-gray-900 {
    background-color: #0E1015 !important;
}

/* Botões flutuantes de redes sociais */
.floating-social-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-social-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.floating-social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-social-button i {
    font-size: 20px;
    color: white;
    z-index: 2;
}

.floating-social-button.telegram {
    background: linear-gradient(135deg, #0088cc, #00a8ff);
    animation: slideInRight 0.5s ease-out, pulse 2s infinite 0.5s;
}

.floating-social-button.telegram:hover {
    background: linear-gradient(135deg, #0077b3, #0099e6);
    animation-play-state: paused;
}

.floating-social-button.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: slideInRight 0.5s ease-out, pulseWhatsapp 2s infinite 0.5s;
}

.floating-social-button.whatsapp:hover {
    background: linear-gradient(135deg, #1eb854, #0f7a6b);
    animation-play-state: paused;
}

.floating-social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.floating-social-button:hover::before {
    transform: scale(1);
}

/* Animação de entrada */
.floating-social-button {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(0, 136, 204, 0.4);
    }

    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(0, 136, 204, 0.1);
    }

    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(0, 136, 204, 0.4);
    }
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .floating-social-buttons {
        right: 15px;
        bottom: 15px;
    }

    .floating-social-button {
        width: 42px;
        height: 42px;
    }

    .floating-social-button i {
        font-size: 18px;
    }
}

/* Botões temáticos de tesouro */
.treasure-button {
    background-color: #4D4737;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.treasure-button:hover {
    transform: scale(1.05);
}

.treasure-button-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treasure-button-text {
    color: rgba(241, 231, 103, 1);
    font-weight: bold;
    font-size: 0.875rem;
}

.treasure-button-icon {
    color: rgba(241, 231, 103, 1);
    margin-right: 0.5rem;
}

.treasure-button-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 0, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.treasure-button:hover .treasure-button-glow {
    opacity: 0.3;
}

.treasure-button-shadow {
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 0.25rem;
    background-color: rgba(139, 69, 19, 0.5);
    border-radius: 50%;
    filter: blur(4px);
}

/* Responsividade para botões de tesouro */
@media (min-width: 640px) {
    .treasure-button-text {
        font-size: 1rem;
    }
}


/* Modais de pergaminho */
.modal-parchment {
    position: relative;
    max-width: 28rem;
    width: 100%;
    margin: 0 auto;
}

.modal-parchment-bg {
    width: 100%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-parchment-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 2rem;
}

.modal-parchment-header {
    text-align: center;
    margin-bottom: 1rem;
}

.modal-parchment-title {
    font-family: 'Trade Winds', cursive;
    font-size: 1.5rem;
    font-weight: bold;
    color: #92400e;
    margin: 0;
}

.modal-parchment-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-parchment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.modal-parchment-form-single {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-parchment-field {
    display: flex;
    flex-direction: column;
}

.modal-parchment-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #92400e;
    margin-bottom: 0.25rem;
}

.modal-parchment-input {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #d97706;
    background-color: #fef3c7;
    color: #92400e;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.modal-parchment-input:focus {
    outline: none;
    border-color: #b45309;
    background-color: #fde68a;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.modal-parchment-button {
    position: relative;
    background-color: #4D4737;
    color: rgba(241, 231, 103, 1);
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.modal-parchment-button:hover {
    transform: scale(1.05);
    background-color: #3a3429;
}

.modal-parchment-button-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 0, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-parchment-button:hover .modal-parchment-button-glow {
    opacity: 0.3;
}

.modal-parchment-button-shadow {
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 0.25rem;
    background-color: rgba(139, 69, 19, 0.5);
    border-radius: 50%;
    filter: blur(4px);
}

.modal-parchment-link {
    text-align: center;
    margin-top: 0.75rem;
}

.modal-parchment-link-button {
    background: none;
    border: none;
    color: #b45309;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-parchment-link-button:hover {
    color: #92400e;
}

.modal-parchment-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #92400e;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-parchment-close:hover {
    color: #b45309;
}

/* Botões temáticos do header */
.header-treasure-button {
    position: relative;
    background-image: url('../card-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    min-width: 120px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-treasure-button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.header-treasure-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.header-treasure-button-text {
    color: #40210B;
    font-family: 'Trade Winds', cursive;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.header-treasure-button-icon {
    margin-right: 0.5rem;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.header-treasure-button-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(241, 231, 103, 0.2), rgba(217, 119, 6, 0.2));
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-treasure-button:hover .header-treasure-button-glow {
    opacity: 1;
}

.header-treasure-button-shadow {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 8px;
    background: rgba(139, 69, 19, 0.3);
    border-radius: 50%;
    filter: blur(4px);
}

/* Responsividade para modais */
@media (max-width: 640px) {
    .modal-parchment {
        max-width: 90vw;
    }

    .modal-parchment-content {
        padding: 0.75rem 1.5rem;
    }

    .modal-parchment-header {
        margin-bottom: 0.75rem;
    }

    .modal-parchment-title {
        font-size: 1.25rem;
    }

    .modal-parchment-form {
        gap: 0.5rem;
    }

    .modal-parchment-form-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }

    .modal-parchment-input {
        padding: 0.4rem;
        font-size: 0.8rem;
    }

    .modal-parchment-button {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .modal-parchment-link {
        margin-top: 0.5rem;
    }
}

@media (min-width: 640px) {
    .modal-parchment {
        max-width: 32rem;
    }

    .modal-parchment-content {
        padding: 2.5rem 2rem;
    }

    .modal-parchment-title {
        font-size: 1.75rem;
    }
}