/* Cleaned and reorganized styles.css with comments for clarity */

/* General Styles */
html, body {
    height: 100%; /* Ensure full height of the page */
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    background: linear-gradient(135deg, #0d0d0d, #320d3e); /* Dark gradient background */
    color: #f0f0f0;
}

.wrapper {
    flex: 1; /* Take up remaining space except footer */
    padding: 40px 20px;
}

/* Header Styles */
header {
    background: #121212; /* Dark header background */
    color: #f0f0f0;
    padding: 1em 0;
    text-align: center;
    border-bottom: 2px solid #ff5500;
    box-shadow: 0 4px 2px -2px #ff5500;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;    
}

.logo {
    width: 80px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

header nav {
    display: flex;
    gap: 15px;
}

header nav button {
    background: linear-gradient(135deg, #ff5500, #e64a19);
    color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Prevent text overflow */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

header nav button:hover {
    background: linear-gradient(135deg, #e64a19, #ff5500);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Main Content Styles */
main {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    /*background: linear-gradient(135deg, rgba(20, 10, 6, 0.479), rgba(23, 6, 29, 0.3)); /* Gradient with transparency */
    border-radius: 10px;
}

h2 {
    color: #ff5500;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    width: 100%; /* Make h2 take the full width of its container */
}

/* Vote Table Styles */
.vote-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    text-align: left;
    table-layout: fixed; /* Ensure consistent column width */
}

.vote-table th, .vote-table td {
    padding: 15px;
    border-bottom: 1px solid #333;
    vertical-align: middle;
}

.vote-table thead {
    background: #1e1e1e;
}

.vote-table th {
    color: #ff5500;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 3px solid #ff5500;
}

.vote-table th:first-child {
    width: 30%; /* Title column width */
}

.vote-table th:nth-child(2) {
    width: 30%; /* Artist column width */
}

.vote-table th:nth-child(3) {
    width: 20%; /* Votes column width */
}

.vote-table th:last-child {
    width: 20%; /* Action column width */
}

.vote-table tbody tr {
    background: #1e1e1e;
    transition: transform 0.3s, box-shadow 0.3s;
}

.vote-table tbody tr:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

/* Vote Button Styles */
.vote-button {
    background: #ff5500;
    color: #f0f0f0;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 700;
    text-transform: uppercase;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: left;
}

.vote-button:hover {
    background: #e64a19;
}

/* Suggestion Form Styles */
.suggestion-section {
    padding: 20px;
    border-radius: 10px;
    background: rgba(20, 10, 6, 0.6);
}

.form-input {
    padding: 10px;
    margin: 0;
    border: 2px solid #ff5500;
    border-radius: 5px;
    background: #2a2a2a;
    color: #f0f0f0;
    transition: border-color 0.3s;
    width: 30%;
}

.form-input:focus {
    border-color: #e64a19;
}

.submit-button {
    background: #ff5500;
    color: #f0f0f0;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 700;
    text-transform: uppercase;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: left;
}

.submit-button:hover {
    background: #e64a19;
}

/* Suggest Form Styles */
.suggest-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    border-top: 2px solid #ff5500;
    background: #121212;
    color: #f0f0f0;
    margin-top: 40px;
    box-shadow: 0 -4px 2px -2px #ff5500;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Event Card Styles */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background: rgba(15, 11, 61, 0.8);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #ff6e40;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.event-card h3 {
    margin-top: 0;
    color: #ffcc00;
}

.event-card .event-date {
    font-weight: 700;
    color: #ff6e40;
    margin-bottom: 10px;
}

.event-card .event-description {
    font-size: 0.9em;
    line-height: 1.5;
}

/* Videos Section Styles */
.videos {
    margin: 20px auto;
    background: rgba(20, 10, 6, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.videos iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
}

/* Vote Section Styles */
.vote-section {
    max-height: 600px;
    overflow-y: auto;
    padding: 20px;
    border-radius: 10px;
    background: rgba(20, 10, 6, 0.6);
    margin-bottom: 30px;
}

/* Streaming Links Styles */
.streaming-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.streaming-links a {
    color: #ff5500;
    font-size: 1.5em;
    transition: color 0.3s;
}

.streaming-links a:hover {
    color: #e64a19;
}

/* Album Art Styles */
.album-art {
    max-width: 300px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin: 20px auto;
}

/*plateforms*/
.plateforms {
    margin: 20px auto;
    background: rgba(20, 10, 6, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: left;
}

/*Twitch*/
.twitch-section {
    margin: 20px auto;
    background: rgba(20, 10, 6, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: left;
}

/*events*/
.events-section {
    margin: 20px auto;
    background: rgba(20, 10, 6, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: left;
}

#title {
    position: relative; /* Pour que le canvas soit positionné autour */
    z-index: 1; /* Pour garder le texte au-dessus des particules */
    color: #ff5500; /* Couleur du texte principale */
    font-size: 3em;
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.6); /* Optionnel, pour ajouter une brillance douce */
}
