/* Custom CSS for Mellstroy Casino Streaming Website - Roshtein Style */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Sidebar Styles */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #d1d5db;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-link:hover {
    color: white;
    background-color: rgba(147, 51, 234, 0.2);
}

.sidebar-link.active {
    background-color: #8b5cf6;
    color: white;
}

.sidebar-link i {
    width: 20px;
    margin-right: 12px;
    text-align: center;
}

/* Roshtein-style Button Styles */
.roshtein-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    color: white;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.roshtein-btn-primary:hover {
    background: linear-gradient(to right, #7c3aed, #db2777);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
}

.roshtein-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid #8b5cf6;
    color: #a855f7;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.roshtein-btn-secondary:hover {
    background-color: #8b5cf6;
    color: white;
}

/* Legacy button styles for compatibility */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    color: white;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(to right, #7c3aed, #db2777);
    transform: scale(1.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #374151;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    border: 1px solid rgba(147, 51, 234, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #4b5563;
    border-color: rgba(147, 51, 234, 0.6);
}

.btn-casino {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(to right, #059669, #047857);
    color: white;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.btn-casino:hover {
    background: linear-gradient(to right, #047857, #065f46);
    transform: scale(1.05);
}

/* Roshtein-style Card Styles */
.roshtein-game-card {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(8px);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.roshtein-game-card:hover {
    border-color: rgba(147, 51, 234, 0.6);
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.roshtein-casino-card {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(8px);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(147, 51, 234, 0.3);
    transition: all 0.3s ease;
}

.roshtein-casino-card:hover {
    border-color: rgba(147, 51, 234, 0.6);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Casino Card Styles */
.casino-card {
    background: rgba(17, 24, 39, 0.5);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.casino-card:hover {
    border-color: rgba(147, 51, 234, 0.4);
    transform: scale(1.05);
}

.casino-card-detailed {
    background: rgba(17, 24, 39, 0.5);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.casino-card-detailed:hover {
    border-color: rgba(147, 51, 234, 0.4);
}

.casino-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Stats Items */
.stat-item {
    padding: 24px;
    background: rgba(17, 24, 39, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(147, 51, 234, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(147, 51, 234, 0.3);
}

/* Article Cards */
.article-card {
    background: rgba(17, 24, 39, 0.3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: rgba(147, 51, 234, 0.4);
    transform: scale(1.05);
}

/* FAQ Styles */
.faq-item {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    overflow: hidden;
    margin-bottom: 16px;
}

.faq-question {
    width: 100%;
    padding: 16px 24px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(55, 65, 81, 0.5);
}

.faq-answer {
    padding: 16px 24px;
    color: #d1d5db;
    background: rgba(17, 24, 39, 0.3);
    border-top: 1px solid rgba(147, 51, 234, 0.1);
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(180deg);
}

/* Category Button Styles */
.faq-category-btn,
.bonus-category-btn,
.article-category-btn {
    padding: 8px 16px;
    background-color: #374151;
    color: #d1d5db;
    border-radius: 8px;
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.faq-category-btn:hover,
.bonus-category-btn:hover,
.article-category-btn:hover {
    background-color: #4b5563;
    color: white;
    border-color: rgba(147, 51, 234, 0.5);
}

.faq-category-btn.active,
.bonus-category-btn.active,
.article-category-btn.active {
    background-color: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
}

/* Bonus Offer Cards */
.bonus-offer-card {
    background: rgba(17, 24, 39, 0.5);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.bonus-offer-card:hover {
    border-color: rgba(147, 51, 234, 0.4);
}

/* Form Styles */
input[type="text"],
input[type="email"],
select,
textarea {
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 1px #8b5cf6;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

input[type="checkbox"] {
    accent-color: #8b5cf6;
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 4px;
}

/* Animation for live indicator */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .roshtein-game-card:hover,
    .casino-card:hover,
    .article-card:hover {
        transform: none;
    }
    
    .roshtein-btn-primary,
    .roshtein-btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Loading States */
.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    background-color: #4b5563;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8b5cf6, #ec4899);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #7c3aed, #db2777);
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* Casino Table Styles */
.casino-table-row {
    display: flex;
    align-items: center;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.casino-table-row:hover {
    border-color: rgba(147, 51, 234, 0.4);
    background: rgba(17, 24, 39, 0.9);
}

.casino-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.casino-logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.casino-logo-text {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.casino-details {
    flex: 1;
    min-width: 0;
}

.casino-name {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 8px 0;
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature-tag {
    background: rgba(147, 51, 234, 0.2);
    color: #d1d5db;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.casino-bonus {
    text-align: center;
    margin: 0 20px;
    min-width: 120px;
}

.bonus-amount {
    color: #9ca3af;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.bonus-value {
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.casino-spins {
    text-align: center;
    margin: 0 20px;
    min-width: 100px;
}

.spins-label {
    color: #9ca3af;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.spins-amount {
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.casino-action {
    margin-left: 20px;
}

.claim-bonus-btn {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.claim-bonus-btn:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    transform: scale(1.05);
}

/* Mobile responsive casino table */
@media (max-width: 768px) {
    .casino-table-row {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    
    .casino-info {
        flex-direction: column;
        margin-bottom: 16px;
    }
    
    .casino-logo-circle {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .casino-features {
        justify-content: center;
    }
    
    .casino-bonus,
    .casino-spins {
        margin: 8px 0;
    }
    
    .casino-action {
        margin: 16px 0 0 0;
    }
    
    .claim-bonus-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .casino-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-tag {
        margin-bottom: 4px;
    }
}

/* Casino Stats */
.casino-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.stat {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Text selection */
::selection {
    background-color: #8b5cf6;
    color: white;
}

::-moz-selection {
    background-color: #8b5cf6;
    color: white;
}