/* ===== PURPLE MUSIC ARTIST WEBSITE STYLES ===== */

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    background: #000000;
    color: #ff69b4;
    cursor: default;
    position: relative;
    line-height: 1.4;
    margin: 0;
    padding: 20px;
}

/* Restore pointer cursors for interactive elements */
.play-button, .lyrics-toggle, .close-room, .kawaii-star {
    cursor: pointer;
}

/* Geometric Frame - Top */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: 
        repeating-linear-gradient(
            90deg,
            #ff69b4 0px, #ff69b4 8px,
            #000000 8px, #000000 12px,
            #ff1493 12px, #ff1493 16px,
            #000000 16px, #000000 20px
        ),
        linear-gradient(180deg, #ff69b4 0%, #ff1493 100%);
    border-bottom: 2px solid #ff1493;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.4);
    z-index: 1001;
}

/* Geometric Frame - Bottom */
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: 
        repeating-linear-gradient(
            90deg,
            #ff69b4 0px, #ff69b4 8px,
            #000000 8px, #000000 12px,
            #ff1493 12px, #ff1493 16px,
            #000000 16px, #000000 20px
        ),
        linear-gradient(0deg, #ff69b4 0%, #ff1493 100%);
    border-top: 2px solid #ff1493;
    box-shadow: 0 -2px 10px rgba(255, 105, 180, 0.4);
    z-index: 1001;
}

/* ===== CUSTOM CURSOR & TRAIL ===== */
/* Magic cursor CSS removed to eliminate lag */

/* Sparkle effects removed - using normal cursor for better performance */

/* THE ROOM Chat Styles */
.message, .chat-message {
    background: rgba(255, 105, 180, 0.1);
    border: 1px solid #ff69b4;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-header {
    color: #ff69b4;
    font-size: 0.9em;
    margin-bottom: 5px;
    font-weight: bold;
}

.message-content {
    color: #ffffff;
    line-height: 1.4;
    word-wrap: break-word;
}

.loading {
    color: #ff69b4;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

/* ===== BACKGROUND STYLES ===== */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #2a003d;
}

#glitch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Geometric Frame - Left and Right Sides */
.frame-left,
.frame-right {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 15px;
    z-index: 999;
    background: 
        repeating-linear-gradient(
            0deg,
            #ff69b4 0px, #ff69b4 6px,
            #000000 6px, #000000 9px,
            #ff1493 9px, #ff1493 12px,
            #000000 12px, #000000 15px,
            #ff69b4 15px, #ff69b4 18px,
            #222222 18px, #222222 21px
        );
    box-shadow: inset 0 0 5px rgba(255, 105, 180, 0.3);
}

.frame-left {
    left: 0;
    border-right: 1px solid #ff1493;
    background: 
        repeating-linear-gradient(
            0deg,
            #ff69b4 0px, #ff69b4 6px,
            #000000 6px, #000000 9px,
            #ff1493 9px, #ff1493 12px,
            #000000 12px, #000000 15px,
            #ff69b4 15px, #ff69b4 18px,
            #222222 18px, #222222 21px
        ),
        linear-gradient(90deg, #ff69b4 0%, #ff1493 100%);
}

.frame-right {
    right: 0;
    border-left: 1px solid #ff1493;
    background: 
        repeating-linear-gradient(
            0deg,
            #ff69b4 0px, #ff69b4 6px,
            #000000 6px, #000000 9px,
            #ff1493 9px, #ff1493 12px,
            #000000 12px, #000000 15px,
            #ff69b4 15px, #ff69b4 18px,
            #222222 18px, #222222 21px
        ),
        linear-gradient(270deg, #ff69b4 0%, #ff1493 100%);
}

.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: starTwinkle 3s infinite ease-in-out;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.star.reactive {
    animation: starReactive 0.5s ease-out;
}

@keyframes starReactive {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(3); opacity: 1; box-shadow: 0 0 10px #ff1493; }
    100% { transform: scale(1); opacity: 0.3; }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

/* ===== ARTIST HEADER ===== */
.artist-header {
    text-align: center;
    margin-bottom: 80px;
    margin-top: 40px;
}

.artist-name {
    font-family: 'Old English Text MT', 'Uncial Antiqua', 'Cinzel', serif;
    font-size: clamp(7rem, 18vw, 14rem);
    font-weight: 900;
    color: #ff1493;
    -webkit-text-stroke: 6px #000000;
    text-stroke: 6px #000000;
    letter-spacing: 6px;
    user-select: none;
    position: relative;
}

/* Removed shadow effect from title */

/* Removed dripping shadow effect */

/* ===== NEW SIGFRID-INSPIRED STYLES ===== */
.ascii-border {
    text-align: center;
    color: #ff69b4;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    margin: 20px 0;
    letter-spacing: 2px;
    text-shadow: 0 0 5px #ff69b4;
}



.star-bar {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 30px auto;
    height: 50px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-align: center;
    overflow: hidden;
}

.star-bar span {
    display: inline-block;
    color: #000000;
    font-size: 18px;
    animation: starRotate 3s linear infinite;
    margin: 0 1px;
}

.top-border {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    padding: 5px 15px;
    border: 1px solid #ff69b4;
}

.symbol-decoration {
    text-align: center;
    color: #ff0000;
    font-size: 1.5rem;
    margin: 10px 0;
    text-shadow: 0 0 10px #ff0000;
    letter-spacing: 5px;
}

.subtitle {
    text-align: center;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    margin-top: 20px;
    text-shadow: 0 0 5px #00ff00;
}

.section-title-gothic {
    text-align: center;
    color: #ff00ff;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    margin: 30px 0;
    padding: 15px;
    background: rgba(0,0,0,0.8);
    border: 1px solid #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
    line-height: 1.6;
}

/* ===== LINKS SECTION ===== */
.links-section {
    margin: 40px 0;
}

.link-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.platform-link {
    color: #ff69b4;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 8px 12px;
    border: 2px solid #ff69b4;
    background: rgba(0,0,0,0.8);
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #ff69b4;
    letter-spacing: 1px;
    border-radius: 5px;
    white-space: nowrap;
}

.platform-link:hover {
    background: #ff69b4;
    color: #000000;
    box-shadow: 0 0 15px #ff69b4;
    text-shadow: none;
    transform: translateY(-2px);
}

.underground-quote {
    text-align: center;
    padding: 50px 40px;
    margin: 40px auto;
    max-width: 600px;
    background: rgba(0,0,0,0.7);
    border: 2px solid rgba(255,20,147,0.6);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.underground-quote:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
    background: rgba(255, 105, 180, 0.1);
    border-color: #ff1493;
}

.underground-quote::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url('../leaf-border.png') repeat;
    background-size: 40px 40px;
    border-radius: 25px;
    z-index: -1;
    opacity: 0.8;
}

.underground-quote::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid rgba(34, 139, 34, 0.6);
    border-radius: 20px;
    z-index: -1;
    box-shadow: 
        0 0 20px rgba(34, 139, 34, 0.4),
        inset 0 0 20px rgba(34, 139, 34, 0.2);
}

.runic-text {
    color: #ff1493;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 
        0 0 15px #ff1493,
        0 0 30px rgba(255,20,147,0.8),
        0 0 45px rgba(255,20,147,0.6);
    letter-spacing: 3px;
    font-family: 'Times New Roman', serif;
}

.inner-text {
    color: #ff1493;
    font-size: 1.4rem;
    font-weight: 500;
    text-shadow: 
        0 0 10px #ff1493,
        0 0 20px rgba(255,20,147,0.7),
        0 0 30px rgba(255,20,147,0.5);
    letter-spacing: 2px;
    font-family: 'Arial', sans-serif;
    font-style: italic;
}

/* ===== TERMINAL SECTION ===== */
.terminal-section {
    margin: 50px auto;
    max-width: 800px;
    background: url('../contact-bg.png'), rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    border: 2px solid #ff1493;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    position: relative;
}

.terminal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.terminal-header,
.terminal-content,
.terminal-prompt {
    position: relative;
    z-index: 2;
}

.terminal-header {
    background: rgba(0, 0, 0, 0.9);
    color: #ff69b4;
    padding: 10px 15px;
    border-bottom: 1px solid #ff69b4;
    font-size: 14px;
    text-shadow: 0 0 5px #ff69b4;
    position: relative;
    z-index: 3;
}

.terminal-content {
    padding: 15px;
}

.terminal-line {
    color: #ffb3d1;
    margin: 8px 0;
    font-size: 14px;
    text-shadow: 0 0 3px #ff69b4;
}

.terminal-prompt {
    color: #ff69b4;
    padding: 10px 15px;
    font-size: 14px;
    text-shadow: 0 0 5px #ff69b4;
}

.final-border {
    margin: 40px 0;
    padding: 20px;
    text-align: center;
    color: #ff00ff;
    border: 2px solid #800080;
    background: rgba(26, 0, 38, 0.8);
}





@keyframes starRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== VINYL SECTION ===== */
.vinyl-section {
    margin-bottom: 60px;
}

.vinyl-container {
    display: flex;
    gap: 120px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.vinyl-record {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.ep-title {
    text-align: center;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 30px;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #ff1493;
    border-radius: 10px;
    padding: 12px 24px;
    position: relative;
    backdrop-filter: blur(5px);
    box-shadow: 
        0 0 15px rgba(255,20,147,0.4),
        inset 0 0 10px rgba(255,20,147,0.1);
    display: inline-block;
}



.vinyl-record:hover {
    transform: translateY(-5px) scale(1.02); /* Reduced movement and scale */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); /* Lighter shadow */
}

.vinyl-disc {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at center, transparent 15%, #1a1a1a 16%, #1a1a1a 20%, transparent 21%),
        conic-gradient(from 0deg, #000 0deg, #333 120deg, #000 240deg, #333 360deg); /* Simplified gradient */
    background-size: 100% 100%, 100% 100%; /* Simplified background size */
    position: relative;
    animation: vinylSpin 12s linear infinite; /* Slower animation for better performance */
}

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

.vinyl-record:hover .vinyl-disc {
    animation: vinylSpinFast 3s linear infinite; /* Slower hover animation */
}

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

.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at center, #000000 0%, #330014  50%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff1493;
    box-shadow: inset 0 0 20px rgba(255,20,147,0.3);
    cursor: pointer;
}

.rotating-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.vinyl-record.spinning .rotating-text {
    animation: vinylSpin 2s linear infinite;
}

.vinyl-record.spinning .circular-text {
    transform: translate(-50%, -50%) rotate(0deg);
    animation: none;
}

.vinyl-record.spinning .circular-text span span {
    animation: none !important;
    transform-origin: center !important;
}

.circular-text {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circular-text span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

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

.label-text {
    text-align: center;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    z-index: 2;
    position: relative;
}

.ep-title {
    display: block;
    font-size: 14px;
    color: #ff1493;
    margin-bottom: 4px;
    text-shadow: 0 0 5px #ff1493;
}

.ep-subtitle {
    display: block;
    font-size: 8px;
    color: #fff;
    opacity: 0.9;
}

.center-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000;
    border: 2px solid #333;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
    z-index: 3;
}

.vinyl-shadow {
    position: absolute;
    top: 10px;
    left: 5px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, transparent 70%);
    z-index: -1;
}

/* ===== TRACKLIST SECTION ===== */
.tracklist-section {
    width: 100%;
    max-width: 1000px;
}

.tracklist {
    display: none;
    margin-top: 40px;
    background: rgba(26, 0, 38, 0.9);
    border: 2px solid #800080;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 
        0 0 30px rgba(128, 0, 128, 0.3),
        inset 0 0 50px rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: tracklistSlideDown 0.5s ease-out;
}

.tracklist.active {
    display: block;
}

@keyframes tracklistSlideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tracklist-title {
    text-align: center;
    font-family: 'Metal Mania', serif;
    font-size: 2.2rem; /* Reduced for 720p */
    color: #ff00ff;
    margin-bottom: 25px;
    text-shadow: 
        2px 2px 0px #000,
        0 0 15px #ff00ff; /* Reduced glow for performance */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tracks-container {
    display: grid;
    gap: 20px;
}

.track-item {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #555;
    border-radius: 6px;
    padding: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #800080;
}

.track-item:hover {
    border-color: #ff00ff;
    border-left-color: #ff00ff;
    background: rgba(26, 0, 38, 0.8);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
    transform: translateX(10px);
}

.track-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.track-title {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    flex: 1;
}

.track-cover {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background: linear-gradient(45deg, #2a003d, #800080);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #555;
    flex-shrink: 0;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 2px;
    /* 720p optimization */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-width: 40px;
    max-height: 40px;
}

.cover-image:hover {
    transform: scale(1.02); /* Reduced scale for 720p */
}

.placeholder-cover {
    font-size: 24px;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

/* ===== TRACK CONTROLS (Play Button & Lyrics) ===== */
.track-controls {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.play-button {
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    border: 2px solid #ff1493;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.play-button:hover {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    transform: translateY(-2px);
    box-shadow: 
        0 5px 15px rgba(255, 20, 147, 0.4),
        0 0 20px rgba(255, 105, 180, 0.3);
    border-color: #ff69b4;
}

.play-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(255, 20, 147, 0.3);
}

.play-button.playing {
    background: linear-gradient(45deg, #00ff00, #32cd32);
    border-color: #00ff00;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    }
    50% { 
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    }
}

/* Lyrics Toggle Button */
.lyrics-toggle {
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    border: none;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lyrics-toggle:hover {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

.lyrics-container {
    margin-top: 10px;
}

.track-lyrics {
    color: #ccc;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    border-left: 3px solid #800080;
    font-style: italic;
    max-height: 400px;
    overflow-y: auto;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.track-lyrics.collapsed {
    display: none;
}

.track-lyrics p {
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Responsive styles removed - maintaining original desktop layout */

/* ===== GLITCH EFFECTS ===== */
.glitch {
    animation: glitchEffect 0.3s;
}

@keyframes glitchEffect {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* ===== FOROCHAN STYLE ELEMENTS ===== */
.retro-border {
    border: 2px solid #555;
    border-style: inset;
    box-shadow: 
        inset 1px 1px 0 #777,
        inset -1px -1px 0 #333;
}

.pixelated {
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* ===== ACCESSIBILITY ===== */
/* Accessibility media query removed - using original animations */

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #2a003d;
    border: 1px solid #555;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #800080, #ff00ff);
    border-radius: 6px;
    border: 1px solid #333;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff00ff, #800080);
}

/* ===== SELECTION STYLING ===== */
::selection {
    background: #ff00ff;
    color: #000;
}

::-moz-selection {
    background: #ff00ff;
    color: #000;
}

/* Kawaii Star Characters Above Terminal */
.star-characters {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    padding: 20px 0;
}

.kawaii-star {
    position: relative;
    width: 80px;
    height: 80px;
    animation: starFloat 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kawaii-star:hover {
    transform: scale(1.1);
}

.interactive-star.exploding {
    animation: starExplode 0.5s ease-out forwards !important;
}

.interactive-star.regenerating {
    animation: starRegenerate 0.8s ease-out forwards !important;
}

.kawaii-star:nth-child(2) {
    animation-delay: -1s;
}

.kawaii-star:nth-child(3) {
    animation-delay: -2s;
}

.star-shape {
    position: relative;
    width: 80px;
    height: 80px;
    background: #000000;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    border: 3px solid #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.star-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.eye {
    width: 8px;
    height: 8px;
    background: #ff69b4;
    border-radius: 50%;
    animation: kawaiiBlink 3s ease-in-out infinite;
}

.left-eye {
    animation-delay: 0s;
}

.right-eye {
    animation-delay: 0.1s;
}

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

@keyframes kawaiiBlink {
    0%, 85%, 100% {
        transform: scaleY(1);
        opacity: 1;
    }
    90%, 95% {
        transform: scaleY(0.1);
        opacity: 0.7;
    }
}

@keyframes starExplode {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.7;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

@keyframes starRegenerate {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.explosion-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.explosion-particles.active {
    animation: particleBurst 0.6s ease-out forwards;
}

@keyframes particleBurst {
    0% {
        background: radial-gradient(circle, #ff69b4 0%, transparent 0%);
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        background: radial-gradient(circle, #ff69b4 20%, #ffffff 40%, transparent 60%);
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(2);
    }
    100% {
        background: radial-gradient(circle, transparent 50%, transparent 100%);
        opacity: 0;
        transform: translate(-50%, -50%) scale(3);
    }
}



/* Mobile styles and media queries completely removed - using original desktop layout */

/* THE ROOM Modal Styles */
.room-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.room-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: linear-gradient(135deg, #1a1a1a, #2d1b2d);
    border: 2px solid #ff1493;
    border-radius: 15px;
    padding: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 20, 147, 0.5);
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #ff1493;
    padding-bottom: 10px;
}

.room-header h1 {
    color: #ff1493;
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    text-shadow: 0 0 20px #ff1493;
    margin: 0;
}

.close-room {
    background: none;
    border: 2px solid #ff1493;
    color: #ff1493;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-room:hover {
    background: #ff1493;
    color: #000;
    transform: rotate(90deg);
}

.room-rules {
    margin-bottom: 20px;
    background: rgba(255, 20, 147, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 20, 147, 0.3);
}

.room-rules h3 {
    color: #ff1493;
    margin: 0 0 10px 0;
    text-align: center;
    font-size: 1.2rem;
    text-shadow: 0 0 10px #ff1493;
}

.rules ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rules li {
    background: rgba(255, 20, 147, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 20, 147, 0.4);
}

.chat-area {
    height: 300px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 20, 147, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.messages-area {
    height: 100%;
    overflow-y: auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
}

.message {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 20, 147, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ff1493;
}

.message-header {
    color: #ff69b4;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.message-content {
    color: #fff;
    word-wrap: break-word;
}

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

.input-row {
    display: flex;
    gap: 10px;
}

.message-form input {
    padding: 10px;
    border: 2px solid rgba(255, 20, 147, 0.5);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-family: 'Courier New', monospace;
}

.message-form input:focus {
    outline: none;
    border-color: #ff1493;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}

#usernameInput {
    max-width: 200px;
}

#messageInput {
    flex: 1;
}

#sendBtn {
    padding: 10px 20px;
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

#sendBtn:hover {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    transform: scale(1.05);
}

.loading {
    text-align: center;
    color: #ff69b4;
    font-style: italic;
    padding: 20px;
}

/* Scrollbar styling for chat area */
.messages-area::-webkit-scrollbar {
    width: 6px;
}

.messages-area::-webkit-scrollbar-track {
    background: rgba(255, 20, 147, 0.1);
}

.messages-area::-webkit-scrollbar-thumb {
    background: #ff1493;
    border-radius: 3px;
}

.messages-area::-webkit-scrollbar-thumb:hover {
    background: #ff69b4;
}

/* ===== EXTERNAL BROWSER & MOBILE RESPONSIVENESS ===== */
/* Optimized specifically for Chrome, Safari, Firefox, Opera on purple-music.com */

/* Cross-browser compatibility fixes */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* External browser touch optimization */
button, .clickable, .close-room, .intra-te-btn {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3);
}

/* External browser input optimization */
input, textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px;
}

/* Tablets and smaller screens */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
        font-size: 14px;
    }
    
    /* Main title responsive */
    .main-title {
        font-size: 4rem !important;
        margin: 20px 0 !important;
    }
    
    /* EPs section responsive */
    .ep-section {
        margin: 40px 0 !important;
    }
    
    .ep-title {
        font-size: 1.8rem !important;
    }
    
    .vinyl-container {
        justify-content: center !important;
        gap: 20px !important;
    }
    
    .vinyl-record {
        width: 120px !important;
        height: 120px !important;
    }
    
    .track-list {
        font-size: 12px !important;
    }
    
    /* Cover images responsive */
    .track-cover {
        width: 30px !important;
        height: 30px !important;
    }
    
    /* Social buttons responsive */
    .social-section a {
        padding: 8px 16px !important;
        font-size: 12px !important;
        margin: 5px !important;
    }
    
    /* THE ROOM modal responsive */
    .room-modal {
        width: 95% !important;
        height: 90% !important;
        margin: 5% auto !important;
        border-radius: 10px !important;
    }
    
    .room-header h2 {
        font-size: 1.5rem !important;
    }
    
    .messages-area {
        height: calc(100% - 150px) !important;
        padding: 10px !important;
    }
    
    .message {
        font-size: 13px !important;
        padding: 8px !important;
        margin: 5px 0 !important;
    }
    
    .message-form {
        padding: 10px !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .input-row {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .message-form input {
        width: 100% !important;
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 12px !important;
    }
    
    #sendBtn {
        width: 100% !important;
        padding: 15px !important;
        font-size: 16px !important;
        margin-top: 10px;
    }
    
    /* Mobile keyboard fixes */
    .room-modal.keyboard-open {
        height: 60vh !important;
        top: 0 !important;
        transform: none !important;
    }
    
    .room-modal.keyboard-open .messages-area {
        height: calc(60vh - 120px) !important;
    }
}

/* Mobile phones */
@media screen and (max-width: 480px) {
    body {
        padding: 5px;
        font-size: 12px;
    }
    
    /* Geometric frames smaller on mobile */
    body::before, body::after {
        height: 10px !important;
    }
    
    /* Main title smaller */
    .main-title {
        font-size: 3rem !important;
        margin: 15px 0 !important;
    }
    
    /* Vinyl records smaller */
    .vinyl-record {
        width: 100px !important;
        height: 100px !important;
    }
    
    .vinyl-container {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* Track covers smaller */
    .track-cover {
        width: 25px !important;
        height: 25px !important;
    }
    
    /* THE ROOM full screen on mobile */
    .room-modal {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
    }
    
    .room-header {
        padding: 15px !important;
    }
    
    .room-header h2 {
        font-size: 1.3rem !important;
    }
    
    .close-room {
        font-size: 1.5rem !important;
        padding: 8px !important;
    }
    
    .messages-area {
        height: calc(100vh - 160px) !important;
        padding: 5px !important;
    }
    
    .message {
        font-size: 12px !important;
        padding: 6px !important;
    }
    
    .message-form {
        padding: 10px !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0, 0, 0, 0.95) !important;
        border-top: 2px solid #ff1493 !important;
    }
    
    /* Mobile keyboard handling - External browser optimized */
    .room-modal.keyboard-active .messages-area {
        height: calc(50vh - 80px) !important;
        padding-bottom: 120px !important;
    }
    
    .room-modal.keyboard-active .message-form {
        position: fixed !important;
        bottom: 0 !important;
        z-index: 10000 !important;
    }
}

/* ===== EXTERNAL BROWSER SPECIFIC FIXES ===== */

/* Chrome, Safari, Firefox, Opera on purple-music.com */
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    /* iOS Safari specific fixes */
    @media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
        .room-modal {
            -webkit-overflow-scrolling: touch !important;
        }
        
        .messages-area {
            -webkit-overflow-scrolling: touch !important;
        }
        
        /* iOS Safari keyboard fix */
        .message-form input {
            font-size: 16px !important; /* Prevents zoom */
            -webkit-user-select: text !important;
        }
    }
    
    /* Android Chrome specific fixes */
    @media screen and (max-width: 768px) and (orientation: portrait) {
        .room-modal.keyboard-active {
            height: 100vh !important;
            max-height: 100vh !important;
        }
        
        .room-modal.keyboard-active .messages-area {
            height: calc(100vh - 160px) !important;
        }
    }
}

/* Firefox mobile specific fixes */
@-moz-document url-prefix() {
    @media screen and (max-width: 768px) {
        .message-form input {
            -moz-appearance: none !important;
        }
        
        .room-modal {
            -moz-user-select: none !important;
        }
    }
}

/* External domain specific optimizations */
@media screen and (max-width: 768px) {
    /* Ensure purple-music.com works perfectly */
    body[data-external="true"] .room-modal {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 999999 !important;
    }
    
    body[data-external="true"] .message-form {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0, 0, 0, 0.98) !important;
    }
}