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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.feature-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.how-to-use {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}

.how-to-use h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.how-to-use ol {
    padding-left: 20px;
}

.how-to-use li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.input-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    margin-bottom: 40px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.input-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.seed-input {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.seed-input label {
    font-weight: bold;
    font-size: 1.3rem;
    color: #333;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.seed-input input {
    padding: 15px 25px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1.2rem;
    min-width: 250px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
}

.seed-input input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.seed-input button {
    padding: 15px 30px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seed-input button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #5a6fd8, #6a4c8a);
}

.seed-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.seed-info p {
    margin: 0;
    line-height: 1.5;
    color: #555;
}

.results-section {
    display: grid;
    gap: 20px;
}

.results-section h2 {
    color: white;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.result-card:hover {
    transform: translateY(-3px);
}

.result-card h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.card-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-style: italic;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.info-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.info-item strong {
    color: #667eea;
}

.joker-list, .boss-list, .shop-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.joker-item, .boss-item, .shop-item {
    background: #e3f2fd;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #bbdefb;
}

.probability-bar {
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 8px 0;
}

.probability-fill {
    background: linear-gradient(90deg, #667eea, #764ba2);
    height: 20px;
    border-radius: 10px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.disclaimer {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-top: 30px;
    border-left: 4px solid #ff9800;
}

.disclaimer h3 {
    color: #ff9800;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.disclaimer p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

footer {
    text-align: center;
    margin-top: 40px;
    color: white;
    opacity: 0.8;
}

.footer-content p {
    margin: 5px 0;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.breadcrumb-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.breadcrumb-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Enhanced Guide Sections */
.guide-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.guide-section h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.guide-section p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.guide-section ol, .guide-section ul {
    padding-left: 20px;
}

.guide-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.result-explanation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.explanation-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.explanation-item h4 {
    color: #667eea;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.explanation-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* FAQ Section */
.faq-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-top: 30px;
}

.faq-section h2 {
    color: #667eea;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-item h3:hover {
    color: #667eea;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* About Section */
.about-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-top: 30px;
}

.about-section h2 {
    color: #667eea;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

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

.about-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.about-item h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.about-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb-nav {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .guide-section {
        padding: 15px;
    }
    
    .result-explanation {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .faq-section,
    .about-section {
        padding: 20px;
    }
    
    .faq-section h2,
    .about-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .feature-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .seed-input {
        flex-direction: column;
        text-align: center;
    }
    
    .seed-input input {
        min-width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
