@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(15px) brightness(0.2) saturate(1.2);
    z-index: -2;
}

.dissolve-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        transparent 0%, 
        rgba(0, 0, 0, 0.02) 10%, 
        rgba(0, 0, 0, 0.08) 20%, 
        rgba(0, 0, 0, 0.2) 40%, 
        rgba(0, 0, 0, 0.45) 65%, 
        rgba(0, 0, 0, 0.7) 85%, 
        rgba(0, 0, 0, 0.9) 100%);
    z-index: -1;
    transition: all 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: background;
}

.main-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    gap: 80px;
    padding: 0 40px;
}

.left-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
    max-width: calc(50% - 40px);
    min-width: 0;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
}

.title .highlight {
    color: rgb(1, 68, 247);
}

.gemini-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    width: 100%;
    max-width: none;
}

.description a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
}

.description a:hover {
    color: rgb(1, 68, 247);
    font-weight: 600;
}

.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    max-width: calc(50% - 40px);
}

.concept-generator {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 32px;
    width: 100%;
    max-width: 100%;
    min-width: 300px;
    height: auto;
    min-height: 360px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: visible;
    display: grid;
    grid-template-rows: 1fr auto auto;
    gap: 0;
    row-gap: 0;
}

.concept-generator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: 42px;
    pointer-events: none;
}

.concept-generator:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.concept-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: white;
    padding: 24px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    resize: vertical;
    min-height: 220px;
    max-height: 400px;
    height: 220px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: inherit;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    grid-row: 1;
}

.concept-input::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.concept-input:focus {
    outline: none;
    border-color: rgba(1, 68, 247, 0.6);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 0 0 2px rgba(1, 68, 247, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px) scale(1.01);
}

.concept-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.provoke-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    grid-row: 2;
    margin: 0;
    margin-top: 32px;
}

.provoke-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.provoke-button:hover::before {
    left: 100%;
}

.provoke-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.provoke-button:active {
    transform: translateY(0);
}

.loading-indicator {
    display: none;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.result-container {
    display: none;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    padding: 24px;
    border-radius: 20px;
    white-space: pre-line;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    line-height: 1.4;
    margin: 0;
    margin-top: 32px;
    grid-row: 3;
    min-height: 200px;
}

.footer {
    position: fixed;
    bottom: 20px;
    left: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    z-index: 10;
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .left-panel, .right-panel {
        max-width: 100%;
        padding: 40px 0;
    }
    
    .title {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .concept-generator {
        padding: 30px 20px;
        height: auto;
        min-height: 288px;
        max-width: 100%;
        min-width: 280px;
    }
    
    .footer {
        left: 20px;
        bottom: 10px;
    }
}
