body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.70)), url('../jpg/awa-hexbg-2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    color: #fff;
}

.btn-steam-community-event {
    color: #ffffff;
    border-color: #66c0f4;
    background-color: #2a475e;
}

.carousel {
    background: #EEE;
}

.carousel-cell {
    width: 335px;
    text-align: center;
    margin-bottom: 10px;
}

.carousel-cell p i {
    line-height: 1.7em;
}

@media only screen and (max-width: 750px) {
    .carousel-cell {
        width: 80%;
        text-align: center;
    }

    .progress-container {
        justify-content: center;
    }
    
    .progress {
        width: 85% !important;
    }
}

 .background-overlay {
    background-color: rgba(0, 0, 0, 0.7); /* black with 70% opacity */
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(96, 96, 96, 0.5);
}


.live-container {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 15px;
}

.live-text {
    color: var(--cc-glow, #00f0f0);
    font-weight: bold;
    white-space: nowrap;
}

.live-container .divider {
    width: 1px;
    height: 20px;
    background-color: white;
    opacity: 0.7;
}

.divider-hr {
    width: 100%;
    height: 1px;
    background-color: white;
    opacity: 0.7;
}

.dates {
    color: white;
    white-space: nowrap;
}

.event-live {
    color: #00f0f0;
}

@media (max-width: 480px) {
    .live-container {
        gap: 8px;
    }
    .divider {
        height: 16px;
    }
}

@media (min-width: 768px) {
    .header-bordered {
        border-right: 1px solid white;
    }
}


/* reviews section*/

.reviews-header {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 80px;
}


.reviews-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.reviews-title {
    font-size: 24px;
    font-weight: bold;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.reviews-grid-single {
    grid-template-columns: 1fr;
}
.review-card-full {
    width: 100%;
}

.review-card-wide {
    grid-column: span 2;
}

.review-card {
    background-color: #040404;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333;
    min-width: 0;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(96, 96, 96, 0.5);
    cursor: pointer;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
}

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

.review-header.stacked-header {
    display: flex;
    flex-direction: column;
    gap: 8px; /* spacing between rows */
    align-items: stretch;
    border-bottom: 1px solid #444;
    margin-bottom: 15px;
}

/* New style for inline username and date */
.reviewer-info-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}


.reviewer-name {
    color: #ffffff;
    font-size: 14px;
}

.review-date {
    color: white;
    font-size: 12px;
}

.review-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #ffd700;
    font-size: 16px;
}
.star {
  color: #ccc; 
  font-size: 30px;
}

.star.active {
  color: gold;
}


.review-text {
    color: white;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    display: -webkit-box;
    line-clamp: 3;
    box-orient: vertical;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-text p {
    margin-bottom: 0.5rem;
}

.review-card-wide {
    grid-column: span 3;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        padding-top: 20px;
    }
            
    .review-card-wide {
        grid-column: span 1;
    }
            
    .filter-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 1191px) {
    .reviews-header {
        padding-bottom: 100px;
    }
}

.community-rating h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: normal;
}

.stars {
    color: #ffd700;
    font-size: 25px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
}

.filter-tab {
    all: unset !important;
    border: none;
    cursor: pointer !important;
    text-decoration: none;
    color: #ccc;
}

.filter-tab.active {
    color: #37cbc8 !important;
}

.filter-tab:hover {
    color: #37cbc8 !important;
}


@media (max-width: 1191px) {
    .filter-tabs {
        display: none;
    }
}

.title-divider {
    width: 100%;
    height: 1px;
    background-color: white;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}


/* Additional classes to enhance your existing CSS for perfect collage layout */

.reviews-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.reviews-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* Ensure single grid uses your existing class */
.reviews-grid-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Mobile responsiveness for new grid classes */
@media (max-width: 768px) {
    .reviews-grid-three,
    .reviews-grid-two {
        grid-template-columns: 1fr;
    }
}



/* Modal styles */
.review-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 95%;
}

.review-modal-content {
    background-color: #1d1d1d;
    margin: 10% auto;
    padding: 25px;
    border: 1px solid #333;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.review-modal-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

/* Modal reviewer name styling */
.review-modal-header .reviewer-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
}

/* Modal review date styling */
.review-modal-header .review-date {
    color: #ccc;
    font-size: 14px;
}

/* Modal stars - centered and proper size */
.review-modal-header .review-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #ffd700;
    font-size: 24px;
}

.review-modal-body {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.review-modal-body p {
    margin-bottom: 15px;
    color: white;
}

.modal-close-btn {
    background-color: #00e5ff;
    color: #000;
    border: none;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 12px;
    margin: 0 auto;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.modal-close-btn:hover {
    background-color: #00b8cc;
}

/*modal*/

/*Modal to add review*/

#submitReviewModal {
    opacity: 100%;
}
.submit-review-modal-content {
    background-color: #2a2a2a;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #444;
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    position: relative;
}

.modal-close-x {
    position: absolute;
    top: 0px;
    right: 5px;
    background: none;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

.modal-close-x:hover {
    color: #fff;
}

.submit-modal-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #444;
}

.header-logo-modal {
    height: 60px;
    margin-bottom: 10px;
}

.event-title {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    letter-spacing: 1px;
}

.event-date {
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

.submit-modal-body {
    padding: 30px;
}

.review-instructions {
    color: white;
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.review-instructions small {
    color: white;
    font-size: 15px;
}

.rating-section {
    text-align: center;
}

.star-rating {
    display: inline-flex;
    gap: 5px;
}

.review-form .star {
    font-size: 50px;
    color: #444;
    cursor: pointer;
    transition: color 0.2s;
}

.review-stars
.star {
    font-size: 25px;
}

.star-rating 
.star:hover,
.star.active {
    color: #ffd700;
}

.submit-review-btn {
    background-color: #00e5ff;
    color: #000;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
    transition: background-color 0.3s;
}

.submit-review-btn:hover {
    background-color: #00b8cc;
}
/*End modal*/

.community-stars
.stars {
    font-size: 2em;
    margin: 10px 0;
    line-height: 1;
}
.community-stars
.star {
    display: inline-block;
    margin: 0;
    position: relative;
}
.community-stars
.star-full {
    color: #ffd700; /* Gold color for filled stars */
}
.community-stars
.star-empty {
    color: #ddd; /* Light gray for empty stars */
}
.community-stars
.star-half {
    position: relative;
    display: inline-block;
}
.community-stars
.star-half .star-empty {
    color: #ddd;
}
.community-stars
.star-half .star-filled {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ffd700;
}


.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 1.1em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.edit-btn {
    color: #666;
}

.edit-btn:hover {
    background-color: #e3f2fd;
    color: #1976d2;
    transform: scale(1.1);
}

.delete-btn {
    color: #666;
}

.delete-btn:hover {
    background-color: #ffebee;
    color: #d32f2f;
    transform: scale(1.1);
}

.delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.delete-modal
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.delete-modal
.modal-content h3 {
    margin-bottom: 15px;
    color: #333;
}

.delete-modal
.modal-content p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.5;
}

.delete-modal
.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-cancel {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-cancel:hover {
    background: #e9ecef;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

@media (max-width: 768px) {
    .review-actions {
        position: static;
        opacity: 1;
        justify-content: flex-end;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #f0f0f0;
    }
    
    .action-btn {
        padding: 8px 12px;
        font-size: 1.2em;
    }
}
/* Reviews style */
/* stretch goal style */
.stretch-goal {
    position: relative;
}

.stretch-goal-details {
    box-shadow: 0 0 10px gold;
}

.stretch-goal-label {
    position: absolute;
    top: 5px;
    right: 10px;
    background: gold;
    color: black;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 10;
}
/*end stretch goal style */


/* Ensure formatting shows up in CKEditor and saved content */
.ck-content strong, .ck-content b { font-weight: bold !important; }
.ck-content em, .ck-content i { font-style: italic !important; }
.ck-content u { text-decoration: underline !important; }

.ck-editor__editable strong, .ck-editor__editable b { font-weight: bold !important; }
.ck-editor__editable em, .ck-editor__editable i { font-style: italic !important; }
.ck-editor__editable u { text-decoration: underline !important; }

/* Ensure spell check underlines are visible */
.cke_contents [data-cke-spelling-problem] {
    background: transparent !important;
    border-bottom: 2px dotted red !important;
}

/* Browser native spell check styling */
.cke_editable {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Ensure the editor content is spell-checkable */
.cke_wysiwyg_frame {
    spellcheck: true !important;
}


.share-launch {
    color:#fff;
    font-size:1.3rem;
    opacity:.85;
    transition:opacity .2s;
}
.share-launch:hover { opacity:1; }

.share-pop {
    display:none;
    position:absolute;
    right:0;
    top:32px;                 /* just below the icon */
    background:rgba(0,0,0,.9);
    padding:6px 10px;
    border-radius:6px;
    white-space:nowrap;
    z-index:20;
}

.share-pop .share-link {
    color:#fff;
    font-size:1.2rem;
    margin:0 4px;
    text-decoration:none;
    transition:transform .2s;
}
.share-pop .share-link:hover { transform:scale(1.2); }

.share-link.fb { color:#1877f2; }
.share-link.tw { color:#1d9bf0; }
.share-link.rd { color:#ff4500; }
.share-link.ig { color:#e1306c; }


/* Collapsible Rewards Styles */
.rewards-section {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1rem;
}

.toggle-rewards {
    font-size: 0.9rem;
    text-decoration: none !important;
}

.toggle-rewards i {
    transition: transform 0.3s ease;
}