
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo {
    text-decoration: none;
    color: inherit;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

.search-box {
    background: white;
    border-radius: 50px;
    padding: 15px 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1em;
    background: transparent;
}

.search-box button {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s;
}

.search-box button:hover {
    background: #5568d3;
}

.filter-bar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar label {
    font-weight: bold;
    color: #333;
}

.filter-bar select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.category-card {
    background: white;
    border-radius: 15px;
    max-width: 383px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.category-icon {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 10px;
}

.category-title {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.category-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.category-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: #999;
}

.no-results {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: #666;
}

/* * {*/
/*     margin: 0;*/
/*     padding: 0;*/
/*     box-sizing: border-box;*/
/* }*/

/*body {*/
/*    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
/*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
/*    min-height: 100vh;*/
/*    padding: 20px;*/
/*}*/

/*.container {*/
/*    max-width: 1000px;*/
/*    margin: 0 auto;*/
/*}*/

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #667eea;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1em;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-button:hover {
    background: #f8f9fa;
    transform: translateX(-5px);
}

.detail-header {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.guide-hero {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 20px;
    flex-direction: column;
}

.guide-icon-large {
    width: 100%;
    /*height: 180px;*/
    max-height: 390px;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 10px;
}

.guide-title-large {
    font-size: 2.8em;
    color: #333;
    margin-bottom: 15px;
}

.guide-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.95em;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: bold;
}

.badge-easy {
    background: #d4edda;
    color: #155724;
}

.badge-medium {
    background: #fff3cd;
    color: #856404;
}

.badge-hard {
    background: #f8d7da;
    color: #721c24;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin-top: 40px;
}

.pagination a, .pagination span {
    padding: 10px 15px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #667eea;
    color: white;
}

.pagination .active {
    background: #667eea;
    color: white;
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.guide-intro-large {
    color: #555;
    font-size: 1.2em;
    line-height: 1.8;
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.detail-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.section-title {
    font-size: 2em;
    color: #667eea;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.steps-list {
    list-style: none;
}

.step-item {
    background: #f8f9fa;
    border-left: 5px solid #667eea;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: #e9ecef;
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
}

.step-title {
    font-size: 1.5em;
    color: #333;
}

.step-description {
    color: #666;
    line-height: 1.8;
    font-size: 1.05em;
    /*margin-left: 60px;*/
}

.tips-section {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe9a6 100%);
    border-left: 5px solid #ffc107;
    padding: 30px;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.2);
}

.tips-title {
    font-size: 1.5em;
    color: #856404;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips-content {
    color: #856404;
    line-height: 1.8;
    font-size: 1.05em;
}

.related-guides {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.related-title {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.related-card:hover {
    background: #e9ecef;
    transform: translateY(-5px);
}

.related-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 8px;
}

.related-card-title {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 5px;
}
