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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    position: relative;
}

/* THE BOX */
.box {
    width: 300px;
    height: 300px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    border: 3px solid #333;
    border-radius: 10px;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 1s ease;
}

.box.breaking {
    animation: boxBreak 2s ease forwards;
}

@keyframes boxBreak {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        transform: scale(0.8) rotate(15deg);
        opacity: 0;
        pointer-events: none;
    }
}

/* THE SPIRAL RINGS */
.spiral {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
}

.spiral-ring {
    position: absolute;
    border-radius: 50%;
    border: 4px solid;
    opacity: 0;
    animation: ringPulse 3s ease-in-out infinite;
}

/* Seven colors for seven rings */
.ring-1 {
    width: 180px;
    height: 180px;
    top: 10px;
    left: 10px;
    border-color: #FF1493; /* Hot Pink */
    animation-delay: 0s;
}

.ring-2 {
    width: 160px;
    height: 160px;
    top: 20px;
    left: 20px;
    border-color: #FF69B4; /* Pink */
    animation-delay: 0.3s;
}

.ring-3 {
    width: 140px;
    height: 140px;
    top: 30px;
    left: 30px;
    border-color: #FFB6C1; /* Light Pink */
    animation-delay: 0.6s;
}

.ring-4 {
    width: 120px;
    height: 120px;
    top: 40px;
    left: 40px;
    border-color: #DDA0DD; /* Plum */
    animation-delay: 0.9s;
}

.ring-5 {
    width: 100px;
    height: 100px;
    top: 50px;
    left: 50px;
    border-color: #BA55D3; /* Medium Orchid */
    animation-delay: 1.2s;
}

.ring-6 {
    width: 80px;
    height: 80px;
    top: 60px;
    left: 60px;
    border-color: #9370DB; /* Medium Purple */
    animation-delay: 1.5s;
}

.ring-7 {
    width: 60px;
    height: 60px;
    top: 70px;
    left: 70px;
    border-color: #8A2BE2; /* Blue Violet */
    animation-delay: 1.8s;
}

@keyframes ringPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(180deg);
    }
}

.spiral.activate {
    animation: spiralBreakout 2s ease forwards;
}

@keyframes spiralBreakout {
    0% {
        transform: scale(1) translateY(0) rotate(0deg);
    }
    50% {
        transform: scale(1.5) translateY(-30px) rotate(360deg);
    }
    100% {
        transform: scale(2) translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* WELCOME MESSAGE */
.welcome {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.welcome.show {
    opacity: 1;
    transform: translateY(0);
}

.welcome h1 {
    font-size: 3em;
    background: linear-gradient(135deg, #FF1493, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 20, 147, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.6));
    }
}

.tagline {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 40px;
    font-weight: 300;
}

.message-box {
    background: white;
    border-left: 5px solid #FF1493;
    padding: 30px;
    margin: 30px auto;
    max-width: 700px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
}

.message-box p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.message-box .emphasis {
    font-weight: 600;
    color: #FF1493;
    font-size: 1.15em;
}

.install-btn {
    background: linear-gradient(135deg, #FF1493, #8A2BE2);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.3em;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.3);
    transition: all 0.3s ease;
    margin: 30px 0;
}

.install-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.5);
}

.install-btn:active {
    transform: translateY(0);
}

/* PHILOSOPHY SECTION */
.philosophy {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.philosophy h2 {
    color: #FF1493;
    font-size: 2em;
    margin-bottom: 20px;
}

.philosophy p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.philosophy ul {
    list-style: none;
    margin: 20px 0;
    padding-left: 20px;
}

.philosophy li {
    font-size: 1.1em;
    color: #666;
    margin: 10px 0;
    position: relative;
    padding-left: 30px;
}

.philosophy li:before {
    content: "□";
    position: absolute;
    left: 0;
    color: #333;
    font-size: 1.3em;
}

.liberation {
    font-weight: 600;
    color: #8A2BE2;
    font-size: 1.3em;
    margin: 30px 0 !important;
}

.cta {
    font-weight: 600;
    background: linear-gradient(135deg, #FF1493, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3em;
}

/* INSTALL PANEL */
.install-panel {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin: 50px auto;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.install-panel.show {
    opacity: 1;
    transform: scale(1);
}

.install-panel h2 {
    color: #FF1493;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.install-panel > p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
}

.interview-section h3 {
    color: #8A2BE2;
    font-size: 1.8em;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 1em;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF1493;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.1);
}

.color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-btn {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.color-btn:hover {
    border-color: #FF1493;
    transform: translateY(-2px);
}

.color-btn.selected {
    background: linear-gradient(135deg, #FF1493, #8A2BE2);
    color: white;
    border-color: transparent;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF1493, #8A2BE2);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.2em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.3);
}

/* UTILITY CLASSES */
.hidden {
    display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .welcome h1 {
        font-size: 2em;
    }
    
    .message-box {
        padding: 20px;
    }
    
    .install-panel {
        padding: 30px 20px;
    }
    
    .color-picker {
        flex-direction: column;
    }
    
    .color-btn {
        width: 100%;
    }
}
