/* PhazeVPN - Easter Egg Styles */

/* ============================================
   EASTER EGG NOTIFICATION
   ============================================ */

.easter-egg-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 350px;
    animation: glow 2s ease infinite;
}

.easter-egg-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.easter-egg-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.easter-egg-icon {
    font-size: 2.5rem;
    animation: pulse 1s ease infinite;
}

.easter-egg-text {
    flex: 1;
}

.easter-egg-text strong {
    display: block;
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.easter-egg-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.easter-egg-text small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.easter-egg-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.easter-egg-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* ============================================
   EASTER EGG COUNTER
   ============================================ */

#easter-egg-counter {
    animation: float 3s ease-in-out infinite;
}

#easter-egg-counter:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* ============================================
   EASTER EGG MODAL
   ============================================ */

.easter-egg-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.easter-egg-modal.show {
    opacity: 1;
    visibility: visible;
}

.easter-egg-modal-content {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
}

.easter-egg-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.easter-egg-modal-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.easter-egg-modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.easter-egg-modal-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.easter-egg-modal-body {
    padding: 1.5rem;
}

.easter-egg-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.easter-egg-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.easter-egg-item.found {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success);
}

.easter-egg-item:not(.found) {
    opacity: 0.6;
}

.easter-egg-status {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.easter-egg-info {
    flex: 1;
}

.easter-egg-info strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.easter-egg-info small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.easter-egg-info em {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-style: italic;
    margin-top: 0.25rem;
}

/* ============================================
   EASTER EGG REWARD MODAL
   ============================================ */

.easter-egg-reward {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    padding: 1rem;
}

.easter-egg-reward.show {
    opacity: 1;
    visibility: visible;
}

.easter-egg-reward-content {
    background: var(--bg-card);
    border: 3px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.5);
    animation: scaleIn 0.5s ease, glow 2s ease infinite;
}

.easter-egg-reward-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 1s ease infinite;
}

.easter-egg-reward-content h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.easter-egg-reward-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ============================================
   EASTER EGG HINT
   ============================================ */

.easter-egg-hint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.easter-egg-hint.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.easter-egg-hint-content {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
    animation: glow 2s ease infinite;
}

.easter-egg-hint-content span:first-child {
    font-size: 1.5rem;
}

.easter-egg-hint-content span:nth-child(2) {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.easter-egg-hint-content button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    margin-left: auto;
}

.easter-egg-hint-content button:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .easter-egg-notification {
        right: 10px;
        top: 10px;
        max-width: calc(100% - 20px);
    }
    
    .easter-egg-modal-content {
        margin: 1rem;
    }
    
    .easter-egg-reward-content {
        padding: 2rem 1.5rem;
    }
    
    #easter-egg-counter {
        bottom: 80px;
        right: 20px;
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

