body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #1a1a2e, #16213e);
    padding: 50px 0;
    color: #f5f5f5;
}
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.card-header {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}
.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    transition: 1s;
}
#cardPrT{
    background-color: #26C9FC;
    border: 1px solid #26C9FC;
}
#cardCT{
    background-color: #FFB02E;
    border: 1px solid #FFB02E;
}
#cardGT{
    background-color: #CA0B4A;
    border: 1px solid #CA0B4A;
}
#cardPiT{
    background-color: #44911B80;
    border: 1px solid #44911B80;
}
#cardPhT{
    background-color: #898B8D;
    border: 1px solid #898B8D;
}
.custom-paragraph {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.custom-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #e352f7, #fe7bf3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
[data-aos] {
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.dropdown-item img {
    transition: transform 0.3s ease, filter 0.3s ease;
}
.dropdown-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.navbar {
    background: linear-gradient(45deg, #ff0274, #7f1ff7, #26c9fc, #1ed760);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    background-color: rgba(0, 0, 0, 0.85);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
#navBar{
    background-color: #1C1C1C !important;
}
.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
}
.offcanvas {
    background-color: rgba(20, 20, 20, 0.9);
}
.social-link {
    position: relative;
    background-color: var(--bg-color);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.social-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.social-link .icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.5));
}
#squarePr:hover{
    cursor: pointer;
    background-color: #26C9FC80 !important;
    transition: 0.5s;
    transform: scale(1.1);
}
#squareC:hover{
    cursor: pointer;
    background-color: #FFB02E80 !important;
    transition: 0.5s;
    transform: scale(1.1);
}
#squareG:hover{
    cursor: pointer;
    background-color: #CA0B4A80 !important;
    transition: 0.5s;
    transform: scale(1.1);
}
#squarePi:hover{
    cursor: grab;
    background-color: #44911B80 !important;
    transition: 0.5s;
    transform: scale(1.1);
}
#squarePh:hover{
    cursor: pointer;
    background-color: #898B8D80 !important;
    transition: 0.5s;
    transform: scale(1.1);
}

/* ORDENAR */
.magic-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.magic-button {
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(90deg, #ff7eb3, #ff758c, #ff6b6b, #ffc837);
    background-size: 300%;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 120, 175, 0.4);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.magic-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.5s ease-out;
}

.magic-button:hover {
    background-position: right;
    box-shadow: 0 8px 30px rgba(255, 120, 175, 0.7);
}

.magic-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}
a{
    /* sacarle el subrayado del link */
    text-decoration: none;
    color: white;
}
.circular-btn {
    margin-left: 20px;
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #C14CCA;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.circular-btn:hover {
    transform: scale(1.1);
    background: #4753c7;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.circular-btn::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}