/* ===== TOOLS PAGES STYLES ===== */

/* Hero Section */
.tool-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.tool-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.tool-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tool-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.tool-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px;
    line-height: 1.2;
}

.tool-subtitle {
    font-size: 18px;
    color: #94a3b8;
    margin: 0;
}

/* Tool Section */
.tool-section {
    padding: 60px 0;
    background: #0a0a0f;
}

.tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.tool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.tool-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.tool-description {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Input Groups */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.input-group input::placeholder {
    color: #64748b;
}

.input-with-suffix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-suffix input {
    padding-right: 50px;
}

.input-suffix {
    position: absolute;
    right: 16px;
    color: #FFD700;
    font-weight: 600;
}

/* Contribution Grid */
.contribution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.contribution-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.contribution-item span:first-child {
    flex: 1;
    color: #94a3b8;
    font-size: 13px;
}

.contribution-item input {
    width: 60px;
    padding: 8px 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
}

.contribution-item span:last-child {
    color: #FFD700;
    font-size: 13px;
}

/* Calculate Button */
.calculate-btn,
.compare-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.calculate-btn:hover,
.compare-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.calculate-btn:disabled,
.compare-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Results */
.tool-results {
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.result-card {
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
}

.result-card.highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
}

.result-card.valid {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.05);
}

.result-card.invalid {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.05);
}

.result-label {
    display: block;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.result-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #FFD700;
}

.result-value.small {
    font-size: 24px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.result-grid .result-card {
    margin-bottom: 0;
}

/* Result Breakdown */
.result-breakdown {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.result-breakdown h3 {
    font-size: 16px;
    color: #e2e8f0;
    margin: 0 0 15px;
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.breakdown-game {
    color: #94a3b8;
    font-size: 14px;
}

.breakdown-value {
    color: #FFD700;
    font-weight: 600;
}

/* Result Tips */
.result-tips {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.result-tips h3 {
    font-size: 16px;
    color: #60a5fa;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-tips li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}

.result-tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #60a5fa;
    border-radius: 50%;
}

/* ===== CASINO COMPARISON STYLES ===== */

.comparison-tool {
    padding: 0;
    background: transparent;
    border: none;
}

/* VS Selector Section */
.vs-selector-section {
    background:
        linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, transparent 50%, rgba(255, 215, 0, 0.02) 100%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.vs-selector-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.casino-selector {
    flex: 1;
    max-width: 350px;
}

.selector-dropdown {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.selector-dropdown:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.06);
}

.selector-dropdown:active {
    border-color: rgba(255, 215, 0, 0.5);
}

.selector-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
}

.selector-placeholder .placeholder-icon {
    color: #64748b;
}

.selector-placeholder span {
    flex: 1;
    font-size: 16px;
}

.selector-placeholder .arrow-icon {
    color: #64748b;
}

.selected-casino {
    display: flex;
    align-items: center;
    gap: 12px;
}

.selector-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
}

.selector-name {
    flex: 1;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
}

.selector-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.2);
    border: none;
    border-radius: 50%;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
}

.selector-remove:active {
    background: rgba(239, 68, 68, 0.4);
}

.vs-badge {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    color: #000;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.25),
        0 0 40px rgba(255, 215, 0, 0.1);
    animation: vsPulse 3s ease-in-out infinite;
}

/* Popular Suggestions */
.popular-suggestions {
    margin-bottom: 30px;
}

.suggestions-label {
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 16px;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.suggestion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.suggestion-item:hover {
    border-color: rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.suggestion-item.is-selected {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.05);
}

.suggestion-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
}

.suggestion-name {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.suggestion-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 100px;
    color: #FFD700;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-add-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.suggestion-add-btn .add-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.suggestion-add-btn .added-text {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #22c55e;
}

/* Compare Button */
.compare-btn-large {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 18px 40px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.compare-btn-large:not(:disabled) {
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.compare-btn-large:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.4);
}

.compare-btn-large:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: modalFadeIn 0.2s ease-out;
}

.search-modal-content {
    width: 100%;
    max-width: 520px;
    max-height: 80vh;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.03);
    animation: modalSlideUp 0.25s ease-out;
}

.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-modal-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 50%;
    color: #94a3b8;
    cursor: pointer;
}

.search-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.modal-search-wrapper svg {
    position: absolute;
    left: 16px;
    color: #64748b;
}

.modal-search-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
}

.modal-search-wrapper input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.5);
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-loading,
.search-empty,
.search-hint {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result-item:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.1);
}

.search-result-item:active:not(:disabled) {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.search-result-item:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.result-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.result-info {
    flex: 1;
    min-width: 0;
}

.result-name {
    display: block;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    margin-bottom: 2px;
}

.result-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #FFD700;
}

.result-action {
    color: #FFD700;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* Comparison Results */
.comparison-table-wrapper {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.comparison-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    margin: 0;
}

.reset-comparison {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.reset-comparison:active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Comparison Cards */
.comparison-cards {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: start;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.comparison-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.15);
    box-shadow:
        0 0 24px rgba(255, 215, 0, 0.06),
        0 8px 32px rgba(0, 0, 0, 0.4);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 24px 24px;
    background:
        radial-gradient(ellipse at top center, rgba(255, 215, 0, 0.06) 0%, transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
}

.card-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-align: center;
}

.card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    border-radius: 100px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.15);
    color: #FFD700;
    font-size: 14px;
    font-weight: 700;
}

.card-features {
    padding: 20px;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    gap: 12px;
    transition: background 0.2s ease;
}

/* Zebra striping */
.feature-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.015);
}

.feature-row:hover {
    background: rgba(255, 215, 0, 0.03);
}

.feature-label {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.feature-value {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.feature-value.bonus {
    color: #FFD700;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
}

/* Pill-style yes/no badges */
.feature-value.yes {
    color: #34d399;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 100px;
    background: rgba(52, 211, 153, 0.08);
    font-size: 13px;
}

.feature-value.no {
    color: #f87171;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 100px;
    background: rgba(248, 113, 113, 0.08);
    font-size: 13px;
}

.card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 20px 20px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #FFD700 0%, #e0a820 100%);
    border-radius: 10px;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    box-shadow:
        0 0 16px rgba(255, 215, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-cta:hover {
    background: linear-gradient(135deg, #ffd95c 0%, #FFD700 100%);
    transform: translateY(-2px);
    box-shadow:
        0 0 24px rgba(255, 215, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.35);
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    position: relative;
}

.comparison-vs::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 15%,
        rgba(255, 215, 0, 0.15) 45%,
        rgba(255, 215, 0, 0.15) 55%,
        rgba(255, 255, 255, 0.06) 85%,
        transparent 100%
    );
    transform: translateX(-50%);
    z-index: -1;
}

.comparison-vs span {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 18, 26, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    color: #FFD700;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.12);
    animation: vsPulse 3s ease-in-out infinite;
}

/* Share Button */
.share-comparison {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:active {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.share-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-content.copied {
    color: #22c55e;
}

.share-content.copied svg {
    color: #22c55e;
}

/* ===== LICENSE VERIFICATION STYLES ===== */

.result-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

.status-icon.valid {
    color: #22c55e;
}

.status-icon.invalid {
    color: #ef4444;
}

.status-text {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.license-details {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    color: #94a3b8;
}

.detail-value {
    color: #e2e8f0;
    font-weight: 500;
}

.registry-links {
    margin-top: 30px;
}

.registry-links h3 {
    font-size: 18px;
    color: #e2e8f0;
    margin: 0 0 10px;
}

.registry-note {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.registry-link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.registry-name {
    color: #e2e8f0;
    font-weight: 500;
}

.registry-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #FFD700;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.registry-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

.license-info-section {
    margin-top: 40px;
}

.license-info-section h3 {
    font-size: 18px;
    color: #e2e8f0;
    margin: 0 0 20px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
}

.info-card h4 {
    font-size: 16px;
    color: #e2e8f0;
    margin: 0 0 10px;
}

.info-card p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* ===== FAQ SECTION ===== */

.faq-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFD700;
    text-align: center;
    margin: 0 0 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.05);
}

.faq-question.active {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
}

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

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

.faq-answer {
    padding: 0 24px 20px;
    color: #94a3b8;
    line-height: 1.7;
}

/* ===== RESPONSIBLE NOTICE ===== */

.responsible-notice {
    padding: 30px 0;
    background: rgba(239, 68, 68, 0.05);
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.notice-content svg {
    color: #f87171;
    flex-shrink: 0;
}

.notice-content p {
    color: #f87171;
    font-size: 14px;
    margin: 0;
}

/* ===== CONTENT SECTION ===== */

.content-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.richtext-content {
    max-width: 800px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.8;
}

.richtext-content h2 {
    color: #FFD700;
    font-size: 28px;
    margin: 40px 0 20px;
}

.richtext-content h3 {
    color: #e2e8f0;
    font-size: 22px;
    margin: 30px 0 15px;
}

.richtext-content p {
    margin-bottom: 20px;
}

.richtext-content ul,
.richtext-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.richtext-content li {
    margin-bottom: 10px;
}

/* ===== AUTHORS SECTION ===== */

.tool-authors-section {
    padding: 64px 0;
    background: #12121a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tool-authors-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 32px;
    text-align: center;
}

.tool-authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.tool-author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #0a0a0f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s;
}

.tool-author-card:active {
    border-color: #FFD700;
}

.tool-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #000;
    flex-shrink: 0;
    overflow: hidden;
}

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

.tool-author-info {
    flex: 1;
    min-width: 0;
}

.tool-author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px;
}

.tool-author-role {
    font-size: 12px;
    color: #FFD700;
    display: block;
    margin-bottom: 6px;
}

.tool-author-info p {
    font-size: 13px;
    color: #8a8a9a;
    margin: 0;
    line-height: 1.4;
}

.tool-author-arrow {
    color: #8a8a9a;
    flex-shrink: 0;
}

/* ===== CALCULATOR TABS ===== */

.calculator-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 6px;
}

.calculator-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculator-tab:hover {
    color: #e2e8f0;
}

.calculator-tab.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.1) 100%);
    color: #FFD700;
}

.calculator-tab svg {
    flex-shrink: 0;
}

/* Input with Prefix */
.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-prefix input {
    padding-left: 50px;
}

.input-prefix {
    position: absolute;
    left: 16px;
    color: #FFD700;
    font-weight: 600;
    font-size: 16px;
}

/* Input Tooltip */
.input-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    color: #FFD700;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    cursor: help;
    vertical-align: middle;
}

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: rgba(255, 215, 0, 0.3);
}

.radio-option.active {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #FFD700;
    cursor: pointer;
}

.radio-label {
    color: #e2e8f0;
    font-size: 14px;
}

/* Reset Button */
.reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

/* Result Main */
.result-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.result-main .result-value {
    font-size: 42px;
}

.result-main .result-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.result-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    color: #FFD700;
    font-size: 10px;
    font-weight: 700;
    cursor: help;
}

/* Secondary Result Card */
.result-card.secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.result-card.secondary .result-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.result-card.secondary .result-value {
    font-size: 24px;
    color: #e2e8f0;
}

/* Breakdown Table */
.breakdown-table {
    display: flex;
    flex-direction: column;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.breakdown-game {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 14px;
}

.game-icon {
    font-size: 18px;
}

.breakdown-value {
    color: #FFD700;
    font-weight: 600;
    font-size: 14px;
}

/* Input Fields Container */
.input-fields {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.input-row {
    display: flex;
    gap: 15px;
}

.input-row .input-group {
    flex: 1;
}

/* ===== ANIMATIONS ===== */

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes vsPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.15), 0 0 40px rgba(255, 215, 0, 0.05);
    }
    50% {
        box-shadow: 0 0 28px rgba(255, 215, 0, 0.25), 0 0 56px rgba(255, 215, 0, 0.1);
    }
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .vs-badge,
    .comparison-vs span {
        animation: none;
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }

    .tool-results {
        padding-left: 0;
        padding-top: 40px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tool-hero {
        padding: 60px 0 40px;
    }

    .tool-title {
        font-size: 32px;
    }

    .tool-card {
        padding: 25px;
    }

    .calculator-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .calculator-tab {
        padding: 12px 16px;
        font-size: 14px;
    }

    .radio-group {
        gap: 6px;
    }

    .radio-option {
        padding: 10px 14px;
    }

    .result-main .result-value {
        font-size: 32px;
    }

    .breakdown-row {
        padding: 12px 14px;
    }

    .contribution-grid {
        grid-template-columns: 1fr;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 20px 16px;
        font-size: 14px;
    }

    .tool-authors-grid {
        grid-template-columns: 1fr;
    }

    /* Comparison Tool Mobile */
    .vs-selector-section {
        padding: 24px 16px;
    }

    .vs-selector-container {
        flex-direction: column;
        gap: 16px;
    }

    .casino-selector {
        width: 100%;
        max-width: none;
    }

    .vs-badge {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .suggestions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .suggestion-item {
        padding: 12px 8px;
    }

    .suggestion-logo {
        width: 40px;
        height: 40px;
    }

    .suggestion-name {
        font-size: 12px;
    }

    .compare-btn-large {
        font-size: 16px;
        padding: 14px 30px;
    }

    /* Comparison cards — side by side on mobile */
    .comparison-cards {
        grid-template-columns: 1fr 28px 1fr;
        gap: 0;
    }

    .comparison-vs {
        padding-top: 50px;
    }

    .comparison-vs::after {
        display: none;
    }

    .comparison-vs span {
        width: 28px;
        height: 28px;
        font-size: 10px;
        border-width: 1px;
        box-shadow: none;
        animation: none;
    }

    .comparison-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .card-header {
        padding: 14px 10px;
    }

    .card-header::after {
        display: none;
    }

    .card-logo {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        padding: 4px;
    }

    .card-name {
        font-size: 13px;
    }

    .card-rating {
        font-size: 11px;
        padding: 2px 8px;
    }

    .card-features {
        padding: 0;
    }

    .feature-row {
        padding: 8px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .feature-label {
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        opacity: 0.5;
    }

    .feature-value {
        font-size: 12px;
        text-align: left;
    }

    .feature-value.yes,
    .feature-value.no {
        padding: 1px 6px;
        font-size: 10px;
    }

    .card-cta {
        margin: 8px 10px 12px;
        padding: 10px 8px;
        font-size: 11px;
        letter-spacing: 0;
    }

    .card-cta svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .tool-title {
        font-size: 26px;
    }

    .result-value {
        font-size: 28px;
    }

    .casino-header {
        font-size: 12px;
    }

    .casino-logo-small {
        width: 40px;
        height: 20px;
    }
}

/* Hero Author Badges (same as casino pages) */
.tool-hero .cl-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    justify-content: center;
}

.tool-hero .cl-author-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--cl-border, rgba(255,255,255,0.08));
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tool-hero .cl-author-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--cl-accent, #f0c844);
}

.tool-hero .cl-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--cl-accent, #f0c844);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-hero .cl-author-avatar img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
}

.tool-hero .cl-author-avatar span {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.tool-hero .cl-author-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tool-hero .cl-author-label {
    font-size: 11px;
    color: var(--cl-text-muted, #8a8a9a);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-hero .cl-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--cl-text, #fff);
}

@media (max-width: 768px) {
    .tool-hero .cl-hero-meta {
        justify-content: center;
    }
}

/* Comparison: small text for long values */
.feature-value.small {
    font-size: 12px;
    line-height: 1.4;
    word-break: break-word;
}

/* Show more link in comparison cards */
.show-more-link {
    display: inline-block;
    margin-left: 4px;
    color: var(--cl-accent, #f0c844);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.show-more-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Show more link on new line */
.show-more-link {
    display: block !important;
    margin-left: 0 !important;
    margin-top: 4px;
}
