/* Raids Page Specific Styles */

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d4a2d 50%, #1a1a1a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

.page-title {
    font-size: 3.5rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #b8860b;
    font-style: italic;
    position: relative;
    z-index: 2;
}

/* Navigation Active State */
.nav-menu a.active {
    color: #4CAF50;
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Raid Navigation */
.raid-nav {
    background: rgba(26, 26, 26, 0.95);
    padding: 2rem 0;
    border-bottom: 2px solid #4CAF50;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.raid-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.raid-nav-btn {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: #e0e0e0;
    border: 2px solid #4CAF50;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.raid-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.2), transparent);
    transition: left 0.5s ease;
}

.raid-nav-btn:hover::before {
    left: 100%;
}

.raid-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.raid-nav-btn.active {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Raid Sections */
.raid-section {
    padding: 4rem 0;
    display: none;
}

.raid-section.active {
    display: block;
}

/* Current Week Display */
.current-week {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    border: 2px solid #4CAF50;
}

.current-week h3 {
    color: #4CAF50;
    font-size: 1.5rem;
    margin: 0;
}

/* Raid Calendar */
.raid-calendar {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.raid-day {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    border: 2px solid #4CAF50;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.raid-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.2);
}

.day-header {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: #000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.date {
    font-weight: 600;
    font-size: 1rem;
}

.raid-event {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.raid-event.optional {
    border-left: 4px solid #b8860b;
}

.raid-info h4 {
    color: #4CAF50;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.raid-time {
    color: #e0e0e0;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.raid-leader {
    color: #cccccc;
    font-size: 0.9rem;
}

.leader-name {
    color: #b8860b;
    font-weight: 600;
}

/* Signup Section */
.raid-signup {
    text-align: center;
    min-width: 250px;
}

.signup-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.role-count {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.role-count.tanks {
    background: rgba(255, 69, 0, 0.2);
    color: #ff4500;
    border: 1px solid #ff4500;
}

.role-count.healers {
    background: rgba(0, 255, 127, 0.2);
    color: #00ff7f;
    border: 1px solid #00ff7f;
}

.role-count.dps {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid #ffd700;
}

.role-count.pvp {
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
    border: 1px solid #8a2be2;
}

.signup-btn {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: #000;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.signup-btn.pvp {
    background: linear-gradient(135deg, #8a2be2, #9370db);
    color: #fff;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: #e0e0e0;
    border: 2px solid #4CAF50;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.action-btn:hover {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: #000;
    transform: translateY(-2px);
}

/* Mechanics Section */
.mechanics-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mechanics-intro p {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.6;
}

.raid-instances {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.instance-card {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border: 2px solid #4CAF50;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.instance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instance-card:hover::before {
    opacity: 1;
}

.instance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.3);
}

.instance-card.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.instance-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.instance-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.instance-card h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.instance-card p {
    color: #cccccc;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.difficulty {
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 69, 0, 0.9);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

/* Attendance Section */
.attendance-overview {
    margin-bottom: 3rem;
}

.attendance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border: 2px solid #4CAF50;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
}

.attendance-table-container {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border: 2px solid #4CAF50;
    border-radius: 15px;
    padding: 2rem;
    overflow-x: auto;
}

.attendance-table-container h3 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.attendance-table {
    width: 100%;
    border-collapse: collapse;
    color: #e0e0e0;
}

.attendance-table th {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #4CAF50;
}

.attendance-table td {
    padding: 1rem;
    border-bottom: 1px solid #444;
}

.attendance-table tr:hover {
    background: rgba(76, 175, 80, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    margin: 5% auto;
    padding: 2rem;
    border: 2px solid #4CAF50;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #4CAF50;
}

#modal-title {
    color: #4CAF50;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    background: rgba(26, 26, 26, 0.8);
    color: #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #66BB6A;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: #000;
    border: none;
    padding: 1rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .raid-nav-buttons {
        gap: 1rem;
    }
    
    .raid-nav-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .raid-event {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .raid-signup {
        min-width: auto;
        width: 100%;
    }
    
    .signup-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .quick-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .attendance-table-container {
        padding: 1rem;
    }
    
    .attendance-table {
        font-size: 0.9rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .raid-nav {
        padding: 1rem 0;
    }
    
    .raid-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .day-header {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .raid-event {
        padding: 1.5rem;
    }
    
    .instance-card {
        padding: 1.5rem;
    }
    
    .instance-icon {
        font-size: 3rem;
    }
}
