/* Tutorial Page Styles */

/* Tutorial Hero */
.tutorial-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(180deg, #1a0a2e 0%, var(--dark-bg) 100%);
    border-bottom: 1px solid rgba(255, 0, 255, 0.2);
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

.breadcrumb a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.breadcrumb span {
    color: #ffffff;
}

.tutorial-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.tutorial-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    color: #aaa;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Video Section */
.video-section {
    padding: 3rem 0;
    background: var(--dark-bg);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 0 40px rgba(255, 0, 255, 0.3),
        0 0 80px rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(255, 0, 255, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--neon-cyan);
    font-size: 1.1rem;
}

/* Tutorial Content */
.tutorial-content {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0d0d1a 50%, var(--dark-bg) 100%);
}

.tutorial-article {
    max-width: 900px;
    margin: 0 auto;
}

.tutorial-article h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: var(--neon-cyan);
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
}

.tutorial-article h2:first-of-type {
    margin-top: 0;
}

.tutorial-article p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

/* Intro Box */
.intro-box {
    background: linear-gradient(145deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.05));
    border: 1px solid var(--neon-cyan);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.intro-box h2 {
    margin: 0 0 1rem 0 !important;
    border: none !important;
    color: #ffffff !important;
}

.intro-box p {
    margin-bottom: 0;
}

/* Requirements List */
.requirements-list,
.tips-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.requirements-list li,
.tips-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.6;
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-weight: bold;
}

.tips-list li::before {
    content: '🔹';
    position: absolute;
    left: 0;
}

/* Code Block */
.code-block {
    background: #0d0d0d;
    border-radius: 10px;
    margin: 1.5rem 0;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(90deg, rgba(255, 0, 255, 0.2), rgba(0, 255, 255, 0.1));
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
}

.code-header span {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.4rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.95rem;
    color: #00ff88;
    line-height: 1.8;
}

/* Info, Warning, Success Boxes */
.info-box,
.warning-box,
.success-box,
.help-box {
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box {
    background: rgba(0, 255, 255, 0.1);
    border-left: 4px solid var(--neon-cyan);
}

.warning-box {
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid #ffa500;
}

.success-box {
    background: linear-gradient(145deg, rgba(0, 255, 100, 0.1), rgba(0, 255, 255, 0.05));
    border: 1px solid #00ff64;
    text-align: center;
}

.success-box h3 {
    color: #00ff64;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
}

.help-box {
    background: linear-gradient(145deg, rgba(255, 0, 255, 0.1), rgba(100, 0, 200, 0.1));
    border: 1px solid var(--neon-pink);
    text-align: center;
    margin-top: 3rem;
}

.help-box h3 {
    color: var(--neon-pink);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
}

/* URL Box */
.url-box {
    background: #0d0d0d;
    border: 1px solid var(--neon-cyan);
    border-radius: 10px;
    padding: 1.2rem 2rem;
    text-align: center;
    margin: 1.5rem 0;
}

.url-box code {
    font-family: 'Consolas', monospace;
    font-size: 1.2rem;
    color: var(--neon-cyan);
}

/* Social Buttons in Help Box */
.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-discord,
.btn-youtube {
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: #ffffff;
}

.btn-discord:hover {
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.6);
    transform: translateY(-3px);
}

.btn-youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: #ffffff;
}

.btn-youtube:hover {
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .tutorial-title {
        font-size: 1.8rem;
    }

    .tutorial-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .tutorial-article h2 {
        font-size: 1.3rem;
    }

    .tutorial-article p,
    .requirements-list li,
    .tips-list li {
        font-size: 1rem;
    }

    .code-block code {
        font-size: 0.85rem;
    }

    .video-wrapper {
        border-radius: 10px;
    }

    .social-buttons {
        flex-direction: column;
    }
}

/* Tutorials Overview Page */
.tutorials-intro {
    font-size: 1.2rem;
    color: #bbbbbb;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.tutorials-grid-section {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tutorial-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(145deg, rgba(30, 10, 50, 0.8), rgba(10, 10, 20, 0.9));
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tutorial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.tutorial-card:hover::before {
    left: 100%;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
}

.tutorial-card.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.tutorial-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.tutorial-card-icon {
    font-size: 3rem;
    min-width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 0, 255, 0.2), rgba(0, 255, 255, 0.1));
    border-radius: 15px;
}

.tutorial-card-content {
    flex: 1;
}

.tutorial-card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 0, 255, 0.2);
    border-radius: 20px;
}

.tutorial-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.tutorial-card p {
    font-size: 0.95rem;
    color: #aaaaaa;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.tutorial-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #888888;
}

.tutorial-card-arrow {
    font-size: 2rem;
    color: var(--neon-cyan);
    opacity: 0;
    transition: all 0.3s ease;
}

.tutorial-card:hover .tutorial-card-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* CTA Section */
.tutorials-cta {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #1a0a2e 100%);
}

.cta-box {
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 0, 0, 0.1), rgba(100, 0, 0, 0.2));
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    padding: 3rem;
}

.cta-box h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.btn-youtube-large {
    display: inline-block;
    padding: 1rem 3rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.btn-youtube-large:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.5);
}

/* Port Table */
.port-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #0d0d0d;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.port-table th,
.port-table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

.port-table th {
    background: linear-gradient(90deg, rgba(255, 0, 255, 0.2), rgba(0, 255, 255, 0.1));
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.port-table td {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
}

.port-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Responsive Tutorials Grid */
@media (max-width: 768px) {
    .tutorials-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorial-card {
        flex-direction: column;
        text-align: center;
    }
    
    .tutorial-card-meta {
        justify-content: center;
    }
    
    .tutorial-card-arrow {
        display: none;
    }
    
    .cta-box {
        padding: 2rem 1rem;
    }
    
    .cta-box h2 {
        font-size: 1.4rem;
    }
}
