/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
}

.hero-section {
    background-color: #1a1a1a;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.container {
    max-width: 1200px;
}

/* Login Page */
.card {
    background-color: #333;
    border: none;
    border-radius: 8px;
}

.card-body {
    padding: 40px;
    color: white;
}

.card-body h2 {
    font-size: 2rem;
}

.form-control {
    background-color: #444;
    color: white;
    border: none;
    margin-bottom: 20px;
    border-radius: 4px;
    padding: 12px;
}

.form-label {
    font-size: 1.1rem;
}

.btn-primary {
    background-color: #ff6347;
    border: none;
    padding: 12px;
    border-radius: 4px;
}

.text-center a {
    color: #ff6347;
    font-size: 1rem;
}

/* Skill Roulette Page */
.navbar {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
}

.navbar-brand {
    color: white;
    font-size: 1.6rem;
}

.hero-section {
    padding-top: 70px;
}

.display-2 {
    font-size: 4rem;
    font-weight: bold;
}

.lead {
    font-size: 1.3rem;
}

.progress-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-item i {
    font-size: 1.5rem;
    color: #ff6347;
}

.filter-btn {
    background-color: #444;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
}

.filter-btn.active {
    background-color: #ff6347;
}

.filter-btn i {
    margin-right: 5px;
}

.spin-button {
    background-color: #ff6347;
    color: white;
    padding: 15px 40px;
    border-radius: 6px;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.skill-card {
    display: none;
    background-color: #444;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.skill-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.difficulty-badge {
    background-color: #ff6347;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skill-description {
    font-size: 1rem;
}

.skill-media img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.time-required {
    font-weight: bold;
}

.resource-links a {
    color: #ff6347;
    font-size: 1.1rem;
    text-decoration: none;
}

.resource-links a:hover {
    text-decoration: underline;
}

.rating-container {
    margin-top: 20px;
}

.stars i {
    font-size: 1.5rem;
    color: #ff6347;
    cursor: pointer;
    margin-right: 5px;
}

.stars i.filled {
    color: #ff0;
}

.action-btn {
    background-color: #ff6347;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.share-buttons {
    margin-top: 20px;
}

.share-btn {
    background-color: #444;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #ff6347;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

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