@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --black: #0f172a;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --white: #ffffff;
    font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-800) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding-bottom: 6rem;
}

.container {
    width: 100%;
    max-width: 32rem;
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

.progress-container {
    width: 90%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 2rem auto 3rem auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.progress-bar {
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: width 0.3s ease;
    position: relative;
}


.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.main-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: cardEntrance 0.5s forwards;
    position: relative;
    margin-top: 1rem;
    flex: 1;
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.icon-container {
    display: flex;
    justify-content: center;
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    z-index: 2;
}

.icon-circle {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 1.5rem;
    padding: 1px;
    width: 5.5rem;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
}

.icon-circle2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 100%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--black);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.icon-circle2:hover {
    transform: rotate(0deg) scale(1.05);
}

.icon-circle:hover {
    transform: rotate(0deg) scale(1.05);
}

.spy-icon {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    text-align: center;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.question {
    text-align: center;
    color: var(--gray-100);
    margin-bottom: 2rem;
    font-weight: 500;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.action-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    font-weight: 600;
    gap: 1.25rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 6rem;
}

.action-button::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: 0.5s;
}

.action-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

.action-button:hover::before {
    left: 100%;
}

.action-button:hover::after {
    opacity: 1;
}

.action-button img {
    width: 2.5rem;
    height: 2.5rem;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.action-button:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

.button-icon {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.action-button:hover .button-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.bottom-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 24rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem;
    border-radius: 0.75rem;
    cursor: default;
}

.nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active::before {
    opacity: 1;
}

.nav-icon {
    width: 1.75rem;
    height: 1.75rem;
    fill: currentColor;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(37, 99, 235, 0.3));
}

.nav-item img {
    width: 1.75rem;
    height: 1.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(37, 99, 235, 0.3));
}

.nav-item svg {
    width: 1.75rem;
    height: 1.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 2px rgba(37, 99, 235, 0.3));
}

.nav-item:hover .nav-icon,
.nav-item:hover img,
.nav-item:hover svg {
    transform: translateY(-2px) scale(1.1);
    filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.5));
}

.nav-item span {
    font-size: 0.875rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--gray-400) 0%, var(--gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-item.active span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .container {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .progress-container {
        width: calc(100% - 3rem);
        margin: 2rem auto 3rem auto;
    }

    .main-card {
        border-radius: 2rem;
        margin: 1rem 1rem 0 1rem;
        width: calc(100% - 2rem);
    }

    .bottom-nav {
        width: calc(100% - 2rem);
        max-width: 100%;
        bottom: 1rem;
        padding: 1rem 2rem;
    }
}

/* Input styles */
.input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.at-symbol {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.username-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    padding: 0.25rem;
}

.username-input::placeholder {
    color: var(--gray-400);
}

.username-input:focus {
    outline: none;
}

.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--gray-300);
    font-size: 0.875rem;
}

.security-info svg {
    color: var(--primary);
}

/* Warning message */
.warning-message {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2) 0%, rgba(255, 107, 0, 0.1) 100%);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.warning-message svg {
    color: #FF6B00;
    flex-shrink: 0;
}

.warning-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.warning-title {
    color: #FF6B00;
    font-weight: 600;
    font-size: 1rem;
}

.warning-subtitle {
    color: rgba(255, 243, 224, 0.8);
    font-size: 0.875rem;
}

/* Error message */
.error-message {
    color: #FF4444;
    text-align: center;
    margin: 1rem 0;
    font-size: 0.875rem;
    display: none;
}

/* Feedback section */
.feedback-section {
    margin-top: 2.5rem;
}

.feedback-section h2 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card {
    color: black;
}

.feedback-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.profile-image {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-weight: 600;
    color: var(--white);
}

.profile-username {
    color: var(--gray-300);
    font-size: 0.875rem;
}

.feedback-time {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.feedback-text {
    color: var(--gray-200);
    line-height: 1.5;
    margin: 0;
}

/* Loading animation */
.loading-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.loading-ring {
    display: block;
    position: relative;
    width: 5rem;
    height: 5rem;
}

.loading-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 4rem;
    height: 4rem;
    margin: 0.5rem;
    border: 0.25rem solid var(--primary);
    border-radius: 50%;
    animation: loading-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary) transparent transparent transparent;
}

.loading-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.loading-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.loading-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes loading-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.username-highlight {
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: username-pulse 2s infinite;
}

@keyframes username-pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Verification page styles */
.verificar-page .icon-circle {
    overflow: hidden;
    padding: 0;
}

.verificar-page .spy-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.display-name {
    text-align: center;
    font-size: 1.25rem;
    margin: 1rem 0 0.5rem 0;
    color: var(--white);
    font-weight: 500;
}

.action-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.action-button.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-button.secondary:hover {
    color: var(--white);
}

.action-button.secondary:hover::before {
    opacity: 1;
}

.action-button.secondary svg {
    transition: transform 0.3s ease;
}

.action-button.secondary:hover svg {
    transform: translateX(-4px);
}

/* Results page styles */
.results-page .icon-circle2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 100%;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--black);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.results-page .icon-circle2:hover {
    transform: rotate(0deg) scale(1.05);
}

.results-page .spy-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.results-page .progress-bar {
    width: 65% !important;
}

.username {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-200) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.instagram-handle {
    text-align: center;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 1.5rem 0;
}

.result-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    gap: 15px;
}

.result-item.show {
    opacity: 1;
    transform: translateY(0);
}

.result-item img {
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.result-item p {
    margin: 0;
    font-size: 14px;
    color: var(--white);
}

.result-item svg {
    color: var(--white);
    flex-shrink: 0;
}

.results-container {
    margin-bottom: 70px;
    padding: 20px 0;
} 