.invitation-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.invitation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    z-index: 0;
}

.invitation-section .container-fluid {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.info-box {
    margin-bottom: 50px;
    padding: 45px 55px;
    background: linear-gradient(145deg, #730404, #8b0505, #a00505);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(115, 4, 4, 0.3), 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

.section-title {
    color: #730404;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: left;
    letter-spacing: 0.5px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.info-list li {
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: flex-start;
    line-height: 1.7;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.info-list li i {
    color: #ffffff;
    margin-right: 15px;
    margin-top: 3px;
    font-size: 23px;
    flex-shrink: 0;
}

.availability-section {
    margin-bottom: 50px;
    padding: 45px 55px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.availability-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #730404, #a00505, #730404);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.availability-title {
    color: #730404;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.month-btn {
    padding: 22px 30px;
    border: 2px solid transparent;
    border-radius: 20px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.month-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.month-btn:hover::before {
    left: 100%;
}

.month-btn:hover::after {
    transform: scaleX(1);
}

.month-btn.available {
    background: linear-gradient(145deg, #4CAF50, #45a049, #388E3C);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.35), 0 0 20px rgba(76, 175, 80, 0.2);
}

.month-btn.available:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 45px rgba(76, 175, 80, 0.5), 0 0 40px rgba(76, 175, 80, 0.3);
    background: linear-gradient(145deg, #45a049, #388E3C, #2E7D32);
    border-color: rgba(255, 255, 255, 0.3);
}

.month-btn.medium {
    background: linear-gradient(145deg, #FF9800, #F57C00, #E65100);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.35), 0 0 20px rgba(255, 152, 0, 0.2);
}

.month-btn.medium:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 45px rgba(255, 152, 0, 0.5), 0 0 40px rgba(255, 152, 0, 0.3);
    background: linear-gradient(145deg, #F57C00, #E65100, #D84315);
    border-color: rgba(255, 255, 255, 0.3);
}

.month-btn.unavailable {
    background: linear-gradient(145deg, #730404, #8b0505, #a00505);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.month-btn.unavailable:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 45px rgba(115, 4, 4, 0.5), 0 0 30px rgba(160, 5, 5, 0.3);
    background: linear-gradient(145deg, #8b0505, #a00505, #b80606);
}

/* Convoy Modal Styles */
.convoy-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.convoy-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    border-radius: 25px;
    box-shadow: 0 20px 80px rgba(115, 4, 4, 0.3);
    animation: slideUp 0.4s ease;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.convoy-modal-header {
    background: linear-gradient(135deg, #730404, #a00505);
    padding: 30px 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 25px 25px 0 0;
}

.convoy-modal-header h2 {
    margin: 0;
    font-size: 28px;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.convoy-modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 34px;
    font-weight: 300;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.convoy-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.convoy-modal-body {
    padding: 40px;
    overflow-y: auto;
    max-height: calc(85vh - 100px);
}

.convoy-modal-body::-webkit-scrollbar {
    width: 10px;
}

.convoy-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.convoy-modal-body::-webkit-scrollbar-thumb {
    background: #730404;
    border-radius: 10px;
}

.convoy-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a00505;
}

.convoy-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #730404;
    position: relative;
    overflow: hidden;
}

.convoy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #730404, #a00505);
}

.convoy-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 35px rgba(115, 4, 4, 0.15);
}

.convoy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.convoy-title {
    flex: 1;
    min-width: 200px;
}

.convoy-title h3 {
    margin: 0 0 8px 0;
    color: #730404;
    font-size: 22px;
    font-weight: 700;
}

.convoy-title p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.convoy-banner {
    width: 180px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.convoy-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.convoy-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.convoy-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.convoy-info-item:hover {
    background: #e9ecef;
}

.convoy-info-item i {
    color: #730404;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.convoy-info-text {
    flex: 1;
}

.convoy-info-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.convoy-info-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.convoy-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.convoy-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.convoy-badge.game {
    background: linear-gradient(135deg, #730404, #730404);
    color: white;
}

.convoy-badge.server {
    background: linear-gradient(135deg, #730404, #730404);
    color: white;
}

.convoy-badge.status {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.no-convoys {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-convoys i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-convoys h3 {
    font-size: 24px;
    color: #666;
    margin: 20px 0 10px;
}

.no-convoys p {
    font-size: 16px;
    color: #999;
}

@media (max-width: 768px) {
    .convoy-modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .convoy-modal-header {
        padding: 20px 25px;
    }

    .convoy-modal-header h2 {
        font-size: 22px;
    }

    .convoy-modal-body {
        padding: 25px 20px;
    }

    .convoy-card {
        padding: 20px;
    }

    .convoy-header {
        flex-direction: column;
    }

    .convoy-banner {
        width: 100%;
        height: 150px;
    }

    .convoy-info {
        grid-template-columns: 1fr;
    }
}

.month-btn.very-far {
    background: linear-gradient(135deg, #000000, #455A64);
    font-family: 'Poppins', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(96, 125, 139, 0.35), 0 0 20px rgba(96, 125, 139, 0.2);
}

.month-btn.very-far:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 45px rgba(96, 125, 139, 0.5), 0 0 40px rgba(96, 125, 139, 0.3);
    background: linear-gradient(145deg, #546E7A, #37474F, #263238);
    border-color: rgba(255, 255, 255, 0.3);
}

.legend {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 35px !important;
    flex-wrap: wrap !important;
    margin-top: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    box-sizing: border-box;
}

.legend-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.legend-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.legend-dot.available {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.legend-dot.medium {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.legend-dot.unavailable {
    background: linear-gradient(135deg, #730404, #a00505);
}

.legend-dot.very-far {
    background: linear-gradient(135deg, #607D8B, #455A64);
}

.invitation-form {
    padding: 45px 55px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.invitation-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #730404, #a00505, #730404);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.form-group {
    margin-bottom: 25px;
}

.form-input {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 16px;
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #730404;
    box-shadow: 0 0 0 4px rgba(115, 4, 4, 0.1);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: #999;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #730404, #a00505);
    color: #ffffff;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Poppins', sans-serif;
    margin-top: 10px;
    box-shadow: 0 6px 25px rgba(115, 4, 4, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(115, 4, 4, 0.4);
    background: linear-gradient(135deg, #a00505, #730404);
}

.submit-btn:active {
    transform: translateY(-1px);
}

@media (max-width: 1200px) {
    .invitation-section .container-fluid {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .invitation-section {
        padding: 60px 0;
    }

    .info-box,
    .availability-section,
    .invitation-form {
        padding: 30px 25px;
        border-radius: 15px;
    }

    .months-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .month-btn {
        padding: 16px 14px;
        font-size: 14px;
        border-radius: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .availability-title {
        font-size: 22px;
    }

    .info-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-list li {
        font-size: 14px;
        padding: 12px;
    }

    .legend {
        gap: 20px;
    }

    .legend-item {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .invitation-section {
        padding: 40px 0;
    }

    .invitation-section .container-fluid {
        padding: 0 15px;
    }

    .months-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-box,
    .availability-section,
    .invitation-form {
        padding: 20px 15px;
    }
}