/* 
 * Styles pour la page Premium
 * Thème sombre inspiré de Valorant avec des accents rouges
 */

:root {
    --valorant-red: #ff4655;
    --valorant-dark: #0f1923;
    --valorant-dark-lighter: #1f2731;
    --valorant-text: #ece8e1;
    --valorant-accent: #bd3944;
    --valorant-gradient: linear-gradient(135deg, #ff4655 0%, #bd3944 100%);
    --glass-bg: rgba(15, 25, 35, 0.8);
    --glass-border: rgba(255, 70, 85, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}

/* Hero Section */
.hero-premium {
    background: url('../images/premium-bg.jpg') no-repeat center center;
    background-size: cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--valorant-text);
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 25, 35, 0.7);
    z-index: 1;
}

.hero-premium .container {
    position: relative;
    z-index: 2;
}

.hero-premium h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.hero-premium p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Typing Effect */
.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--valorant-red);
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--valorant-red) }
}

/* Premium Features */
.premium-features {
    padding: 5rem 0;
    background-color: var(--valorant-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--valorant-text);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--valorant-gradient);
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.premium-card {
    background: var(--valorant-dark-lighter);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
}

.premium-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--valorant-gradient);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.premium-icon {
    font-size: 2.5rem;
    color: var(--valorant-red);
    margin-bottom: 1.5rem;
}

.premium-card h3 {
    color: var(--valorant-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.premium-card p {
    color: var(--valorant-text);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Maps Section */
.maps-section {
    padding: 5rem 0;
    background-color: var(--valorant-dark-lighter);
}

.maps-navigation {
    margin-bottom: 2rem;
}

.maps-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.maps-tabs li {
    padding: 0.5rem 1rem;
    background-color: var(--valorant-dark);
    color: var(--valorant-text);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.maps-tabs li:hover {
    background-color: rgba(255, 70, 85, 0.2);
}

.maps-tabs li.active {
    background-color: var(--valorant-red);
    color: white;
}

.map-content-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.map-sidebar {
    width: 250px;
    flex-shrink: 0;
    background-color: var(--valorant-dark);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
}

.map-sidebar h3 {
    color: var(--valorant-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.map-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.map-features li {
    padding: 0.5rem 0;
    color: var(--valorant-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.map-features li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--valorant-text);
    margin-right: 10px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.map-features li:hover {
    color: var(--valorant-red);
}

.map-features li.active {
    color: var(--valorant-red);
}

.map-features li.active::before {
    background-color: var(--valorant-red);
    opacity: 1;
}

.agent-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.agent-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    object-fit: cover;
}

.agent-icon:hover {
    transform: scale(1.1);
}

.agent-icon.selected {
    border-color: var(--valorant-red);
    box-shadow: 0 0 10px rgba(255, 70, 85, 0.5);
}

.side-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-side {
    flex: 1;
    padding: 0.5rem;
    background-color: var(--valorant-dark-lighter);
    color: var(--valorant-text);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-side:hover {
    background-color: rgba(255, 70, 85, 0.2);
}

.btn-side.active {
    background-color: var(--valorant-red);
    color: white;
}

.map-display {
    flex: 1;
    background-color: var(--valorant-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.map-container {
    display: none;
}

.map-container.active {
    display: block;
}

.map-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.map-point {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 70, 85, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    z-index: 3;
}

.map-point:hover {
    transform: scale(1.2);
    background-color: var(--valorant-red);
    box-shadow: 0 0 15px rgba(255, 70, 85, 0.8);
}

.map-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(15, 25, 35, 0.9);
    color: var(--valorant-text);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 4;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 70, 85, 0.3);
}

.map-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(15, 25, 35, 0.9) transparent transparent transparent;
}

.map-info {
    padding: 1.5rem;
    color: var(--valorant-text);
}

.map-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--valorant-red);
}

.map-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.map-tips {
    background-color: rgba(255, 70, 85, 0.1);
    border-left: 3px solid var(--valorant-red);
    padding: 1rem;
    border-radius: 0 5px 5px 0;
}

.map-tips h4 {
    margin-bottom: 0.5rem;
    color: var(--valorant-red);
}

.map-tips ul {
    padding-left: 1.5rem;
    margin: 0;
}

.map-tips li {
    margin-bottom: 0.5rem;
}

/* Modal pour les détails de wallbang */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--valorant-dark);
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--valorant-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--valorant-red);
}

.wallbang-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.wallbang-image {
    flex: 1;
    min-width: 300px;
}

.wallbang-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wallbang-description {
    flex: 1;
    min-width: 300px;
}

.wallbang-description h3 {
    color: var(--valorant-red);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.wallbang-description ul {
    padding-left: 1.5rem;
}

.wallbang-description li {
    margin-bottom: 0.5rem;
}

/* Dashboard Section */
.premium-dashboard {
    padding: 5rem 0;
    background-color: var(--valorant-dark);
}

.dashboard-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-sidebar {
    width: 250px;
    flex-shrink: 0;
    background-color: var(--valorant-dark-lighter);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.user-info {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--valorant-red);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h3 {
    color: var(--valorant-text);
    margin-bottom: 0.5rem;
}

.user-info p {
    color: var(--valorant-red);
    font-size: 0.9rem;
}

.dashboard-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-menu li {
    padding: 1rem 1.5rem;
    color: var(--valorant-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-menu li i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.dashboard-menu li:hover {
    background-color: rgba(255, 70, 85, 0.1);
}

.dashboard-menu li.active {
    background-color: rgba(255, 70, 85, 0.2);
    color: var(--valorant-red);
    border-left: 3px solid var(--valorant-red);
}

.dashboard-content {
    flex: 1;
    background-color: var(--valorant-dark-lighter);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.dashboard-tab {
    display: none;
    padding: 1.5rem;
}

.dashboard-tab.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-header h3 {
    color: var(--valorant-text);
    font-size: 1.5rem;
}

.search-bar {
    position: relative;
    width: 300px;
}

.search-bar input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    background-color: var(--valorant-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--valorant-text);
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--valorant-text);
    opacity: 0.5;
}

.time-filter {
    display: flex;
    gap: 0.5rem;
}

.agents-grid, .stats-container, .reports-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.agent-card {
    background-color: var(--valorant-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.agent-image {
    height: 150px;
    overflow: hidden;
}

.agent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.agent-card:hover .agent-image img {
    transform: scale(1.05);
}

.agent-info {
    padding: 1rem;
    text-align: center;
}

.agent-info h3 {
    color: var(--valorant-text);
    margin-bottom: 0.5rem;
}

.agent-role {
    color: var(--valorant-red);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--valorant-dark);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 70, 85, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--valorant-red);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.stat-info h3 {
    color: var(--valorant-text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: var(--valorant-red);
    font-size: 1.5rem;
    font-weight: 700;
}

.stats-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.chart-container {
    background-color: var(--valorant-dark);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.chart-container h3 {
    color: var(--valorant-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.chart-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.chart-placeholder p {
    color: var(--valorant-text);
    opacity: 0.5;
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-item {
    background-color: var(--valorant-dark);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.report-header h3 {
    color: var(--valorant-text);
    font-size: 1.2rem;
}

.report-status {
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

.report-status.pending {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.report-status.resolved {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.report-status.rejected {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.report-description {
    color: var(--valorant-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.report-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.report-date {
    color: var(--valorant-text);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
    }
    
    .map-content-container {
        flex-direction: column;
    }
    
    .map-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-premium h1 {
        font-size: 3rem;
    }
    
    .maps-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .maps-tabs li {
        white-space: nowrap;
    }
    
    .wallbang-details {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-premium h1 {
        font-size: 2.5rem;
    }
    
    .premium-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .search-bar {
        width: 100%;
    }
}
