@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
html {
    scroll-behavior: smooth;
}

.title {
    color: #1d365f;
    text-shadow: 2px 2px 2px #fab334;
}

body {
    background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='29' height='50.115' patternTransform='scale(1) rotate(15)'><rect x='0' y='0' width='100%' height='100%' fill='%232b2b3100'/><path d='M14.498 16.858L0 8.488.002-8.257l14.5-8.374L29-8.26l-.002 16.745zm0 50.06L0 58.548l.002-16.745 14.5-8.373L29 41.8l-.002 16.744zM28.996 41.8l-14.498-8.37.002-16.744L29 8.312l14.498 8.37-.002 16.745zm-29 0l-14.498-8.37.002-16.744L0 8.312l14.498 8.37-.002 16.745z'  stroke-width='0.5' stroke='%23fab334ff' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,-0.23)' fill='url(%23a)'/></svg>");
     font-family: 'Poppins', sans-serif !important;
}

footer {
    background-color: #1d365f;
    color: #fab334;
}

.blur-background {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.bannerTest {
    background-image: url("../image/bandeau_accueil_site.webp");
    background-size: cover;
}

.presentationCard {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 320/445;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f4f1e8, #e8e2d0);
    border-radius: 12px;
    border: 2px solid #2c2416;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.presentationCard:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
}

.presentationCard-border {
    position: absolute;
    inset: 8px;
    border: 1px solid #8b7355;
    border-radius: 8px;
    pointer-events: none;
}

.presentationCard-header {
    background: linear-gradient(135deg, #f4f1e8, #ede6d3);
    padding: 8px 12px;
    border-bottom: 2px solid #8b7355;
    position: relative;
}

.presentationCard-name-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.presentationCard-name {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: #2c2416;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.presentationCard-mana-cost {
    display: flex;
    align-items: center;
    gap: 2px;
}

.presentationCard-mana-symbol {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 1px solid #5a4a32;
}

.presentationCard-mana-2 {
    background: linear-gradient(135deg, #d4d4d4, #a8a8a8);
    color: #2c2416;
}

.presentationCard-mana-hybrid {
    background: linear-gradient(135deg, #fff5e6, #f0e6d2);
    color: #2c2416;
    position: relative;
}

.presentationCard-artwork {
    height: 60%;
    background-image: url('../image/Ludo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #8b7355;
    border-bottom: 1px solid #8b7355;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.presentationCard-artwork::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), transparent 30%, transparent 70%, rgba(0,0,0,0.1));
}

.presentationCard-type-line {
    background: linear-gradient(135deg, #f4f1e8, #ede6d3);
    padding: 6px 12px;
    border-bottom: 1px solid #8b7355;
    font-weight: 500;
    color: #2c2416;
    text-transform: capitalize;
}

.presentationCard-text-box {
    padding: 8px 12px;
    background: linear-gradient(135deg, #f9f6f0, #f0ead8);
    line-height: 1.3;
    color: #2c2416;
    flex-grow: 1;
}

.presentationCard-ability {
    margin-bottom: 4px;
}

.presentationCard-ability:last-child {
    margin-bottom: 0;
}

.presentationCard-keyword {
    font-weight: 600;
    font-style: italic;
}

.presentationCard-rules-text {
    line-height: 1.4;
    margin-top: 4px;
}

.presentationCard-rules-text ul {
    margin: 0;
    padding-left: 1rem;
}

.presentationCard-flavor-text {
    font-style: italic;
    color: #5a4a32;
    margin-top: auto;
    padding-top: 4px;
    border-top: 1px solid #c4b896;
}

.presentationCard-bottom-info {
    background: linear-gradient(135deg, #f4f1e8, #ede6d3);
    padding: 4px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #5a4a32;
    border-top: 1px solid #8b7355;
}

.presentationCard-power-toughness {
    background: linear-gradient(135deg, #f9f6f0, #f0ead8);
    border: 1px solid #8b7355;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: #2c2416;
}

.presentationCard-set-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.presentationCard-rarity-symbol {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #ff8c00, #ff6b00);
    border-radius: 50%;
    border: 1px solid #cc5500;
}

.presentationCard-frame {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.presentationCard-golden-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.presentationCard-legendary-crown {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 8px;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 0 0 20px 20px;
    border: 1px solid #b8860b;
    border-top: none;
}

.presentationTextCard {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 320/445;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f4f1e8, #e8e2d0);
    border-radius: 12px;
    border: 2px solid #2c2416;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.presentationTextCard:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
}

.presentationTextCard-border {
    position: absolute;
    inset: 8px;
    border: 1px solid #8b7355;
    border-radius: 8px;
    pointer-events: none;
}

.presentationTextCard-text-box {
    background: linear-gradient(135deg, #f9f6f0, #f0ead8);
    line-height: 1.4;
    color: #2c2416;
    flex-grow: 1;
    overflow-y: auto;
}

.presentationTextCard-text-box h3 {
    font-weight: 600;
    font-style: italic;
    color: #2c2416;
    margin: 0 0 8px 0;
}

.presentationTextCard-text-box p {
    margin: 0 0 10px 0;
    text-align: justify;
}

.presentationTextCard-text-box p:last-child {
    margin-bottom: 0;
}

.presentationTextCard-frame {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.presentationTextCard-golden-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.presentationTextCard-legendary-crown {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 8px;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 0 0 20px 20px;
    border: 1px solid #b8860b;
    border-top: none;
}

.custom-card-header {
    background-color: #1d365f !important;
    color: #fab334 !important;
    text-shadow: 1px 1px 1px rgb(250, 179, 52, 0.4);
}

.modal-header {
    background-color: #1d365f;
    color: #fab334;
    text-shadow: 1px 1px 1px rgb(250, 179, 52, 0.4);
}

.bandeauClub img {
    height: auto;
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-control {
    border: 2px solid rgba(29, 54, 95, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    font-weight: 500;
    color: #1d365f;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: #fab334;
    box-shadow: 0 0 0 0.2rem rgba(250, 179, 52, 0.25), 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #1d365f;
}

.contact-form .form-control::placeholder {
    color: rgba(29, 54, 95, 0.6);
    font-weight: 400;
}

.contact-form .form-floating > label {
    color: rgba(29, 54, 95, 0.8);
    font-weight: 500;
    padding: 1rem 1.25rem;
}

.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #1d365f;
    font-weight: 600;
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.btn-unizia {
    background: linear-gradient(135deg, #1d365f, #2a4870);
    border: none;
    border-radius: 25px;
    padding: 14px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fab334 !important;
    text-shadow: 1px 1px 1px rgba(250, 179, 52, 0.4);
    box-shadow: 0 8px 25px rgba(29, 54, 95, 0.3);
    transition: all 0.3s ease;
    min-width: 200px;
    font-size: 0.95rem;
}

.btn-unizia:hover {
    background: linear-gradient(135deg, #0f1f35, #1d365f);
    box-shadow: 0 12px 35px rgba(29, 54, 95, 0.4);
    transform: translateY(-2px);
    color: #fab334;
    text-shadow: 1px 1px 2px rgba(250, 179, 52, 0.6);
}

.btn-unizia:focus {
    color: #fab334;
    box-shadow: 0 0 0 0.2rem rgba(250, 179, 52, 0.25), 0 12px 35px rgba(29, 54, 95, 0.4);
}

.contact-form .invalid-feedback {
    color: #dc3545;
    font-weight: 500;
    font-size: 0.875rem;
}

.contact-form .was-validated .form-control:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.contact-form .was-validated .form-control:valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Success message styling */
.contact-form .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #1d365f;
    border-radius: 12px;
}