
body {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-color: #2b120c;
    font-family: 'Courier Prime', monospace; 
  
cursor: url('images/cat-cursor.png'), auto;}
button, a, .glow, .crystal-ball-mini, .caja-btn, .flip-card {
    cursor: url('images/cat-paw.png'), auto !important;
}

button.theme-btn {
    background: #7f1648;
    border: 2px solid #ff7fd0;
    color: #ffd8ff;
    padding: 10px 18px;
    border-radius: 12px;
    font-family: 'Courier Prime', monospace;
    box-shadow: 0 4px 0px #450729;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

button.theme-btn:hover {
    transform: translateY(-1px);
    background: #9b1f66;
    box-shadow: 0 6px 0px #3f0629;
}


#container {
    max-width: 1100px;
    margin: 0 auto;
    background-image: url('images/texture2.jpg');
    background-repeat: repeat;
    background-color: #2b1710;
    border: 4px solid #5e0000;
    padding: 20px;
    box-shadow: 10px 10px 0px #000; 
}


.main-banner {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto -70px auto;
    position: relative;
    z-index: 5;
    filter: brightness(90%) contrast(90%) sepia(10%);
}

#main-header {
    text-align: center;
    background-color: #f4e4bc;
    border: 3px solid #d4af37;
    padding: 20px 10px;
    margin-bottom: 20px;
}

#main-header h1 {
    color: #5e0000;
    margin: 0;
    font-family: 'Creepster', cursive;
    letter-spacing: 2px;
    padding-top: 30px;    
    padding-bottom: 20px;
}


#content-wrapper {
    display: flex;
    gap: 15px;
}

.sidebar { flex: 0.8; } 
.center-stage { flex: 2; }


.box {
    background-image: url('images/texture.jpg');
    background-size: cover;
    background-position: center;
    background-color: #1a0a07;
    border: 3px solid #5e0000;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 5px 5px 0px #111;
}

h2, h3 {
    font-family: 'Creepster', cursive;
    color: #5e0000;
    border-bottom: 2px dashed #d4af37;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 1.4rem;
    line-height: 1.1;
}


.tv-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.retro-tv {
    background-color: #8b0000;
    border: 4px solid #5e0000;
    border-radius: 12px;
    padding: 20px 15px;
    width: 200px;
    box-shadow: inset 2px 2px 0px rgba(255,255,255,0.2), 4px 4px 0px #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tv-screen-container {
    width: 100%;
    height: 110px;
    background-color: #000;
    border: 6px solid #2b1710;
    border-radius: 8px;
    overflow: hidden;
}

#tv-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-controls-arrows {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.power-btn {
    background-color: #2b1710;
    border: 3px solid #d4af37;
    color: #00ff00;
    font-size: 1.5em;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
    margin-top: 5px;
}


.oc-card {
    width: 100px;
    height: 100px;
    background-image: url('images/card1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    animation: animacion1 3s ease-in-out infinite;
}

@keyframes animacion1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.oc-image {
    width: 80%;
    height: auto;
    z-index: 10;
    position: relative;
    pointer-events: none;
}


.mini-secret-box {
    background: #e4cfa9;
    border: 2px dashed #8a0000;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 240px;
    margin: 15px auto;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.crystal-ball-mini {
    position: relative;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #ffe3ec 20%, #ff8fb0 70%, #d94b67 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 143, 176, 0.6), inset 0 0 15px rgba(255,255,255,0.8);
    transition: transform 0.2s;
}

.crystal-ball-mini.thinking {
    animation: ballGlowMini 0.5s ease-in-out infinite alternate;
}

@keyframes ballGlowMini {
    from { box-shadow: 0 0 15px rgba(255, 143, 176, 0.6); }
    to { box-shadow: 0 0 25px rgba(255, 213, 107, 0.9); }
}

body.vintage-theme { background-color: #3e332a; }
body.vintage-theme #container { background-color: #dcc8a4; border-color: #5e0000; }
body.vintage-theme .box { background-color: #e5d3b3; color: #3e332a !important; }


body.circus-night {
    background-image: none !important;
    background-color: #0F0C1B !important; /* Cielo nocturno profundo */
    color: #E6D5B8 !important;
}


body.circus-night .main-banner {
    filter: brightness(50%) sepia(30%) contrast(110%) !important;
}


body.circus-night #container {
    background-image: none !important;
    background-color: #140d18 !important;
    border-color: #6E0A0A !important;
}


body.circus-night #main-header {
    background-color: #251C14 !important;
    border-color: #D4942A !important;
}

body.circus-night #main-header h1 {
    color: #D4942A !important;
    text-shadow: 0 0 10px #6E0A0A;
}


body.circus-night .box,
body.circus-night .mini-secret-box,
body.circus-night .blog-box,
body.circus-night .flip-card-back {
    background-image: none !important;
    background-color: #251C14 !important;
    border: 2px solid #6E0A0A !important;
    box-shadow: 0 0 10px rgba(110, 10, 10, 0.6) !important;
}


body.circus-night p,
body.circus-night span,
body.circus-night li,
body.circus-night strong,
body.circus-night .oc-data p,
body.circus-night .mini-desc {
    color: #E6D5B8 !important;
}


body.circus-night h1,
body.circus-night h2,
body.circus-night h3,
body.circus-night .glow,
body.circus-night .mini-title {
    color: #D4942A !important;
    border-bottom-color: #6E0A0A !important;
    text-shadow: 1px 1px 3px #000;
}


body.circus-night a,
body.circus-night .blog-box a {
    color: #D4942A !important;
}

body.circus-night a:hover {
    color: #E6D5B8 !important;
    text-shadow: 0 0 8px #6E0A0A;
}


body.circus-night button.theme-btn {
    background: #6E0A0A !important;
    color: #E6D5B8 !important;
    border: 2px solid #D4942A !important;
    box-shadow: 0 4px 0px #2a0303 !important;
}

body.circus-night button.theme-btn:hover {
    background: #8b0d0d !important;
}


body.circus-night .retro-tv {
    background-color: #1a0b12 !important;
    border-color: #6E0A0A !important;
}



@media screen and (max-width: 900px) {
    #content-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .left-sidebar, .center-stage, .right-sidebar {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 20px auto;
    }
}



.friends-box {
    text-align: center;
    padding: 10px;
}

.friends-img {
    width: 80%;
    max-width: 150px; 
    height: auto;
    margin: 0 auto;
}


#ticket-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.8); 
    z-index: 999999;
    display: flex; 
    justify-content: center; 
    align-items: center;
}


#ticket-wrapper {
    text-align: center;
    animation: 
        caida 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
        flote 2s ease-in-out 0.8s infinite alternate;
}

#ticket-img { 
    width: 800px; 
    cursor: pointer; 
    filter: drop-shadow(0 0 10px gold); 
}

.ticket-label {
    color: white;
    font-family: monospace;
    margin-top: 15px;
    font-size: 1.2rem;
    text-shadow: 2px 2px 2px #000;
}


@keyframes caida {
    from { transform: translateY(-100vh); }
    to { transform: translateY(0); }
}


@keyframes flote {
    from { transform: translateY(0); }
    to { transform: translateY(15px); }
}


#inventory-ui {
    position: fixed; 
    top: 20px; 
    right: 20px; 
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.7); 
    border: 2px solid gold;
    padding: 10px 15px; 
    border-radius: 10px; 
    color: white;
    font-family: 'Courier New', monospace;
    transition: transform 0.2s ease; 
}

.inventory-slot { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 20px; 
}


.flying-to-inventory {
    animation: volarEsquina 0.8s ease-in forwards !important;
}

@keyframes volarEsquina {
    to { 
        transform: scale(0.1) translate(400%, -400%); 
        opacity: 0; 
    }
}

.flip-card {
  width: 250px;  
  height: 350px; 
  perspective: 1500px;
  margin: 20px auto;
  cursor: url('images/cat-paw.png'), pointer !important;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}


.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  overflow: hidden;
}

.flip-card-front {
  background-color: #ffd700;
  background-image: url("images/card1.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.flip-card-back {
  transform: rotateY(180deg);
  background-color: #1a0a07;
  border: 3px solid #5e0000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.oc-profile {
  width: 100%;
  text-align: center;
}

.oc-pic {
  width: 80px;
  height: 80px;
  border: 2px solid #ffcc00;
  border-radius: 50%;
  object-fit: cover;
}


.card { 
            width: 65px; height: 90px; 
            cursor: pointer; border: 2px solid #333; 
            background-color: #222; 
            background-image: url("images/cartasdememoria.png"); 
            background-size: cover; background-position: center; 
            transition: transform 0.2s ease, border-color 0.2s ease;
        }
        .card.flipped {
            background-image: none; 
            background-color: #ececec; 
            border-color: #ff00de;
            transform: scale(1.05);
        }

.oc-profile {
    padding: 20px;
    width: 100%;
    text-align: center;      
    font-family: 'Courier Prime', monospace;
    color: white;
}

.oc-content {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    gap: 10px;
    width: 100%;
}

.oc-data {
    width: 100%;
    text-align: center;
}

.oc-data p {
    margin: 3px 0;
    font-size: 0.75rem;
    line-height: 1.3;
}

.oc-pic {
    width: 100px;
    height: 100px;
    border: 2px solid #ffcc00;
    border-radius: 50%;
    object-fit: contain;
}

.oc-profile h3 {
    color: #ffcc00;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ffcc00;
    font-size: 0.9rem;
    margin: 0 0 8px 0;
}


.friends-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 150px;
}

.friends-container .friends-img {
    width: 100%;
    height: auto;
    display: block;
}

.friend-mouth-link {
    position: absolute;
    top: 58%;          
    left: 52%;        
    transform: translate(-50%, -50%);
    width: 120px;      
    height: 120px;
    z-index: 10;
}

.friend-mouth-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 0, 0, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.friend-mouth-img:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px #d4af37;
}



.flip-card {
 
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
 


.relax-img {
    width: 80px;
    cursor: pointer;
    animation: float-portal 3s ease-in-out infinite;
    transition: transform 0.3s ease; 
}


.relax-img:hover {
    transform: scale(1.2) rotate(10deg);
    animation: none; 
}


@keyframes float-portal {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

 
         .card { 
            width: 65px; height: 90px; 
            cursor: pointer; border: 2px solid #333; 
            background-color: #222; 
            background-image: url("images/cartasdememoria.png"); 
            background-size: cover; background-position: center; 
            transition: transform 0.25s ease, border-color 0.25s ease;
        }
        .card.flipped {
            border-color: #ff00de;
            transform: scale(1.08) rotate(3deg);
        }

        .card-art {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}


.arcade-menu {
    display: flex;
    flex-direction: column;
    gap: 8px; 
    width: 100%;
    padding: 0;
    margin: 0;
}

.arcade-item {
    display: block;
    width: 100%;
    height: 45px; 
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.arcade-item img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%); 
    transition: transform 0.2s ease, filter 0.2s ease;
}


.arcade-item:hover {
    z-index: 10;
}

.arcade-item:hover img {
    
    transform: translateY(-50%) scale(1.05); 
    filter: drop-shadow(0 0 5px #d4af37) brightness(1.2);
}


.arcade-item:last-child {
    margin-bottom: 0;
}


.arcade-item:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px #d4af37) brightness(1.2);
    z-index: 10; 
}

.arcade-item img {
    width: 100%;
    height: auto; 
    display: block;
}


.arcade-item:hover {
    transform: scale(1.05); 
    filter: drop-shadow(0 0 5px #d4af37) brightness(1.2); 
}

.guestbook-container {
    text-align: center;
    margin: 10px 0;
}

.guestbook-img {
    max-width: 170px; 
    height: auto;
    display: block;
    margin: 0 auto;
    border: none !important;
    background: transparent !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.guestbook-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

.updates-box {
    background-color: none !important;
    background-image: url('images/texture.jpg');
    border: 3px solid #5e0000;
    padding: 15px;
    width: 100%;
    height: 320px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.update-title {
    color: #8b0000;
    text-align: center;
    margin-bottom: 10px;
    flex-shrink: 0;
    background-color: transparent !important;
}

.scrollable-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    background-color:  none !important; 
    background-image:  none !important;
}














