:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2196f3;
    --accent-color: #ff4081;
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.highlight {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
}

main {
    margin-top: 70px;
    padding: 2rem;
    max-width: 1400px;
    margin: 70px auto 0;
}

.hero {
    text-align: center;
    padding: 8rem 0 4rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.main-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.collection-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.color-picker {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: var(--surface-color);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.picker-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.color-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.color-display {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.color-display:hover {
    transform: scale(1.02);
}

.color-values {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.value-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.1);
}

.color-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.random-color-btn {
    margin-top: auto;
    background: var(--primary-color);
    border: none;
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    font-weight: 500;
    align-self: flex-start;
}

.random-color-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.random-color-btn svg {
    transition: transform 0.3s ease;
}

.random-color-btn:hover svg {
    transform: rotate(180deg);
}

.input-group {
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    align-items: center;
    gap: 1rem;
}

.input-group label {
    font-weight: 500;
    color: var(--text-secondary);
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--primary-color);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="number"] {
    width: 100%;
    padding: 0.5rem;
    border: none;
    background: var(--primary-color);
    color: var(--text-color);
    border-radius: 5px;
    text-align: center;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.color-box {
    aspect-ratio: 1;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.color-box:hover {
    transform: scale(1.05);
}

.color-box::after {
    content: attr(data-color);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.9rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.color-box:hover::after {
    transform: translateY(0);
}

footer {
    background-color: var(--surface-color);
    padding: 6rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
}

.footer-section {
    padding: 2rem;
    border-radius: 15px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.footer-section p {
    color: var(--text-secondary);
}

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

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    display: inline-block;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--text-color);
    padding-left: 2rem;
}

.footer-section a:hover::before {
    opacity: 1;
}

.copyright {
    margin-top: auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .picker-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-section {
        padding: 1.5rem;
    }

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

    .copyright {
        padding-top: 2rem;
    }

    .collection-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .main-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .value-group {
        padding: 0.4rem 0.8rem;
    }

    .random-color-btn {
        align-self: center;
        width: 100%;
        justify-content: center;
    }
}

/* RGB NFT renk ve animasyon stilleri */
.rgb-text {
    font-weight: 700;
}

.rgb-text .r { color: #ff4444; }
.rgb-text .g { color: #44ff44; }
.rgb-text .b { color: #4444ff; }

.nft-text {
    background: linear-gradient(-45deg, #ff4444, #44ff44, #4444ff, #ff44ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 4s ease infinite;
}

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

/* Link stilleri için genel güncelleme */
a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

a:visited {
    color: var(--text-color);
}

/* Aktif link durumu için stil */
a.active, 
a:active {
    color: var(--secondary-color);
} 