:root {
    --primary-color: #e74c3c;
    --secondary-color: #3498db;
    --accent-color: #9b59b6;
    --text-color: #ffffff;
    --bg-color: #1a1a1a;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tagline {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.social-proof {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
    font-size: 0.9rem;
}

.social-proof-item {
    display: flex;
    align-items: center;
}

.tool-section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.input-field {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: inherit;
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-accent {
    background: var(--accent-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.category-btn {
    width: 100%;
    text-align: left;
    position: relative;
}

.category-btn::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

.category-list {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    list-style: none;
    padding: 0;
    margin: 5px 0 15px;
    max-height: 300px;
    overflow-y: auto;
}

.category-list li {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.category-list li:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.post-container {
    height: 600px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin: 20px 0;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.user-photo-container {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid;
    z-index: 3;
    animation: float 4s infinite;
}

.user-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name-container {
    position: absolute;
    padding: 8px 20px;
    border-radius: 30px;
    z-index: 3;
    background: var(--name-bg) !important;
    color: white !important;
    font-weight: bold;
    animation: float 4s infinite 0.5s;
    border: 2px solid var(--glow-color);
    -webkit-text-stroke: 1.0px var(--stroke-color-name);
}

.poetry-box {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    text-align: center;
    padding: 20px;
    z-index: 2;
    max-height: 80%;
}

.poetry-line {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8em;
    line-height: 1.4;
    margin: 15px 0;
    padding: 5px 15px;
    display: inline-block;
    color: var(--text-color);
    transition: all 0.3s;
    text-shadow: 0 0 10px var(--glow-color);
    animation: float 4s infinite, textGlow 2s infinite alternate;
    -webkit-text-stroke: 1.5px var(--stroke-color);
    text-stroke: 2px var(--stroke-color);
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.platform-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.platform-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.platform-btn:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.2);
}

.sticker-panel {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    overflow-x: auto;
    margin: 10px 0;
}

.sticker {
    width: 50px;
    height: 50px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.sticker:hover {
    transform: scale(1.2);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-btn.active {
    background: var(--secondary-color);
    font-weight: bold;
}

.badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 1000;
    animation: slideIn 0.5s forwards, fadeOut 0.5s 2.5s forwards;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.watermark {
    position: absolute;
    bottom: 1px;
    right: 1px;
    color: rgba(255,255,255,0.5);
    font-size: 0.2rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes textGlow {
    0% { text-shadow: 0 0 5px var(--glow-color); }
    100% { text-shadow: 0 0 20px var(--glow-color); }
}

@keyframes slideIn {
    from { right: -200px; }
    to { right: 20px; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.filter-normal {
    filter: none;
}

.filter-grayscale {
    filter: grayscale(100%);
}

.filter-vintage {
    filter: sepia(0.5) contrast(1.25) brightness(1.1);
}

.filter-cool {
    filter: brightness(1.1) saturate(1.5) hue-rotate(10deg);
}

@media (max-width: 600px) {
    .container {
        padding: 15px;
    }
    .poetry-line {
        font-size: 2.2em;
    }
    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}