:root {
    --primary-color: #0f0f1e;
    --secondary-color: #3498db;
    --accent-color: #8e44ad;
    --text-color: #f8f9fa;
    --background-color: #121212;
    --card-bg: rgba(30, 30, 45, 0.7);
    --gradient-start: #8e44ad;
    --gradient-end: #3498db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(18, 18, 24, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Main Content */
main {
    flex: 1;
    padding: 4rem 0;
    position: relative;
}

.home-page {
    padding-top: 2rem;
}

.main-header {
    text-align: center;
    margin-bottom: 4rem;
}

.title-effect {
    font-size: 5rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.8s;
}

.author {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 1.1s;
}

.abstract {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.abstract::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

.abstract h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.abstract p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.text-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 1.4s;
}

/* Navigation buttons */
.nav-button {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

.next-button, .prev-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.next-button:hover, .prev-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.viral-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Content page styles */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.content-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-page h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
}

.content-page p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-page ul, .content-page ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

/* Footer */
footer {
    background-color: rgba(18, 18, 24, 0.8);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Timeline styles */
.timeline-container {
    position: relative;
    margin: 2rem 0;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    width: 1rem;
    height: 1rem;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.3);
    top: 0.3rem;
}

.timeline-content {
    padding-left: 1.5rem;
}

.timeline-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* References page styles */
.references-list {
    margin: 2rem 0;
    list-style: none;
}

.references-list li {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.references-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.contact-info {
    margin: 2rem 0;
    padding: 2rem;
    background-color: rgba(18, 18, 24, 0.5);
    border-radius: 10px;
    text-align: center;
}

.contact-info h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.social-links {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
}

.social-links li {
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.social-links li:hover {
    transform: translateY(-3px);
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    background-color: rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 250px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.social-links a:hover {
    background-color: rgba(52, 152, 219, 0.4);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-links i {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    width: 1.5rem;
    text-align: center;
}

.social-links .fa-youtube { color: #FF0000; }
.social-links .fa-x-twitter { color: #1DA1F2; }
.social-links .fa-patreon { color: #F96854; }
.social-links .fa-facebook { color: #4267B2; }
.social-links .fa-instagram { color: #E1306C; }

.social-links a:hover i {
    color: white;
}

.qr-code {
    margin: 2rem auto;
    max-width: 200px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive design */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        margin-top: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .title-effect {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .abstract, .content-page {
        padding: 2rem;
    }
    
    .timeline-container {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -2rem;
    }
}
