.compare-section { margin-bottom: 48px; }
.compare-section .compare-toolbar { background-color: #ffffff; border-radius: 12px; padding: 20px; margin-bottom: 20px; border: 1px solid #e0e0e6; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
.compare-section .compare-toolbar-row { display: flex; flex-direction: column; gap: 12px; }
.compare-section .compare-toolbar-label { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.compare-section .compare-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.compare-section .compare-controls .compare-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; background-color: #f8f8fc; color: #444444; border: 1px solid #d8d8e4; transition: all 0.2s; user-select: none; }
.compare-section .compare-controls .compare-toggle:hover { border-color: #1F25DB; color: #1F25DB; background-color: #f0f0ff; }
.compare-section .compare-controls .compare-toggle.selected { background-color: #1F25DB; color: #ffffff; border-color: #1F25DB; box-shadow: 0 2px 8px rgba(31, 37, 219, 0.25); }
.compare-section .compare-controls .compare-toggle .checkmark { display: none; font-size: 11px; }
.compare-section .compare-controls .compare-toggle.selected .checkmark { display: inline; }
.compare-section .compare-clear { padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; background-color: transparent; color: #cc0000; border: 1px solid #cc0000; transition: all 0.2s; }
.compare-section .compare-clear:hover { background-color: #cc0000; color: #ffffff; }
.compare-section .compare-count { font-size: 13px; color: #1F25DB; font-weight: 700; padding: 8px 14px; background-color: #ededff; border-radius: 8px; display: none; align-items: center; gap: 6px; }
.compare-section .compare-count.visible { display: inline-flex; }
.compare-section .sort-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.compare-section .sort-label { font-size: 13px; font-weight: 700; color: #888888; letter-spacing: 0.3px; }
.compare-section .sort-btn { padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; background-color: #ffffff; color: #555555; border: 1px solid #d8d8e4; transition: all 0.2s; user-select: none; }
.compare-section .sort-btn:hover { border-color: #1F25DB; color: #1F25DB; }
.compare-section .sort-btn.active { background-color: #1F25DB; color: #ffffff; border-color: #1F25DB; }
.compare-section .sort-btn .sort-arrow { font-size: 10px; margin-left: 4px; }
.compare-section .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid #e0e0e6; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
.compare-section .casino-table { width: 100%; border-collapse: collapse; background-color: #ffffff; }
.compare-section .casino-table th { background-color: #1F25DB; color: #ffffff; font-size: 11px; font-weight: 600; padding: 12px 10px; text-align: left; white-space: nowrap; position: sticky; top: 0; z-index: 2; letter-spacing: 0.3px; cursor: pointer; transition: background-color 0.2s; user-select: none; }
.compare-section .casino-table th:hover { background-color: #161BA8; }
.compare-section .casino-table th:first-child { border-radius: 12px 0 0 0; }
.compare-section .casino-table th:last-child { border-radius: 0 12px 0 0; cursor: default; }
.compare-section .casino-table th:last-child:hover { background-color: #1F25DB; }
.compare-section .casino-table th .th-inner { display: flex; align-items: center; gap: 6px; }
.compare-section .casino-table th .sort-indicator { font-size: 10px; opacity: 0.5; transition: opacity 0.2s; }
.compare-section .casino-table th.sorted .sort-indicator { opacity: 1; }
.compare-section .casino-table tbody tr { transition: all 0.2s; cursor: pointer; }
.compare-section .casino-table tbody tr:hover td { background-color: #f8f8fc; }
.compare-section .casino-table tbody tr.highlighted td { background-color: #ededff; border-bottom-color: #d0d0f0; }
.compare-section .casino-table tbody tr.highlighted:hover td { background-color: #e0e0ff; }
.compare-section .casino-table tbody tr.hidden-row { display: none; }
.compare-section .casino-table tbody tr.fade-in { animation: rowFadeIn 0.3s ease forwards; }
@keyframes rowFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.compare-section .casino-table td { font-size: 13px; padding: 12px 10px; border-bottom: 1px solid #f0f0f4; vertical-align: middle; color: #333333; transition: background-color 0.2s; }
.compare-section .casino-table tbody tr:last-child td { border-bottom: none; }
.compare-section .casino-table .casino-rank { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: 13px; font-weight: 800; border-radius: 8px; }
.compare-section .casino-table tbody tr:nth-child(1) .casino-rank { background-color: #1F25DB; color: #ffffff; }
.compare-section .casino-table tbody tr:nth-child(2) .casino-rank { background-color: #1F84DB; color: #ffffff; }
.compare-section .casino-table tbody tr:nth-child(3) .casino-rank { background-color: #5B9FE3; color: #ffffff; }
.compare-section .casino-table tbody tr:nth-child(n+4) .casino-rank { background-color: #ededff; color: #1F25DB; }
.compare-section .casino-table .casino-name-cell { display: flex; align-items: center; gap: 10px; }
.compare-section .casino-table .casino-logo { width: 140px; height: auto; border-radius: 8px; object-fit: contain; flex-shrink: 0; background-color: #f8f8fc; border: 1px solid #e8e8ee; padding: 2px; }
.compare-section .casino-table .stat-cell { white-space: nowrap; }
.compare-section .casino-table .stat-value { font-weight: 700; font-size: 13px; color: #1a1a2e; display: block; }
.compare-section .casino-table .stat-bar { height: 4px; border-radius: 2px; background-color: #f0f0f4; margin-top: 4px; overflow: hidden; width: 50px; }
.compare-section .casino-table .stat-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, #1F25DB, #1F84DB); transition: width 0.6s ease; }
.compare-section .casino-table .payment-tag { display: inline-block; background-color: #f8f8fc; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; margin: 1px 2px; white-space: nowrap; color: #555555; border: 1px solid #e8e8ee; }
.compare-section .casino-table tr:hover .payment-tag { background-color: #ededff; border-color: #d0d0f0; }
.compare-section .casino-table .speed-badge { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.compare-section .casino-table .speed-fast { background-color: #e6f7e6; color: #008009; border: 1px solid #b8e6b8; }
.compare-section .casino-table .speed-medium { background-color: #fff8e6; color: #b38600; border: 1px solid #ffe0a3; }
.compare-section .casino-table .speed-slow { background-color: #fef0f0; color: #cc0000; border: 1px solid #f5c6c6; }
.compare-section .casino-table .speed-icon { font-size: 11px; }
.compare-section .casino-table .money-value { font-weight: 700; font-size: 13px; color: #1a1a2e; }
.compare-section .casino-table .money-low { color: #008009; }
.compare-section .casino-table .highlight-list { list-style: none; padding: 0; margin: 0; }
.compare-section .casino-table .highlight-list li { font-size: 12px; padding: 2px 0; display: flex; align-items: flex-start; gap: 4px; line-height: 1.3; }
.compare-section .casino-table .highlight-list .highlight-icon { color: #1F25DB; flex-shrink: 0; font-size: 11px; margin-top: 3px; }
.compare-section .casino-table .play-btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; background-color: #1F25DB; color: #ffffff; border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; text-decoration: none; transition: all 0.2s; }
.compare-section .casino-table .play-btn:hover { background-color: #161BA8; text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(31, 37, 219, 0.25); color: #ffffff; }
.compare-section .casino-table .play-btn.disabled { background-color: #cccccc; color: #ffffff; cursor: default; pointer-events: none; }
.compare-section .casino-table .expand-cell { text-align: center; }
.compare-section .casino-table .expand-arrow { display: block; margin: 6px auto 0 auto; font-size: 14px; color: #999999; transition: transform 0.2s, color 0.2s; cursor: pointer; }
.compare-section .casino-table tr[data-casino]:hover .expand-arrow { color: #1F25DB; }
.compare-section .casino-table tr[data-casino].expanded .expand-arrow { transform: rotate(180deg); color: #1F25DB; }
.compare-section .casino-table .detail-row { display: none; }
.compare-section .casino-table .detail-row.visible { display: table-row; }
.compare-section .casino-table .detail-row td { padding: 0; border-bottom: 2px solid #1F25DB; }
.compare-section .casino-table .detail-content { padding: 20px 16px; background-color: #f8f8fc; display: flex; flex-wrap: wrap; gap: 20px; animation: detailSlide 0.3s ease; }
@keyframes detailSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.compare-section .casino-table .detail-block { flex: 1; min-width: 180px; }
.compare-section .casino-table .detail-block-title { font-size: 11px; font-weight: 700; color: #1F25DB; letter-spacing: 0.3px; margin-bottom: 8px; }
.compare-section .casino-table .detail-block-list { list-style: none; padding: 0; margin: 0; }
.compare-section .casino-table .detail-block-list li { font-size: 13px; color: #333333; padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.compare-section .casino-table .detail-icon { font-size: 11px; color: #1F25DB; }
.compare-section .casino-table .detail-cta { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background-color: #1F25DB; color: #ffffff; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; transition: all 0.2s; margin-top: 8px; }
.compare-section .casino-table .detail-cta:hover { background-color: #161BA8; text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(31, 37, 219, 0.25); }
.compare-section .casino-table .detail-cta.disabled { background-color: #cccccc; color: #ffffff; cursor: default; pointer-events: none; }
.compare-bar { position: fixed; bottom: -80px; left: 0; width: 100%; background-color: #1F25DB; color: #ffffff; padding: 14px 0; z-index: 200; box-shadow: 0 -4px 20px rgba(31, 37, 219, 0.3); transition: bottom 0.35s ease; }
.compare-bar.visible { bottom: 0; }
.compare-bar .compare-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.compare-bar .compare-bar-text { font-size: 14px; font-weight: 600; }
.compare-bar .compare-bar-text span { color: #a5a8ff; font-weight: 800; }
.compare-bar .compare-bar-actions { display: flex; gap: 8px; }
.compare-bar .compare-bar-btn { padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.compare-bar .compare-bar-view { background-color: #ffffff; color: #1F25DB; border: none; }
.compare-bar .compare-bar-view:hover { background-color: #f0f0ff; }
.compare-bar .compare-bar-reset { background-color: transparent; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.4); }
.compare-bar .compare-bar-reset:hover { background-color: rgba(255, 255, 255, 0.1); }
.compare-section .table-disclaimer { font-size: 12px; color: #888888; margin-top: 0; padding: 12px 16px; background-color: #ffffff; border-radius: 0 0 12px 12px; border: 1px solid #e0e0e6; border-top: none; }
.compare-section .table-note { font-size: 15px; color: #444444; margin-top: 20px; line-height: 1.7; }
@media (min-width: 768px) {
  .compare-section .compare-toolbar-row { flex-direction: row; align-items: center; gap: 16px; }
}
@media (min-width: 1024px) {
  .compare-section .casino-table th { font-size: 11px; padding: 12px 10px; }
  .compare-section .casino-table td { font-size: 13px; padding: 12px 10px; }
}
.compare-popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 300; align-items: center; justify-content: center; padding: 20px; }
.compare-popup-overlay.visible { display: flex; }
.compare-popup { background-color: #ffffff; border-radius: 16px; width: 100%; max-width: 900px; max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2); animation: popupIn 0.25s ease; }
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.compare-popup .compare-popup-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #e0e0e6; flex-shrink: 0; }
.compare-popup .compare-popup-title { font-size: 18px; font-weight: 800; color: #1a1a2e; }
.compare-popup .compare-popup-close { font-size: 28px; color: #888888; cursor: pointer; line-height: 1; padding: 0 4px; transition: color 0.2s; }
.compare-popup .compare-popup-close:hover { color: #1a1a2e; }
.compare-popup .compare-popup-body { overflow-x: auto; overflow-y: auto; padding: 24px; -webkit-overflow-scrolling: touch; }
.compare-popup .compare-popup-table-wrap { min-width: 100%; }
.compare-popup .compare-popup-table { width: 100%; border-collapse: collapse; }
.compare-popup .compare-popup-table th { font-size: 11px; font-weight: 700; color: #888888; letter-spacing: 0.3px; text-align: left; padding: 8px 12px; border-bottom: 2px solid #e0e0e6; white-space: nowrap; }
.compare-popup .compare-popup-table td { font-size: 14px; color: #333333; padding: 10px 12px; border-bottom: 1px solid #f0f0f4; vertical-align: top; }
.compare-popup .compare-popup-table tbody tr:last-child td { border-bottom: none; }
.compare-popup .compare-popup-table .popup-casino-name { font-weight: 700; color: #1a1a2e; white-space: nowrap; }
.compare-popup .compare-popup-table .popup-logo { width: 80px; height: auto; border-radius: 6px; border: 1px solid #e8e8ee; background-color: #f8f8fc; padding: 2px; }
.compare-popup .compare-popup-table .popup-badge-fast { display: inline-block; background-color: #e6f7e6; color: #008009; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.compare-popup .compare-popup-table .popup-badge-medium { display: inline-block; background-color: #fff8e6; color: #b38600; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.compare-popup .compare-popup-table .popup-badge-slow { display: inline-block; background-color: #fef0f0; color: #cc0000; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.compare-popup .compare-popup-table .popup-highlight { display: flex; align-items: flex-start; gap: 4px; font-size: 13px; margin-bottom: 4px; }
.compare-popup .compare-popup-table .popup-highlight-icon { color: #1F25DB; flex-shrink: 0; font-size: 11px; margin-top: 3px; }
