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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
}

pre code {
  white-space: pre-wrap; /* Wrap long lines */
  word-break: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: #252525;
    border-bottom: 1px solid #3a3a3a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 22px;
    color: #4dabf7;
}

.logo i {
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}

nav a:hover {
    color: #4dabf7;
}

.nav-link-disabled {
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to bottom, rgba(37,37,37,0.7), rgba(26,26,26,0.5)),
              url("../assets/images/hero.jpeg") no-repeat center center/cover;
    /*background: linear-gradient(to bottom, #252525, #1a1a1a);*/
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #ccc;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: #0078d4;
    color: white;
}

.btn-primary:hover {
    background: #106ebe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4dabf7;
    border: 2px solid #4dabf7;
}

.btn-secondary:hover {
    background: rgba(77, 171, 247, 0.1);
    transform: translateY(-2px);
}

.btn-disabled {
    background: #666 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.6;
    pointer-events: none;
}

.btn-disabled:hover {
    background: #666 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Features Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 15px;
}

.section-title p {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #252525;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s;
    border: 1px solid #3a3a3a;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 40px;
    color: #4dabf7;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #ccc;
}

/* Tutorials Section */
.tutorials {
    background: #1e1e1e;
}

.tutorial-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: #2d2d2d;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: #0078d4;
    border-color: #0078d4;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.tutorial-card {
    background: #252525;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #3a3a3a;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.tutorial-image {
    height: 200px;
    background: linear-gradient(45deg, #0078d4, #4dabf7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    overflow: hidden;
    position: relative;
}

.tutorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

/* Custom image cropping options */
.tutorial-image img.crop-top {
    object-position: top center;
}

.tutorial-image img.crop-bottom {
    object-position: bottom center;
}

.tutorial-image img.crop-left {
    object-position: left center;
}

.tutorial-image img.crop-right {
    object-position: right center;
}

.tutorial-image img.crop-top-left {
    object-position: top left;
}

.tutorial-image img.crop-top-right {
    object-position: top right;
}

.tutorial-image img.crop-bottom-left {
    object-position: bottom left;
}

.tutorial-image img.crop-bottom-right {
    object-position: bottom right;
}

/* Custom aspect ratios */
.tutorial-image.aspect-16-9 {
    aspect-ratio: 16/9;
}

.tutorial-image.aspect-4-3 {
    aspect-ratio: 4/3;
}

.tutorial-image.aspect-1-1 {
    aspect-ratio: 1/1;
}

.tutorial-image.aspect-3-2 {
    aspect-ratio: 3/2;
}

/* Custom image sizing */
.tutorial-image img.fit-contain {
    object-fit: contain;
    background: #1a1a1a;
}

.tutorial-image img.fit-fill {
    object-fit: fill;
}

.tutorial-image img.fit-scale-down {
    object-fit: scale-down;
}

.tutorial-image i {
    position: relative;
    z-index: 1;
}

.tutorial-content {
    padding: 25px;
}

.tutorial-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.tutorial-card p {
    color: #ccc;
    margin-bottom: 20px;
}

.tutorial-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 14px;
}

.read-more {
    display: inline-block;
    color: #4dabf7;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
}

.read-more:hover {
    text-decoration: underline;
}

/* Downloads Section */
.downloads {
    text-align: center;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.platform-card {
    background: #252525;
    border-radius: 10px;
    padding: 40px 30px;
    border: 1px solid #3a3a3a;
    transition: transform 0.3s;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.platform-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
}

.platform-card p {
    color: #ccc;
    margin-bottom: 25px;
}

.download-btn {
    padding: 12px 25px;
    background: #6bcf7f;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background: #5bbf6f;
    transform: translateY(-2px);
}

.download-btn-disabled {
    background: #666 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.6;
}

.download-btn-disabled:hover {
    background: #666 !important;
    transform: none !important;
}

.platform-unavailable {
    opacity: 0.7;
}

.platform-unavailable .platform-icon i {
    color: #666;
}

.platform-unavailable h3 {
    color: #888;
}

.platform-unavailable p {
    color: #666;
}

.version-info {
    margin-top: 40px;
    color: #888;
    font-size: 14px;
}

/* Footer */
footer {
    background: #151515;
    padding: 60px 0 30px;
    border-top: 1px solid #2d2d2d;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4dabf7;
}

.footer-link-disabled {
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #252525;
    border-radius: 50%;
    color: #e0e0e0;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #4dabf7;
    color: white;
    transform: translateY(-3px);
}

.social-link-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #252525;
    border-radius: 50%;
    color: #666;
    opacity: 0.5;
    cursor: not-allowed;
}

.social-link-disabled i {
    color: #666;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2d2d2d;
    color: #888;
    font-size: 14px;
}

/* Search and Dynamic Elements */
.search-container {
    position: relative;
    margin-top: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #3a3a3a;
    border-radius: 25px;
    background: #2d2d2d;
    color: #e0e0e0;
    font-size: 16px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #4dabf7;
    background: #252525;
    box-shadow: 0 0 0 2px rgba(77, 171, 247, 0.2);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.show-more-features {
    margin-left: 20px;
    margin-top: 20px;
}

.platform-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #3a3a3a;
    text-align: left;
}

.platform-details p {
    margin-bottom: 10px;
    color: #ccc;
}

.platform-details ul {
    list-style: none;
    padding: 0;
}

.platform-details li {
    padding: 5px 0;
    color: #ccc;
    position: relative;
    padding-left: 20px;
}

.platform-details li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6bcf7f;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .feature-card, .tutorial-card, .platform-card {
        padding: 20px;
    }
}

/* Patreon Support Section */
.patreon-support {
    background: #1e1e1e;
    padding: 80px 0;
}

.patreon-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.patreon-text {
    flex: 1;
    min-width: 300px;
}

.patreon-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.patreon-text li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.patreon-text li i {
    margin-right: 10px;
    color: #6bcf7f;
}

.patreon-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.benefit {
    background: #252525;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s;
    border: 1px solid #3a3a3a;
    text-align: center;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.benefit i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #e85c48;/*#FF424D; /* Patreon orange/red color */
}

.benefit h4 {
    margin: 0.5rem 0;
    color: #ffffff;
}

.benefit p {
    font-size: 0.9rem;
    margin: 0;
    color: #ccc;
}

.patreon-cta {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.patreon-card {
    background: #252525;
    color: #e0e0e0;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    border: 1px solid #3a3a3a;
    transition: transform 0.3s;
}

.patreon-card:hover {
    transform: translateY(-5px);
}

.patreon-card i {
    font-size: 3rem;
    color: #e85c48;/*#FF424D; /* Patreon orange/red color */
    margin-bottom: 1rem;
}

.patreon-card h3 {
    margin: 1rem 0;
    color: #ffffff;
}

.patreon-card p {
    margin-bottom: 1.5rem;
    color: #ccc;
}

.btn-patreon {
    background: #e85c48;/*#FF424D; /* Patreon orange/red color */
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-patreon:hover {
    background: #d1503c; /* Slightly darker Patreon color */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 66, 77, 0.4);
}

.btn-patreon i {
    color: white !important; /* White icon on orange background */
    font-size: 1.2rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .patreon-content {
        flex-direction: column;
    }
    
    .patreon-card {
        max-width: 100%;
    }
}