/* ==================== NEW FEATURES ==================== */

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Mystery Box Enhancements */
.mystery-box {
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.mystery-box.glitch-active {
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.easter-egg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--accent-color);
    padding: 2rem;
    color: var(--accent-color);
    font-family: monospace;
    font-size: 1rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
    max-width: 80%;
    box-shadow: 0 0 30px rgba(129, 140, 248, 0.5);
}

.easter-egg.revealed {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(129, 140, 248, 0.5);
    }
    50% {
        box-shadow: 0 0 50px rgba(129, 140, 248, 0.8);
    }
}

.mystery-countdown {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.countdown-label {
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.countdown-timer {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 700;
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, transparent, rgba(129, 140, 248, 0.03));
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.2);
}

.newsletter-form button {
    white-space: nowrap;
}

.newsletter-feedback {
    width: 100%;
    margin-top: 1rem;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.newsletter-feedback.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.newsletter-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Press Kit Page */
.presskit-hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.presskit-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.presskit-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.presskit-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.presskit-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.presskit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.presskit-card {
    background: var(--card-bg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.presskit-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.presskit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.presskit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 10px 20px;
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    border-radius: 4px;
}

.download-btn:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateX(5px);
}

.fact-list {
    list-style: none;
    padding: 0;
}

.fact-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.fact-list li:last-child {
    border-bottom: none;
}

/* Careers Page */
.careers-hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.careers-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.careers-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.careers-status {
    background: rgba(129, 140, 248, 0.05);
    border: 1px solid rgba(129, 140, 248, 0.2);
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    border-radius: 8px;
}

.careers-status h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.careers-status p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.culture-item {
    background: var(--card-bg);
    padding: 2rem;
    border-left: 3px solid var(--accent-color);
    transition: all 0.2s;
}

.culture-item:hover {
    transform: translateX(10px);
    background: rgba(129, 140, 248, 0.05);
}

.culture-item::before {
    content: "✓";
    display: inline-block;
    margin-right: 0.75rem;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.contact-box {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    margin-top: 2rem;
    text-align: center;
    border-radius: 8px;
}

.contact-box p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-email {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-email:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        min-width: 100%;
    }

    .presskit-hero h1,
    .careers-hero h1 {
        font-size: 2.5rem;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }
}
