/* ===== CONFIGURATION TUTORIALS PAGE STYLES ===== */
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 20%);
    z-index: -1;
    pointer-events: none;
}

/* General Page Styling */
.no-quiz-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Content Area */
.main-content {
    flex: 1;
    background-color: white;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
    margin: 30px auto;
    max-width: 1200px;
    width: 95%;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2563eb, #10b981, #8b5cf6);
    border-radius: 24px 24px 0 0;
}

.wrapper {
    padding: 0 40px;
}

/* Container Styling */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

/* Floating animated elements */
.container::before,
.container::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    filter: blur(40px);
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.container::before {
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.container::after {
    bottom: 10%;
    right: -100px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Header Styling */
h1 {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    position: relative;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: transparent;
    background: linear-gradient(135deg, #2563eb 0%, #10b981 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(37, 99, 235, 0.1);
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    border-radius: 2px;
    animation: widthPulse 3s ease-in-out infinite;
}

@keyframes widthPulse {
    0%, 100% { width: 100px; }
    50% { width: 150px; }
}

/* Paragraph Styling */
p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #4b5563;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

strong {
    color: #1e40af;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, transparent);
    border-radius: 1.5px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

strong:hover::after {
    transform: scaleX(1);
}

em {
    color: #10b981;
    font-style: italic;
    font-weight: 600;
}

/* Section Styling */
.section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin: 50px auto;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.6);
    max-width: 800px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #2563eb, #10b981);
}

.section:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(37, 99, 235, 0.2);
}

.section.highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05));
    border-left: 4px solid #8b5cf6;
}

.section.highlight::before {
    background: linear-gradient(to bottom, #8b5cf6, #ec4899);
}

.section h2 {
    color: #1f2937;
    font-size: 2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.section h2::before {
    content: "🚀";
    font-size: 1.8rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Lists Styling */
ul, ol {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

ul li, ol li {
    margin-bottom: 16px;
    padding-left: 45px;
    position: relative;
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.7;
}

ul li::before, ol li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

ul li::before {
    background: linear-gradient(135deg, #10b981, #059669);
    content: '✓';
    color: white;
    font-weight: bold;
}

ol li::before {
    counter-increment: item;
    content: counter(item);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-weight: bold;
}

ol {
    counter-reset: item;
}

/* Configuration List Styling */
.config-list {
    list-style: none;
    padding: 0;
    margin: 50px auto;
    max-width: 900px;
}

.config-list li {
    background: white;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-left: 4px solid #2563eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.config-list li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #2563eb, #8b5cf6);
    transition: transform 0.4s ease;
}

.config-list li:hover {
    transform: translateX(12px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-left-color: #10b981;
}

.config-list li:hover::before {
    transform: scaleY(1.1);
}

.config-list a {
    font-size: 1.4rem;
    color: #1e40af;
    text-decoration: none;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 12px;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.config-list a::before {
    content: "🔧";
    position: absolute;
    left: -32px;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.config-list li:hover a::before {
    transform: rotate(15deg) scale(1.2);
}

.config-list a:hover {
    color: #10b981;
    padding-left: 20px;
}

.small-note {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    margin-top: 15px;
    padding-left: 15px;
    border-left: 3px solid #d1d5db;
    font-style: italic;
    transition: all 0.3s ease;
}

.config-list li:hover .small-note {
    border-left-color: #10b981;
    color: #4b5563;
}

/* Back Home Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(37, 99, 235, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    margin-top: 40px;
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    width: 220px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(37, 99, 235, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn:focus {
    outline: none;
    box-shadow: 
        0 0 0 4px rgba(37, 99, 235, 0.2),
        0 10px 30px rgba(37, 99, 235, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.6rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .config-list a {
        font-size: 1.2rem;
    }
    
    .wrapper {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .main-content {
        margin: 20px auto;
        border-radius: 20px;
    }
    
    .section {
        padding: 30px 25px;
        margin: 40px auto;
    }
    
    .section h2 {
        font-size: 1.6rem;
    }
    
    .config-list li {
        padding: 25px;
    }
    
    .config-list a {
        font-size: 1.1rem;
        padding-left: 40px;
    }
    
    .config-list a::before {
        left: 0;
        top: 0;
    }
    
    ul li, ol li {
        padding-left: 40px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 16px 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.9rem;
    }
    
    .section h2 {
        font-size: 1.4rem;
    }
    
    .wrapper {
        padding: 0 20px;
    }
    
    p {
        font-size: 1rem;
    }
    
    .config-list a {
        font-size: 1rem;
    }
    
    .small-note {
        font-size: 0.95rem;
    }
    
    .btn {
        font-size: 1rem;
        padding: 15px 25px;
    }
}