@import url('https://fonts.googleapis.com/css2?family=Jacquard+12&family=Pixelify+Sans:wght@400;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: #fff8fc;
    background-image: url('https://64.media.tumblr.com/b02536e804c11979d269d02b5e0e9588/tumblr_inline_mns9wsAeoT1qz4rgp.gif');
    font-family: 'Pixelify Sans', 'Courier New', Courier, monospace;
    color: #e8a8c6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* floating deco */
.floatdeco {
    position: fixed;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
    image-rendering: pixelated;
}

.deco1  { top: 5%;   left: 1%;   animation: floaty 4s   ease-in-out infinite; }
.deco2  { top: 15%;  left: 4%;   animation: floaty 5s   ease-in-out infinite 0.5s; }
.deco3  { top: 28%;  left: 0%;   animation: floaty 3.5s ease-in-out infinite 1s; }
.deco4  { top: 42%;  left: 3%;   animation: floaty 4.5s ease-in-out infinite 0.2s; }
.deco5  { top: 55%;  left: 1%;   animation: floaty 4s   ease-in-out infinite 1.5s; }
.deco6  { top: 68%;  left: 4%;   animation: floaty 5s   ease-in-out infinite 0.8s; }
.deco7  { top: 80%;  left: 0%;   animation: floaty 3.8s ease-in-out infinite 0.3s; }
.deco8  { top: 90%;  left: 3%;   animation: floaty 4.2s ease-in-out infinite 1.2s; }
.deco9  { top: 8%;   right: 1%;  animation: floaty 4s   ease-in-out infinite 0.7s; }
.deco10 { top: 20%;  right: 3%;  animation: floaty 5s   ease-in-out infinite 0.4s; }
.deco11 { top: 33%;  right: 0%;  animation: floaty 3.6s ease-in-out infinite 1.1s; }
.deco12 { top: 46%;  right: 4%;  animation: floaty 4.8s ease-in-out infinite 0.9s; }
.deco13 { top: 58%;  right: 1%;  animation: floaty 4.1s ease-in-out infinite 0.1s; }
.deco14 { top: 70%;  right: 3%;  animation: floaty 3.9s ease-in-out infinite 1.3s; }
.deco15 { top: 82%;  right: 0%;  animation: floaty 4.4s ease-in-out infinite 0.6s; }
.deco16 { top: 92%;  right: 4%;  animation: floaty 5s   ease-in-out infinite 1.8s; }
.deco17 { top: 2%;   left: 48%;  animation: floaty 4s   ease-in-out infinite 0.3s; }
.deco18 { top: 50%;  left: 47%;  animation: floaty 3.7s ease-in-out infinite 1.4s; }
.deco19 { top: 96%;  left: 48%;  animation: floaty 4.6s ease-in-out infinite 0.2s; }
.deco20 { top: 12%;  left: 8%;   animation: floaty 4s   ease-in-out infinite 1.6s; }
.deco21 { top: 37%;  left: 7%;   animation: floaty 5s   ease-in-out infinite 0.5s; }
.deco22 { top: 63%;  left: 8%;   animation: floaty 3.5s ease-in-out infinite 1.9s; }
.deco23 { top: 12%;  right: 8%;  animation: floaty 4.3s ease-in-out infinite 0.8s; }
.deco24 { top: 37%;  right: 7%;  animation: floaty 4.7s ease-in-out infinite 0.4s; }
.deco25 { top: 63%;  right: 8%;  animation: floaty 3.9s ease-in-out infinite 1.7s; }

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

/* page wrap */
.page-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* header */
.page-header {
    text-align: center;
    padding: 20px 0 16px;
}

.page-header h1 {
    font-family: 'Jacquard 12', system-ui;
    font-size: 48px;
    color: #fbbfda;
    text-shadow: 3px 3px 0 #fff8fc, 5px 5px 0 #ffe8f3;
    letter-spacing: 3px;
    margin: 8px 0;
    display: block;
}

.backhome {
    font-size: 14px;
    margin-top: 6px;
    color: #e8a8c6;
}

.backhome a {
    color: #e8a8c6;
    text-decoration: none;
    border-bottom: 1px dashed #fbbfda;
}

.backhome a:hover { color: #d9a0bc; }

/* grid */
.content-grid {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 10px;
}

.left-col  { width: 38%; flex-shrink: 0; }
.right-col { flex: 1; }

/* panels */
.panel {
    border: 2px solid #fbbfda;
    background-color: #ffe8f3;
    padding: 4px;
}

.panel-title {
    border: 2px solid #fbbfda;
    background-color: #fffafd;
    font-family: 'Pixelify Sans', monospace;
    font-weight: bold;
    color: #fbbfda;
    font-size: 15px;
    padding: 3px 6px;
    text-align: center;
    margin-bottom: 4px;
}

.panel-body {
    border: 2px solid #fbbfda;
    background-color: #fffafd;
    padding: 10px;
    font-size: 14px;
    color: #e8a8c6;
}

/* socials */
.social-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #ffe8f3;
}

.social-item:last-child { border-bottom: none; }

.social-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.social-platform {
    font-size: 11px;
    color: #e8c0d4;
}

.social-handle {
    font-size: 14px;
    color: #e8a8c6;
    font-weight: bold;
    text-decoration: none;
}

.social-handle:hover { color: #d9a0bc; text-decoration: underline; }

/* email */
.email-box {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 12px;
}

.email-link {
    color: #e8a8c6;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    word-break: break-all;
}

.email-link:hover { color: #d9a0bc; text-decoration: underline; }

/* rules */
.rules-panel { border: 2px solid #fbbfda; background-color: #ffe8f3; padding: 4px; }

.rules-panel .panel-body p {
    padding: 5px 0;
    border-bottom: 1px dashed #ffe8f3;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rules-panel .panel-body p:last-child { border-bottom: none; }

/* form */
.form-note {
    font-size: 12px;
    color: #e8c0d4;
    text-align: center;
    margin-bottom: 12px;
}

.contact-form { display: flex; flex-direction: column; gap: 10px; }

.field { display: flex; flex-direction: column; gap: 4px; }

.field label {
    font-size: 13px;
    font-weight: bold;
    color: #e8a8c6;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field input,
.field textarea {
    border: 2px solid #ffe8f3;
    background-color: #fffafd;
    font-family: 'Pixelify Sans', monospace;
    font-size: 13px;
    color: #e8a8c6;
    padding: 6px 8px;
    outline: none;
    transition: border-color 0.15s;
    resize: vertical;
    width: 100%;
}

.field input:focus,
.field textarea:focus { border-color: #fbbfda; }

.field input::placeholder,
.field textarea::placeholder { color: #f8dcea; }

.submit-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.contact-form button {
    border: 2px solid #fbbfda;
    background-color: #ffe8f3;
    font-family: 'Pixelify Sans', monospace;
    color: #fffafd;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 20px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    letter-spacing: 1px;
}

.contact-form button:hover {
    background-color: #fbbfda;
    border-color: #e8a8c6;
}

/* footer */
.footer {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #fbbfda;
    border-top: 2px dashed #ffe8f3;
    margin-top: 20px;
}

.footer p { margin-top: 6px; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #fffafd; }
::-webkit-scrollbar-thumb { background: #ffe8f3; }
::-webkit-scrollbar-thumb:hover { background: #fbbfda; }

/* mobile */
@media (max-width: 650px) {
    .content-grid { flex-direction: column; }
    .left-col { width: 100%; }
    .right-col { width: 100%; }
    .floatdeco { display: none; }
}
