/*.bd-placeholder-img {*/
/*    font-size: 1.125rem;*/
/*    text-anchor: middle;*/
/*    -webkit-user-select: none;*/
/*    -moz-user-select: none;*/
/*    -ms-user-select: none;*/
/*    user-select: none;*/
/*}*/

/*@media (min-width: 768px) {*/
/*    .bd-placeholder-img-lg {*/
/*        font-size: 3.5rem;*/
/*    }*/
/*}*/

/*main > .container {*/
/*    padding: 60px 15px 0;*/
/*}*/


/*body::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.25);
}*/

body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
    /*color: #222222;*/
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    /*background-size: 100%;*/
    /*background-position-y: 0;*/
    /*background-repeat: no-repeat;*/
    /*background-attachment: fixed;*/
    /*background-position: bottom;*/

    background-image: url('https://arweave.net/kYMjeSHkvMWYJPcuJTea4ogLxqqx2aKiZ2eDW5o0anY/bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height:100%;
}

.teamMember {
    background-repeat: no-repeat;
    background-position: center;
    /*background-attachment: fixed;*/
    -moz-background-size: cover;
    -o-background-size: cover;
    max-height: 280px;
    background-size: 150%;
    background-position-y: -32px;
}

.distanziatore {
    height: 146px;
}

.teamname {
    /*margin-top: -25px;*/
    font-size: 1.3rem;
}

.teamMember .socialLinks {
    margin: 0 6px;
    display: inline;
}

.socials {
    margin-top: -5px;
    font-size: 1rem !important;
}

/*.navbar-toggler.collapsed {*/
/*    visibility: hidden;*/
/*}*/

.modal-header {
    padding: 0.3rem !important;
    background-image: url('https://arweave.net/kYMjeSHkvMWYJPcuJTea4ogLxqqx2aKiZ2eDW5o0anY/navbar.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.textBlock {
    color: #000;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    border: 12px solid white;
}

.bigLogo {
    width: 50%;
}

@media (min-width: 900px) {

    .bigLogo {
        width: 20%;
    }

    .textBlock {
        font-size: 1.2rem;
    }

    .textBlockM {
        border: none;
        background-color: transparent;
    }

}

@media (min-width: 1200px) {

    body {
        background-image: url('https://arweave.net/kYMjeSHkvMWYJPcuJTea4ogLxqqx2aKiZ2eDW5o0anY/bg.jpg');
        background-repeat: repeat-y;
        background-size: 100%;
        background-attachment: inherit;
    }

}

.imageLogo {
    display: block;
    z-index: 1;
    top: 0;
    left: 0;
    position: absolute;
    height: 56px;
}

.command, a {
    color: #8844aa;
    cursor: pointer;
}

.navbar-light .navbar-brand {
    margin-top: -4px;
}

.navbar-text {
    padding: .5rem 1rem !important;
}

.navbar-light .navbar-text {
    color: black;
}

.centered {
    text-align: center;
}

.alignRight {
    text-align: right;
}

.strength div div {
    height: 4px !important;
}

.bg-light {
    background-color: #EAF8FB !important;
    border-bottom: 1px dotted aquamarine;
}

.big {
    font-size: 5rem;
    color: #84a;
    margin: 0 0 -28px;
}

.navbar-light .navbar-text {
    color: black;
    padding: .5rem 0.4rem !important;
    font-size: 0.8rem;
}

.navbar-collapse a,
.navbar-light .navbar-text a,
.navbar-collapse .span2 {
    font-weight: 400;
    padding: .3rem 0.3rem !important;
    font-size: 0.85rem;
}

/*.navbar-light .navbar-text a {*/
/*    color: gold !important;*/
/*}*/

/*!*.navbar-light .navbar-text i,*!*/
/*.navbar-light .navbar-text .extra,*/
/*    !*.navbar-collapse a i,*!*/
/*.navbar-collapse a .extra,*/
/*.navbar-collapse .span2 {*/
/*    display: none !important;*/
/*}*/

@media (max-width: 800px) {
    .container {
        margin: 0 5%;
        width: 90%;
    }
}

@media (min-width: 801px) {

    .noMobile {
        display: inline !important;
    }

    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1000px !important;
    }
}

@media (min-width: 1200px) {

    .navbar-collapse a,
    .navbar-light .navbar-text a,
    .navbar-collapse .span2 {
        padding: .5rem 1rem !important;
        font-size: 0.9rem;
    }

    .navbar-light .navbar-text {
        padding: .5rem 1rem !important;
        font-size: 0.9rem;
    }

    /*.navbar-light .navbar-text i,*/
    .navbar-light .navbar-text .extra,
        /*.navbar-collapse a i,*/
    .navbar-collapse a .extra,
    .navbar-collapse .span2 {
        display: inline !important;
    }

    .big {
        font-size: 5rem;
        padding-right: 20%;
        color: #84a;
        margin: 0 0 -28px;
    }

}

div.cardContainer {
    display: flex;
    justify-content: center;
}

.istok {
    font-family: "Istok Web" !important;
}

.white {
    color: #dedeeb !important;
}

.porpora {
    color: #763a66;
}

.porporino {
    color: #734981;
}

/*div.cardDiv {*/
/*    float: left;*/
/*    border: 1px solid #eeeeee;*/
/*    display: inline;*/
/*    padding: 19px;*/
/*    margin: 16px;*/
/*}*/

div.textBlock {
    /*background-color: rgba(0, 0, 0, 0.85);*/
    border-radius: 20px;
    /*border: 3px solid rgba(200, 230, 255, 0.3);*/
    padding: 36px;
    margin-bottom: 36px;
    background-color: rgba(255, 255, 255, 0.7)
}

div.textBlock p:last-child {
    margin-bottom: 0 !important;
}

.video-react .video-react-big-play-button {
    border: 0.06666em solid #326 !important;
    width: 2em !important;
}

.noTokens {
    font-size: 2rem;
    width: 50%;
    padding-top: 100px;
    text-align: center;
}

.container {
    padding-right: 0;
    padding-left: 0;
}


.smallvideo {
    width: 100%;
}

.noMobile {
    display: none !important;
}

.justify-content-end {
    display: none;
}

.splitter {
    display: block;
    height: 12px;
}

.splitter2 {
    display: block;
    height: 6px;
}

/*.navbar-collapse a, .navbar-light .navbar-text a, .navbar-collapse .span2 {*/
/*    border: 1px solid #226;*/
/*    border-radius: 6px;*/
/*    margin-right: 7px;*/
/*    background-color: #003;*/
/*}*/

/*.bg-dark {*/
/*    background-color: #002 !important;*/
/*    border-bottom: 1px dashed #309 !important;*/
/*}*/

.mr-auto a {
    font-size: 1.5rem !important;
}

@media (min-width: 990px) {

    .mr-auto a {
        font-size: 1.2rem !important;
    }
}

/*@media (min-width: 1400px) {*/
/*    .container {*/
/*        max-width: 1400px !important;*/
/*    }*/
/*}*/

@media (min-width: 1200px) {

    .bg-dark {
        /*background-color: #000 !important;*/
    }


    .navbar-collapse a, .navbar-light .navbar-text a, .navbar-collapse .span2 {
        border: none;
        border-radius: 0;
        margin-right: 0;
        background-color: transparent;

    }

    .splitter, .splitter2 {
        display: none;
    }


    .justify-content-end {
        display: block;
    }

    .noMobile {
        display: inline !important;
    }

    .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    div.cardDiv {
        padding: 19px;
        margin: 16px;
        width: 240px;
        border-radius: 20px;
    }

    div.cardDiv.smallvideo {
        height: 271px;
    }

    div.cardDiv.single {
        width: 420px;
    }

    div.cardDiv.smallvideo img {
        margin-bottom: 5px;
    }


    div.cardDiv.largevideo {
        width: 758px;
    }

    .smallvideo {
        width: 240px;
    }

    .footer {
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin-bottom: 0px;
    }
}

.tworem {
    font-size: 1.3rem;
}

small.error {
    color: crimson !important;
}

.m0Auto {
    margin: 0 auto;
}

.paglia {
    color: blueviolet;
    padding-left: 37px;
}

img.oil {
    width: 22%;
    margin: 4px;
}

.item {
    margin: 0 8px;
}

.credits {
    /*color: indigo;*/
}

.bio {
    /*color: indigo;*/
}

.roboto {
    font-family: 'Roboto', sans-serif !important;
}

.largerp {
    font-size: 1.2rem;
}

.alice {
    font-family: 'Alice' !important;
}

.webcam-capture video {
    width: 100%;
}

button {
    font-family: Roboto, sans-serif;
}

div.subtitle {
    /*background: #000;*/
    width: 100%;
    text-align: center;
    padding-top: 42px;
    margin-bottom: 24px;
    /*border-bottom: 1px dashed #309;*/
    padding-bottom: 2px;
    /*color: white;*/
}

div.subtitle.transparent {
    background: transparent !important;
}

div.subtitle div {
    font-size: 0.9rem;
    padding-bottom: 6px;
}

@media (min-width: 1200px) {

    div.subtitle {
        padding-top: 64px;
    }
}

img.cover {
    border: 1px solid darkblue;
    border-radius: 8px;
    width: 100%;
}


.footer {
    color: #73859f;
    width: 100%;
    background-color: white;
    padding: 8px 0;
}

a.cyan {
    color: #007bff !important;
}

.spacer {
    display: block;
    height: 12px;
}

.cc-license-icons img {
    width: 21px;
    margin: 0 2px;
}

.claiming {
    font-size: 0.9rem;
    margin: 50px 0 12px;
    color: rgb(168, 71, 178);
}

span code {
    font-size: 0.9rem;
}

span.button {
    border: 1px solid #007bff;
    padding: 0 4px;
    background: #332266;
    border-radius: 4px;
}

.navbar-light .navbar-toggler-icon {
    background-image: url('../images/menu.png') !important;
}

.notConnected {
    color: orangered;
}

.isMine {
    position: relative;
    display: block;
    color: gold;
    border-radius: 6px;
    border: 1px solid #830;
    float: right;
    z-index: 2;
    font-size: 80%;
    padding: 0 4px;
    margin: -11px;
    background: #220;
}

.ttype {
    border-color: #64c;
    background: #014;
    color: #def;
}

.roundedIn {
    border: 1px solid #007bff;
    background: #332266;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.navbar {
    background-image: url('https://arweave.net/kYMjeSHkvMWYJPcuJTea4ogLxqqx2aKiZ2eDW5o0anY/navbar.jpg') !important;
    background-color: #e7fbfc;
    border-bottom: none !important;
    background-size: 100%;
}

.hina {
    font-family: 'Hina Mincho', serif !important;
}

.chiaro {
    background: white !important;
    color: black !important;
    border: 1px solid #aaa !important;
    border-radius: 22px !important;
}

.dragons-show img {
    width: 100%;
}

.dragons-show div.centered {
    font-size: 2rem;
    font-family: 'Hina Mincho', serif !important;
}

.home-section h1, h2 {
    text-align: center;
    font-family: 'Hina Mincho', serif !important;
}

.home-section h1 {
    /*font-size: 2rem;*/
    padding: 24px;
}

.home-section h2 {
    font-size: 1.8rem;
}

.home-section h3 {
    font-size: 1.6rem;
    font-family: 'Roboto', sans-serif;
}

.home-section h4 {
    font-size: 1.4rem;
    font-family: 'Roboto', sans-serif;
}


.textBlock.smaller p {
    /*font-size: 1.2rem !important;*/
}

.large {
    font-size: 3rem !important;
}

@media (min-width: 1200px) {

    .home-section h1 {
        font-size: 4rem;
    }

    .home-section h2 {
        font-size: 3rem;
    }

    .large {
        font-size: 5rem !important;
    }
}

.centrato {
    margin: auto;
    width: 75%;
    padding: 0;
}



.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}


/*.carousel-item {*/
/*    position: relative;*/
/*    display: none;*/
/*    float: left;*/
/*    width: 100%;*/
/*    margin-right: -100%;*/
/*    -webkit-backface-visibility: hidden;*/
/*    backface-visibility: hidden;*/
/*    transition: -webkit-transform .9s ease-in-out;*/
/*    transition: transform .9s ease-in-out;*/
/*    transition: transform .9s ease-in-out, -webkit-transform .9s ease-in-out*/
/*}*/

.comingSoon {
    text-align: center;
    font-size: 2rem;
}

.textBlock a, .textBlock .command {
    color: #d51186 !important;
}

.pl20p {
    padding-left: 100px !important;
}

.pr20p {
    padding-right: 100px !important;
}

.starSeparator {
    text-align: center;
    margin-bottom: 22px;
}

.starSeparator img {
    width: 60px;
}

.pm0 {
    margin: 0 !important;
    padding: 2px !important;
}

.textBlock.tcompact {
    font-size: 1.3rem !important;
    font-family: 'Merriweather', serif;
    margin-top: 0;
    margin-bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
}

.mr200 {
    margin-right: 200px !important;
}

.ml200 {
    margin-left: 200px !important;
}

.ed2logo {
    width: 250px;
    margin-bottom: 28px;
}

.ed2logo2 {
    width: 100%;
    margin-bottom: 28px;
}

@media (max-width: 990px) {

    .teamname {
        font-size: 1.4rem !important;
    }

        .distanziatore {
            height: 130px;
        }

    .teamMember {
        background-size: 160%;
        background-position-y: -28px;
        max-height: 216px;
    }

    .dragons-show .textBlock {
        padding: 0;
    }

    .socials {
        font-size: 1rem !important;
    }

    .ed2logo {
        width: 80%;
        margin-bottom: 0;
    }


    .centrato {
        /*margin: auto;*/
        width: 100%;
        padding: 0;
    }

    .ml200 {
        margin-left: 0;
    }

    .mr200 {
        margin-right: 0;
    }
}

#footer {
    padding: 6px;
}

.textBlock h2.likeh1 {
    font-size: 2.5rem;
    font-family: 'Hina Mincho', serif !important;
}

.faqTitle {
    font-size: 0.9rem !important;
    font-weight: bold;
    margin-bottom: 4px;
}

.faqBody {
    font-size: 0.8rem !important;
}

.textBlockCS {
    font-size: 1.2rem;
    margin-bottom: 48px;
    margin-top: -12px;
    font-style: italic;
    font-family: 'Pacifico', cursive;
}

.toTheTop {
    margin-top: -16px;
    margin-bottom: 12px;
}

.toTheTop img, img.pc90 {
    width: 90% !important;
}

.pt24 {
    padding-top: 24px !important;
}

.pc70 img {
    width: 70%;
}

.home-section h4 {
    padding-top: 24px;
}

.bold {
    font-weight: bold !important;
}

.bg0 {
    background-image: url(../images/bg000.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
}

.bg1 {
    background-image: url(../images/bg001.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
}

.bg2 {
    background-image: url(../images/bg002.png);
    background-position: right center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
}

.bg3 {
    background-image: url(../images/bg003.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
}

.roadmap li {
    font-size: 1.1rem;
}

.textBlock.smallBlock {
    padding: 12px 16px;
    margin-bottom: 8px;
}

.faqTitle i {
    font-size: 1.4rem;
}


#footer .item {
    margin: 0 8px;
}

.socialLinks2 a.item {
    margin: 0 2px !important;
    padding: 0 6px !important;
}

.sneakpeak {
    width: 100%;
    margin-bottom: 24px;
}

/* Dragon card styles */
.dragon-card {
    transition: transform 0.2s ease-in-out;
    border: 1px solid #dedeeb;
}

.dragon-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
}

.dragon-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.dragon-card .btn {
    margin-top: auto;
}

.wallet-connected {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #666;
}

/* Simplified dragon card styles */
.dragon-simple-card {
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    /* border: 1px solid #ffddcc; */
    border-radius: 4px;
    overflow: hidden;
    /* background: white; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    display: flex;
    flex-direction: column;
}

.dragon-simple-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
}

.dragon-image-container {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
    line-height: 0;
    font-size: 0;
    position: relative;
}

.dragon-image {
    position: absolute;
    top: 0;
    left: 0;
    
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.dragon-name {
    padding: 8px;
    text-align: center;
    font-size: 0.9rem;
    /* font-weight: 600; */
    color: #333;
    /* background: white; */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal styles */
.modal-content {
    background-image: url('https://arweave.net/kYMjeSHkvMWYJPcuJTea4ogLxqqx2aKiZ2eDW5o0anY/bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    border: 1px solid #ffddcc;
    border-radius: 8px;
}



.dragon-modal-image {
    border: 1px solid #ffddcc;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

.dragon-attributes {
    margin-top: 20px;
}

.attribute-item {
    padding: 4px 10px 3px;
    background: #ffffff;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid #c0f4ee;
}

.refresh-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    background-color: #e0efe8;
    border-color: #28a745;
    color: #155724;
}

.refresh-btn:hover {
    transform: scale(1.05);
    background-color: #d1e7dd;
    border-color: #1e7e34;
    color: #0f5132;
}

.refresh-btn i {
    margin-right: 8px;
}

.opensea-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    background-color: #e0efe8;
    border-color: #28a745;
    color: #155724;
}

.opensea-btn:hover {
    background-color: #d1e7dd;
    border-color: #1e7e34;
    color: #0f5132;
    transform: scale(1.05);
}

.modal-header-actions {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.opensea-icon {
    color: #28a745;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 3px 5px 7px;
    border-radius: 4px;
}

.opensea-icon:hover {
    color: #1e7e34;
    transform: scale(1.1);
    /* background-color: rgba(40, 167, 69, 0.1); */
}

.close-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 22px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #333;
    transform: scale(1.1);
    background-color: rgba(0, 0, 0, 0.1);
}

.loading-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.loading-logo {
    width: 60px;
    height: 60px;
    animation: rotate 2s linear infinite;
}

.loading-logo-small {
    width: 30px;
    height: 30px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Dragon Head Component */
.dragon-head {
  display: inline-block;
  margin-left: 15px;
  vertical-align: top;
}

.dragon-head-svg {
  width: 120px;
  height: 120px;
  transform: scale(1.2);
  transform-origin: center;
}

.dragon-head-svg svg {
  width: 100%;
  height: 100%;
}

.dragon-head-loading {
  display: inline-block;
  margin-left: 15px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dragon-head-error {
  display: inline-block;
  margin-left: 15px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

.dragon-head-inline {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
}

.dragon-head-inline .dragon-head-svg {
  width: 60px;
  height: 60px;
  transform: scale(1.1);
}

.dragon-image-container {
  position: relative;
}

.dragon-modal-image-container {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.dragon-head-modal {
    position: relative !important;
    margin-top: 140px;
    /* bottom: 0px; */
    /* right: 20px; */
    background: transparent;
    /* z-index: 10; */
    /* width: 180px; */
    /* height: 180px; */
  }

.dragon-head-modal .dragon-head-svg {
  width: 100%;
  height: 100%;
  transform: scale(2.5);
  transform-origin: center;
  transition: transform 0.2s ease-in-out;
}

.dragon-modal-content {
  position: relative;
}

/* Download overlay styles */
.download-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.dragon-head {
  position: relative;
}

.dragon-head-svg {
  transition: transform 0.2s ease-in-out;
}

.dragon-head-modal .dragon-head-svg:hover {
  transform: scale(2.55);
}

/* Download options styles */
.download-options {
  position: relative;
  margin-top: -90px;
  background: transparent;
  color: #333;
  padding: 8px 0;
  font-size: 12px;
  z-index: 1000;
  min-width: 200px;
}

.download-button-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.download-pfp-btn {
  font-size: 0.8rem;
  padding: 6px 12px;
  background-color: #e0efe8;
  border-color: #28a745;
  color: #155724;
  border: 1px solid #28a745;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.download-pfp-btn:hover {
  transform: scale(1.05);
  background-color: #d1e7dd;
  border-color: #1e7e34;
  color: #0f5132;
}

.download-pfp-btn:disabled {
  background: #6c757d;
  border-color: #6c757d;
  color: #fff;
  cursor: not-allowed;
  transform: none;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #155724;
}

.checkbox-container input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
}

.checkbox-container label {
  cursor: pointer;
  margin: 0;
}

/* Mobile optimizations */
@media (max-width: 768px) {

    div.textBlockM {
        border-radius: 0 !important;
        border: 0 !important;
        padding: 0 !important;
        background-color: transparent !important;
    }

    .dragon-head-modal {
    display: none;
  }

  /* Reduce spacing between cards on mobile */
  .dragon-simple-card {
    margin-bottom: 10px !important;
  }

  /* Make cards larger on mobile */
  .dragon-simple-card {
    transform: scale(1.1);
    margin: 5px;
  }

  /* Adjust grid spacing for mobile */
  .mb-3 {
    margin-bottom: 0.5rem !important;
  }

  /* Make dragon images larger on mobile */
  .dragon-image {
    width: 100%;
    height: auto;
    max-width: 200px;
  }

  /* Maximize section space on mobile */
  .home-section {
    padding: 10px 5px;
    margin: 0;
  }

  /* Reduce textBlock padding to use more space */
  .textBlock {
    padding: 15px 10px;
    margin-bottom: 15px;
    border-radius: 15px;
  }

  /* Reduce container margins on mobile */
  .container {
    margin: 0 2%;
    width: 96%;
    max-width: none;
  }

  /* Make text larger and more readable on mobile */
  .textBlock p {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  /* Reduce margins between elements */
  .mb-3, .mb-4 {
    margin-bottom: 0.75rem !important;
  }

  /* Override existing padding and make headings more compact */
  .home-section h1 {
    font-size: 2.2rem !important;
    margin-bottom: 0.5rem !important;
    margin-top: 0.5rem !important;
    padding: 8px !important;
  }

  /* Reduce spacing between sections */
  .home-section {
    margin-bottom: 10px !important;
    padding: 5px !important;
  }

  /* Reduce spacing after headings */
  .home-section h1 + * {
    margin-top: 0.5rem !important;
  }

  /* Reduce spacing before headings */
  .home-section > h1 {
    margin-top: 0.5rem !important;
  }

  /* Override any existing margins */
  .home-section * {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }

  /* Hide refresh button text on mobile, show only icon */
  .refresh-btn {
    padding: 0.375rem 0.5rem !important;
    min-width: auto !important;
  }

  /* Hide the text, keep only the icon */
  .refresh-btn .me-1 {
    display: inline-block !important;
    margin-right: 0 !important;
  }

  /* Hide the text part - target the text node after the icon */
  .refresh-btn i + *,
  .refresh-btn i + text {
    display: none !important;
  }

  /* Alternative: hide any text content in the button */
  .refresh-btn {
    font-size: 0 !important;
  }

  .refresh-btn i {
    margin: 0 !important;
    font-size: 1rem !important;
  }

  /* Simplify dragon cards on mobile - remove borders and backgrounds */
  .dragon-simple-card {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 5px !important;
  }

  .dragon-image-container {
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .dragon-name {
    background: transparent !important;
    color: #333 !important;
    padding: 5px 0 !important;
    font-weight: 500 !important;
  }

  /* Make carousel smaller on mobile - show 3 dragons instead of 2 */
  .carousel {
    max-height: 200px !important;
  }

  .carousel-item img {
    max-width: 80px !important;
    max-height: 80px !important;
  }

  /* Show 3 dragons per row on mobile */
  .dragons-show .col,
  .dragons-show .col-xs-6,
  .dragons-show .col-lg-2 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }

  /* Make dragon images bigger on mobile for 3 dragons */
  .dragons-show img {
    max-width: 100px !important;
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
  }

  /* Reduce spacing between dragons on mobile */
  .dragons-show .col {
    padding: 0 5px !important;
  }

  /* Center the dragon group on mobile */
  .dragons-show {
    justify-content: center !important;
    display: flex !important;
  }

  .dragons-show .row {
    justify-content: center !important;
    margin: 0 auto !important;
  }

  /* Hide only the EverDragons2 logo on mobile */
  .ed2logo {
    display: none !important;
  }

  /* Hide the container div that holds the logo to remove empty space */
  .container > .row > .centered.col > div {
    display: none !important;
  }

  /* Remove padding from textBlock on mobile */
  div.textBlock {
    padding: 0 !important;
  }

  /* Reduce text size in Story section on mobile - same as Roadmap details */
  .home-section .textBlock {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  /* Ensure Story text is same size as Roadmap details */
  .home-section .textBlock p {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  /* Reduce margin and padding around section titles on mobile */
  .home-section h1 {
    margin-top: 20px !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
  }

  /* More specific targeting for titles within Scroll.Element */
  .home-section .scroll-element h1,
  .home-section h1 {
    margin-top: 20px !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
  }

  /* Target Scroll.Element directly */
  .home-section .scroll-element {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Force title spacing reduction */
  .home-section h1,
  .home-section .scroll-element h1,
  .home-section div h1 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
  }

  /* Reduce year text size in Roadmap on mobile */
  .roadmap .roadmapStep {
    font-size: 16px !important;
  }

  /* Reduce detail text size in Roadmap on mobile */
  .roadmap .roadmapElem {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  /* Footer mobile optimizations */
  .footer {
    padding: 4px 0 !important;
    font-size: 0.8rem !important;
  }

  #footer {
    padding: 3px !important;
  }

  #footer .item {
    margin: 0 4px !important;
    font-size: 0.8rem !important;
  }

  .socialLinks2 a.item {
    margin: 0 1px !important;
    padding: 0 3px !important;
    font-size: 0.8rem !important;
  }
}

/* Debug Modal Styles */
.debug-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.debug-modal {
  background: white;
  border-radius: 8px;
  padding: 20px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.debug-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.debug-modal-header h4 {
  margin: 0;
  color: #333;
}

.debug-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.debug-close-btn:hover {
  background-color: #f0f0f0;
  color: #333;
}

.debug-modal-content {
  text-align: center;
}

.debug-modal-content canvas {
  display: block;
  margin: 0 auto;
}
