/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 *
 *= require projects
 *= require menu
 *= require covers
 */

/* General */

body, html {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: #232323;
}

* {
    box-sizing: border-box;
}

/* Holo Card */

.holo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.holo-card {
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.5s ease;
}

.holo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            0deg,
            transparent,
            transparent 30%,
            rgba(153,204,153,0.3)
    );
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.holo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(45, 89, 45, 0.5);
}

.holo-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
}

/* Popup */

.popup-wrapper {
    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: 100;
}

.popup-content {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.popup-content .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.popup-content .popup-header h2 {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #FBCCCC;
}

.popup-content .popup-header .popup-close-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #666;
    background: transparent;
    padding: 0;
    margin-left: 30px;
    cursor: pointer;
}

.popup-content .popup-header .popup-close-btn:before {
    content: 'x';
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    font-weight: bold;
    color: #666;
    display: block;
    margin-top: -1px;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #FBCCCC #222;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    background: #222;
}

*::-webkit-scrollbar-thumb {
    background-color: #FBCCCC;
    border-radius: 16px;
    border: 3px none #222;
}