/* 
  Copyright (c) 2026 Shensist. All Rights Reserved. 
  Property of Shensist Matrix. Restricted License applies.
*/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@300;400;600&family=Noto+Sans+SC:wght@300;400;700&display=swap');

:root {
    --bg-dark: #0B0E14;
    --accent-cyan: #00F5FF;
    --accent-cyan-glow: rgba(0, 245, 255, 0.4);
    --text-white: #E0E6ED;
    --glass-bg: rgba(20, 26, 35, 0.7);
    --glass-border: rgba(0, 245, 255, 0.2);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 100, 120, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 50, 80, 0.1) 0%, transparent 40%);
    color: var(--text-white);
    font-family: 'Rajdhani', 'Noto Sans SC', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header & Logo */
header {
    padding: 3rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 100;
    text-align: center;
}

.logo-container {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    transition: var(--transition-fast);
    filter: drop-shadow(0 0 10px var(--accent-cyan-glow));
}

.logo-container:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    letter-spacing: 2px;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px var(--accent-cyan-glow);
    line-height: 1.2;
}

/* Main Content */
main {
    flex: 1;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 1rem 0 3rem;
}

.input-section {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: calc(1rem + 2vw);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.input-section:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.1);
}

textarea {
    width: 100%;
    min-height: 150px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    color: var(--text-white);
    font-family: inherit;
    font-size: 1.1rem;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: var(--transition-fast);
    margin-bottom: 1.5rem;
}

.action-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    border-radius: 12px;
    color: var(--accent-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.action-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 40px var(--accent-cyan-glow);
}

/* Guide Section */
.guide-section {
    background: rgba(0, 245, 255, 0.03);
    border: 1px dashed var(--accent-cyan);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.guide-section h2 {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
}

.guide-section ul {
    list-style: none;
}

.guide-section li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 0.95rem;
    color: rgba(224, 230, 237, 0.8);
}

.guide-section li:last-child {
    margin-bottom: 0;
}

.guide-section strong {
    color: var(--accent-cyan);
}

/* Output Section */
.output-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.storyboard-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    padding-bottom: 0.6rem;
}

.shot-number {
    color: var(--accent-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
}

.shot-content {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: #fff;
}

.keywords-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--glass-border);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

.copy-btn {
    display: inline-block;
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.copy-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.copy-btn.copied {
    border-color: #00FF88;
    color: #00FF88;
    background: rgba(0, 255, 136, 0.1);
}

/* Footer */
footer {
    padding: 2.5rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: rgba(224, 230, 237, 0.5);
}

.contact-info {
    margin-bottom: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 1px;
}

/* Breakpoints */
@media (min-width: 768px) {
    .copy-btn {
        position: absolute;
        bottom: 1.5rem;
        right: 1.5rem;
        margin-top: 0;
    }
    .shot-content {
        padding-right: 8rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 5%;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .logo-container {
        width: 50px;
        height: 50px;
    }
    h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    .action-btn {
        letter-spacing: 2px;
        font-size: 1rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}
