/* Modern Profile Page Design - 2025 */
:root {
  --primary-color: #d103b8;
  --primary-hover: #a8028f;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --dark-bg: rgba(0, 0, 0, 0.85);
  --darker-bg: rgba(0, 0, 0, 0.95);
  --card-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --gold-color: #ffd700;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), #8a2be2);
  --gradient-gold: linear-gradient(135deg, #ffd700, #ffed4e);
}

body {
  font-family: 'Play', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 60px 0 0 0; /* Add top padding for navbar */
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Prevent page scrolling when in live mode */
body.live-mode {
  overflow: hidden;
  padding-top: 0; /* Remove top padding in live mode */
}

/* Navbar override to ensure full width on this page when in live mode */
body.live-mode .navbar-desktop {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  padding: 0 20px !important;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  background: transparent;
  box-shadow: none;
}

/* Live Stream Layout */
.live-layout {
  position: fixed;
  top: 60px; /* Account for navbar */
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  background: #000;
  z-index: 10;
  margin: 0;
  padding: 0;
}

.live-stream-main {
  flex: 1;
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-stream-player {
  width: 100%;
  height: 100%;
  background: #000;
}

.live-stream-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.live-stream-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 20;
}

.live-indicator-overlay {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.live-dot-overlay {
  color: #ff0000;
  animation: pulse 1.5s ease-in-out infinite;
  font-size: 1rem;
}

.live-text-overlay {
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
  color: white;
}

.stream-title-overlay {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 5px 0;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-meta-overlay {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

.profile-sidebar {
  width: 400px;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  overflow-y: auto;
  overflow-x: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  scrollbar-width: thin;
  scrollbar-color: rgba(209, 3, 184, 0.5) rgba(255, 255, 255, 0.1);
  height: 100%;
  position: relative;
}

.profile-sidebar::-webkit-scrollbar {
  width: 8px;
}

.profile-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.profile-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #d103b8, #00D4FF);
  border-radius: 4px;
}

.profile-sidebar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #b8029c, #00b8d4);
}

.profile-sidebar .container {
  max-width: none;
  width: 100%;
  padding: 15px;
  margin: 0;
  overflow: visible;
}

.profile-sidebar .user-info,
.profile-sidebar .table-section,
.profile-sidebar .twitch-section {
  margin-bottom: 15px;
  overflow: visible;
}

/* Compact styles for sidebar content */
.profile-sidebar .user-info {
  padding: 20px;
}

.profile-sidebar .profile-section {
  flex-direction: column;
  text-align: center;
  gap: 15px;
  margin-bottom: 15px;
}

.profile-sidebar .profile-pic {
  width: 80px;
  height: 80px;
}

.profile-sidebar .display-name {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.profile-sidebar .stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.profile-sidebar .stat-card {
  padding: 15px;
}

.profile-sidebar .stat-value {
  font-size: 1.4rem;
}

.profile-sidebar .profile-social-links {
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.profile-sidebar .table-section {
  padding: 15px;
  margin-bottom: 15px;
  overflow: hidden;
}

.profile-sidebar .section-header {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.profile-sidebar .section-header::after {
  display: none;
}

.profile-sidebar .twitch-section {
  padding: 20px;
}

.profile-sidebar .vods-grid {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

/* Hide normal container when in live mode */
body.live-mode .container:not(.profile-sidebar .container) {
  display: none;
}

/* Ensure no unexpected spacing in live mode */
body.live-mode {
  margin: 0;
  padding: 0;
}

body.live-mode * {
  box-sizing: border-box;
}

/* Profile Header Card */
.user-info {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.user-info::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(209, 3, 184, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  box-shadow: 0 0 25px rgba(209, 3, 184, 0.5);
  transition: all 0.3s ease;
  object-fit: cover;
}

.profile-pic:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(209, 3, 184, 0.8);
}

.profile-details {
  flex: 1;
}

.display-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.join-date {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  border-radius: 10px;
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 25px;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.currency-card {
  background: var(--gradient-gold);
  color: #000;
}

.currency-card .stat-value {
  color: #000;
}

/* Social Links */
.profile-social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.discord-link, .twitch-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.discord-link:hover {
  background: rgba(88, 101, 242, 0.2);
  border-color: #5865f2;
  transform: translateY(-2px);
}

.twitch-link:hover {
  background: rgba(145, 70, 255, 0.2);
  border-color: #9146ff;
  transform: translateY(-2px);
}

.discord-icon, .twitch-icon {
  width: 20px;
  height: 20px;
}

.social-username {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

/* Twitch Integration */
.twitch-section {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.twitch-live-indicator {
  background: linear-gradient(135deg, #ff0000, #ff4444);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
  display: inline-block;
  margin-bottom: 15px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Section Headers */
.section-header {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-header::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Modern Tables */
.table-section {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.table-scroll-wrapper {
  overflow-x: auto;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

/* Ensure regular tables are not affected by sidebar styles */
body:not(.live-mode) .table-section {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body:not(.live-mode) .table-scroll-wrapper {
  overflow-x: auto;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

body:not(.live-mode) .left-align-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  overflow: hidden;
}

body:not(.live-mode) .left-align-table th,
body:not(.live-mode) .left-align-table td {
  padding: 18px 15px;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Override table scroll wrapper in sidebar */
.profile-sidebar .table-scroll-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  max-width: 100%;
}

.profile-sidebar .left-align-table {
  font-size: 0.75rem;
  min-width: 100%;
  width: 100%;
}

.profile-sidebar .left-align-table th,
.profile-sidebar .left-align-table td {
  padding: 8px 6px;
  font-size: 0.75rem;
  word-break: break-word;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-sidebar .left-align-table th:first-child,
.profile-sidebar .left-align-table td:first-child {
  max-width: 60px;
}

.profile-sidebar .left-align-table th:nth-child(2),
.profile-sidebar .left-align-table td:nth-child(2) {
  max-width: 100px;
}

.profile-sidebar .left-align-table th:last-child,
.profile-sidebar .left-align-table td:last-child {
  max-width: 60px;
  text-align: center;
}

.left-align-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  overflow: hidden;
}

.left-align-table thead tr {
  background: var(--gradient-primary);
}

.left-align-table th {
  padding: 20px 15px;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  border: none;
}

.left-align-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.left-align-table tbody tr:hover {
  background: rgba(209, 3, 184, 0.1);
  transform: translateX(5px);
}

.left-align-table td {
  padding: 18px 15px;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.team-link, .ladder-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.team-link:hover, .ladder-link:hover {
  color: var(--primary-hover);
  text-shadow: 0 0 10px rgba(209, 3, 184, 0.5);
}

.wins {
  color: var(--success-color) !important;
  font-weight: 700;
}

.losses {
  color: var(--danger-color) !important;
  font-weight: 700;
}

/* Team History Styling */
.history-status {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active {
  background: rgba(40, 167, 69, 0.2);
  color: var(--success-color);
  border: 1px solid var(--success-color);
}

.status-left {
  background: rgba(108, 117, 125, 0.2);
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

/* Twitch Integration Styles - High Specificity */
.container .twitch-section {
    background: var(--card-bg) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

.container .twitch-section .section-header {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    color: var(--primary-color) !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.container .twitch-section .section-header::after {
    content: '' !important;
    flex: 1 !important;
    height: 2px !important;
    background: var(--gradient-primary) !important;
    border-radius: 2px !important;
}

.live-stream-banner {
    display: none; /* Hide old banner style */
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.live-dot {
    color: #ff0000;
    animation: pulse 1.5s ease-in-out infinite;
    font-size: 0.8rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-text {
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.live-stream-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    position: relative;
    z-index: 1;
}

.live-stream-thumbnail-link {
    display: block;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.live-stream-thumbnail {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.live-stream-thumbnail-link:hover .live-stream-thumbnail {
    transform: scale(1.02);
}

.stream-thumb {
    width: 200px;
    height: 112px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.live-stream-thumbnail-link:hover .stream-thumb {
    transform: scale(1.05);
}

.viewer-count {
    position: absolute;
    bottom: var(--spacing-xs);
    right: var(--spacing-xs);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    backdrop-filter: blur(8px);
}

.live-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    color: #9146ff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(145, 70, 255, 0.3);
}

.live-stream-thumbnail-link:hover .live-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
    border-color: #9146ff;
}

.live-stream-details {
    min-width: 0;
}

.live-stream-details h3 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 1.4rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.stream-meta {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.vods-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.container .twitch-section .vods-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 15px !important;
}

.container .twitch-section .vod-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

.container .twitch-section .vod-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 30px rgba(147, 70, 255, 0.3) !important;
    border-color: rgba(147, 70, 255, 0.5) !important;
}

.container .twitch-section .vod-thumbnail-link {
    display: block !important;
    text-decoration: none !important;
}

.container .twitch-section .vod-thumbnail {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 16/9 !important;
    background: linear-gradient(135deg, rgba(147, 70, 255, 0.1), rgba(0, 0, 0, 0.3)) !important;
}

.container .twitch-section .vod-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.container .twitch-section .vod-card:hover .vod-thumb {
    transform: scale(1.05) !important;
}

.container .twitch-section .vod-views {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    backdrop-filter: blur(8px) !important;
    font-weight: 500 !important;
}

.container .twitch-section .play-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: rgba(147, 70, 255, 0.9) !important;
    color: white !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(8px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.container .twitch-section .vod-card:hover .play-overlay {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
    background: rgba(147, 70, 255, 1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.container .twitch-section .vod-info {
    padding: 15px 15px 10px !important;
}

.container .twitch-section .vod-title {
    margin: 0 0 8px 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

.container .twitch-section .vod-title-link {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.3s ease !important;
}

.container .twitch-section .vod-title-link:hover {
    color: rgba(147, 70, 255, 1) !important;
}

.container .twitch-section .vod-date {
    margin: 0 !important;
    color: var(--text-secondary) !important;
    font-size: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    opacity: 0.8 !important;
}

.container .twitch-section .vod-date::before {
    content: '\f017' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    opacity: 0.6 !important;
    font-size: 0.75rem !important;
}

.no-twitch-activity {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-secondary);
}

.no-twitch-activity i {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

/* Responsive adjustments for Twitch section */
@media (max-width: 768px) {
    body.live-mode {
        padding-top: 0;
    }
    
    .live-layout {
        flex-direction: column;
        top: 70px; /* Mobile navbar height */
    }
    
    .profile-sidebar {
        width: 100%;
        height: 40vh;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        order: 2;
    }
    
    .live-stream-main {
        height: 60vh;
        order: 1;
    }
    
    .live-stream-overlay {
        top: 10px;
        left: 10px;
        padding: 10px 15px;
    }
    
    .stream-title-overlay {
        max-width: 200px;
        font-size: 1rem;
    }
    
    .profile-sidebar .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .profile-sidebar .stat-card {
        padding: 10px;
    }
    
    .profile-sidebar .stat-value {
        font-size: 1.1rem;
    }
    
    .container .twitch-section .vods-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 10px !important;
    }
    
    .container .twitch-section .vod-card {
        margin: 0 !important;
    }
    
    .container .twitch-section .vod-info {
        padding: 10px !important;
    }
    
    .container .twitch-section .vod-title {
        font-size: 0.85rem !important;
    }
    
    .container .twitch-section .vod-date {
        font-size: 0.75rem !important;
    }

    body {
        padding-top: 70px;
    }
    
    .container {
        padding: 15px;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .display-name {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .profile-social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .left-align-table th,
    .left-align-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    font-size: 1.5rem;
  }
  
  .user-info,
  .table-section {
    padding: 20px;
  }
}