:root {
    --primary-color: #00ffd1;
    --background-color: #0a192f;
    --card-bg: #1a2942;
    --text-color: #ffffff;
    --input-bg: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-image: url('img/BG.png');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}



/* Header Styles */
header {
    padding: 2rem 0;
    padding-top: 2rem;
}

.button-icon img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.bell-icon img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.logo {
    font-size: 2.4rem;
    font-family: 'Russo One', sans-serif;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-color);
    line-height: 0.8;
}

.logo-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

/* Main Content Styles */
main {
    margin-top: 7%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 span {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.input-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 0.1rem;
}

input {
    flex: 1;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    font-size: 1rem;
}

#code {
    max-width: 300px;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.error-message {
    display: block;
    margin-top: 0.5rem;
    color: #ff4444;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    text-align: center;
}

.error-message.show,
.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

.success-message {
    display: block;
    margin-top: 0.75rem;
    color: #4CAF50;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    text-align: center;
}

button {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

button:hover {
    transform: translateY(-2px);
}

.mint-button {
    background: var(--primary-color);
    color: var(--background-color);
}

.notify-button {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 2rem;
}


.notify-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.notify-button:disabled:hover {
    transform: none;
}

.success-message.error {
    color: #ff4444;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.notify-button:disabled .bell-icon {
    animation: pulse 1.5s infinite;
}

.error-message.success {
    color: #4CAF50;
}

.mint-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.mint-button:disabled:hover {
    transform: none;
}

.mint-button:disabled .button-icon {
    animation: pulse 1.5s infinite;
}

.code-section{
    max-width: 600px;
    position: relative;
}

.notification-section {
    padding: 1.25rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 650px;
    /* position: fixed;
    left: calc(50% - 325px);
    bottom: 20px; */
}

.notification-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.notification-section h3 {
    margin: 0;
    white-space: nowrap;
}

.notification-section p {
    margin: 0;
    opacity: 0.8;
}

/* Floating Card Styles */
.floating-cards {
    position: absolute;
    transform: translateY(-50%);
    height: 700px;
    width: 700px;
    z-index: -1;
    right: -690px;
    top: 10px;
}

.floating-card {
    position: absolute;
    width: 360px;
    height: 360px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.floating-card:nth-child(1) {
    left: 100px;
    top: 100px;
    z-index: 1;
}

.floating-card:nth-child(2) {
    left: 200px;
    top: 320px;
    z-index: 3;
}

.floating-card:nth-child(3) {
    left: -50px;
    top: 350px;
    z-index: 2;
}

.floating-card:hover {
    transform: translateY(-20px) scale(1.05);
    z-index: 4;
}

.card-content {
    height: 100%;
    position: relative;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gradient-bg {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    width: 100%;
    height: 100%;
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.artist {
    font-weight: bold;
}

.price {
    color: var(--primary-color);
}

.time {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    h2 {
        font-size: 1.5rem;
    }

    input {
        flex: none;
        width: 100%;
    }

    #code {
        max-width: none;
    }

    main {
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        width: 100%;
        max-width: 400px;
    }

    .floating-cards {
        display: none;
    }

    .input-group {
        flex-direction: column;
        gap: 0.5rem;
        width: 90%;
        max-width: 320px;
        margin: 0 auto;
    }

    input {
        width: 100%;
    }

    button {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    .notification-section {
        position: relative;
        width: 100%;
        max-width: none;
        padding: 1.25rem;
        margin-top: 0;
        transform: none;
        left: 0;
    }

    .notification-text {
        flex-direction: column;
    }
}

.f-container{
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.f-top{
    width: 100%;
    padding: 20px 0;
    flex-shrink: 0;
}    

.f-center{
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 0;
}
.f-center-left{
    width: 50%;
    /* background-color: red; */
    flex: 1;
}

.f-center-right{
    width: 50%;
    /* background-color: blue; */
    flex: 1;
    height: 100%;
}
.f-cards{
    transition: transform 0.3s ease;
    transform-origin: center center;
    width: 100%;
    height: 100%;
    object-fit: contain;
    scale: 1.05;
}

.f-cards:hover {
    transform: scale(1.2);
    z-index: 4;
}
.f-bottom{
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    flex-direction: column;
    gap: 10px;
}    

.f-links a{
    /* text-decoration: none; */
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    
}
@media (max-width: 768px) {
    .f-container{
        height: auto;
    }
    .f-top{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .f-center .f-center-right{
        display: none;
    }
    .f-center .f-center-left{
        width: 100%;
    }

    .f-center-left h1 , .f-center .code-section{
        text-align: center;
    }
    .f-bottom{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .f-links a{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

}