/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #111;
    background-color: #FAFAFA;
    font-size: 18px;
}

/* Container and layout */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #111;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

/* Links */
a {
    color: #111;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

.link {
    color: #FF7A18;
}

.link:hover {
    color: #e66a0f;
    text-decoration: underline;
}

/* Pills (buttons) */
.pill {
    display: inline-block;
    background-color: #FF7A18;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pill:hover {
    background-color: #e66a0f;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 100;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #111;
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
}

.nav-link:hover {
    color: #FF7A18;
    text-decoration: none;
}

/* Main content */
.main {
    padding: 2rem 0 4rem;
}

/* Sections */
section {
    margin-bottom: 2.5rem;
}

/* Intro */
.intro h1 {
    margin-bottom: 1.5rem;
}

.intro p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.disclaimer {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-top: 1rem;
}

/* Start here */
.start-here p {
    margin-bottom: 1rem;
}

.start-here .pill {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Current bonus */
.current-bonus .link {
    font-size: 1.1rem;
    font-weight: 500;
}

.note {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Links list */
.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.link-list .link {
    font-weight: 500;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Videos */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.video-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.video-thumbnail {
    width: 120px;
    height: 80px;
    background-color: #f0f0f0;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.video-info .link {
    font-size: 0.9rem;
}

/* Portugal notes */
.portugal-notes h3 {
    color: #FF7A18;
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.portugal-notes p {
    margin-bottom: 1.5rem;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 200px;
    background-color: white;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #FF7A18;
}

.newsletter-form .pill {
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: #FF7A18;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav {
        gap: 1.5rem;
    }
    
    .video-item {
        flex-direction: column;
    }
    
    .video-thumbnail {
        width: 100%;
        height: 120px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        min-width: auto;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #111;
        color: #FAFAFA;
    }
    
    .header {
        background-color: rgba(17, 17, 17, 0.95);
        border-bottom-color: #333;
    }
    
    h1, h2, h3 {
        color: #FAFAFA;
    }
    
    .logo {
        color: #FAFAFA;
    }
    
    .nav-link {
        color: #ccc;
    }
    
    .nav-link:hover {
        color: #FF7A18;
    }
    
    .intro p {
        color: #ccc;
    }
    
    .disclaimer {
        color: #888;
    }
    
    .note {
        color: #888;
    }
    
    .video-thumbnail {
        background-color: #333;
        border-color: #444;
    }
    
    .newsletter-form input {
        background-color: #222;
        border-color: #444;
        color: #FAFAFA;
    }
    
    .newsletter-form input:focus {
        border-color: #FF7A18;
    }
    
    .footer {
        border-top-color: #333;
        color: #888;
    }
    
    .social-links a {
        color: #888;
    }
    
    .social-links a:hover {
        color: #FF7A18;
    }
}