/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Roboto:wght@400;700&display=swap');

:root {
    --red-filter: rgba(255, 0, 0, 0.4);
    --purple-filter: rgba(255, 0, 255, 0.4);
    --blue-filter: rgba(0, 255, 255, 0.4);
    --green-filter: rgba(0, 255, 0, 0.4);
    --yellow: #ffff00;
    --black: #000000;
    --white: #ffffff;
    --dark-gray: #222222;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--white);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--yellow);
    color: var(--black);
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--yellow);
    color: var(--black);
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--yellow);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.support-icon {
    width: 30px;
    height: 30px;
    margin-left: 8px;
    vertical-align: middle;
    cursor: pointer;
    filter: invert(1) brightness(1.2);
}

.social-links .paybox-icon, .social-links .bit-icon {
    display: inline-block;
    margin-left: 10px;
}

.social-links .paybox-icon img, .social-links .bit-icon img, .social-links i {
    width: 24px;
    height: 24px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.social-links .paybox-icon img:hover, .social-links .bit-icon img:hover {
    transform: scale(1.1);
}

/* Support Page */
.support-page {
    padding: 100px 5% 50px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-section {
    text-align: center;
    width: 100%;
}

.support-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    max-width: 100%;
    padding: 0 15px;
}

.support-method {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    max-width: 100%;
}

.support-button {
    display: block;
    width: 250px;
    height: 250px;
    background-color: var(--dark-gray);
    border: 3px solid var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    max-width: 100%;
}

.support-button img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.support-button:hover {
    transform: scale(1.05);
    background-color: var(--yellow);
}

.support-button:hover img {
    filter: invert(1);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .support-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .support-button {
        width: 200px;
        height: 200px;
    }
}

/* Contact Page */
.contact-page {
    padding: 100px 5% 50px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-section {
    width: 100%;
    max-width: 600px;
}

#contact-form {
    background-color: var(--dark-gray);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--white);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: var(--black);
    border: 1px solid var(--yellow);
    color: var(--white);
    border-radius: 5px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

#contact-form .btn {
    width: 100%;
    padding: 15px;
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form .btn:hover {
    background-color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 100%;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.red-filter {
    background: linear-gradient(45deg, #ff0000, #990000);
}

.purple-filter {
    background: linear-gradient(45deg, #ff00ff, #990099);
}

.blue-filter {
    background: linear-gradient(45deg, #00ffff, #009999);
}

.green-filter {
    background: linear-gradient(45deg, #00ff00, #009900);
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.red-filter::before {
    background-color: var(--red-filter);
}

.purple-filter::before {
    background-color: var(--purple-filter);
}

.blue-filter::before {
    background-color: var(--blue-filter);
}

.green-filter::before {
    background-color: var(--green-filter);
}

.hero-text {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hister-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    background-color: var(--yellow);
    color: var(--black);
    padding: 5px 20px;
    transform: skew(-5deg);
}

/* Events Section */
.events {
    padding: 100px 5%;
    background-color: var(--black);
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: var(--dark-gray);
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-left: 5px solid var(--yellow);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.day {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.month {
    font-size: 1.2rem;
    text-transform: uppercase;
}

.event-details {
    margin-bottom: 20px;
}

.event-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.location {
    font-weight: bold;
    margin-bottom: 5px;
}

.event-action {
    margin-top: auto;
}

/* Music Section */
.music {
    padding: 100px 5%;
    background-color: var(--dark-gray);
}

.music-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.track {
    background-color: var(--black);
    padding: 20px;
    border-radius: 5px;
}

.track-info {
    margin-bottom: 20px;
}

.track-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.track-player audio {
    width: 100%;
}

/* Merch Section */
.merch {
    padding: 100px 5%;
    background-color: var(--black);
}

.merch-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.merch-item {
    background-color: var(--dark-gray);
    overflow: hidden;
}

.merch-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    background-color: var(--dark-gray);
    color: var(--light-gray);
}

.merch-details {
    padding: 20px;
}

.merch-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--yellow);
}

/* Footer */
footer {
    padding: 50px 5%;
    background-color: var(--dark-gray);
    text-align: center;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--yellow);
}

.footer-text {
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* Media Queries */
@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    
    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-text {
        bottom: 5%;
    }
    
    .hister-text {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
    
    .hister-text {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .events, .music, .merch {
        padding: 80px 5%;
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.events-container, .music-container, .merch-container {
    animation: fadeIn 1s ease forwards;
}

/* Grungy Texture Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnA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peqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==');
    opacity: 0.05;
    pointer-events: none;
    z-index: -2;
}
.grayed-out {
    opacity: 0.20; /* Makes the card less gray */
    pointer-events: none; /* Prevents interaction with the card */
    background-color: var(--dark-gray); /* Change background color */
    position: relative;
}
.grayed-out::after {
    content: '\2716'; /* Unicode for a cross mark */
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: red; /* Color of the cross */
}
/* Radio Player Styles */
.music-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto; /* This centers the container itself */
    padding: 30px;
    background-color: var(--dark-gray);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(255, 230, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers the children like #radioPlayer and .music-table-container */
}

/* New Music Table Styles */
.playlist-controls {
    margin-bottom: 15px;
    text-align: right; /* Align 'Select All' to the right */
}

#radioPlayer {
    width: 100%;
    max-width: 600px; /* Adjust max-width as needed */
    margin-bottom: 20px; /* Space between player and playlist */
    background-color: #f0f0f0; /* Example background */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.music-table-container {
    width: 100%;
    max-width: 600px; /* Match player or set as needed */
    max-height: 400px; /* Or any height you prefer */
    overflow-y: auto;
    border: 1px solid var(--yellow); /* Optional border for the scrollable area */
    border-radius: 4px;
    margin-bottom: 20px;
}

#musicTable {
    width: 100%;
    border-collapse: collapse;
}

#musicTable th,
#musicTable td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 0, 0.2); /* Lighter yellow for row separators */
}

#musicTable tr:last-child td {
    border-bottom: none;
}

#musicTable .track-checkbox-cell {
    width: 40px; /* Fixed width for checkbox column */
    text-align: center;
}

#musicTable .track-name-cell {
    direction: rtl; /* Right-to-left for Hebrew song names */
    text-align: right;
    font-weight: bold;
}

#musicTable .track-name-cell a {
    color: var(--white);
    transition: color 0.3s ease;
}

#musicTable .track-name-cell a:hover,
#musicTable .track-name-cell a.playing {
    color: var(--yellow);
}

/* Custom Checkbox Styles (to match player theme) */
.player-checkbox-label {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-left: 8px; /* Space from checkbox to label */
    vertical-align: middle;
    cursor: pointer;
}

.player-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    background-color: var(--black);
    border: 2px solid var(--yellow);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.player-checkbox:checked {
    background-color: var(--yellow);
    border-color: var(--yellow);
}

.player-checkbox:checked::before {
    content: '\2713'; /* Checkmark character */
    font-size: 14px;
    color: var(--black);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.player-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 0, 0.3); /* Focus ring */
}

/* Styling for indeterminate state of "Select All" checkbox */
.player-checkbox:indeterminate {
    background-color: var(--dark-gray);
    border-color: var(--yellow);
}

.player-checkbox:indeterminate::before {
    content: '-'; /* Dash character for indeterminate */
    font-size: 18px;
    line-height: 18px; /* Center dash better */
    color: var(--yellow);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

/* Styles for player controls */
#radioPlayer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

#trackInfo {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--yellow);
    text-align: center;
    min-height: 1.5em; /* Prevent layout shift */
}

#currentTrackName {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--black);
    border-radius: 4px;
}

.player-controls {
    display: flex;
    gap: 15px;
}

.control-btn {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    padding: 10px 15px;
    border-radius: 50%; /* Circular buttons */
    cursor: pointer;
    font-size: 1.2rem; /* Icon size */
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Fixed width */
    height: 50px; /* Fixed height */
}

.control-btn:hover {
    background-color: var(--white);
    transform: scale(1.1);
}

.control-btn.active {
    background-color: var(--green-filter); /* Or a color indicating active state, e.g., for loop */
    color: var(--white);
}

#musicList {
    list-style: none;
    padding: 0;
    max-height: 300px; /* Or your preferred height */
    overflow-y: auto;
    border: 1px solid var(--yellow);
    border-radius: 4px;
}

#musicList li {
    padding: 10px 15px;
    border-bottom: 1px solid var(--dark-gray);
    transition: background-color 0.3s ease;
}

#musicList li:last-child {
    border-bottom: none;
}

#musicList a {
    color: var(--white);
    text-decoration: none;
    display: block;
}

#musicList a:hover {
    color: var(--yellow);
}

#musicList a.playing {
    color: var(--yellow);
    font-weight: bold;
}

/* Style for scrollbar in musicList (optional, webkit browsers) */
#musicList::-webkit-scrollbar {
    width: 8px;
}

#musicList::-webkit-scrollbar-track {
    background: var(--dark-gray);
    border-radius: 4px;
}

#musicList::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 4px;
}

#musicList::-webkit-scrollbar-thumb:hover {
    background: var(--white);
}

/* Progress Bar Styles */
#progressBarContainer {
    width: 80%;
    height: 10px;
    background-color: var(--black); /* Darker background for the container */
    border: 1px solid var(--yellow); /* Optional: border to match theme */
    border-radius: 5px;
    margin: 15px auto; /* Centered with more margin */
    cursor: pointer;
    overflow: hidden;
}

#progressBar {
    width: 0%;
    height: 100%;
    background-color: var(--yellow);
    border-radius: 4px; /* Slightly smaller radius than container if bordered */
    transition: width 0.1s linear;
}

#timeDisplay {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-top: -5px; /* Adjust to be closer to progress bar */
    margin-bottom: 15px;
    text-align: center;
}
