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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(0,0,0,0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

.app-container {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border: 6px solid #000;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 
        0 8px 0 #000,
        0 8px 30px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '💥';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.header::after {
    content: '⚡';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 60px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.main-title {
    font-family: 'Bangers', cursive;
    font-size: 3.5rem;
    color: #FFF;
    text-shadow: 
        4px 4px 0 #000,
        8px 8px 0 rgba(0,0,0,0.3);
    letter-spacing: 2px;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.subtitle {
    font-size: 1.5rem;
    color: #FFF;
    font-weight: 700;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1rem;
    color: #FFD700;
    font-style: italic;
    text-shadow: 1px 1px 0 #000;
}

.sound-effect {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Bangers', cursive;
    font-size: 4rem;
    color: #FFD700;
    text-shadow: 
        4px 4px 0 #000,
        8px 8px 20px rgba(0,0,0,0.5);
    z-index: 1000;
    animation: soundEffect 0.5s ease-out;
    pointer-events: none;
}

@keyframes soundEffect {
    0% { transform: translate(-50%, -50%) scale(0) rotate(-10deg); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.2) rotate(5deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
}

.main-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
}

.controls-panel {
    background: #FFF;
    border: 6px solid #000;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 
        0 6px 0 #000,
        0 6px 20px rgba(0,0,0,0.3);
}

.control-section {
    margin-bottom: 20px;
}

.control-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.flex-grow {
    flex: 1;
}

.control-label {
    display: block;
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.username-input,
.issue-input,
.tagline-input {
    width: 100%;
    padding: 12px 15px;
    border: 4px solid #000;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    background: #FFF;
    transition: all 0.2s;
}

.username-input:focus,
.issue-input:focus,
.tagline-input:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
    transform: translateY(-2px);
}

.style-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.style-btn {
    padding: 12px;
    border: 4px solid #000;
    border-radius: 8px;
    background: #FFF;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.style-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 0 #000;
}

.style-btn.active {
    background: #FF6B35;
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 0 #000;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn {
    flex: 1;
    padding: 15px 20px;
    border: 4px solid #000;
    border-radius: 10px;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    box-shadow: 0 4px 0 #000;
}

.btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #000;
}

.btn:active:not(:disabled) {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #000;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: #FFF;
}

.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFF;
}

.btn-success {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: #FFF;
}

.btn-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #FFF;
}

.btn-outline {
    background: #FFF;
    color: #000;
}

.preview-panel {
    background: #FFF;
    border: 6px solid #000;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 
        0 6px 0 #000,
        0 6px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.preview-canvas {
    max-width: 100%;
    height: auto;
    border: 4px solid #000;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.gallery {
    background: #FFF;
    border: 6px solid #000;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 
        0 6px 0 #000,
        0 6px 20px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

.gallery-title {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    cursor: pointer;
    border: 4px solid #000;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    background: #F0F0F0;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-info {
    padding: 10px;
    background: #FFF;
    border-top: 3px solid #000;
}

.gallery-info p {
    font-weight: 700;
    color: #000;
    text-align: center;
    margin: 2px 0;
}

.footer {
    background: #000;
    color: #FFF;
    border: 6px solid #FFD700;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.footer p {
    margin: 5px 0;
    font-size: 1rem;
}

.footer-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.footer-link:hover {
    color: #FF6B35;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.easter-egg {
    font-style: italic;
    opacity: 0.8;
    font-size: 0.9rem;
    margin-top: 10px;
}

.text-xs {
    font-size: 0.75rem;
    color: #666;
}