/* Updates Page Specific Styles */

/* Copy of button styles from styles.css */
.updates-page .corner-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
    max-width: 300px;
}

.updates-page .corner-btn {
    background: rgba(79, 195, 247, 0.2);
    border: 2px solid #4fc3f7;
    border-radius: 6px;
    padding: 12px 20px;
    color: #4fc3f7;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.updates-page .corner-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.updates-page .corner-btn:hover::before {
    width: 400px;
    height: 400px;
    max-width: 400px;
    max-height: 400px;
}

.updates-page .corner-btn:hover {
    background: rgba(79, 195, 247, 0.3);
    box-shadow: 
        0 0 25px rgba(79, 195, 247, 0.7),
        0 0 50px rgba(79, 195, 247, 0.5),
        inset 0 0 25px rgba(79, 195, 247, 0.2);
    transform: translateY(-3px);
    border-color: #81c784;
}

.updates-page .corner-btn:active {
    transform: scale(0.96) translateY(0);
}

.updates-page .corner-btn > * {
    position: relative;
    z-index: 1;
}

/* Section box size - controls the size of ALL section containers */
.updates-page .section {
    background: rgba(26, 47, 74, 0.8);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
    width: 100%;
}

/* Buttons Section (left column) - Edit these to change the buttons section size */
.updates-page .left-column .section {
    max-width: 350px;
    min-width: 300px;
}

/* Updates Section (right column) - Edit these to change the updates section size */
.updates-page .right-column .section {
    max-width: 1450px;
    min-width: 1450px;
}

.updates-content {
    padding: 20px;
    line-height: 1.6;
}

.update-entry {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(15, 30, 45, 0.5);
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: 8px;
    border-left: 4px solid #4fc3f7;
    transition: all 0.3s ease;
}

.update-entry:hover {
    background: rgba(15, 30, 45, 0.7);
    border-color: rgba(79, 195, 247, 0.4);
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.2);
}

.update-date {
    color: #4fc3f7;
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.update-title {
    color: #81c784;
    font-weight: 600;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.update-content {
    color: #e0e0e0;
    font-size: 0.95em;
}

.update-content ul {
    list-style: none;
    padding-left: 0;
}

.update-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid rgba(79, 195, 247, 0.1);
}

.update-content li:last-child {
    border-bottom: none;
}

.update-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: #4fc3f7;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(79, 195, 247, 0.6);
}

/* Responsive Design for Updates Page */
@media (max-width: 768px) {
    .updates-page .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 10px;
    }
    
    .updates-page .left-column .section,
    .updates-page .right-column .section {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    
    .updates-page .corner-buttons {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        gap: 12px;
        margin-top: 12px;
    }
    
    .updates-page .corner-btn {
        min-width: 0 !important;
        width: 100%;
        padding: 14px 18px;
        font-size: 15px;
        min-height: 48px;
        touch-action: manipulation;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .updates-content {
        padding: 15px 10px;
    }
    
    .update-entry {
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    
    .update-date {
        font-size: 0.95em;
        margin-bottom: 8px;
    }
    
    .update-title {
        font-size: 1.1em;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .update-content {
        font-size: 0.95em;
        line-height: 1.6;
    }
    
    .update-content li {
        padding: 10px 0 10px 25px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .updates-page .corner-btn {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .updates-content {
        padding: 12px 8px;
    }
    
    .update-entry {
        padding: 12px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .update-date {
        font-size: 0.9em;
    }
    
    .update-title {
        font-size: 1em;
        margin-bottom: 10px;
    }
    
    .update-content {
        font-size: 0.9em;
    }
    
    .update-content li {
        padding: 8px 0 8px 22px;
        font-size: 0.9em;
    }
}

