* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(45deg, #000000 0%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.color-spectrum-container {
    position: relative;
    min-height: 100vh;
}

.spectrum-header {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.main-title {
    font-size: 3.5em;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: spectrumFlow 8s linear infinite;
}

@keyframes spectrumFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

.subtitle {
    font-size: 1.4em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.color-wheel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080, #ff0000);
    animation: rotate 20s linear infinite;
    opacity: 0.3;
    z-index: 1;
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.content-prisms {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.color-section {
    margin: 80px 0;
    position: relative;
}

.prism-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.prism-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.prism-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 1s ease;
}

.prism-container:hover::before {
    left: 100%;
}

.color-band {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 30px 30px 0 0;
}

.red-band { background: linear-gradient(90deg, #ff0000, #ff4444); }
.orange-band { background: linear-gradient(90deg, #ff8000, #ffaa44); }
.yellow-band { background: linear-gradient(90deg, #ffff00, #ffff88); }
.green-band { background: linear-gradient(90deg, #00ff00, #44ff44); }
.blue-band { background: linear-gradient(90deg, #0080ff, #4499ff); }
.purple-band { background: linear-gradient(90deg, #8000ff, #aa44ff); }

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.color-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: white;
    margin-right: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.red-icon { background: linear-gradient(135deg, #ff0000, #cc0000); }
.orange-icon { background: linear-gradient(135deg, #ff8000, #cc6600); }
.yellow-icon { background: linear-gradient(135deg, #ffff00, #cccc00); color: #333; }
.green-icon { background: linear-gradient(135deg, #00ff00, #00cc00); }
.blue-icon { background: linear-gradient(135deg, #0080ff, #0066cc); }
.purple-icon { background: linear-gradient(135deg, #8000ff, #6600cc); }

.section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #ffffff;
}

.section-content {
    font-size: 1.2em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

.section-content:first-of-type::first-letter {
    font-size: 4em;
    float: left;
    line-height: 1;
    margin: 8px 15px 0 0;
    font-weight: bold;
    background: linear-gradient(45deg, #ff0000, #ff8000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.color-psychology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.psychology-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.psychology-card:hover {
    transform: scale(1.05);
}

.psychology-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.warm-card::after { background: linear-gradient(90deg, #ff0000, #ff8000, #ffff00); }
.cool-card::after { background: linear-gradient(90deg, #00ffff, #0080ff, #0000ff); }
.neutral-card::after { background: linear-gradient(90deg, #888888, #cccccc, #ffffff); }

.psychology-card:hover::after {
    height: 8px;
}

.card-title {
    font-size: 1.6em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.card-content {
    font-size: 1.1em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.spectrum-showcase {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(0, 255, 255, 0.1));
    border-radius: 30px;
    padding: 60px;
    margin: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.spectrum-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: rotate 15s linear infinite;
}

.showcase-title {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #ff0000, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-content {
    font-size: 1.3em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.color-samples {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.color-sample {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.color-sample:hover {
    transform: scale(1.2);
}

.sample-red { background: radial-gradient(circle, #ff4444, #cc0000); }
.sample-orange { background: radial-gradient(circle, #ff8844, #cc4400); }
.sample-yellow { background: radial-gradient(circle, #ffff44, #cccc00); }
.sample-green { background: radial-gradient(circle, #44ff44, #00cc00); }
.sample-blue { background: radial-gradient(circle, #4488ff, #0044cc); }
.sample-purple { background: radial-gradient(circle, #8844ff, #4400cc); }

.footer {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 100px;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5em;
    }
    
    .prism-container {
        padding: 40px 30px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .color-icon {
        margin-right: 0;
    }
    
    .color-samples {
        gap: 15px;
    }
    
    .color-sample {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .spectrum-header {
        padding: 40px 15px;
    }
    
    .main-title {
        font-size: 2em;
    }
    
    .prism-container {
        padding: 30px 20px;
    }
    
    .section-content:first-of-type::first-letter {
        font-size: 3em;
    }
}