/* Logo as Base64 */
.logo-img {
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPCEtLSBTY2FyZiAtLT4KICA8cGF0aCBkPSJNNDAgNDAgQzQwIDQwLCA2MCAzNSwgODAgMzUgTDEyMCAzNSBDMTQwIDM1LCAxNjAgNDAsIDE2MCA0MCIgc3Ryb2tlPSIjMDA1N2ZmIiBzdHJva2Utd2lkdGg9IjgiIGZpbGw9Im5vbmUiLz4KICA8cmVjdCB4PSI1NSIgeT0iMzIiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iIzAwOTlmZiIvPgogIDxyZWN0IHg9Ijc1IiB5PSIzMiIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiBmaWxsPSIjMDA5OWZmIi8+CiAgPHJlY3QgeD0iOTUiIHk9IjMyIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIGZpbGw9IiMwMDk5ZmYiLz4KICA8cmVjdCB4PSIxMTUiIHk9IjMyIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIGZpbGw9IiMwMDk5ZmYiLz4KICA8cmVjdCB4PSIxMzUiIHk9IjMyIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIGZpbGw9IiMwMDk5ZmYiLz4KICAKICA8IS0tIFNpbGhvdWV0dGUgLS0+CiAgPGVsbGlwc2UgY3g9IjEwMCIgY3k9IjcwIiByeD0iMTUiIHJ5PSIxOCIgZmlsbD0iIzAwNTdmZiIvPgogIDxwYXRoIGQ9Ik03MCA4NSBDNCA4NSwgNzAgOTUsIDcwIDEyMCBMNzAgMTQwIEw4NSAxNDAgTDg1IDEwNSBMMTAwIDkwIEwxMTUgMTA1IEwxMTUgMTQwIEwxMzAgMTQwIEwxMzAgMTIwIEMxMzAgOTUsIDEzMCA4NSwgMTMwIDg1IFoiIGZpbGw9IiMwMDU3ZmYiLz4KICAKICA8IS0tIEFybXMgaG9sZGluZyBzY2FyZiAtLT4KICA8cGF0aCBkPSJNNzAgODUgTDQwIDYwIiBzdHJva2U9IiMwMDU3ZmYiIHN0cm9rZS13aWR0aD0iMTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgogIDxwYXRoIGQ9Ik0xMzAgODUgTDE2MCA2MCIgc3Ryb2tlPSIjMDA1N2ZmIiBzdHJva2Utd2lkdGg9IjEyIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
}

.logo-img.blue {
    filter: brightness(0) saturate(100%) invert(27%) sepia(97%) saturate(2684%) hue-rotate(209deg) brightness(102%) contrast(101%);
}

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

body {
    background: #4e495a;
    position: relative;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    min-height: 100vh;
    padding: 1rem;
    overflow-x: hidden;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.header-logo {
    max-height: 150px;
    height: auto;
}

.live-indicator {
    width: 16px;
    height: 16px;
    background: #ff0040;
    border-radius: 50%;
    box-shadow: 0 0 20px #ff0040, 0 0 40px #ff0040;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.live-text {
    color: #ff0040;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 20px rgba(255, 0, 64, 0.5);
}

.last-updated {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 400;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: all 0.5s;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px #5126384D;
}

.filter-btn:hover::before {
    width: 100%;
    height: 100%;
}

.filter-btn.active {
    background: linear-gradient(135deg, #512638, #512638CC);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 30px #51263899;
    animation: filterGlow 2s ease-in-out infinite;
}

@keyframes filterGlow {
    0%, 100% { box-shadow: 0 0 30px #51263899; }
    50% { box-shadow: 0 0 40px #512638CC; }
}

.rumors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem 2rem 1rem;
}

.rumor-card {
    background-color: #000000;  /* ADD THIS BACK as fallback */
    border: none;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 450px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.rumor-card.done-deal {
    background-image: url('https://rfc.scarfabovethehead.com/assets/done-deal.png');
}

.rumor-card.jetting-in {
    background-image: url('https://rfc.scarfabovethehead.com/assets/jetting-in.png');
}

.rumor-card.wheeling {
    background-image: url('https://rfc.scarfabovethehead.com/assets/wheeling-dealing.png');
}

.rumor-card.whisper {
    background-image: url('https://rfc.scarfabovethehead.com/assets/whisper.png');
}

.rumor-card.dead {
    background-image: url('https://rfc.scarfabovethehead.com/assets/deal-off.png');
}

.live-header {
    height: 40px;
    background: transparent;  /* Completely transparent */
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0 1rem;
}

.live-indicator-small {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    flex-shrink: 0;
    width: auto;
    max-width: fit-content;
    min-width: auto;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.4;
        transform: scale(1.2);
    }
}

.live-text-small {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.timestamp-small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.6rem;
    font-weight: 500;
}
.rumor-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px #51263866;
}

.player-section {
    position: relative;
    height: 120px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.player-image {
    width: 90%;
    height: 120%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
    margin-left: -10px;
    margin-bottom: -20px;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(200, 200, 200, 0.8));
    transition: filter 0.3s ease;
}

.player-image img:hover {
    filter: drop-shadow(0 0 20px rgba(200, 200, 200, 1));
}
    filter: brightness(0) invert(1) opacity(0.2);
}

.player-silhouette {
    width: 100%;
    height: 100%;
    background: #FF0000 url('/assets/scarfpic.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 15px rgba(200, 200, 200, 0.8));
    transition: filter 0.3s ease;
}

.player-silhouette:hover {
    filter: drop-shadow(0 0 20px rgba(200, 200, 200, 1));
}

/* Status-based silhouette colors */
.player-silhouette.done-deal {
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.2)) 
            hue-rotate(120deg) saturate(0.6) opacity(0.4);
}

.player-silhouette.jetting-in {
    filter: drop-shadow(0 0 10px rgba(0, 153, 255, 0.2)) 
            hue-rotate(200deg) saturate(0.6) opacity(0.4);
}

.player-silhouette.wheeling {
    filter: drop-shadow(0 0 10px rgba(204, 0, 255, 0.2)) 
            hue-rotate(280deg) saturate(0.6) opacity(0.4);
}

.player-silhouette.whisper {
    filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.2)) 
            hue-rotate(50deg) saturate(0.6) opacity(0.4);
}

.player-silhouette.dead {
    filter: drop-shadow(0 0 10px rgba(255, 0, 64, 0.2)) 
            hue-rotate(340deg) saturate(0.6) opacity(0.4);
}

/* Main card info section */
.card-info {
    position: relative;
    background: transparent;
    padding: 1.5rem;
    padding-bottom: 1rem;  /* Less padding at bottom */
    padding-right: calc(56px + 12px); /* was +16px */
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;  /* Changed from space-between to flex-end */
    gap: 0.5rem;  /* ADD THIS - default spacing between all children */
}

.player-name-large {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #ffffff;
  
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.05;
    
    /* cap at 2 lines */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  
    /* better breaks for long names */
    overflow-wrap: anywhere;
  
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    text-overflow: clip !important;
    white-space: normal !important;
  }

/* IN/OUT badge - smaller and tighter */
.direction-badge {
    display: inline-flex;
    padding: 0.25rem 0.8rem;
    background: #00ff88;
    color: #000000;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.15rem; /* tiny breathing room */
    font-family: 'Oswald', sans-serif;
    width: auto;
    align-self: flex-start;
    flex: 0 0 auto;            /* don’t shrink */
    height: 28px;              /* optional: consistent pill height */
    align-items: center;
}

.direction-badge.out {
    background: #ff0040;
    color: #ffffff;
}

/* Club badges row - more compact */
.clubs-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0;
    flex: 0 1 auto;
    min-width: 0;
  }

  /* Clubs row - Recommendation A (clean text + arrow) */
.clubs-row--text {
    flex: 0 0 100%;     /* key: full row */
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: nowrap;  /* keep it one line */
    min-width: 0;
  }
  
  .club-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;       /* smaller (adjust 0.75–0.85) */
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;             /* IMPORTANT: allow ellipsis to work in flex */
    flex: 1 1 0;              /* IMPORTANT: equal split */

  }
  
  /* Nudge destination slightly stronger (optional but nice) */
  .club-text--to {
    color: rgba(255, 255, 255, 0.9);
  }
  
  /* Arrow: slimmer + calmer than the rest of the UI */
  .transfer-arrow-large {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  

.club-badge {
    width: 45px;  /* Slightly smaller */
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.7rem;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);  /* Add border */
}

/* Transfer details - simpler text style */
.transfer-info {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;  /* Small extra space before votes */
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Inter', sans-serif;
    box-shadow: none;
    width: auto;
    max-width: fit-content;
    color: #ffffff;
    background: transparent;
    opacity: 0.82;
}

.transfer-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    min-width: 0;
  }

/* Remove all the colored backgrounds for transfer types */
.transfer-info.transfer,
.transfer-info.loan,
.transfer-info.loan-option,
.transfer-info.loan-obligation { 
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

/* Voting section - percentage style */
.vote-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    margin-top: 0;
    justify-content: flex-start;
    max-width: 100%;
}

.vote-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 1.0rem;  /* Larger */
    font-weight: 600;
}

.vote-count.up {
    color: #ffffff;  /* White instead of green */
}

.vote-count.down {
    color: #ffffff;  /* White instead of red */
}

/* Hide the share button to match mockup */
.share-btn-small {
    display: none;  /* Changed from flex */
    align-items: center;
    gap: 0.2rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(0, 87, 255, 0.6));
    border: 1px solid rgba(0, 123, 255, 0.4);
    color: #ffffff;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: auto;
    flex-shrink: 0;
    min-width: fit-content;
}

/* Side rating badges - vertical on the right */
.side-ratings {
    position: absolute;
    right: 10px;
    top: 25px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 20;
    justify-content: space-evenly;
    width: 56px;              /* choose 52–60px */
}

.rating-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.5rem;
    background: rgba(0, 0, 0, 0.3);  /* Changed from rgba(0, 0, 0, 0.95) to semi-transparent */
    border-radius: 8px;
    border: 1px solid #333333;
    transition: all 0.3s;
    width: 100%;              /* fill the rail */
    justify-content: center;  /* keeps icon centered */

}

.rating-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.rating-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.5rem;
    font-weight: 700;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: pre-line;
    line-height: 0.85;
}

.rating-indicator.active {
    border-color: #0099ff;
    box-shadow: 0 0 25px rgba(0, 153, 255, 0.7);
}

.rating-indicator.active .rating-label {
    color: #0099ff;
    text-shadow: 0 0 8px rgba(0, 153, 255, 1);
    font-weight: 900;
} 

.rating-indicator.active .rating-icon {
    filter: drop-shadow(0 0 3px rgba(0, 153, 255, 0.8));
}

/* Transfer rating status colors */
.rating-indicator.done-deal.active {
    border-color: rgb(57, 255, 20);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.7);
}

.rating-indicator.done-deal.active .rating-label {
    color: rgb(57, 255, 20);
    text-shadow: 0 0 8px rgba(57, 255, 20, 1);
}

.rating-indicator.done-deal.active .rating-icon {
    filter: drop-shadow(0 0 3px rgba(57, 255, 20, 0.8));
}

.rating-indicator.jetting-in.active {
    border-color: rgb(0, 123, 255);
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.7);
}

.rating-indicator.jetting-in.active .rating-label {
    color: rgb(0, 123, 255);
    text-shadow: 0 0 8px rgba(0, 123, 255, 1);
}

.rating-indicator.jetting-in.active .rating-icon {
    filter: drop-shadow(0 0 3px rgba(0, 123, 255, 0.8));
}

.rating-indicator.wheeling.active {
    border-color: rgb(255, 111, 0);
    box-shadow: 0 0 25px rgba(255, 111, 0, 0.7);
}

.rating-indicator.wheeling.active .rating-label {
    color: rgb(255, 111, 0);
    text-shadow: 0 0 8px rgba(255, 111, 0, 1);
}

.rating-indicator.wheeling.active .rating-icon {
    filter: drop-shadow(0 0 3px rgba(255, 111, 0, 0.8));
}

.rating-indicator.whisper.active {
    border-color: rgb(185, 102, 255);
    box-shadow: 0 0 25px rgba(185, 102, 255, 0.7);
}

.rating-indicator.whisper.active .rating-label {
    color: rgb(185, 102, 255);
    text-shadow: 0 0 8px rgba(185, 102, 255, 1);
}

.rating-indicator.whisper.active .rating-icon {
    filter: drop-shadow(0 0 3px rgba(185, 102, 255, 0.8));
}

.rating-indicator.dead.active {
    border-color: rgb(255, 7, 58);
    box-shadow: 0 0 25px rgba(255, 7, 58, 0.7);
}

.rating-indicator.dead.active .rating-label {
    color: rgb(255, 7, 58);
    text-shadow: 0 0 8px rgba(255, 7, 58, 1);
}

.rating-indicator.dead.active .rating-icon {
    filter: drop-shadow(0 0 3px rgba(255, 7, 58, 0.8));
}

/* .share-btn-small {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(0, 87, 255, 0.6));
    border: 1px solid rgba(0, 123, 255, 0.4);
    color: #ffffff;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: auto;
    flex-shrink: 0;
    min-width: fit-content;
} */

/* .share-btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 123, 255, 1), rgba(0, 87, 255, 0.8));
} */

.share-icon {
    font-size: 0.7rem;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

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

.timeline-modal {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    border: 2px solid rgba(0, 87, 255, 0.2);
    border-radius: 25px;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 
        0 20px 60px rgba(0, 87, 255, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { 
        transform: translateY(50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.1), rgba(255, 0, 128, 0.05));
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-btn:hover {
    background: rgba(255, 0, 64, 0.2);
    border-color: #ff0040;
    color: #ff0040;
    transform: rotate(90deg);
}

.timeline-content {
    padding: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    animation: timelineItemIn 0.5s ease-out backwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes timelineItemIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 2rem;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(180deg, #0057ff, #ff0080);
    opacity: 0.3;
}

.timeline-dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0057ff, #0044cc);
    flex-shrink: 0;
    margin-top: 0.25rem;
    box-shadow: 0 0 20px rgba(0, 87, 255, 0.5);
    position: relative;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 87, 255, 0.4), transparent);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.timeline-dot.recent {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.timeline-dot.recent::before {
    background: radial-gradient(circle, rgba(0, 255, 136, 0.4), transparent);
}

.timeline-content-item {
    flex: 1;
}

.timeline-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.timeline-source {
    display: inline-block;
    color: #0099ff;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 153, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 153, 255, 0.3);
}

/* Custom scrollbar for modal */
.timeline-modal::-webkit-scrollbar {
    width: 10px;
}

.timeline-modal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.timeline-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0057ff, #ff0080);
    border-radius: 10px;
}

.timeline-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0099ff, #ff00aa);
}

@media (max-width: 768px) {
    .rumors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .player-name {
        font-size: 1.6rem;
    }

    .timeline-tweet {
        margin: 0.5rem 0;
        padding: 1rem;
        background: linear-gradient(135deg, rgba(29, 161, 242, 0.1), rgba(29, 161, 242, 0.05));
        border: 1px solid rgba(29, 161, 242, 0.3);
        border-radius: 15px;
    }

    .timeline-tweet iframe {
        width: 100% !important;
        max-width: 100% !important;
    }
}