/* ===== fontes (opcional; remova se já estiver no CSS principal) ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Gothic&display=swap');

:root {
  --azul: #000525;
  --amarelo: #ffc420;
  --branco: #ffffff;
  --cinza: #dddddd;
  --shadow-color: rgba(0, 0, 0, 0.18);
  --highlight: #ff1d50;
  --highlight-dark: #e01445;
  --border-radius: 12px;
  --transition-fast: 0.18s ease;
  --transition-medium: 0.32s ease;
  --glass: rgba(255,255,255,0.03);
}

/* RESET / BOX-SIZING */
/* ===== Reset básico ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--azul);
    color: #fff;
}

/* ===== Título ===== */
main h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-top: 60px;
    color: #FFC420;
}

/* ===== Botão Adicionar ===== */
#btnAdd {
    display: block;
    margin: 20px auto;
    background: linear-gradient(45deg, #FFC420, #ff9f1c);
    color: #000;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 196, 32, 0.4);
    transition: 0.3s;
}

#btnAdd:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 196, 32, 0.6);
}

.actions button{
    background: linear-gradient(45deg, #FFC420, #ff9f1c);
    border: none;
    margin: 10px 10px;
    width: 100px;
    font-size: 15px;
    border-radius: 5px;
    box-shadow: 0 6px 15px #0a0a0f;
    cursor: pointer;
        transition: 0.2s;


}

.actions button:hover{
    transition: 0.2s;
    transform: scale(1.1);
}

/* ===== Container de Cards ===== */
#cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* ===== Card ===== */
.card {
    background: #11111a;
    border-radius: 12px;
    width: 280px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 196, 32, 0.4);
}

/* ===== Logo ===== */
.card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background: #1a1a25;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ===== Nome e Cota ===== */
.card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #FFC420;
}

.card p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 8px;
}

/* ===== Compromissos ===== */
.card .compromissos {
    font-size: 0.9rem;
    color: #aaa;
}

/* ===== Botões de ação no hover ===== */
.card .card-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .card-actions {
    opacity: 1;
}

.card-actions button {
    background: rgba(255, 196, 32, 0.9);
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #000;
    font-weight: bold;
    transition: 0.3s;
}

.card-actions button:hover {
    background: #ff9f1c;
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #1a1a25;
    margin: auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.close:hover {
    color: #fff;
}

/* ===== Inputs do Formulário ===== */
#patrocinadorForm input,
#patrocinadorForm textarea,
#patrocinadorForm button {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

#patrocinadorForm input,
#patrocinadorForm textarea {
    background: #0d0d14;
    color: #fff;
    border: 1px solid #333;
}

#patrocinadorForm button {
    background: linear-gradient(45deg, #FFC420, #ff9f1c);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 196, 32, 0.4);
    transition: 0.3s;
}

#patrocinadorForm button:hover {
    box-shadow: 0 6px 15px rgba(255, 196, 32, 0.6);
}
