* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f4c75);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.corrida-armamentista {

    margin-bottom: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card h2 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Navigation */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #4ecdc4;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: bold;
}

.nav-link:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background: linear-gradient(45deg, #4ecdc4, #6fe6de);
    color: white;
}

/* Task List */
.task-list {
    list-style: none;
}

.task-item {
    background: rgba(255, 255, 255, 0.05);
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
    transition: all 0.3s ease;
    cursor: pointer;
}

.task-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.task-item.completed {
    border-left-color: #4ecdc4;
    opacity: 0.7;
    text-decoration: line-through;
}

.task-priority {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

.priority-high {
    background: #ff6b6b;
    color: white;
}

.priority-medium {
    background: #ffa726;
    color: white;
}

.priority-low {
    background: #66bb6a;
    color: white;
}

/* Videos Section */
.videos-section {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: scale(1.02);
}

.video-embed {
    width: 100%;
    height: 200px;
    border: none;
}

.video-info {
    padding: 1rem;
}

.video-info h3 {
    color: #4ecdc4;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    color: #888;
    font-size: 0.8rem;
}

.video-duration {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: rgba(78, 205, 196, 0.3);
}

.page-btn.active {
    background: #4ecdc4;
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #4ecdc4;
}

.stat-label {
    color: #b0b0b0;
    margin-top: 0.5rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ff8787);
    color: white;
}

.btn-secondary {
    background: linear-gradient(45deg, #4ecdc4, #6fe6de);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Timer */
.timer {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
}

.timer-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4ecdc4;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4ecdc4;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    z-index: 1000;
}

/* Alliance Info */
.alliance-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.member-count {
    color: #4ecdc4;
    font-weight: bold;
}

/* Search and Filter */
.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.search-input::placeholder {
    color: #b0b0b0;
}

.filter-select {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.filter-select option {
    background: #1a1a2e;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 10px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .search-container {
        flex-direction: column;
    }

    .search-input {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .video-embed {
        height: 180px;
    }

    .pagination {
        gap: 0.25rem;
    }

    .page-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Additional styles for videos page */
.page-ellipsis {
    color: #b0b0b0;
    padding: 0.5rem;
}

.video-category {
    color: #4ecdc4;
    font-weight: bold;
    text-transform: capitalize;
}

.video-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Glossary styles */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.glossary-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #4ecdc4;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.glossary-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.glossary-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.glossary-item:hover .glossary-image {
    border-color: #4ecdc4;
    transform: scale(1.05);
}

.glossary-content {
    flex: 1;
}

.glossary-item.no-image .glossary-header {
    display: block;
}

.glossary-item.no-image .glossary-content {
    width: 100%;
}

.glossary-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.glossary-item.expanded {
    background: rgba(78, 205, 196, 0.1);
    border-left-color: #ff6b6b;
}

.glossary-term {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4ecdc4;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.glossary-term-title {
    flex: 1;
    min-width: 0;
}

.glossary-term-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glossary-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: normal;
    color: #b0b0b0;
    text-transform: uppercase;
}

.glossary-definition {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.glossary-details {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.glossary-item.expanded .glossary-details {
    display: block;
}

.glossary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.glossary-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.8rem;
}

.glossary-stat-value {
    display: block;
    font-weight: bold;
    color: #4ecdc4;
}

.glossary-stat-label {
    color: #b0b0b0;
    font-size: 0.7rem;
}

.expand-icon {
    font-size: 0.8rem;
    color: #b0b0b0;
    transition: transform 0.3s ease;
}

.glossary-item.expanded .expand-icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .glossary-grid {
        grid-template-columns: 1fr;
    }

    .glossary-term {
        font-size: 1.1rem;
    }

    .glossary-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .glossary-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .glossary-image {
        width: 60px;
        height: 60px;
    }

    .glossary-term-title {
        text-align: center;
    }
}