@font-face {
    font-family: 'Oxygene';
    src: url('./OXYGENE1.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PUSAB';
    src: url('./PUSAB___.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Aller';
    src: url('./Aller_Rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'Noto Sans', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid #333;
}

header h1 {
    font-family: 'Oxygene', monospace;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffdb4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.settings-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.settings-panel {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    display: none;
    animation: slideDown 0.3s ease;
}

.settings-panel.active {
    display: block;
}

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

.setting-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.setting-group label {
    font-weight: 600;
    min-width: 120px;
}

.setting-group input[type="range"] {
    flex: 1;
    height: 8px;
    background: linear-gradient(to right, #ff6b35, #f7931e);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.setting-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.setting-group input[type="color"] {
    width: 50px;
    height: 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.setting-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ff6b35;
}

.setting-group select {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.setting-group select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.setting-group select option {
    background: #1a1a1a;
    color: white;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.logo-text {
    font-family: 'Oxygene', monospace;
    font-size: 100px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(45deg, #7CFC00, #32CD32, #00FF00, #ADFF2F);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        2px 2px 0px #000000,
        -2px -2px 0px #000000,
        2px -2px 0px #000000,
        -2px 2px 0px #000000,
        0px 2px 0px #000000,
        2px 0px 0px #000000,
        0px -2px 0px #000000,
        -2px 0px 0px #000000,
        4px 4px 0px #333333;
    animation: gradientShift 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
    padding: 20px;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo-text:hover {
    transform: scale(1.05);
    text-shadow: 
        2px 2px 0px #000000,
        -2px -2px 0px #000000,
        2px -2px 0px #000000,
        -2px 2px 0px #000000,
        0px 2px 0px #000000,
        2px 0px 0px #000000,
        0px -2px 0px #000000,
        -2px 0px 0px #000000,
        4px 4px 0px #333333;
}

.logo-text:focus {
    text-shadow: 
        2px 2px 0px #000000,
        -2px -2px 0px #000000,
        2px -2px 0px #000000,
        -2px 2px 0px #000000,
        0px 2px 0px #000000,
        2px 0px 0px #000000,
        0px -2px 0px #000000,
        -2px 0px 0px #000000,
        4px 4px 0px #333333;
}

.letter-colors {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.letter-colors.active {
    display: block;
}

.letter-color-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.letter-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.letter-control label {
    font-size: 0.9rem;
    min-width: auto;
    text-align: center;
}

.letter-control input[type="color"] {
    width: 40px;
    height: 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.5);
}

.btn:active {
    transform: translateY(0);
}

.text-input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.text-input-container label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.text-input-container input[type="text"] {
    width: 100%;
    max-width: 500px;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-family: 'Oxygene', monospace;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.text-input-container input[type="text"]:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.text-input-container input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .logo-text {
        font-size: 60px;
    }
    
    .settings-panel {
        padding: 20px;
    }
    
    .setting-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .setting-group label {
        min-width: auto;
    }
    
    .controls {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .text-input-container {
        padding: 15px;
    }
    
    .text-input-container input[type="text"] {
        font-size: 1rem;
        padding: 12px 15px;
    }
}