@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    background: linear-gradient(145deg, #000000 0%, #1a1a1a 100%);
    font-family: 'Space Grotesk', Helvetica, Arial, sans-serif;
    color: #cccccc;
    line-height: 1.8;
    letter-spacing: 0.8px;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    animation: fadeIn 2.5s ease-in;
}

p {
    margin: 2em 0;
    font-size: 1.4rem;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 30px;
    opacity: 0.8;
    font-weight: 300;
}

/* Special styling for the last paragraph */
p:last-child {
    font-size: 1.8rem;
    font-weight: 400;
    color: #ffffff;
    opacity: 0;
    animation: lastLine 5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 9s;
}

p:last-child::before {
    color: #4a9eff;
    opacity: 1;
}

/* Modified staggered animation for paragraphs */
.container p:not(:last-child) {
    animation: slideInThenOut 10s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.container p:nth-child(1) { animation-delay: 0.3s; }
.container p:nth-child(2) { animation-delay: 0.8s; }
.container p:nth-child(3) { animation-delay: 1.3s; }
.container p:nth-child(4) { animation-delay: 1.8s; }
.container p:nth-child(5) { animation-delay: 2.3s; }
.container p:nth-child(6) { animation-delay: 2.8s; }
.container p:nth-child(8) { animation-delay: 3.3s; }
.container p:nth-child(9) { animation-delay: 3.8s; }

/* New animations */
@keyframes slideInThenOut {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    15% {
        opacity: 0.8;
        transform: translateX(0);
    }
    85% {
        opacity: 0.8;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes lastLine {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    30% {
        opacity: 1;
        transform: translateY(0);
    }
    40% {
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(-50vh);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .container {
        padding: 40px 20px;
    }
    
    p {
        font-size: 1.2rem;
        margin: 1.5em 0;
        padding-left: 25px;
    }
    
    p::before {
        font-size: 1.4rem;
    }
} 

/* Add these new styles to your existing CSS */

.plus-button {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #cccccc;
    color: #cccccc;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    padding: 0;
    line-height: 1;
}

.plus-button:hover {
    background: #cccccc;
    color: #000000;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 10px;
    position: relative;
    max-width: 500px;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.modal-text {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 1em 0;
    padding: 0;
    animation: none;
    opacity: 1;
}

.modal-text:before {
    display: none;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #4a9eff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.close-button:hover {
    color: #ffffff;
}

/* Override any animation for modal paragraphs */
.modal p {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
} 

/* Add this to your media queries section */
@media screen and (max-width: 600px) {
    .plus-button {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
} 