/* CSS for Black Sheep Golf League - Masters-inspired theme */

:root {
    --masters-green: #006747;
    --augusta-green: #004225;
    --fairway-green: #4a7c59;
    --putting-green: #8FBC8F;
    --sand-beige: #F5E6D3;
    --white: #FFFFFF;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    --dark-text: #1a1a1a;
    --light-gray: #f8f9fa;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    min-height: 100vh;
    color: var(--dark-text);
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, var(--augusta-green) 0%, var(--masters-green) 100%);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.league-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.league-title__mascot {
    width: 112px;
    height: 112px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 4px solid var(--gold);
    box-shadow: 0 16px 28px rgba(0,0,0,0.25);
    object-fit: contain;
}

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

/* Profile Section */
.profile-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-inline-start: 1rem;
    padding-inline-end: 0;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    object-fit: cover;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.username {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--white);
}

.profile-section .dropdown-toggle {
    color: var(--white);
    text-decoration: none;
    padding: 5px;
}

.profile-section .dropdown-toggle::after {
    display: none;
}

.profile-section .dropdown-toggle:hover {
    color: var(--gold);
}

.profile-section .dropdown-menu {
    background: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.profile-section .dropdown-item {
    padding: 10px 20px;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.profile-section .dropdown-item:hover {
    background: var(--masters-green);
    color: var(--white);
}

.profile-section .dropdown-item i {
    margin-right: 10px;
    width: 20px;
}

/* Navigation */
.main-nav {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0;
}

.main-nav .navbar-nav {
    width: 100%;
}

.main-nav .nav-link {
    color: var(--dark-text);
    padding: 15px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.main-nav .nav-link:hover {
    background: var(--light-gray);
    color: var(--masters-green);
    border-bottom-color: var(--masters-green);
}

.main-nav .nav-link.active {
    background: var(--light-gray);
    color: var(--masters-green);
    border-bottom-color: var(--gold);
}

.main-nav .nav-link i {
    margin-right: 8px;
}

.main-nav .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0;
}

.main-nav .dropdown-item {
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.main-nav .dropdown-item:hover {
    background: var(--masters-green);
    color: var(--white);
}

/* Main Content */
.main-content {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Past Rounds */
.past-rounds-page .round-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.past-rounds-page .timeline-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(0, 103, 71, 0.1);
    color: var(--augusta-green);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.past-rounds-page .timeline-card:hover,
.past-rounds-page .timeline-card.is-active {
    background: rgba(0, 103, 71, 0.2);
    transform: translateY(-2px);
}

.past-rounds-page .timeline-card__date,
.past-rounds-page .timeline-card__round,
.past-rounds-page .timeline-card__course {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(0, 103, 71, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.past-rounds-page .timeline-card__course:empty {
    display: none;
}

/* Newsfeed Section */
.dashboard-top {
    align-items: stretch;
}

.newsfeed-container {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.dashboard-newsfeed-card {
    margin-bottom: 0;
    min-height: 100%;
}

.dashboard-newsfeed-card .feed-items {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 0.5rem;
}

@media (min-width: 1200px) {
    .dashboard-newsfeed-card {
        overflow: hidden;
    }

    .dashboard-newsfeed-card .feed-items {
        padding-right: 1rem;
        scrollbar-width: thin;
    }
}

.dashboard-newsfeed-card .empty-feed {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

.dashboard-side-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.dashboard-side-column .info-card {
    margin-bottom: 0;
}

.dashboard-side-column .last-round-card {
    display: flex;
    flex-direction: column;
}

.dashboard-side-column .last-round-card .card-body {
    display: flex;
    flex-direction: column;
}

.dashboard-lower .info-card {
    display: flex;
    flex-direction: column;
}

.dashboard-lower .info-card .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.dashboard-lower {
    margin-top: 2.5rem;
}

.section-header {
    color: var(--masters-green);
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--gold);
}

.newsfeed-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.newsfeed-header__text {
    flex: 1 1 240px;
    min-width: 0;
}

.newsfeed-header__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.newsfeed-mascot-frame {
    flex: 0 0 auto;
    width: clamp(84px, 18vw, 118px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 247, 210, 0.85));
    border: 5px solid rgba(255, 215, 0, 0.7);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
    padding: clamp(8px, 1.8vw, 14px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsfeed-mascot-frame::after {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.newsfeed-mascot {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
    background: #ffffff;
    padding: clamp(6px, 1.4vw, 10px);
}

.section-header i {
    color: var(--fairway-green);
    margin-right: 10px;
}

/* Composer */
.newsfeed-insight {
    font-size: 0.95rem;
}

.newsfeed-composer {
    background: var(--light-gray);
    border: 1px solid #e2ece7;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.composer-header {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.composer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--masters-green);
}

.composer-text {
    border: none;
    background: transparent;
    resize: vertical;
    min-height: 72px;
    font-size: 1rem;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease, border 0.2s ease;
}

.composer-text:focus {
    border: 1px solid rgba(0,103,71,0.3);
    box-shadow: 0 0 0 0.15rem rgba(0,103,71,0.15);
    background: #fff;
}

.composer-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.composer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
}

.composer-action {
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: #fff;
    color: var(--masters-green);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.composer-action:hover,
.composer-action:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    color: var(--augusta-green);
}

.composer-submit {
    padding: 10px 26px;
    font-weight: 600;
}

.composer-attachments {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.composer-attachment {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    background: #000;
}

.composer-attachment img,
.composer-attachment video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.composer-attachment .attachment-label {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
}

.composer-attachment button {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.composer-attachment button:hover {
    background: rgba(220, 53, 69, 0.85);
}

.attachment-uploading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    gap: 8px;
}

.attachment-uploading i {
    font-size: 1rem;
}

/* UPDATED MEME PICKER STYLES WITH FIXES */
.meme-picker-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 33, 24, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1080;
    overflow-y: auto;
}

.meme-picker-backdrop.is-visible {
    display: flex;
}

.meme-picker-backdrop[hidden] {
    display: none !important;
}

.meme-picker-dialog {
    position: relative;
    width: min(600px, 100%);
    max-height: 90vh;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.meme-picker-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    padding: 20px 24px 0;
    color: var(--masters-green);
    text-align: center;
}

.meme-picker-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    color: #133521;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.meme-picker-close:hover,
.meme-picker-close:focus {
    background: rgba(0, 103, 71, 0.2);
    transform: scale(1.05);
}

.meme-picker-body {
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
    padding: 10px 20px;
    background: #f8faf9;
}

.meme-picker-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.meme-picker-search {
    padding: 15px 0;
    position: sticky;
    top: 0;
    background: #f8faf9;
    z-index: 10;
    margin-bottom: 10px;
}

.meme-picker-search__controls {
    display: flex;
    gap: 8px;
}

.meme-picker-search__input {
    flex: 1;
    border: 1px solid #cbd5d1;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.meme-picker-search__input:focus {
    outline: none;
    border-color: var(--masters-green);
    box-shadow: 0 0 0 3px rgba(0, 103, 71, 0.18);
}

.meme-picker-search__button {
    border: none;
    background: var(--masters-green);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 18px rgba(0, 103, 71, 0.22);
}

.meme-picker-search__button:hover,
.meme-picker-search__button:focus {
    background: #0b5c3b;
    transform: translateY(-1px);
}

.meme-picker-status {
    font-size: 0.95rem;
    text-align: center;
    color: #6c757d;
    padding: 10px;
}

.meme-picker-status[hidden] {
    display: none;
}

.meme-picker-status[data-tone="info"] {
    color: var(--masters-green);
}

.meme-picker-status[data-tone="error"] {
    color: #dc3545;
}
/* Fixed Meme Picker Results Grid */
.meme-picker-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fixed 3 columns */
    gap: 10px;
    padding: 10px 0;
    overflow-y: auto;
    max-height: 60vh;
}

.meme-picker-result {
    position: relative;
    background: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    /* Remove aspect-ratio and use fixed height */
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meme-picker-result:hover,
.meme-picker-result:focus {
    border-color: #198754;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1; /* Ensure hovered item appears above others */
}

.meme-picker-result img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures full GIF is visible */
    background: #fff;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* For smaller screens, use 2 columns */
@media (max-width: 500px) {
    .meme-picker-results {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .meme-picker-result {
        height: 120px;
    }
}

.meme-picker-load-more {
    margin: 20px auto;
    padding: 10px 30px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    font-weight: 500;
}

.meme-picker-load-more:hover {
    background: #e9ecef;
}

.meme-picker-load-more.is-busy {
    opacity: 0.6;
    cursor: not-allowed;
}

.meme-picker-load-more[hidden] {
    display: none;
}

.meme-picker-empty {
    text-align: center;
    font-size: 0.95rem;
    color: #6c757d;
    padding: 40px 20px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.meme-picker-powered {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
    margin-top: auto;
}

.meme-picker-powered a {
    color: #198754;
    text-decoration: none;
    font-weight: 600;
}

.meme-picker-powered a:hover {
    text-decoration: underline;
}

body.meme-picker-open {
    overflow: hidden;
}

/* Emoji menu */
.emoji-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    display: none;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(31, 71, 47, 0.2);
    padding: 10px;
    z-index: 5;
    min-width: 220px;
}

.emoji-menu.is-visible {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.emoji-menu button {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 6px;
    transition: transform 0.2s ease;
}

.emoji-menu button:hover,
.emoji-menu button:focus {
    transform: scale(1.2);
}

/* Feed filters */
.feed-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feed-filter-btn {
    border: 1px solid #d5e5dd;
    background: #fff;
    color: var(--masters-green);
    border-radius: 999px;
    padding: 6px 18px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.feed-filter-btn:hover,
.feed-filter-btn:focus {
    background: var(--masters-green);
    color: #fff;
}

.feed-filter-btn.is-active {
    background: var(--augusta-green);
    color: #fff;
    border-color: var(--augusta-green);
    box-shadow: 0 8px 18px rgba(0, 103, 71, 0.25);
}

/* Feed items */
.newsfeed-card {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 12px 25px rgba(31, 71, 47, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsfeed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(31,71,47,0.18);
}

.newsfeed-card__header {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.newsfeed-card__meta {
    flex: 1;
}

.newsfeed-card__badge {
    margin-left: auto;
}

.newsfeed-card__avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0,103,71,0.2);
}

.newsfeed-card__meta strong {
    font-size: 1.05rem;
    display: block;
}

.newsfeed-card__meta small {
    color: #6c757d;
    display: block;
}

.newsfeed-card__badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0,103,71,0.08);
    color: var(--masters-green);
}

.newsfeed-card__message {
    margin: 18px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-text);
}

.newsfeed-card__message p {
    margin-bottom: 0.6rem;
}

.newsfeed-card__media {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.newsfeed-card__media-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

.newsfeed-card__media-item img,
.newsfeed-card__media-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.newsfeed-card__media-item video {
    max-height: 260px;
}

.newsfeed-card__media-item .media-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.newsfeed-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.newsfeed-tags span {
    background: var(--light-gray);
    color: var(--masters-green);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.newsfeed-reaction-bar {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #eef2f3;
    padding: 10px 0 6px;
    margin-bottom: 8px;
}

.reaction-button {
    --reaction-btn-size: 36px;
    width: var(--reaction-btn-size);
    height: var(--reaction-btn-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--masters-green);
    cursor: pointer;
    padding: 0;
    box-shadow: none;
    transition: width 0.2s ease, opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.reaction-button i {
    font-size: 1rem;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.reaction-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.newsfeed-reaction-bar .reaction-button:first-child {
    background: rgba(0, 103, 71, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0, 103, 71, 0.16);
}

.reaction-button:hover,
.reaction-button:focus-visible {
    background: rgba(0, 103, 71, 0.12);
    transform: translateY(-2px);
    outline: none;
}

.reaction-button:focus-visible {
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.6);
}

.newsfeed-comment-reaction-bar .reaction-button {
    --reaction-btn-size: 22px;
    background: transparent;
    box-shadow: none;
    color: var(--masters-green);
}

.newsfeed-comment-reaction-bar .reaction-button i {
    font-size: 0.75rem;
}

.newsfeed-comment-reaction-bar .reaction-button:hover,
.newsfeed-comment-reaction-bar .reaction-button:focus-visible {
    background: transparent;
    transform: translateY(-1px);
    box-shadow: none;
}

.newsfeed-comment-reaction-bar .reaction-button.is-active {
    background: transparent;
    color: var(--fairway-green);
    box-shadow: none;
}

.reaction-button.is-active {
    background: var(--masters-green);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 103, 71, 0.25);
}

.newsfeed-reaction-bar .reaction-button:not(:first-child),
.newsfeed-comment-reaction-bar .reaction-button:not(:first-child) {
    width: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px) scale(0.75);
}

.newsfeed-reaction-bar:hover .reaction-button,
.newsfeed-reaction-bar:focus-within .reaction-button,
.newsfeed-comment-reaction-bar:hover .reaction-button,
.newsfeed-comment-reaction-bar:focus-within .reaction-button {
    width: var(--reaction-btn-size);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(0.95);
}

.newsfeed-reaction-bar:hover .reaction-button i,
.newsfeed-reaction-bar:focus-within .reaction-button i,
.newsfeed-comment-reaction-bar:hover .reaction-button i,
.newsfeed-comment-reaction-bar:focus-within .reaction-button i {
    transform: translateY(-1px);
}

.reaction-summary {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #556365;
}

.reaction-summary__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    padding: 2px 6px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

.reaction-summary__item i {
    font-size: 0.85rem;
}

.reaction-summary__item span {
    font-size: 0.75rem;
    min-width: 1.25ch;
}

.reaction-summary__item:hover,
.reaction-summary__item:focus-visible {
    background: rgba(0, 103, 71, 0.12);
    outline: none;
    transform: translateY(-1px);
}

.reaction-summary__item--all {
    background: rgba(0, 103, 71, 0.1);
    color: var(--masters-green);
}

.reaction-summary__item--compact {
    padding: 2px 5px;
    font-size: 0.7rem;
}

.reaction-summary__empty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 6px;
    border-radius: 12px;
    background: rgba(0, 103, 71, 0.06);
}

.newsfeed-comments {
    margin-top: 16px;
}

.newsfeed-comments__count {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--masters-green);
    margin-bottom: 12px;
}

.newsfeed-comment {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.newsfeed-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 103, 71, 0.15);
}

.newsfeed-comment-body {
    background: #f4f8f6;
    border-radius: 14px;
    padding: 10px 14px;
    flex: 1;
}

.newsfeed-comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 6px;
    gap: 10px;
    flex-wrap: wrap;
}

.newsfeed-comment-text {
    color: var(--dark-text);
    line-height: 1.5;
    white-space: pre-line;
}

.reaction-button--compact {
    --reaction-btn-size: 30px;
}

.newsfeed-comment-actions {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    margin-top: 6px;
    color: #6c757d;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.newsfeed-comment-reaction-bar {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.newsfeed-comment-reaction-summary {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-left: auto;
}

.newsfeed-comment-form {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #e3ebe5;
    position: relative;
}

.newsfeed-comment-form textarea {
    flex: 1;
    border-radius: 18px;
    border: 1px solid #d8e6dd;
    padding: 10px 14px;
    resize: vertical;
    min-height: 40px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.newsfeed-comment-form textarea:focus {
    border-color: var(--masters-green);
    box-shadow: 0 0 0 0.15rem rgba(0,103,71,0.15);
    background: #fff;
}

.comment-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
    position: relative;
}

.comment-actions .btn-link {
    color: var(--masters-green);
    text-decoration: none;
    font-weight: 600;
}

.comment-actions .btn-link:hover,
.comment-actions .btn-link:focus {
    text-decoration: underline;
}

.comment-actions .btn-primary {
    padding: 6px 16px;
    border-radius: 999px;
}

.comment-actions .emoji-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 56px;
}

.empty-feed {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    background: var(--light-gray);
    border-radius: 16px;
    border: 1px dashed rgba(0,103,71,0.3);
}

.empty-feed i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--masters-green);
}

@media (max-width: 991px) {
    .composer-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .composer-submit {
        width: 100%;
    }

    .newsfeed-card__media {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* Info Cards */
.info-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card-header-custom {
    background: linear-gradient(135deg, var(--masters-green) 0%, var(--fairway-green) 100%);
    color: var(--white);
    padding: 15px 20px;
}

.card-header-custom h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 500;
}

.card-header-custom i {
    margin-right: 8px;
    color: var(--gold);
}

.info-card .card-body {
    padding: 20px;
}

/* RSVP Styles */
.rsvp-event h5 {
    color: var(--masters-green);
    margin-bottom: 6px;
}

.rsvp-event-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.rsvp-event-meta p {
    color: #666;
    font-size: 0.9rem;
}

.rsvp-stats-condensed {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.rsvp-count-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.rsvp-count-confirmed {
    background: rgba(0, 135, 90, 0.1);
    color: #00875a;
}

.rsvp-count-waitlist {
    background: rgba(255, 193, 7, 0.15);
    color: #a07600;
}

.rsvp-count-declined {
    background: rgba(220, 53, 69, 0.12);
    color: #b32235;
}

.rsvp-user-status {
    font-size: 0.85rem;
    margin-top: 10px;
}

.rsvp-lists {
    border-top: 1px solid #f0f0f0;
    margin-top: 16px;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rsvp-condensed-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.rsvp-condensed-total {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.8rem;
}

.rsvp-condensed-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.rsvp-condensed-list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 0.9rem;
}

.rsvp-condensed-list li:last-child {
    border-bottom: none;
}

.rsvp-condensed-list li.rsvp-condensed-self .rsvp-condensed-name {
    color: var(--masters-green);
    font-weight: 600;
}

.rsvp-condensed-index {
    font-weight: 600;
    min-width: 1.75rem;
    text-align: right;
    color: var(--fairway-green);
}

.rsvp-condensed-name {
    font-weight: 500;
    color: #1f1f1f;
}

.rsvp-condensed-chip {
    background: rgba(0, 135, 90, 0.15);
    color: #006747;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
}

.rsvp-condensed-meta {
    margin-left: auto;
    font-size: 0.75rem;
    color: #777;
    white-space: nowrap;
}

#rsvpLoading,
#rsvpMessage {
    font-size: 0.9rem;
}

#rsvpLoading {
    font-size: 0.9rem;
}

#rsvpMessage {
    font-size: 0.9rem;
}

.rsvp-lists {
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
    padding-top: 15px;
}

.rsvp-list-group + .rsvp-list-group {
    margin-top: 10px;
}

.rsvp-list-title {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.rsvp-list-group ul li {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.rsvp-list-group ul li:last-child {
    border-bottom: none;
}

.rsvp-name {
    font-weight: 500;
    color: #1f1f1f;
}

.rsvp-subtext {
    font-size: 0.75rem;
    color: #777;
}

.rsvp-badge-you {
    font-size: 0.65rem;
    margin-left: 6px;
}

/* Results List */
.result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.result-item:last-child {
    border-bottom: none;
}

.position {
    font-weight: bold;
    width: 40px;
}

.position.gold {
    color: var(--gold);
}

.position.silver {
    color: var(--silver);
}

.position.bronze {
    color: var(--bronze);
}

/* Last Round Recap */
.last-round-card {
    background: linear-gradient(140deg, rgba(0, 66, 37, 0.95), rgba(0, 103, 71, 0.85));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.last-round-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.35), transparent 65%);
    transform: rotate(25deg);
}

.last-round-card .card-header-custom {
    background: transparent;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.last-round-card .card-header-custom h3 {
    color: var(--white);
}

.last-round-card .card-header-custom i {
    color: var(--gold);
}

.last-round-card .header-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.last-round-card .round-meta {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    text-transform: uppercase;
}

.last-round-card .card-body {
    position: relative;
}

.last-round-layout {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}

.podium {
    display: grid;
    gap: 12px;
}

.podium-column {
    display: flex;
}

.podium-column .podium {
    flex: 1;
}

.finishing-order-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.finishing-order-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.finishing-order-card h4 i {
    color: var(--gold);
}

.finishing-tier {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.finishing-tier + .finishing-tier {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 12px;
}

.finishing-tier-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
}

.finishing-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.finishing-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.finishing-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
}

.finishing-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.finishing-names {
    font-weight: 600;
    color: var(--white);
}

.finishing-text small {
    color: rgba(255, 255, 255, 0.78);
}

.podium-item {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.podium-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.podium-item small {
    color: rgba(255, 255, 255, 0.8);
}

.podium-rank {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.podium-item.first {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.35);
}

.podium-item.second {
    background: rgba(192, 192, 192, 0.18);
    box-shadow: inset 0 0 0 1px rgba(192, 192, 192, 0.3);
}

.podium-item.third {
    background: rgba(205, 127, 50, 0.18);
    box-shadow: inset 0 0 0 1px rgba(205, 127, 50, 0.3);
}

.round-highlights {
    margin-top: 24px;
}

.round-highlights h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.round-highlights ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

.round-highlights ul li i {
    margin-top: 2px;
    color: var(--gold);
}

.round-cta {
    margin-top: 18px;
    display: flex;
    justify-content: flex-start;
}

.round-cta .btn {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    backdrop-filter: blur(4px);
}

.round-cta .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

@media (min-width: 768px) {
    .last-round-card .header-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .podium {
        grid-template-columns: repeat(3, 1fr);
    }

    .podium-item {
        min-height: 140px;
    }
}

@media (min-width: 992px) {
    .last-round-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: stretch;
    }
}

.player-name {
    flex: 1;
    margin-left: 15px;
}

.score {
    font-weight: bold;
    color: var(--masters-green);
}

/* Standings Table */
.standings-table .table {
    margin: 0;
}

.standings-table thead {
    background: var(--light-gray);
}

.standings-table th {
    border-top: none;
    font-weight: 600;
    color: var(--masters-green);
}

/* Money Leaders */
.money-table th:last-child,
.money-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.money-table tbody tr td:first-child {
    font-weight: 600;
    color: var(--masters-green);
}

.money-leader-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.money-leader-extra table {
    margin: 0;
}

.money-leader-extra table tbody tr:first-child td {
    border-top: none;
}

.money-toggle {
    padding-left: 0;
}

.pot-total {
    text-align: center;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 5px;
    color: var(--masters-green);
    font-size: 1.2rem;
}

/* Buttons */
.btn-primary {
    background: var(--masters-green);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--augusta-green);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--masters-green);
    text-decoration: none;
}

.btn-link:hover {
    color: var(--augusta-green);
}

.btn-outline-success {
    color: var(--masters-green);
    border-color: var(--masters-green);
}

.btn-outline-success:hover {
    background: var(--masters-green);
    border-color: var(--masters-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .league-title {
        font-size: 1.8rem;
    }
    
    .profile-section {
        margin-top: 10px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .info-card {
        margin-bottom: 15px;
    }
    
    .meme-picker-results {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    animation: fadeIn 0.5s ease-out;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }

/* ============================================ */
/* LANDING PAGE STYLES */
/* ============================================ */

.landing-page {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: min(65vh, 560px);
    background: linear-gradient(135deg, var(--augusta-green) 0%, var(--masters-green) 50%, var(--fairway-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(14px, 5.5vh, 48px) 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: clamp(14px, 4vh, 26px) 14px;
}

.landing-logo {
    margin-bottom: clamp(12px, 3vh, 24px);
}

.landing-logo__image {
    width: min(160px, 45vw);
    height: auto;
    max-height: clamp(110px, 16vh, 150px);
    border-radius: 24px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 4px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 16px 28px rgba(0,0,0,0.25);
    animation: bounce 2s infinite;
    object-fit: contain;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.landing-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
    margin-bottom: clamp(10px, 2.6vh, 20px);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.landing-tagline h2 {
    font-size: clamp(1.15rem, 2.3vw, 1.45rem);
    font-weight: 300;
    margin-bottom: clamp(12px, 2.6vh, 18px);
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Features List */
.features-list {
    max-width: 600px;
    margin: 0 auto clamp(10px, 2.8vh, 18px);
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 14px);
    margin-bottom: clamp(6px, 1.4vh, 12px);
    padding: clamp(9px, 1.6vh, 12px) clamp(14px, 2.3vw, 20px);
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(10px);
}

.feature-item i {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    color: var(--gold);
}

.feature-item span {
    font-size: clamp(0.9rem, 1.9vw, 1rem);
    color: var(--white);
}

.feature-item strong {
    color: var(--gold);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(10px, 2.2vw, 16px);
    margin-top: clamp(14px, 3.4vh, 22px);
    margin-bottom: clamp(8px, 2.2vh, 14px); /* Add space for scroll indicator */
    position: relative;
    z-index: 10;
}

.btn-join {
    background: var(--gold);
    color: var(--augusta-green);
    border: none;
    padding: clamp(10px, 1.8vh, 12px) clamp(20px, 3.2vw, 28px);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255,215,0,0.3);
}

.btn-join:hover {
    background: #FFE55C;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,215,0,0.5);
    color: var(--augusta-green);
}

.btn-login {
    border: 2px solid var(--white);
    padding: clamp(10px, 1.8vh, 12px) clamp(20px, 3.2vw, 28px);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--white);
    color: var(--masters-green);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: clamp(6px, 2vh, 12px);
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
    z-index: 5; /* Below buttons */
    pointer-events: all;
    cursor: pointer;
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(255,255,255,0.6);
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Floating Golf Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.golf-element {
    position: absolute;
    color: rgba(255,255,255,0.1);
    animation: float 20s infinite linear;
}

.golf-1 {
    font-size: 3rem;
    top: 20%;
    left: 10%;
    animation-duration: 15s;
}

.golf-2 {
    font-size: 2rem;
    top: 60%;
    right: 15%;
    animation-duration: 20s;
    animation-delay: 5s;
}

.golf-3 {
    font-size: 2.5rem;
    top: 40%;
    left: 80%;
    animation-duration: 18s;
    animation-delay: 10s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.8s ease-out;
}

.animate-in-delay-1 {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.animate-in-delay-2 {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.animate-in-delay-3 {
    animation: slideInUp 0.8s ease-out 0.6s both;
}

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

/* Info Section */
.info-section {
    padding: clamp(24px, 6vh, 44px) 0;
    background: var(--white);
}

.info-box {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--masters-green) 0%, var(--fairway-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 2rem;
    color: var(--white);
}

.info-box h3 {
    color: var(--masters-green);
    margin-bottom: 15px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
}

.info-box p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--fairway-green) 0%, var(--masters-green) 100%);
}

.stat-box {
    padding: 30px 20px;
}

.stat-number {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    color: var(--white);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--light-gray);
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(0,103,71,0.03) 100px,
            rgba(0,103,71,0.03) 200px
        );
}

.cta-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--masters-green);
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
}

.cta-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Landing Footer */
.landing-footer {
    background: var(--augusta-green);
    color: var(--white);
    padding: 40px 0;
}

.footer-brand {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-brand i {
    color: var(--gold);
    margin-right: 10px;
}

.footer-text {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.social-links {
    margin-bottom: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--augusta-green);
    transform: translateY(-3px);
}

.footer-copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Updates for Landing */
@media (max-width: 768px) {
    .landing-title {
        font-size: 3rem;
    }
    
    .landing-tagline h2 {
        font-size: 1.4rem;
    }
    
    .feature-item {
        padding: 12px 20px;
    }
    
    .feature-item i {
        font-size: 1.2rem;
    }
    
    .feature-item span {
        font-size: 0.95rem;
    }
    
    .btn-join, .btn-login {
        display: block;
        width: 80%;
        margin: 10px auto;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}
/* Standings Page */
.standings-page {
    color: var(--bs-body-color);
}

.standings-page .bullet {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.standings-summary-row .standings-summary-card,
#playerRoundsSummary .player-summary-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.05);
    height: 100%;
}

.standings-summary-card .summary-label,
.player-summary-card .summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color);
}

.standings-summary-card .summary-value,
.player-summary-card .summary-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-body-color);
}

.standings-summary-card .summary-subtext,
.player-summary-card .summary-subtext {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

.standings-table thead th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
    border-bottom-width: 1px;
}

.standings-table tbody td {
    vertical-align: middle;
}

.standings-player-btn {
    font-weight: 600;
    color: var(--bs-body-color);
    text-decoration: none;
}

.standings-player-btn:hover,
.standings-player-btn:focus {
    color: var(--bs-primary);
    text-decoration: underline;
}

#playerRoundsModal .modal-body {
    background: var(--bs-body-bg);
}

#playerRoundsTable tbody tr.counted-round {
    border-left: 4px solid rgba(25, 135, 84, 0.65);
    background: rgba(25, 135, 84, 0.08);
}

#playerRoundsTable tbody tr.counted-round td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

#playerRoundsTable tbody tr.counted-round td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

#playerRoundsTable td {
    min-width: 140px;
}

@media (max-width: 768px) {
    .standings-summary-card .summary-value,
    .player-summary-card .summary-value {
        font-size: 1.25rem;
    }

    .standings-table thead {
        font-size: 0.75rem;
    }
}

.comment-attachment-preview {
    margin: 10px 0;
}

.comment-attachment-item {
    position: relative;
    display: inline-block;
    max-width: 200px;
}

.comment-attachment-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.comment-attachment-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 6px;
    font-size: 12px;
}

.comment-attachment {
    margin-top: 8px;
}

.comment-meme-img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
}

.reaction-viewer {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1080;
    backdrop-filter: blur(3px);
}

.reaction-viewer[hidden] {
    display: none !important;
}

.reaction-viewer__dialog {
    background: #fff;
    border-radius: 16px;
    width: min(420px, 100%);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    padding: 20px;
}

.reaction-viewer__close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 1.1rem;
    cursor: pointer;
}

.reaction-viewer__close:hover,
.reaction-viewer__close:focus {
    color: var(--masters-green);
    outline: none;
}

.reaction-viewer__header {
    margin-bottom: 12px;
}

.reaction-viewer__title {
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--dark-text);
}

.reaction-viewer__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reaction-viewer__tab {
    border: 1px solid rgba(0,103,71,0.2);
    border-radius: 999px;
    background: #f5f9f6;
    color: var(--masters-green);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reaction-viewer__tab small {
    font-size: 0.75rem;
    color: #425452;
}

.reaction-viewer__tab.is-active {
    background: var(--masters-green);
    color: #fff;
    border-color: var(--masters-green);
    box-shadow: 0 10px 20px rgba(0,103,71,0.2);
}

.reaction-viewer__tab[disabled],
.reaction-viewer__tab[aria-disabled='true'] {
    opacity: 0.45;
    cursor: not-allowed;
}

.reaction-viewer__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.reaction-viewer__status {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 12px;
}

.reaction-viewer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reaction-viewer__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reaction-viewer__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,103,71,0.15);
}

.reaction-viewer__details strong {
    display: block;
    color: var(--dark-text);
}

.reaction-viewer__details span {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Comment Attachment Styles */
.comment-attachment-preview {
    margin: 10px 0;
}

.comment-attachment-item {
    position: relative;
    display: inline-block;
    max-width: 200px;
}

.comment-attachment-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.comment-attachment-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 6px;
    font-size: 12px;
}

.comment-attachment {
    margin-top: 8px;
}

.comment-meme-img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
}