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

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: rgb(229, 242, 242);
    background-color: #1a1a2e;
}

/* Navigation */
nav {
    border-bottom: 1px solid #3a3a52;
    padding: 1rem 0;
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: rgb(233, 203, 157);
}

.subheader {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-text-links {
    display: flex;
    gap: 2rem;
}

.nav-social-icons {
    display: flex;
    gap: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: rgb(229, 242, 242);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #8b5cf6;
}

.nav-links a.active {
    color: #8b5cf6;
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
    border-radius: 1px;
}

.github-icon, .x-icon, .linkedin-icon, .email-icon {
    display: flex;
    align-items: center;
}

.github-icon svg, .x-icon svg, .linkedin-icon svg, .email-icon svg {
    fill: rgb(233, 203, 157);
    transition: fill 0.2s ease;
}

.github-icon:hover svg, .x-icon:hover svg, .linkedin-icon:hover svg, .email-icon:hover svg {
    fill: #8b5cf6;
}

/* Meetup announcement */
.meetup-announcement {
    background: rgba(139, 92, 246, 0.15);
    border-bottom: 1px solid #3a3a52;
    padding: 0;
}

.announcement-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    text-align: center;
}

.meetup-announcement p {
    margin: 0;
    font-size: 0.9rem;
    color: rgb(229, 242, 242);
    font-weight: 400;
}

.meetup-announcement a {
    color: #c4b5fd;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.meetup-announcement a:hover {
    color: #8b5cf6;
}

/* Main content */
main {
    min-height: calc(100vh - 120px);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Headers */
.site-header, .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.site-header h1, .page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: rgb(233, 203, 157);
}

.site-header p, .page-header p {
    color: rgb(229, 242, 242);
    font-size: 1.1rem;
}

/* Blog posts */
.section-header {
    color: rgb(233, 203, 157);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    font-weight: 600;
}

.section-header:first-of-type {
    margin-top: 0;
}

.post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-card-link .post-summary {
    cursor: pointer;
}

.post-card-link .post-summary h2 {
    color: rgb(233, 203, 157);
    transition: color 0.2s ease;
}

.post-card-link .post-summary h3 {
    color: rgb(233, 203, 157);
    transition: color 0.2s ease;
}

.post-card-link:hover .post-summary h2 {
    color: #8b5cf6;
}

.post-card-link:hover .post-summary h3 {
    color: #8b5cf6;
}
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-summary {
    border-bottom: 1px solid #3a3a52;
    padding-bottom: 2rem;
    background: rgba(58, 58, 82, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.post-summary:last-child {
    border-bottom: none;
}

.post-summary:hover {
    background: rgba(58, 58, 82, 0.5);
    transform: translateY(-2px);
}

.post-summary h2, .post-summary h3 {
    margin-bottom: 0.5rem;
}

.post-summary h2 a, .post-summary h3 a {
    text-decoration: none;
    color: rgb(233, 203, 157);
    transition: color 0.2s ease;
}

.post-summary h2 a:hover, .post-summary h3 a:hover {
    color: #8b5cf6;
}

.post-meta {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.post-meta a {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-meta a:hover {
    color: #06b6d4;
    text-decoration: underline;
}

/* Post tags */
.post-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.post-card-link:hover .tag {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
}

/* Blog post page tags section */
.post-tags-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #3a3a52;
}

.post-tags-section .post-tags {
    margin-top: 0;
}

/* Blog post page */
.blog-post {
    max-width: 700px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #3a3a52;
}

.post-header h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: rgb(233, 203, 157);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.post-content {
    margin-bottom: 3rem;
}

.post-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: rgb(229, 242, 242);
    font-weight: 400;
    margin-bottom: 1rem;
}

.post-content h1, .post-content h2, .post-content h3 {
    margin: 2rem 0 1rem 0;
    color: rgb(233, 203, 157);
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

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

.post-content code {
    background-color: #2d2d47;
    color: #06b6d4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', monospace;
    font-size: 0.9rem;
}

.post-content pre {
    background-color: #16213e;
    border: 1px solid #3a3a52;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content blockquote {
    border-left: 4px solid #8b5cf6;
    margin: 1rem 0;
    padding-left: 1rem;
    color: rgb(229, 242, 242);
    background: rgba(139, 92, 246, 0.1);
    padding: 1rem 1rem 1px 1.5rem;
    border-radius: 0 8px 8px 0;
}

.post-content blockquote p {
    margin-bottom: 5;
}

.post-content a {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-content a:hover {
    color: #06b6d4;
    text-decoration: underline;
}

.back-link {
    color: rgb(229, 242, 242);
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #8b5cf6;
}

/* Apps and about pages */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(139, 92, 246, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 8px 16px rgba(139, 92, 246, 0.3);
}

.about-text p {
    margin-bottom: 1rem;
}

.about-content a {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-content a:hover {
    color: #06b6d4;
    text-decoration: underline;
}

.apps-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.app-card {
    border: 1px solid #3a3a52;
    background: rgba(58, 58, 82, 0.3);
    padding: 2rem;
    border-radius: 12px;
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.app-logo {
    flex-shrink: 0;
    order: 2;
}

.app-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.app-card-content {
    flex: 1;
    order: 1;
}

.app-card:hover {
    background: rgba(58, 58, 82, 0.5);
    border-color: #8b5cf6;
    transform: translateY(-2px);
}

.app-card h3 {
    margin-bottom: 1rem;
    color: rgb(233, 203, 157);
}

.app-card {
    cursor: pointer;
}

.app-card:hover h3 {
    color: #8b5cf6;
}

.app-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.app-category, .app-platform {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.app-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.app-status {
    color: #fbbf24;
    font-weight: 500;
    font-size: 0.9rem;
}

.app-link {
    color: #8b5cf6;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #8b5cf6;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.app-link:hover {
    background-color: #8b5cf6;
    color: #1a1a2e;
}

/* App detail page */
.app-detail {
    max-width: 700px;
    margin: 0 auto;
}

.app-header {
    margin-bottom: 3rem;
    text-align: center;
}

.app-header h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: rgb(233, 203, 157);
}

.app-header .app-meta {
    justify-content: center;
    margin-bottom: 1rem;
}

.app-description {
    font-size: 1.2rem;
    color: rgb(229, 242, 242);
    margin-bottom: 2rem;
}

.app-header .app-actions {
    justify-content: center;
}

.app-tech {
    margin-bottom: 3rem;
}

.app-tech h2 {
    color: rgb(233, 203, 157);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(6, 182, 212, 0.2);
    color: #67e8f9;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.app-content {
    margin-bottom: 3rem;
}

.app-content h1, .app-content h2, .app-content h3 {
    margin: 2rem 0 1rem 0;
    color: rgb(233, 203, 157);
}

.app-content h2 {
    font-size: 1.5rem;
}

.app-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

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

.app-content strong {
    color: rgb(233, 203, 157);
    font-weight: 600;
}

/* App screenshots */
.app-screenshots {
    margin-bottom: 3rem;
}

.app-screenshots h2 {
    color: rgb(233, 203, 157);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0 auto;
    max-width: 500px;
}

.screenshot {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #3a3a52;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    justify-self: center;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.screenshot:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

/* Practice video */
.practice-video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0 2rem 0;
}

.practice-video {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #3a3a52;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.video-description {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
    font-style: italic;
    max-width: 500px;
}

/* Image container for responsive blog images */
.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0 2rem 0;
}

.image-container img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(139, 92, 246, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 0;
}

.image-container img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 8px 16px rgba(139, 92, 246, 0.3);
}

.image-description {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
    font-style: italic;
    max-width: 100%;
}

.image-description code {
    background-color: #2d2d47;
    color: #06b6d4;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', monospace;
    font-size: 0.8rem;
    font-style: italic;
}

.video-description code {
    background-color: #2d2d47;
    color: #06b6d4;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', monospace;
    font-size: 0.8rem;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s ease;
}

.close:hover,
.close:focus {
    color: #8b5cf6;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1001;
    pointer-events: none;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(139, 92, 246, 0.8);
    transform: scale(1.1);
}

.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 1001;
}

/* App Store link styling */
.app-store-link {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white !important;
    border: none !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-link:hover {
    background: linear-gradient(135deg, #7c3aed, #0891b2) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.back-link-container {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #3a3a52;
}

/* Footer */
footer {
    border-top: 1px solid #3a3a52;
    padding: 2rem 0;
    margin-top: 3rem;
    background: rgba(26, 26, 46, 0.5);
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    color: #94a3b8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.footer-container a {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-container a:hover {
    color: #06b6d4;
}

/* Related content sections */
.related-posts, .related-apps {
    margin-bottom: 3rem;
}

.related-posts h2, .related-apps h2 {
    color: rgb(233, 203, 157);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #3a3a52;
    padding-bottom: 0.5rem;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.posts-list .post-summary {
    border-bottom: none;
    background: rgba(58, 58, 82, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-bottom: 0;
}

.posts-list .post-summary:hover {
    background: rgba(58, 58, 82, 0.5);
    transform: translateY(-2px);
}

.posts-list .post-summary h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.posts-list .post-summary h3 a {
    text-decoration: none;
    color: rgb(233, 203, 157);
    transition: color 0.2s ease;
}

.posts-list .post-summary h3 a:hover {
    color: #8b5cf6;
}

.posts-list .post-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.posts-list .post-card-link .post-summary {
    cursor: pointer;
}

.posts-list .post-card-link .post-summary h3 {
    color: rgb(233, 203, 157);
    transition: color 0.2s ease;
}

.posts-list .post-card-link:hover .post-summary h3 {
    color: #8b5cf6;
}

.post-excerpt {
    margin-bottom: 1rem;
    color: rgb(229, 242, 242);
    line-height: 1.6;
}

.apps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.apps-list .app-summary {
    background: rgba(58, 58, 82, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.apps-list .app-summary:hover {
    background: rgba(58, 58, 82, 0.5);
    transform: translateY(-2px);
}

.apps-list .app-summary h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.apps-list .app-summary h3 a {
    text-decoration: none;
    color: rgb(233, 203, 157);
    transition: color 0.2s ease;
}

.apps-list .app-summary h3 a:hover {
    color: #8b5cf6;
}

.apps-list .app-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.apps-list .app-card-link .app-summary {
    cursor: pointer;
}

.apps-list .app-card-link .app-summary h3 {
    color: rgb(233, 203, 157);
    transition: color 0.2s ease;
}

.apps-list .app-card-link:hover .app-summary h3 {
    color: #8b5cf6;
}

.apps-list .app-description {
    margin-bottom: 1rem;
    color: rgb(229, 242, 242);
    line-height: 1.6;
}

.apps-list .app-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.apps-list .app-category, .apps-list .app-platform {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-section {
        text-align: center;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    
    .nav-text-links {
        gap: 1.5rem;
    }
    
    .nav-social-icons {
        gap: 1rem;
    }

    .meetup-announcement p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .site-header h1, .page-header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .screenshot-gallery {
        grid-template-columns: 1fr;
        max-width: 200px;
        gap: 1rem;
    }
    
    .screenshot {
        max-width: 180px;
    }
    
    /* Mobile modal adjustments */
    .modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .nav-btn {
        font-size: 20px;
        padding: 10px 15px;
        min-width: 50px;
        height: 50px;
    }
    
    .modal-nav {
        padding: 0 10px;
    }
    
    .modal-counter {
        bottom: 10px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .app-card {
        padding: 1.5rem;
    }
    
    .app-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .app-actions {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    /* About page tablet adjustments */
    .about-layout {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }

    .profile-image {
        max-width: 230px;
    }
}

@media (max-width: 480px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
        max-width: 200px;
    }
    
    .screenshot {
        max-width: 180px;
    }
    
    .app-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .app-logo {
        align-self: center;
        order: -1;
    }
    
    .app-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .app-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* About page responsive adjustments */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-image {
        order: -1;
    }

    .profile-image {
        max-width: 220px;
    }

    .about-text {
        text-align: left;
    }
}

/* 404 Error Page Styles */
.not-found-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 8rem;
    font-weight: 600;
    color: #8b5cf6;
    line-height: 1;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.error-title {
    font-size: 2.5rem;
    color: rgb(233, 203, 157);
    margin-bottom: 1rem;
    font-weight: 500;
}

.error-message {
    font-size: 1.2rem;
    color: rgb(229, 242, 242);
    line-height: 1.6;
}

/* Mobile adjustments for 404 page */
@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-message {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-message {
        font-size: 1rem;
    }
}

/* Newsletter form styles */
.newsletter-section {
    text-align: center;
}

.newsletter-section h3 {
    color: rgb(233, 203, 157);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.newsletter-description {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.newsletter-form .form-group {
    display: flex;
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #3a3a52;
    border-radius: 6px;
    background: rgba(58, 58, 82, 0.3);
    color: rgb(229, 242, 242);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(58, 58, 82, 0.5);
}

.newsletter-form input[type="email"]::placeholder {
    color: #94a3b8;
}

.newsletter-form input[type="submit"] {
    padding: 0.625rem 1.375rem;
    background: transparent;
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-form input[type="submit"]:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer-info {
    margin-top: 0;
    text-align: center;
}

/* Mobile footer and newsletter form adjustments */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .newsletter-section {
        order: 1;
    }

    .footer-info {
        order: 2;
    }
}

@media (max-width: 480px) {
    .newsletter-form .form-group {
        flex-direction: column;
        max-width: 100%;
        gap: 0.75rem;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
    }

    .newsletter-form input[type="submit"] {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}