@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:wght@700&display=swap');

:root {
	--neon-green: #116e00;
	--neon-red: #ff3131;
	--black: #000000;
	--white: #ffffff;
}

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

body {
	font-family: 'Montserrat', Arial, sans-serif;
	background-color: var(--white);
	color: var(--black);
	overflow-x: hidden;
	line-height: 1.6;
}

/* Headings use Anton for bold style */
h1,
h2,
h3 {
	font-family: 'Anton', 'Montserrat', Arial, sans-serif;
	font-weight: 700;
}

.green{
    color: var(--neon-green) !important;
}

.bg-green{
    background-color: var(--neon-green) !important;
}

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

/* Hero Section */
.hero {
	min-height: 70vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	width: 100%;
}

/* Hero title uses Anton for bold style */
.hero-title {
	font-size: 4rem;
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
	font-family: 'Anton', 'Montserrat', Arial, sans-serif;
}

.hero-title:after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 10px;
	background: repeating-linear-gradient(45deg, var(--neon-green), var(--neon-green) 5px, var(--black) 5px, var(--black) 10px);
}

.hero-subtitle {
	font-size: 2rem;
	margin-bottom: 40px;
	color: var(--neon-red);
}

.hero-description {
	font-size: 1.5rem;
	max-width: 800px;
	margin: 0 auto 40px;
	position: relative;
	padding: 20px;
	border: 3px dashed var(--black);
	background-color: rgba(255, 255, 255, 0.8);
}

.contract-address {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 40px;
	flex-wrap: wrap;
	gap: 15px;
}

.contract-box {
	padding: 15px 20px;
	border: 3px solid var(--black);
	border-radius: 0;
	background: var(--white);
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	box-shadow: 8px 8px 0 #116e00;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.copy-btn {
	padding: 15px 30px;
	background: var(--neon-green);
	border: 3px solid var(--black);
	font-family: 'Anton', 'Montserrat', Arial, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 8px 8px 0 var(--black);
	transition: all 0.2s;
	position: relative;
	overflow: hidden;
}

.copy-btn:hover {
	transform: translate(4px, 4px);
	box-shadow: 4px 4px 0 var(--black);
}

.copy-btn:active {
	transform: translate(8px, 8px);
	box-shadow: 0px 0px 0 var(--black);
}

.copy-btn.copied {
	background: #000000;
}

.social-icons {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-top: 40px;
}

.social-icon {
	font-size: 2.5rem;
	color: var(--black);
	transition: all 0.3s;
}

.social-icon:hover {
	color: var(--neon-green);
	animation: wiggle 0.5s ease infinite;
}

.comic-explosion {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

.explosion-piece {
	position: absolute;
	font-size: 3rem;
	opacity: 0.7;
}

/* Funny Image Block */
.funny-image-block {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	padding: 100px 0;
}

.comic-illustration {
	position: relative;
	z-index: 2;
	max-width: 600px;
	margin: 0 auto;
	padding: 30px;
	background: var(--white);
	border: 5px solid var(--black);
	box-shadow: 20px 20px 0 var(--black);
}

.comic-illustration img {
	width: 100%;
	height: auto;
	display: block;
	filter: grayscale(100%) contrast(130%);
}

.comic-text {
	position: absolute;
	bottom: 100px;
	right: 50px;
	background: var(--white);
	padding: 20px;
	border: 3px solid var(--black);
	font-size: 1.5rem;
	max-width: 300px;
	z-index: 3;
	box-shadow: 10px 10px 0 var(--black);
	transform: rotate(-3deg);
}

.comic-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, var(--neon-green), var(--neon-green) 10px, var(--white) 10px, var(--white) 20px);
	opacity: 0.1;
	z-index: 1;
}

/* Diagonal Marquee */
.marquee-section {
	padding: 30px 0;
	background: var(--black);
	color: var(--white);
	overflow: hidden;
	position: relative;
	transform: rotate(-3deg);
	margin: 80px 0;
	width: 110%;
	left: -5%;
}

.marquee {
	display: flex;
	white-space: nowrap;
	animation: marquee 20s linear infinite;
}

/* Marquee text uses Anton for bold style */
.marquee-text {
	font-size: 2.5rem;
	font-family: 'Anton', 'Montserrat', Arial, sans-serif;
	font-weight: 700;
	padding: 0 20px;
	color: var(--neon-green);
}
/* Responsive for Marquee Section */
@media (max-width: 900px) {
	.marquee-section {
		margin: 40px 0;
		padding: 18px 0;
		width: 105%;
		left: -2.5%;
	}
	.marquee-text {
		font-size: 1.5rem;
		padding: 0 12px;
	}
}

@media (max-width: 600px) {
	.marquee-section {
		margin: 18px 0;
		padding: 10px 0;
		width: 100%;
		left: 0;
		transform: none;
	}
	.marquee {
		flex-wrap: wrap;
		white-space: normal;
		animation: none;
		justify-content: center;
		gap: 8px;
	}
	.marquee-text {
		font-size: 1rem;
		padding: 0 6px;
		margin-bottom: 6px;
		min-width: 120px;
		text-align: center;
		display: inline-block;
	}
}

@media (max-width: 400px) {
	.marquee-section {
		margin: 8px 0;
		padding: 4px 0;
	}
	.marquee-text {
		font-size: 0.8rem;
		padding: 0 2px;
		min-width: 80px;
	}
}

/* About Block */
.about-block {
	padding: 100px 0;
	position: relative;
}

/* About title uses Anton for consistency */
.about-title {
	font-size: 3rem;
	text-align: center;
	margin-bottom: 50px;
	position: relative;
	display: inline-block;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'Anton', 'Montserrat', Arial, sans-serif;
	font-weight: 700;
}

.about-title:after {
	content: "";
	position: absolute;
	bottom: -15px;
	left: 0;
	width: 100%;
	height: 10px;
	background: var(--neon-red);
	transform: skewX(-30deg);
}

.about-content {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 40px;
}

.about-text {
	flex: 1;
	min-width: 300px;
	font-size: 1.3rem;
	padding: 30px;
	border: 3px solid var(--black);
	background: var(--white);
	box-shadow: 15px 15px 0 var(--black);
	position: relative;
}

.about-text:before {
	content: "";
	position: absolute;
	top: -10px;
	left: -10px;
	right: -10px;
	bottom: -10px;
	border: 2px solid var(--neon-green);
	z-index: -1;
}

.about-image {
	flex: 1;
	min-width: 300px;
	position: relative;
}

.character-frame {
	border: 5px solid var(--black);
	padding: 20px;
	background: var(--white);
	box-shadow: 20px 20px 0 var(--black);
	transform: rotate(3deg);
}

.character-frame img {
	width: 100%;
	height: auto;
	display: block;
	filter: grayscale(100%) contrast(130%);
}

.broken-frame {
	position: absolute;
	top: -30px;
	right: -30px;
	font-size: 3rem;
	color: var(--neon-red);
	transform: rotate(15deg);
	z-index: 2;
}

/* About caption uses Anton for extra bold style */
.about-caption {
	text-align: center;
	margin-top: 50px;
	font-size: 2rem;
	font-family: 'Anton', 'Montserrat', Arial, sans-serif;
	font-weight: 700;
	color: var(--neon-red);
	position: relative;
	padding: 20px;
	border: 3px dashed var(--black);
	background: var(--white);
}

/* Floating Emojis */
.floating-emoji {
	position: fixed;
	font-size: 2rem;
	z-index: -1;
	opacity: 0.3;
	pointer-events: none;
}

/* Animations */
@keyframes wiggle {

	0%,
	100% {
		transform: rotate(0deg);
	}

	25% {
		transform: rotate(5deg);
	}

	75% {
		transform: rotate(-5deg);
	}
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

@keyframes float {
	0% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-20px) rotate(5deg);
	}

	100% {
		transform: translateY(0) rotate(0deg);
	}
}

/* Responsive */
@media (max-width: 768px) {
	.hero-title {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1.5rem;
	}

	.hero-description {
		font-size: 1.2rem;
	}

	.contract-box {
		font-size: 0.9rem;
		max-width: 90%;
	}

	.marquee-text {
		font-size: 1.5rem;
	}

	.about-title {
		font-size: 2rem;
	}

	.about-text {
		font-size: 1rem;
	}

	.comic-text {
		position: relative;
		bottom: auto;
		right: auto;
		margin: 20px auto;
		max-width: 80%;
	}

	/* Responsive for about-block section */
	.about-block .container {
		padding: 0 8px;
	}
	.about-content {
		flex-direction: column !important;
		gap: 18px !important;
		width: 100%;
		align-items: stretch;
	}
	.about-text, .about-image {
		min-width: 0;
		width: 100%;
		box-sizing: border-box;
		margin: 0 auto;
	}
	.character-frame {
		padding: 10px;
		box-shadow: 10px 10px 0 var(--black);
		max-width: 100%;
	transform: none !important;
	}
	.character-frame img {
		max-width: 100%;
		height: auto;
	}
	.broken-frame {
		top: -10px;
		right: -10px;
		font-size: 2rem;
	transform: none !important;
	}
	.about-caption {
		font-size: 1.2rem;
		padding: 12px;
		margin-top: 24px;
	}
}


/* Improved Image Editor Block Styles */
.image-editor-block {
	margin-top: 48px 0;
	border-radius: 32px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
	padding: 48px 0;
}

.editor-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 24px;
}

.editor-title {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 32px;
	color: #222;
	letter-spacing: 1px;
}

.editor-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: nowrap;
}

.upload-label {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	padding: 12px 24px;
	cursor: pointer;
	font-size: 1.1rem;
	font-weight: 500;
	border: 1px solid #e3e8ee;
	transition: box-shadow 0.2s;
}

.upload-label:hover {
	box-shadow: 0 4px 16px rgba(0, 123, 255, 0.10);
}

.upload-label input[type="file"] {
	display: none;
}

.upload-icon {
	font-size: 1.5rem;
	color: #007bff;
}

.upload-text {
	color: #222;
}

.mask-selection {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
}

.mask-thumb {
	width: 80px;
	height: 80px;
	border-radius: 16px;
	border: 3px solid #e3e8ee;
	cursor: pointer;
	object-fit: contain;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: border 0.2s, box-shadow 0.2s;
}

.mask-thumb.selected {
	border: 3px solid #007bff;
	box-shadow: 0 4px 16px rgba(0, 123, 255, 0.10);
}

.editor-canvas-wrapper {
	width: 100%;
	max-width: 700px;
	margin: 0 auto 32px auto;
	background: #f9f9f9;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	border: 1px solid #e3e8ee;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 500px;
    box-shadow: 8px 8px 0 #116e00;
}

#editorCanvas {
	width: 100%;
	height: 500px;
	display: block;
	background: #fff;
	border-radius: 24px;
}

.download-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 auto;
	padding: 16px 48px;
	font-size: 1.2rem;
	background: linear-gradient(90deg, #116E00 0%, #116E00 100%);
	color: #fff;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	font-weight: 600;
	border: 5px solid var(--black);
    box-shadow: 5px 5px 0 var(--black);
	transition: background 0.2s, box-shadow 0.2s;
}

.download-btn:hover {
	background: linear-gradient(90deg, #116E00 0%, #116E00 100%);
	box-shadow: 0 4px 16px rgba(0, 123, 255, 0.15);
}

@media (max-width: 900px) {
	.editor-canvas-wrapper {
		max-width: 100%;
		min-height: 320px;
	}

	#editorCanvas {
		height: 320px;
	}
}

@media (max-width: 600px) {
	.editor-container {
		padding: 0 8px;
	}

	.editor-title {
		font-size: 1.5rem;
	}

	.editor-controls {
		flex-direction: column;
		gap: 18px;
	}

	.editor-canvas-wrapper {
		min-height: 220px;
	}

	#editorCanvas {
		height: 220px;
	}

	/* Full mobile responsiveness for about-block */
	.about-block {
		padding: 32px 0;
	}
	.about-block .container {
		padding: 0 4px;
	}
	.about-title {
		font-size: 1.2rem;
		margin-bottom: 24px;
		left: 0;
		transform: none;
		width: 100%;
		text-align: center;
	}
	.about-content {
		flex-direction: column !important;
		gap: 10px !important;
		align-items: stretch;
		width: 100%;
	}
	.about-text {
		font-size: 0.95rem;
		padding: 12px;
		min-width: 0;
		width: 100%;
		box-shadow: 6px 6px 0 var(--black);
	}
	.about-image {
		min-width: 0;
		width: 100%;
		margin: 0 auto;
	}
	.character-frame {
		padding: 6px;
		box-shadow: 6px 6px 0 var(--black);
		max-width: 100%;
		transform: none !important;
	}
	.character-frame img {
		max-width: 100%;
		height: auto;
	}
	.broken-frame {
		top: -4px;
		right: -4px;
		font-size: 1.2rem;
		transform: none !important;
	}
	.about-caption {
		font-size: 1rem;
		padding: 8px;
		margin-top: 12px;
	}
}

.text-white{
    color: var(--white);
}


  /* $Folly Gallery Section Styles */
        .folly-gallery-section {
            padding: 30px 0;
            border-radius: 32px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.08);
            margin: 0px 0;
        }
        .gallery-title {
            text-align: center;
            font-size: 2.5rem;
            font-family: 'Anton', 'Montserrat', Arial, sans-serif;
            font-weight: 700;
            color: #116e00;
            margin-bottom: 32px;
        }
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            justify-content: center;
            margin-bottom: 24px;
        }
        .gallery-item {
            background: #fff;
            border-radius: 24px;
            box-shadow: 0 2px 8px rgba(0, 150, 67, 0.12);
            border: 2px dotted #000000;
            padding: 12px;
            width: 100%;
            aspect-ratio: 1/1;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s, box-shadow 0.2s;
            cursor: pointer;
        }
        .gallery-item img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 16px;
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
        .gallery-item:hover {
            transform: scale(1.05) rotate(-2deg);
            box-shadow: 0 8px 24px rgba(255,193,7,0.18);
        }
        .gallery-caption {
            text-align: center;
            font-size: 1.3rem;
            color: #000000;
            margin-top: 24px;
            font-family: 'Montserrat', Arial, sans-serif;
        }
        @media (max-width: 900px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .gallery-item {
                aspect-ratio: 1/1;
            }
        }
        @media (max-width: 600px) {
            .folly-gallery-section {
                padding: 32px 0;
            }
            .gallery-title {
                font-size: 1.5rem;
            }
            .gallery-grid {
                grid-template-columns: 1fr;
            }
            .gallery-item {
                aspect-ratio: 1/1;
                min-height: 220px;
            }
        }

		  @keyframes blink {
			0%, 100% { opacity: 1; }
			50% { opacity: 0.4; }
			}
			.animate-blink {
			animation: blink 1s infinite;
			}


			 @media (min-width: 1513px) {
            .paint {
            display: block !important;
            }
            .paintmobile{
            display: none !important;
            }
            }
            @media (max-width: 1512px) {
            .paint {
            display: none !important;
            }
            .paintmobile{
            display: block !important;
            }
            }


			@media (max-width: 1200px){
				.dnonemob{
				display:none !important;
				}
			} 