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

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
}

.gallery-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background: linear-gradient(
        to right,
        #ff0040,
        #ff00ff,
        #00ffff,
        #00ff00,
        #ffff00,
        #ff8800,
        #ff0000
    );
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    transition: width 1s linear;
}

.image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-container img.active {
    opacity: 1;
}

.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background-color: rgba(255, 255, 255, 0.9);
}

.config-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.config-overlay.active {
    display: flex;
}

.config-content {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: rgba(255, 255, 255, 0.9);
}

.config-content h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    padding-right: 30px;
}

.control-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
    align-items: center;
}

.control-group label {
    color: #fff;
}

.control-group input,
.control-group select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #000;
}

.control-group input[type="number"] {
    width: 100px;
}

.control-group button,
.close-config {
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.control-group button:hover,
.close-config:hover {
    background-color: #45a049;
}

.close-config {
    display: block;
    margin: 20px auto 0;
    background-color: #666;
}

.close-config:hover {
    background-color: #777;
}

.controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 90%;
}

.controls input,
.controls select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #000;
}

.controls input[type="number"] {
    width: 60px;
}

.controls button {
    padding: 5px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.controls button:hover {
    background-color: #45a049;
}

.success-message {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.success-message.show {
    opacity: 1;
    visibility: visible;
}

.attribution {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1000;
    min-width: 200px;
    max-width: 300px;
    text-align: right;
}

.attribution a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.attribution a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.photo-attribution {
    font-size: 11px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theme-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.surprise-theme {
    text-decoration: none;
    cursor: pointer;
    padding: 5px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.surprise-theme:hover {
    color: rgba(255, 255, 255, 0.8);
}

.surprise-theme:focus {
    outline: none;
}

.surprise-theme svg {
    stroke: currentColor;
}

/* Landing Page Styles */
.landing-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.landing-content {
    max-width: 700px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.landing-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.landing-content .tagline {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.landing-content .description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tool-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.tool-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.tool-card h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #fff;
}

.tool-card .tool-description {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.tool-card .tool-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.tool-card .tool-features li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.75);
    padding-left: 25px;
    position: relative;
    font-size: 0.95em;
}

.tool-card .tool-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.tool-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    text-align: center;
    align-self: center;
}

.tool-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.landing-content .footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
}

.landing-content .footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.landing-content .footer a:hover {
    color: rgba(255, 255, 255, 1);
}

@media (max-width: 768px) {
    .landing-content h1 {
        font-size: 2em;
    }

    .landing-content {
        padding: 30px 20px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tool-card {
        padding: 25px;
    }

    .tool-card h2 {
        font-size: 1.5em;
    }

    .tool-button {
        font-size: 1em;
        padding: 10px 25px;
    }
} 