/* GroovyCoins.com - Main Stylesheet */

/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0d1117; /* Dark fallback color matching image edges */
    background-image: url('../images/pawel-czerwinski-_hcYZYk9Abo-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
}

/* Layout Container */
.page-container {
    display: flex;
    min-height: 100vh;
    padding: 2rem;
}

/* Sidebar Styles */
.sidebar {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    width: 200px;
    margin-right: 2rem;
}

.sidebar a {
    display: block;
    margin: 0.4rem 0;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5),
                0 0 40px rgba(139, 92, 246, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    border: none;
}

.sidebar a:hover {
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.8),
                0 0 60px rgba(139, 92, 246, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.sidebar a.active {
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
    color: #ffffff;
    font-weight: bold;
    box-shadow: 0 0 30px rgba(139, 92, 246, 1),
                0 0 60px rgba(139, 92, 246, 0.7),
                inset 0 0 15px rgba(255, 255, 255, 0.4);
}

.sidebar a.active:hover {
    transform: translateY(-2px);
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

/* Attribution Page Specific Styles */
.attribution-container {
    max-width: 100%;
    padding: 20px;
}

h1 {
    color: #e0f7ff;
    text-shadow: 1px 1px 3px #000;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

/* Copyright Header */
.copyright-header {
    color: #c0e0f0;
    text-shadow: 1px 1px 2px #000;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    margin-top: -20px;
    margin-bottom: 20px;
}

/* Year Selection Area */
.year-selection {
    background-color: rgba(249, 249, 249, 0.9);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.year-selection h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.year-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.year-button {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5),
                0 0 40px rgba(59, 130, 246, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    border: none;
}

.year-button:hover {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8),
                0 0 60px rgba(59, 130, 246, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.year-button.selected {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    color: white;
    font-weight: bold;
    box-shadow: 0 0 30px rgba(59, 130, 246, 1),
                0 0 60px rgba(59, 130, 246, 0.7),
                inset 0 0 15px rgba(255, 255, 255, 0.4);
}

.reset-button {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #EAB308 0%, #CA8A04 100%);
    color: white;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.5),
                0 0 40px rgba(234, 179, 8, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    border: none;
}

.reset-button:hover {
    background: linear-gradient(135deg, #FDE047 0%, #EAB308 100%);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.8),
                0 0 60px rgba(234, 179, 8, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Attribution Panel */
.attribution-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.panel {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    background-color: rgba(250, 250, 250, 0.95);
}

.panel h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.die-count {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

/* Attribute Checkboxes */
.attribute-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attribute-checkbox {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.attribute-checkbox:hover {
    background-color: #f0f0f0;
    border-color: #4CAF50;
}

.attribute-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.attribute-checkbox label {
    cursor: pointer;
    flex: 1;
    font-size: 15px;
    color: #333;
}

.attribute-checkbox.selected {
    background-color: #e8f5e9;
    border-color: #4CAF50;
}

/* Die List Buttons */
.die-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.die-button {
    padding: 8px 16px;
    font-size: 14px;
    border: 2px solid #2196F3;
    background-color: white;
    color: #2196F3;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.die-button:hover {
    background-color: #2196F3;
    color: white;
}

.die-button.eliminated {
    opacity: 0.4;
    text-decoration: line-through;
    cursor: default;
    border-color: #ccc;
    color: #999;
}

.die-button.eliminated:hover {
    background-color: white;
    color: #999;
}

/* Results Section */
.results-section {
    background-color: rgba(250, 250, 250, 0.95);
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.results-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.no-results {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* Variety Matches */
.variety-matches {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.variety-match {
    background-color: #e3f2fd;
    border: 2px solid #2196F3;
    border-radius: 5px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.variety-match:hover {
    background-color: #bbdefb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.variety-title {
    font-size: 18px;
    font-weight: bold;
    color: #1976D2;
    margin-bottom: 8px;
}

.variety-info {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* S2S Section */
.s2s-section {
    background-color: rgba(255, 249, 196, 0.95);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.s2s-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.s2s-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.s2s-btn {
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5),
                0 0 40px rgba(59, 130, 246, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    border: none;
}

.s2s-btn:hover {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8),
                0 0 60px rgba(59, 130, 246, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.s2s-btn.active {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    color: white;
    box-shadow: 0 0 30px rgba(59, 130, 246, 1),
                0 0 60px rgba(59, 130, 246, 0.7),
                inset 0 0 15px rgba(255, 255, 255, 0.4);
}

.s2s-label {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    color: white;
}

.s2s-btn.active .s2s-label {
    color: white;
}

.s2s-reverses {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.s2s-btn.active .s2s-reverses {
    color: white;
}

/* ScrollMapper Section */
.mapper-section {
    background-color: rgba(232, 245, 233, 0.95);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.mapper-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

.scroll-canvas {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Footer Styles */
.site-footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 15px 20px;
    margin-top: 30px;
    border-radius: 8px;
    font-size: 12px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.photo-credit {
    color: #e0e0e0;
    text-align: left;
}

.copyright {
    color: #e0e0e0;
    text-align: right;
}

.photo-credit a, .copyright a {
    color: #a3dfff;
    text-decoration: none;
}

.photo-credit a:hover, .copyright a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ===== NEON BUTTON STYLES ===== */

/* Neon Button Base */
.neon-btn-base {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

/* Purple Neon Buttons */
.neon-btn-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5),
                0 0 40px rgba(139, 92, 246, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.neon-btn-purple:hover {
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.8),
                0 0 60px rgba(139, 92, 246, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.neon-btn-purple:active {
    background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6),
                inset 0 0 20px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

/* Blue Neon Buttons */
.neon-btn-blue {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5),
                0 0 40px rgba(59, 130, 246, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.neon-btn-blue:hover {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8),
                0 0 60px rgba(59, 130, 246, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.neon-btn-blue:active {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6),
                inset 0 0 20px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

/* Red Neon Buttons */
.neon-btn-red {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5),
                0 0 40px rgba(239, 68, 68, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.neon-btn-red:hover {
    background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.8),
                0 0 60px rgba(239, 68, 68, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.neon-btn-red:active {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6),
                inset 0 0 20px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

/* Cyan Neon Buttons */
.neon-btn-cyan {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    color: white;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5),
                0 0 40px rgba(6, 182, 212, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.neon-btn-cyan:hover {
    background: linear-gradient(135deg, #22D3EE 0%, #06B6D4 100%);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.8),
                0 0 60px rgba(6, 182, 212, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.neon-btn-cyan:active {
    background: linear-gradient(135deg, #0891B2 0%, #0E7490 100%);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.6),
                inset 0 0 20px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

/* Orange Neon Buttons */
.neon-btn-orange {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: white;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5),
                0 0 40px rgba(249, 115, 22, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.neon-btn-orange:hover {
    background: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.8),
                0 0 60px rgba(249, 115, 22, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.neon-btn-orange:active {
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.6),
                inset 0 0 20px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

/* Yellow Neon Buttons */
.neon-btn-yellow {
    background: linear-gradient(135deg, #EAB308 0%, #CA8A04 100%);
    color: white;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.5),
                0 0 40px rgba(234, 179, 8, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.neon-btn-yellow:hover {
    background: linear-gradient(135deg, #FDE047 0%, #EAB308 100%);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.8),
                0 0 60px rgba(234, 179, 8, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.neon-btn-yellow:active {
    background: linear-gradient(135deg, #CA8A04 0%, #A16207 100%);
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.6),
                inset 0 0 20px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}
